Skip to content

Releases: mongodb/mongo-php-driver

0.6.2

06 May 15:47
Compare
Choose a tag to compare
0.6.2 Pre-release
Pre-release

This release includes no functional changes over 0.6.1, but it corrects the PECL package stability ("alpha" instead of "devel").

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.2

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

0.6.1

06 May 15:36
Compare
Choose a tag to compare
0.6.1 Pre-release
Pre-release

This release includes no functional changes over 0.6.0, but it fixes an issue with the PECL package's build process.

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.1

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

0.6.0

05 May 05:19
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release

We'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

0.5.1 -- PHPLIB Coming together

24 Apr 22:17
Compare
Choose a tag to compare
Pre-release

Things are taking great shape - with the power of the ODS demonstrated in MongoDB Transistor, we are now preparing to release the accompanying fully featured user-land library in the next few days -- which requires a couple of bug fixes 💃

Release Highlights

New features and changes:

  • PHPC-241: mongodb.debug_log php.ini renamed to mongodb.debug
  • PHPC-259: add --with-libbson option
  • PHPC-260: Allow/use "object" in setTypeMap() as alias/preferred for "stdclass"
  • PHPC-266: Add MongoDB\Driver\UnexpectedValueException

Fixes:

  • PHPC-247: Use the bundled pregenerated fixtures, rather then run-time dependency on composer
  • PHPC-258: make all files needed for tests as role="test"
  • PHPC-265: BSON encoding unsupoprted types (Resource) should fail
  • PHPC-267; _id generated on embedded document
  • PHPC-269: Fix travis setup

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.5.1

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

Community Contributors

Thanks to:

  • Remi Collet

0.5.0 -- and Next Generation ODM!

21 Apr 21:22
Compare
Choose a tag to compare
Pre-release

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

Release Highlights

New features and changes:

  • PHPC-240: Iterating over Command Cursors
  • PHPC-248: Allow ->setTypeMap() to set 'array' and 'stdclass'
  • PHPC-249: Empty array should be serialized as array

Fixes:

  • PHPC-239: Cursor refcount failure
  • PHPC-243: The update command option is supposed to be called 'multi'
  • PHPC-253: Skipping/default value for "*ms" URI parameters inconsistent

New Object Document Mapper

We've started playing around with the new BSON\Persistable interface and have created a super lightweight trait that can act as a ODM, check it out at: https://github.com/bjori/mongo-php-transistor

Documentation

Documentation is available on PHP.net:
http://php.net/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.5.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

PHP 5.3-zts Build Fix

10 Apr 23:18
Compare
Choose a tag to compare
PHP 5.3-zts Build Fix Pre-release
Pre-release

Dear Travis.

Thank you for running Thread Safe PHP5.3.

Attached is a build fix for you.

-Team PHP

Next-generation MongoDB PHP Driver 0.4.0-alpha released

10 Apr 21:35
Compare
Choose a tag to compare

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

Release Highlights

New features and changes:

  • PHPC-194: Add MongoDB\Driver\Manager->selectServer()
  • PHPC-208: Use fixed fieldname for the Object Document Serializer ("__pclass")
  • PHPC-223: Use explicit driverOptions rather then Stream Context Options
  • PHPC-224: Consolidate Result and Cursor into a single, Traversable Cursor class

Fixes:

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.4.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

Community Contributors

Thanks to:

  • Remi Collet

Missed Windows configs :)

26 Mar 03:14
Compare
Choose a tag to compare
Pre-release

Missed the mongoc and libbson configs in the package.xml file - so it wasn't part of the release archive - so the pecl Windows box cluster couldn't compile it, whoops!

Should work now :D

Documentations

Docs are online at the docs staging area: http://docs.php.net/set.mongodb

Full release notes

https://github.com/10gen-labs/mongo-php-driver-prototype/blob/master/RELEASE-0.3.1

Installing in *nix

$ pecl install mongodb-alpha
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

Windows is here! Docs Online!

25 Mar 23:15
Compare
Choose a tag to compare
Pre-release

The MongoDB driver for PHP now supports Windows!

The binaries should be available shortly on http://pecl.php.net/package/mongodb

Documentations

Docs are online at the docs staging area: http://docs.php.net/set.mongodb

Full release notes

https://github.com/10gen-labs/mongo-php-driver-prototype/blob/master/RELEASE-0.3.0

Installing in *nix

$ pecl install mongodb-alpha
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

Renamed to pecl/mongodb & starting alpha!

24 Mar 00:08
Compare
Choose a tag to compare

Woohooo!

After months of development, we are now ready to push forward and announce this driver on PECL!
Releasing the driver on PECL is an important milestone for us as we are gearing for final release in the next few weeks!

We would greatly appreciate any and all feedback you have to offer :D

Important changes since last release:

  • SDAM implemented
  • Result and WriteResult, along with WriteException now have getServer() method, returning the actual server it was executed on - where you can do follow up queries or writes.

Full release notes

https://github.com/10gen-labs/mongo-php-driver-prototype/blob/master/RELEASE-0.2.0

Installing

$ pecl install mongodb-alpha
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`