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

Bug

  • [PHPC-478] - toJSON should return after throwing first exception
  • [PHPC-523] - Parse readconcernlevel in URI options array
  • [PHPC-531] - Segfault due to double free by corrupt BSON visitor
  • [PHPC-544] - Consult SIZEOF_ZEND_LONG for 64-bit integer support
  • [PHPC-545] - Update does not serialize embedded Persistable's __pclass field
  • [PHPC-550] - Always encode ODS field when serializing Persistable documents
  • [PHPC-553] - Suppress PHP warnings during stream init
  • [PHPC-592] - Property name corrupted when unserializing 64-bit integer on 32-bit platform
  • [PHPC-613] - toJSON() should throw on invalid BSON
  • [PHPC-615] - toJSON() should return after throwing for bson_reader_read() failure
  • [PHPC-616] - Document and array visitors should throw for corrupt BSON

New Feature

  • [PHPC-515] - Support negative cursor limits for single-batch results

Task

  • [PHPC-414] - Combine 32-bit and 64-bit tests for UTCDateTime debug handler
  • [PHPC-519] - Use of final modifiers on final class methods is inconsistent
  • [PHPC-538] - Constructing ObjectID with null aborts
  • [PHPC-543] - MongoDB\BSON\UTCDateTime on 32 bit platforms parse argument wrong
  • [PHPC-558] - Upgrade bundled libbson and libmongoc to 1.3.2
  • [PHPC-559] - Document Query readConcern option
  • [PHPC-563] - Remove undocumented Manager "hosts" URI option
  • [PHPC-566] - Remove request_id from the Manager's __debugInfo()
  • [PHPC-567] - Upgrade libbson and libmongoc to 1.3.3

Improvement

  • [PHPC-506] - Use more descriptive messages in WriteExceptions
  • [PHPC-539] - Include read concern in Query debug output
  • [PHPC-549] - Encourage users to handle _id field in Persistable documentation
  • [PHPC-581] - Use ConnectionTimeoutException for server selection failures
  • [PHPC-582] - Manager::selectServer() should select exception class based on bson_error_t
  • [PHPC-593] - Throw exception if Binary subtype is out of range
  • [PHPC-594] - Throw exception if Timestamp arguments are out of range
  • [PHPC-595] - Throw exception if WriteConcern wtimeout is out of range

Edit/Copy Release Notes

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