Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Releases: mongodb/mongo-hhvm-driver

Mongo PHP Driver 1.2.4 released

25 Apr 17:29
Compare
Choose a tag to compare

The PHP team is happy to announce that version 1.2.4 of our "mongodb" HHVM
extension is now available.

You can download the driver from the attachment to this release announcement.

Release Highlights

This release incorporates a fix compatibility with HHVM 3.19 and a crash bug that
is resolved by upgrading the libbson and libmongoc dependencies to 1.5.5.

A complete list of resolved issues in this release may be found at:
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12481&version=18226

Documentation

Documentation is available on PHP.net:
http://php.net/set.mongodb

Feedback

Feedback can be provided through our JIRA issue tracker at
http://jira.mongodb.org/browse/HHVM

Mongo PHP Driver 1.2.3 released

31 Jan 13:56
Compare
Choose a tag to compare

The PHP team is happy to announce that version 1.2.3 of our "mongodb" HHVM
extension is now available.

You can download the driver from the attachment to this release announcement.

Release Highlights

This release incorporates a bug fix from libmongoc where specifying a read
concern for a query would lead to an error in the getMore command
issued during cursor iteration.

This release upgrades our libbson and libmongoc dependencies to 1.5.4.

A complete list of resolved issues in this release may be found at:
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12481&version=17936

Documentation

Documentation is available on PHP.net:
http://php.net/set.mongodb

Feedback

Feedback can be provided through our JIRA issue tracker at
http://jira.mongodb.org/browse/HHVM

MongoDB HHVM Driver 1.2.2 released

19 Jan 11:47
Compare
Choose a tag to compare

The PHP team is happy to announce that version 1.2.2 of our "mongodb" HHVM
extension is now available.

You can download the driver from the attachment to this release announcement.

Release Highlights

This release addresses fixes a compilation bug with HHVM 3.17.

A complete list of resolved issues in this release may be found at:
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12481&version=17907

Documentation

Documentation is available on PHP.net:
http://php.net/set.mongodb

Feedback

Feedback can be provided through our JIRA issue tracker at
http://jira.mongodb.org/browse/HHVM

MongoDB HHVM Driver 1.2.1 released

17 Jan 15:21
Compare
Choose a tag to compare

The PHP team is happy to announce that version 1.2.1 of our "mongodb" HHVM
extension is now available.

You can download the driver from the attachment to this release announcement.

Release Highlights

This release addresses fixes a bug in handling sockets during shut down, and
adds compatibility with HHVM 3.17.

A complete list of resolved issues in this release may be found at:
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12481&version=17904

Documentation

Documentation is available on PHP.net:
http://php.net/set.mongodb

Feedback

Feedback can be provided through our JIRA issue tracker at
http://jira.mongodb.org/browse/HHVM

MongoDB HHVM Driver 1.2.0 released

29 Nov 10:39
Compare
Choose a tag to compare

The PHP team is happy to announce that version 1.2.0 of our new "mongodb" HHVM
extension is now available.

You can download the driver from the attachment to this release announcement.

Release Highlights

This is the first release that supports all features of the MongoDB 3.4 server
release, such as Collation support, the Decimal128 BSON type, and the MongoDB
handshake protocol for easier debugging.

It contains a significant amount of internal refactoring to remove our
dependence on libmongoc's private API. This release also upgrades our libbson
and libmongoc dependencies to 1.5.0.

Internal changes aside, we did manage to sneak a few new features into this
release. BSON classes now support PHP serialization, JSON serialization via
json_encode() and PHP's JsonSerializable interface, and var_export().

The UTCDateTime constructor now defaults to the current time if no
argument is provided and can also accept a DateTimeInterface instance.

The Binary and Javascript types now have __toString() methods that return their
binary data and code strings, respectively. The JavaScript class also has new
getCode() and getScope() methods, which were curiously absent in previous
versions.

A MongoDB\BSON\ObjectID::getTimestamp() helper method has been introduced,
which returns the 4-byte timestamp component of an ObjectID as an integer. The
second $flags parameter to the MongoDB\BSON\Regex constructor is now optional,
defaults to an empty string, and sorts the flags alphabetically when
constructed.

MongoDB\Driver\Query, MongoDB\Driver\BulkWrite::update(), and
MongoDB\Driver\BulkWrite::delete() now accept a "collation" document option,
which can be used to specify a locale-aware string comparison or sort order
(see: Collation in the MongoDB manual for additional information).

MongoDB\Driver\ReadPreference now supports a "maxStalenessSeconds" integer
option, which can be used with modes other than "primary" to specify an
acceptable replication delay for secondary servers (see: SERVER-12861). The
"maxStalenessSeconds" option may also be used in the connection URI or options
array provided to MongoDB\Driver\Manager to configure the default read
preference.

A complete list of resolved issues in this release may be found at:
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12481&version=16574

Documentation

Documentation is available on PHP.net:
http://php.net/set.mongodb

Feedback

Feedback can be provided through our JIRA issue tracker at
http://jira.mongodb.org/browse/HHVM

MongoDB HHVM Driver 1.2.0alpha1 released

27 Sep 10:30
Compare
Choose a tag to compare

The PHP team is happy to announce that version 1.2.0alpha1, of our new "mongodb" HHVM extension is now available.

