mongodb 1.4.0RC1

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

** Bug
* [PHPC-1038] - "documents" key in "command" in APM's commandStarted for "insert" is missing
* [PHPC-1049] - Build warnings with CLang/LLVM
* [PHPC-1050] - Advancing a new command cursor to check for an error may invoke getMore
* [PHPC-1067] - BSON document produces driver segfault
* [PHPC-1092] - Infinite loop iterating BSON object properties with foreach
* [PHPC-1093] - Bound checking on 32-bit platforms for APM's duration_micros
* [PHPC-1096] - Driver fails to build with libmongoc's bundled zlib

** Task
* [PHPC-227] - Mongo Orchestration should restart when Vagrant test VM boots
* [PHPC-962] - Document example of tailable cursor iteration
* [PHPC-1003] - Use container environment for Travis CI builds
* [PHPC-1013] - Test Driver Wire Version Overlap logic
* [PHPC-1024] - Document BSON exceptions for Cursor iteration
* [PHPC-1065] - Enable BSON corpus tests for deprecated types
* [PHPC-1069] - Enable Coverity scans for the driver
* [PHPC-1077] - Fix X509 test failures with libmongoc 1.9.0 and MongoDB 3.6
* [PHPC-1078] - Create constant for available read concern level
* [PHPC-1079] - Document that jsonSerialize() returns legacy extended JSON
* [PHPC-1080] - Document new (deprecated) BSON classes
* [PHPC-1081] - Investigate Fedora build failures for 1.4.0beta1
* [PHPC-1082] - Add a PHP version check to config.m4
* [PHPC-1084] - Upgrade switch/case fallthrough comments to use GCC 7's new attribute
* [PHPC-1097] - Report libmongoc's compression engines in phpinfo() output
* [PHPC-1098] - Fix test failures due to floating point precision
* [PHPC-1100] - Fix test failures when driver is compiled without SSL

** Improvement
* [PHPC-888] - Support additional TLS libraries for bundled libmongoc