MongoDB PHP Driver 1.3.0 released

Skip to first unread message

Derick Rethans

Nov 27, 2012, 10:15:01 AM11/27/12

This is first release of the 1.3 series. In general, this series
represents a major improvement with a completely rewritten connection
handling backend. The new connection handling framework no longer has
the concept of a connection pool, but instead ensures that there is only
one connection per host/port/auth combination.

This release also includes a new MongoClient class, which has
acknowledged (safe) writes on by default. This new MongoClient class
serves as a replacement for the Mongo class. The old Mongo class is now
deprecated and will be removed in a future release. There is some
background information about this change on the MongoDB blog at

On top of the new MongoClient class and the new connection handling
framework, additional functionality is also implemented to provide
support for new features that came with MongoDB 2.2. These features

- Support for the aggregation framework through the aggregate() helper.
- Support for read preferences and read preference tags (See:
- Support for connections to multiple mongos nodes.
- Improved logging for easier connection handling debugging.

If you find any issues, please report them through JIRA at We'd be more than happy to have a
look at them, but please do provide as much information as possible in
order for us to more easily identify and fix the problem.

You can find a list of all the addressed issues in the release notes
which are available online at

The source for the extension can be found at

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

pecl install mongo

or update with:

pecl upgrade mongo

Windows binaries can be found on the github download page at

Derick, Hannes and Jeremy
Reply all
Reply to author
0 new messages