Skip to content

Latest commit

 

History

History
98 lines (79 loc) · 4.4 KB

CHANGELOG-1.0.md

File metadata and controls

98 lines (79 loc) · 4.4 KB

CHANGELOG

This changelog references the relevant changes done in minor version updates.

1.0.3 (2016-04-13)

All issues and pull requests under this release may be found under the 1.0.3 milestone.

  • #96 fixes errors when calling count on a cursor that has been iterated fully. The fix removes a performance improvement when calling count on a cursor that has been opened. MongoCursor::count now always re-issues a count command to the server.
  • #98 fixes an error where using BSON types in a query projection would result in wrong results.
  • #99 ensures that the sec and usec properties for MongoDate are cast to int.

1.0.2 (2016-04-08)

All issues and pull requests under this release may be found under the 1.0.2 milestone.

  • #90 ensures that database and collection names are properly cast to string on creation.
  • #94 fixes an error in MongoCursor::hasNext that led to wrong data being returned.

1.0.1 (2016-04-01)

All issues and pull requests under this release may be found under the 1.0.1 milestone.

  • #85 fixes calls to MongoCollection::count using the legacy syntax of providing skip and limit arguments instead of an options array.
  • #88 fixes an error where a call to MongoCollection::distinct with a query did not convert legacy BSON types to the new driver types.

1.0.0 (2016-03-18)

All issues and pull requests under this release may be found under the 1.0.0 milestone.

  • #74 fixes running an aggregation command and returning a result document instead of a result cursor. This bug was fixed in the underlying mongo-php-library.
  • #71 adds checks to all class files to prevent class declarations when ext-mongo is already loaded and not using an autoloader.
  • #72 fixes wrong argument order in the constructor for the Timestamp type.
  • #75 adds a warning to MongoCursor::timeout to let people now cursor timeouts are no longer supported.
  • #77 adds support for the update option in findAndModify calls.

1.0.0-BETA1 (2016-02-17)

All issues and pull requests under this release may be found under the 1.0.0-BETA1 milestone.

  • #52 fixes behavior of MongoCollection::update when no update operators have been given.
  • #53 fixes an error where some operations would send an invalid query to the MongoDB server, causing command failures.
  • #54 and #55 fix the handling of documents with numeric keys.
  • #56 fixes the behavior of MongoGridFS::findOne when no results are found.
  • #59 adds handling for the includeSystemCollections parameter in MongoDB::getCollectionInfo and MongoDB::getCollectionNames.
  • #62 removes the manual comparison of index options to rely on the MongoDB server to decide whether an index already exists.
  • #63 prevents serialization of driver classes which are not serializable.

0.1.0 (2016-02-06)

Initial development release.