0.6.0
Pre-releaseWe've moved all of the exception classes out of the primary MongoDB\Driver\ namespace and over to MongoDB\Driver\Exception\. This should make the documentation more readable and improves organization of the project's code.
This release also contains several bug fixes for issues discovered while implementing the upcoming user-land library.
Release Highlights
New features and changes:
- PHPC-272: Exceptions moved to MongoDB\Driver\Exception
- PHPC-284: MongoDB\Driver\Exception\LogicException created
Fixes:
- PHPC-274: BSON\Seriaizable ignored for top-level documents
- PHPC-275: BSON\Serializable::unserialize() should throw exception on invalid return argument
- PHPC-282: Cursor should only allow one iteration
Documentation
Documentation is available on PHP.net:
http://php.net/set.mongodb
Additional documentation may be found on GitHub:
http://10gen-labs.github.io/mongo-php-driver-prototype/ods/
Feedback
As the "mongodb" extension is under heavy development, we would appreciate any feedback you might have on the project:
https://jira.mongodb.org/secure/CreateIssue.jspa?pid=12484&issuetype=6
Full Release Notes
https://github.com/10gen-labs/mongo-php-driver-prototype/blob/master/RELEASE-0.6.0
Installing on *nix
$ pecl install mongodb-alpha
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
Installing on Windows
Windows binaries are available on PECL:
http://pecl.php.net/package/mongodb