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

Build Failure

  • [PHPLIB-1331] - Rector failing hard after update to phpstan/phpstan 1.10.55
  • [PHPLIB-1372] - Disable RiskyTruthyFalsyComparison detection in example

Bug

  • [PHPLIB-1313] - GridFS close writable stream when the process ends to ensure the file is sent
  • [PHPLIB-1320] - Collection::createIndex() does not pass "comment" option to createIndexes command

Epic

New Feature

  • [PHPLIB-1206] - Make it possible to use StreamWrapper GridFS without using context
  • [PHPLIB-1309] - Add addSubscriber and removeSubscriber methods to the Client class to ease dependency injection configuration

Task

  • [PHPLIB-1246] - Test with PHP 8.3 on Evergreen
  • [PHPLIB-1275] - Replace apiargs usage in docs with extracts
  • [PHPLIB-1294] - Make ExceededTimeLimit retryable reads error
  • [PHPLIB-1295] - Consider making ReadConcernMajorityNotAvailableYet a retryable error
  • [PHPLIB-1297] - Clarify exactly what code/label fields drivers should inspect to determine retryability
  • [PHPLIB-1302] - Replace jean85/pretty-package-versions with Composer\InstalledVersions
  • [PHPLIB-1325] - Deprecate setting "disableMD5" to "false" when instantiating a Bucket
  • [PHPLIB-1326] - Test-level runOnRequirements in retryable writes tests should not be more permissive than top-level runOnRequirements
  • [PHPLIB-1330] - Require 4.3.1+ server version when using failCommand errorLabels option
  • [PHPLIB-1392] - Convert transactions spec tests to unified test format
  • [PHPLIB-1397] - Revise runOnRequirements for transaction tests incompatible with load balancers
  • [PHPLIB-1399] - Docs example request: Projection with aggregation expressions
  • [PHPLIB-1402] - Convert retryable writes spec tests to unified test format
  • [PHPLIB-1403] - Convert CRUD v1 spec tests to unified test format
  • [PHPLIB-1404] - Convert retryable reads spec tests to unified test format
  • [PHPLIB-1408] - Migrate Atlas Data Lake tests to unified test format
  • [PHPLIB-1409] - Convert read/write concern spec tests to unified test format
  • [PHPLIB-1410] - Invoke all Drivers Evergreen Tools Scripts with Bash
  • [PHPLIB-1412] - Skip rangePreview encryption tests on MongoDB 8.0+
  • [PHPLIB-1413] - Unrecognized named-value "env" in GitHub tests.yml workflow

Improvement

  • [PHPLIB-1248] - Add GridFS example
  • [PHPLIB-1323] - GridFS: Delete a file by filename - implement StreamWrapper::unlink()
  • [PHPLIB-1324] - GridFS: Rename a file by filename - implement StreamWrapper::rename()

Edit/Copy Release Notes

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