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

Spec Change

  • [PHPLIB-1218] - Remove Deprecated GridFS Fields
  • [PHPLIB-1652] - Relax requirement for optional fields for sessions unified tests
  • [PHPLIB-1657] - Change streams expanded events present by default in 8.2+

Task

  • [PHPLIB-360] - Make ChangeStream::CURSOR_NOT_FOUND class constant private
  • [PHPLIB-797] - Remove unused methods on UnsupportedException
  • [PHPLIB-818] - Remove Watch::FULL_DOCUMENT_DEFAULT constant
  • [PHPLIB-953] - Make Operation and @internal classes final
  • [PHPLIB-954] - Add return types to all methods
  • [PHPLIB-1227] - Use void return types for operations without meaningful result document
  • [PHPLIB-1513] - Remove the Collection::mapReduce helper
  • [PHPLIB-1517] - Remove interface MongoDB\Operation\Executable
  • [PHPLIB-1518] - Change return type of WriteResult decorators
  • [PHPLIB-1523] - Remove iterators for database, collection, and index enumeration
  • [PHPLIB-1546] - Remove flags option and related constants for CreateCollection
  • [PHPLIB-1648] - Test runner support for initialData.createOptions and $$lte operator
  • [PHPLIB-1650] - Test flexible numeric comparisons with $$lte
  • [PHPLIB-1660] - Remove redundant crypt_shared and mongocryptd checks in tests

Improvement

  • [PHPLIB-1114] - Replace Cursor type hints with CursorInterface
  • [PHPLIB-1159] - Remove autoIndexId option for CreateCollection
  • [PHPLIB-1511] - Remove deprecated Find options
  • [PHPLIB-1512] - Remove IndexInfo::isGeoHaystack() method
  • [PHPLIB-1617] - Allow passing an Agg Builder Pipeline to the aggregate method

Edit/Copy Release Notes

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