Skip to content

1.0.0beta2

Pre-release
Pre-release
Compare
Choose a tag to compare
@jmikola jmikola released this 06 Oct 06:19
· 3236 commits to v2.x since this release

The PHP team is happy to announce that version 1.0.0-beta2 of our new "mongodb" PHP extension is now available on PECL.

Release Highlights

As of this release, protected and private properties of objects are ignored when serializing the object to a BSON document. If non-public properties of a class must be serialized, users should consider implementing the MongoDB\BSON\Serializable or MongoDB\BSON\Persistable interface.

The Manager::getWriteConcern() and Manager::getReadPreference() methods now return WriteConcern and ReadPreference value objects instead of arrays describing the write concern or read preference, respectively. Additionally, getter methods (e.g. getTagSets()) have been added to both classes. The deprecated fsync option has been removed from WriteConcern.

This release bumps our libmongoc dependency to 1.2.0-rc0. Our libbson dependency has also been bumped to 1.2.0-rc0.

A complete list of resolved issues in these releases 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

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

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