1.2.0alpha3
Pre-releaseThe PHP team is happy to announce that version 1.2.0alpha3 of our new mongodb PHP extension is now available on PECL.
Release Highlights
This is the third preview release for 1.2.0 and resolves a handful of outstanding issues for MongoDB 3.4 compatibility.
MongoDB\Driver\Query
, MongoDB\Driver\BulkWrite::update()
, and MongoDB\Driver\BulkWrite::delete()
now accept a "collation" document option, which can be used to specify a locale-aware string comparison or sort order (see: SERVER-1920 for additional information). MongoDB\Driver\ReadPreference
now supports a "maxStalenessMS" integer option, which can be used with modes other than "primary" to specify an acceptable replication delay for secondary servers (see: SERVER-12861). The "maxStalenessMS" option may also be used in the connection URI or options array provided to MongoDB\Driver\Manager
to configure the default read preference.
This release upgrades our libbson and libmongoc dependencies to 1.5.0-rc0. The final 1.2.0 release is expected to depend on libson and libmongoc 1.5.0.
A complete list of resolved issues in this release may be found at:
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12484&version=17532
Documentation
Documentation is available on PHP.net:
http://php.net/set.mongodb
Feedback
We would appreciate any feedback you might have on the project:
https://jira.mongodb.org/secure/CreateIssue.jspa?pid=12484&issuetype=6
Installation
You can either download and install the source manually, or you can install the extension with:
pecl install mongodb-alpha
or update with:
pecl upgrade mongodb-alpha
Windows binaries are available on PECL:
http://pecl.php.net/package/mongodb