1.0.0RC0
Pre-releaseThe PHP team is happy to announce that version 1.0.0-RC0 of our new "mongodb" PHP extension is now available on PECL.
Release Highlights
In this release, we have changed a few APIs. The MongoDB\Driver\Manager
methods for single writes have been removed (i.e. executeInsert()
, executeDelete()
, and executeUpdate()
). Instead, executeBulkWrite()
must be used for all write operations. Note that the PHP library provides methods for single write operations through its MongoDB\Collection
class.
Additionally, we have removed WriteResult::getInfo()
and the DuplicateKeyException, WriteConcernException, and WriteErrorException classes. We have also tidied up some use of the "final" keyword and updated our bundled libmongoc and libbson libraries to version 1.2.0.
A complete list of resolved issues in this release may be found at:
https://github.com/mongodb-labs/mongo-php-driver-prototype/blob/master/RELEASE-1.0
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-beta
or update with:
pecl upgrade mongodb-beta
Windows binaries are available on PECL:
http://pecl.php.net/package/mongodb