Hello,
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
http://blog.mongodb.org/post/36666163412/introducing-mongoclient.
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
include:
- Support for the aggregation framework through the aggregate() helper.
- Support for read preferences and read preference tags (See:
http://docs.mongodb.org/manual/applications/replication/#replica-set-read-preference)
- 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
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10007&version=10499
The source for the extension can be found at
http://pecl.php.net/mongo
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
https://github.com/mongodb/mongo-php-driver/downloads
cheers,
Derick, Hannes and Jeremy