You can download the driver from the "hhvm-mongodb-1.2.0alpha1.tgz" attachment to this release announcement.

Release Highlights

This is the first preview release for 1.2.0, and supports all the features of the upcoming MongoDB 3.4 server release.

It contains a significant amount of internal refactoring to remove our dependence on libmongoc's private API. This release also upgrades our libbson
and libmongoc dependencies to 1.5.0-rc0. The final 1.2.0 release will depend on libson and libmongoc 1.5.0.

Internal changes aside, we did manage to sneak a few new features into this release. BSON classes now support PHP serialization and var_export(). JSON serialization is still not implemented, but we plan to have that ready for 1.2.0. The UTCDateTime constructor now defaults to the current time if no
argument is provided and can also accept a DateTimeInterface instance. The Binary and Javascript types now have __toString() methods that return their binary data and code strings, respectively. The JavaScript class also has new getCode() and getScope() methods, which were curiously absent in previous versions.

A MongoDB\BSON\ObjectID::getTimestamp() helper method has been introduced, which returns the 4-byte timestamp component of an ObjectID as an integer. The
second $flags parameter to the MongoDB\BSON\Regex constructor is now optional and defaults to an empty string.

MongoDB\Driver\Query, MongoDB\Driver\BulkWrite::update(), and MongoDB\Driver\BulkWrite::delete() now accept a "collation" document option, which can be used to specify a locale-aware string comparison or sort order (see: SERVER-1920 for additional information). MongoDB\Driver\ReadPreference
now supports a "maxStalenessMS" integer option, which can be used with modes other than "primary" to specify an acceptable replication delay for secondary
servers (see: SERVER-12861). The "maxStalenessMS" option may also be used in the connection URI or options array provided to MongoDB\Driver\Manager to
configure the default read preference.

A complete list of resolved issues in this release may be found at:
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12481&version=17560

Documentation

Documentation is available on PHP.net:
http://php.net/set.mongodb

Feedback

Feedback can be provided through our JIRA issue tracker at
http://jira.mongodb.org/browse/HHVM

MongoDB HHVM Driver 1.1.3 released

15 Jul 09:42
Compare
Choose a tag to compare

The PHP team is happy to announce a bug fix release of the "mongodb"
HHVM extension. This version adds support for HHVM 3.14.

All users are recommended to upgrade to this latest release.

You can download the driver from the "hhvm-mongodb-1.1.3.tgz" attachment
to this release announcement. Installation instructions can be found in
the README.rst file in the downloaded TGZ file, or here:
https://github.com/mongodb-labs/mongo-hhvm-driver-prototype/blob/master/README.rst

Feedback can be provided through our JIRA issue tracker at
http://jira.mongodb.org/browse/HHVM

MongoDB HHVM Driver 1.1.2 released

07 Apr 13:15
Compare
Choose a tag to compare

The PHP team is happy to announce a bug fix release of the "mongodb"
HHVM extension. This version fixes a compile error with the 1.1.1 release
and HHVM 3.9, 3.10 and 3.11.

All users are recommended to upgrade to this latest release.

You can download the driver from the "hhvm-mongodb-1.1.2.tgz" attachment
to this release announcement. Installation instructions can be found in
the README.rst file in the downloaded TGZ file, or here:
https://github.com/mongodb-labs/mongo-hhvm-driver-prototype/blob/master/README.rst

Feedback can be provided through our JIRA issue tracker at
http://jira.mongodb.org/browse/HHVM

MongoDB HHVM Driver 1.1.1 released

15 Mar 15:24
Compare
Choose a tag to compare

The PHP team is happy to announce a bug fix release of the "mongodb" HHVM extension. This version upgrades bundled libmongoc to 1.3.4, and addresses a few issues related to reading invalid BSON.

The upgrade of libmongoc addresses a security vulnerability: when a mongoc_client_t uses SSL and is disconnected, it failed to re-verify the server certificate after reconnecting.

All users are recommended to upgrade to this latest release.

You can download the driver from the "hhvm-mongodb-1.1.1.tgz" attachment to this release announcement. Installation instructions can be found in the README.rst file in the downloaded TGZ file, or here: https://github.com/mongodb-labs/mongo-hhvm-driver-prototype/blob/master/README.rst

Feedback can be provided through our JIRA issue tracker at http://jira.mongodb.org/browse/HHVM

MongoDB HHVM Driver 1.1.0 released

02 Mar 11:37
Compare
Choose a tag to compare

The PHP team is happy to announce that the first stable candidate of our new "mongodb" HHVM extension is now available. This extension mimics the API of the "mongodb" PHP extension, and documentation can be found at http://docs.php.net/manual/en/set.mongodb.php

Since 1.1.0RC1, we have fixed several bugs, including, but not limited to: API differences with the PHP extension, and, issues with WriteConcerns and ReadConcerns. We also added support for HHVM 3.11 and 3.12, and updated our bundled libmongoc and libbson libraries to version 1.3.3.

You can download the driver from the "hhvm-mongodb-1.1.0.tgz" attachment to this release announcement. Installation instructions can be found in the README.rst file in the downloaded TGZ file, or here: https://github.com/mongodb-labs/mongo-hhvm-driver-prototype/blob/master/README.rst

Feedback can be provided through our JIRA issue tracker at http://jira.mongodb.org/browse/HHVM