Release Notes - PHP Driver: Library - Version 0.2.0 - HTML format

Bug

  • [PHPLIB-62] - BulkWrite interface renamed to BulkWrite
  • [PHPLIB-92] - CRUD update methods should use multi option
  • [PHPLIB-93] - Insert results should contain IDs regardless of generation
  • [PHPLIB-103] - Collection::bulkWrite() updateMany should require update operators

Epic

  • [PHPLIB-70] - Database, collection, and index management

New Feature

  • [PHPLIB-45] - Collection enumeration methods
  • [PHPLIB-46] - Index enumeration methods
  • [PHPLIB-59] - Implement insertMany() CRUD method
  • [PHPLIB-60] - Create CRUD result classes
  • [PHPLIB-63] - Index creation methods
  • [PHPLIB-64] - Collection creation method
  • [PHPLIB-65] - Database drop methods
  • [PHPLIB-69] - Index drop methods
  • [PHPLIB-71] - Collection drop methods
  • [PHPLIB-72] - Database enumeration method
  • [PHPLIB-73] - Ensure default write concerns and read preferences are inherited
  • [PHPLIB-75] - Use model classes for enumerated databases, collections, and indexes
  • [PHPLIB-89] - Implement Database::getDatabaseName()
  • [PHPLIB-94] - Implement BulkWriteResult class for CRUD spec

Task

  • [PHPLIB-44] - Apply PSR-2 coding standards
  • [PHPLIB-50] - Don't include the nModified field in Bulk API results if talking to a legacy server via mongos
  • [PHPLIB-54] - Update references to driver classes
  • [PHPLIB-56] - Configure Travis CI
  • [PHPLIB-58] - Implement CRUD specification tests
  • [PHPLIB-77] - Use namespaced exceptions
  • [PHPLIB-83] - Extend driver exceptions and implement library-specific exception interface
  • [PHPLIB-87] - Remove manual bsonSerialize() call from createIndexesLegacy()
  • [PHPLIB-88] - Rename IndexInfo::getKeys() to getKey()
  • [PHPLIB-96] - Fix findOneAndReplace() upsert test failures for MongoDB 2.4
  • [PHPLIB-97] - Cast count() results to integers for older servers that return floats
  • [PHPLIB-98] - Add multiple server versions to Travis CI test matrix
  • [PHPLIB-105] - Remove Collection::VERSION constant

Improvement

  • [PHPLIB-79] - Add __debugInfo() handlers for info classes
  • [PHPLIB-86] - Collection::aggregate() should default to use a cursor if possible
  • [PHPLIB-91] - Ensure query/filter args always serialize as BSON documents
  • [PHPLIB-95] - Special handling for findAndModify null return values before 3.0
  • [PHPLIB-102] - Implement UpdateResult::getUpsertedCount()

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.