github mongodb/mongo-php-driver 1.20.0

13 hours ago

The PHP team is happy to announce that version 1.20.0 of the mongodb PHP extension is now available on PECL. This release introduces support for MongoDB 8.0.

Release Highlights

This release adds support for Queryable Encryption Range Queries when using MongoDB 8.0.

New getHost() and getPort() methods have been added to the CommandSucceededEvent and CommandFailedEvent classes. The getServer() method has been deprecated.

This release updates the bundled versions of libmongoc and libmongocrypt to 1.28.0 and 1.11.0, respectively.

This release drops support for MongoDB 3.6. A future release will drop support for PHP 7.4 and 8.0.

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation is available on PHP.net.

Installation

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

pecl install mongodb-1.20.0

or update with:

pecl upgrade mongodb-1.20.0

Windows binaries are attached to the GitHub release notes.

Don't miss a new mongo-php-driver release

NewReleases is sending notifications on new releases.