mongodb 1.12.0

MongoDB driver for PHP


The purpose of this driver is to provide exceptionally thin glue between MongoDB and PHP, implementing only fundamental and performance-critical components necessary to build a fully-functional MongoDB driver.

Windows builds are attached to GitHub releases: https://github.com/mongodb/mongo-php-driver/releases

License: Apache License

Changes

** Epic
* [PHPC-1850] - Support PHP 8.1
* [PHPC-1912] - CSFLE 1.0 KMIP Support

** New Feature
* [PHPC-2009] - Support tlsOptions encryption option

** Task
* [PHPC-1878] - Unexpected primary step down when testing on MongoDB latest
* [PHPC-1880] - Drop support for PHP 7.1
* [PHPC-1931] - Add PHP 8.1 to PHP toolchain
* [PHPC-1997] - Update calls to deprecated bson_atomic_int_add function
* [PHPC-2011] - Upgrade libmongoc to 1.20.0 and libmongocrypt to 1.3.0

** Improvement
* [PHPC-1942] - Support BSON Binary subtype 0x07 (column)
* [PHPC-2004] - Specify string return type in __toString() arginfos
* [PHPC-2007] - Explicitly implement Stringable for PHP 8+
* [PHPC-2010] - Type validation for autoEncryption.extraOptions