|MongoDB PHP Driver 1.3.0 released||Derick Rethans||11/27/12 7:15 AM|
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
https://jira.mongodb.org/browse/PHP. 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