The PHP team is happy to announce that version 1.6.0 of the MongoDB PHP library is now available. This library is a high-level abstraction for the
This release introduces classes and options to enable Client-Side Field Level Encryption. With this feature, sensitive data can be automatically encrypted (MongoDB Enterprise Edition only) or explicitly encrypted using the
replaceOne methods now support a
hint option to specify the index that should be used for the query. The option is also supported for update operations in bulk writes. This option requires MongoDB 4.2 or later.
MongoDB\Collection::mapReduce for the
finalize options. Use the
scope option instead. The
sharded options for the
$out Map-Reduce argument are also deprecated.
Please note that this is the last minor release series that is compatible with PHP 5. Support for PHP 5 will be dropped in the upcoming 1.8.0 release.
A complete list of resolved issues in this release may be found at:
Documentation for this library may be found at:
If you encounter any bugs or issues with this library, please report them via this form:
This library may be installed or upgraded with:
composer require mongodb/mongodb^1.6.0
Installation instructions for the
mongodb extension may be found in the PHP.net documentation.