MongoDB PHP Extension 1.14.0-beta1 Released

The PHP team is happy to announce that version 1.14.0beta1 of the mongodb PHP extension is now available on PECL. This release introduces support for MongoDB 6.0 and Queryable Encryption.

Release Highlights

To support Queryable Encryption, encryptedFieldsMap and 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() .

MongoDB\Driver\BulkWrite and 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-beta0. The libmongocrypt dependency has been upgraded to 1.5.0-rc1.

A complete list of resolved issues in this release may be found at: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12484&version=34002

Documentation

Documentation is available on PHP.net: http://php.net/set.mongodb

Installation

You can either download and install the source manually, or you can install the extension with:

pecl install mongodb-1.14.0beta1

or update with:

pecl upgrade mongodb-1.14.0beta1

Windows binaries are available on PECL: http://pecl.php.net/package/mongodb