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

Bug

  • [PHPC-2497] - BulkWriteException stub should inherit ServerException

Epic

Task

  • [PHPC-1021] - Remove ReadPreference integer constants and require strings in constructor
  • [PHPC-1741] - Remove getServer API and manager reference from APM event classes
  • [PHPC-2140] - Make tentative return types definitive
  • [PHPC-2248] - Remove Serializable interface implementations
  • [PHPC-2309] - Remove --with-openssl-dir configure option in CheckSSL.m4
  • [PHPC-2342] - Remove --with-libbson and --with-libmongoc configure options
  • [PHPC-2344] - Remove SSLConnectionException
  • [PHPC-2346] - Remove BSON functions in favor of Document methods
  • [PHPC-2348] - Remove WriteException
  • [PHPC-2351] - Remove CursorId class and change Cursor::getId() to return Int64
  • [PHPC-2402] - Remove ClientEncryption RANGE_PREVIEW constants
  • [PHPC-2417] - Add UTCDateTimeInterface::toDateTimeImmutable
  • [PHPC-2444] - Remove support for string arguments in UTCDateTime constructor
  • [PHPC-2447] - Extend Iterator interface in CursorInterface
  • [PHPC-2454] - Remove --enable-system-ciphers configure option in CheckSSL.m4
  • [PHPC-2459] - Remove support for float arguments in UTCDateTime constructor
  • [PHPC-2485] - Remove support for passing WriteConcern and ReadPreference objects directly to execute methods
  • [PHPC-2558] - Upgrade libmongoc to 1.30.3

Improvement

  • [PHPC-990] - Throw if generic boolean URI option has an unexpected type
  • [PHPC-2144] - WriteResult getters should throw exception if unacknowledged
  • [PHPC-2440] - Remove deprecated Query constructor options
  • [PHPC-2441] - Remove deprecated Manager constructor options

Edit/Copy Release Notes

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