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

Bug

  • [PHPLIB-368] - Operations executed within transaction should not inherit read/write concern
  • [PHPLIB-386] - Assert upsertedIds field in bulkWrite CRUD spec tests
  • [PHPLIB-398] - Aggregate with $out should ignore batchSize option
  • [PHPLIB-414] - Ensure GridFS spec tests fully iterate expected and actual collections
  • [PHPLIB-431] - Relax aggregate explain test for 4.2 servers
  • [PHPLIB-433] - ChangeStream spec's Resumable Error definition is too broad
  • [PHPLIB-443] - ChangeStream does not surface non-resumable errors during iteration
  • [PHPLIB-451] - Rewinding change stream cursor should never execute a getMore command
  • [PHPLIB-473] - Ensure read concern is inherited for transactions

Epic

New Feature

  • [PHPLIB-402] - Support running commands as aggregation
  • [PHPLIB-407] - Support 'startAfter' option to the $changeStream stage
  • [PHPLIB-411] - Support postBatchResumeToken in change streams
  • [PHPLIB-413] - Add support for majority read concern level to Aggregation $out
  • [PHPLIB-418] - Add the ability to specify a pipeline to an update command
  • [PHPLIB-463] - Implement spec test runner for retryable reads
  • [PHPLIB-466] - Support mongos pinning for sharded transactions
  • [PHPLIB-467] - Connections survive primary stepdown
  • [PHPLIB-468] - Implement Convenient API for Transactions

Task

  • [PHPLIB-307] - Implement test runner for retryable write spec tests
  • [PHPLIB-330] - Implement checks for coding standard
  • [PHPLIB-341] - Add LocalDateTime example to tutorial
  • [PHPLIB-356] - Audit documentation for possible BSON 64-bit integer return values
  • [PHPLIB-362] - Prefer class name constant over string literals
  • [PHPLIB-364] - Document that transactions do not allow per-op read/write concerns
  • [PHPLIB-365] - Implement test runner for transaction spec tests
  • [PHPLIB-366] - Implement test runner for change stream spec tests
  • [PHPLIB-380] - Add alternative topologies to Travis CI
  • [PHPLIB-384] - modifyCollection return format with sharded cluster differs
  • [PHPLIB-387] - Support errors and unordered writes in CRUD spec tests
  • [PHPLIB-408] - Update Transactions Retry Example 3 to include read preference
  • [PHPLIB-410] - Implement test runner for command monitoring spec tests
  • [PHPLIB-412] - Revert to virtualized Travis CI environments
  • [PHPLIB-416] - Ensure that getMore right after a resume is retried
  • [PHPLIB-422] - Amend change stream missing resume token tests for wire version 8+
  • [PHPLIB-423] - Add tests for postBatchResumeToken support
  • [PHPLIB-429] - Remove support for PHP 5.5
  • [PHPLIB-430] - Add test environment with multiple mongos nodes
  • [PHPLIB-435] - Clarify resume token used in resuming and getResumeToken
  • [PHPLIB-438] - Spec: Finer-grained updates from aggregation via $merge
  • [PHPLIB-446] - Skip tests that modify resume token for server 4.1.8+
  • [PHPLIB-449] - Test MongoDB 4.2 in Travis CI
  • [PHPLIB-450] - Update change stream docs example for resume token access
  • [PHPLIB-457] - Audit and implement any missing change stream spec prose tests
  • [PHPLIB-459] - Support better failure descriptions in DocumentsMatchConstraint
  • [PHPLIB-474] - Provide transaction example using new withTransaction API

Improvement

  • [PHPLIB-242] - Refactor command operations to use field path syntax for type maps
  • [PHPLIB-352] - Only send bypassDocumentValidation if it's true
  • [PHPLIB-357] - Refactor CountDocuments and EstimatedDocumentCount Operations to encapsulate a Count/Aggregation Operation
  • [PHPLIB-401] - ResumeTokenException should extend RuntimeException
  • [PHPLIB-417] - countDocuments should use group with _id: 1
  • [PHPLIB-445] - ChangeStream::next() should not increment key if ResumeTokenException is thrown
  • [PHPLIB-456] - Always invalidate ChangeStream position if iteration fails
  • [PHPLIB-462] - Compatibility with PHP 7.4

Edit/Copy Release Notes

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