To support Queryable Encryption,
bypassQueryAnalysis auto encryption options have been added to
MongoDB\Driver\Manager::__construct() . Additionally, new algorithms and a
queryType option have been added to
MongoDB\Driver\ClientEncryption::encrypt() . Support for the Automatic Encryption Shared Library, an alternative to
mongocryptd , has also been introduced.
MongoDB\Driver\Query support a
let option for defining variables that can be accessed within query filters and updates. Additionally, both classes now support a
comment option of any type (previously a string
comment was only supported for queries).
This release upgrades our libbson and libmongoc dependencies to 1.22.0. The libmongocrypt dependency has been upgraded to 1.5.0.
A complete list of resolved issues in this release may be found in JIRA.
Documentation is available on PHP.net.
You can either download and install the source manually, or you can install the extension with:
pecl install mongodb-1.14.0
or update with:
pecl upgrade mongodb-1.14.0
Windows binaries are available on PECL.