MongoDB PHP Driver 1.2.6 released

5 views
Skip to first unread message

Jeremy Mikola

unread,
Mar 7, 2017, 2:40:18 PM3/7/17
to mongod...@googlegroups.com, mongodb-...@googlegroups.com
The PHP team is happy to announce that version 1.2.6 of our new mongodb PHP extension is now available on PECL.

Release Highlights

This release addresses two interrelated issues where forked child processes might re-use or destroy persisted libmongoc clients created by a parent process. Users are still advised not to share MongoDB\Driver\Manager objects between threads and processes.

This release upgrades our libbson and libmongoc dependencies to 1.5.5, which fixes the localThresholdMS URI option's default value and thus the behavior of read preference mode nearest.

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

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

or update with:

    pecl upgrade mongodb

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


Jeremy Mikola

unread,
Mar 13, 2017, 12:54:48 PM3/13/17
to mongod...@googlegroups.com, mongodb-...@googlegroups.com
As a follow-up, we've amended the release notes to call more attention to the following bug fix included in the 1.2.6 release:

Additionally, it fixes a crash after executing a query with a projection containing an empty string key.

This was resolved in libmongoc 1.5.5 (CDRIVER-2072), which was included in this release of the PHP driver. The local tracking ticket was PHPC-920.


Reply all
Reply to author
Forward
0 new messages