Commit graph

5 commits

Author SHA1 Message Date
ryoon
6fc378bce9 Recursive revbump from textproc/icu 2019-04-03 00:32:25 +00:00
adam
13b04ccf99 php-mongodb: updated to 1.5.3
MongoDB PHP Driver 1.5.0:

It supports all new features for MongoDB 2.6, including:

Aggregate can now return a cursor
Aggregation pipelines can now be explained
Possible to set maxTimeMS for commands and queries
Transparent support for the new command-based MongoDB write API
New MongoWriteBatch classes (using the new MongoDB write API)
Support for MongoDB Enterprise features (e.g. Kerberos, LDAP, X509)
Option to tune acceptable server latency for secondary reads (secondaryAcceptableLatencyMS)
With this release, some driver functionality which was previously documented as deprecated will now formally raise deprecation notices. This includes:

Instantiating the Mongo class
Calling MongoCursor::slaveOkay()
"wtimeout" and "safe" options for MongoCollection write operations
Manipulating public properties on core classes (such as $collection->w)


MongoDB PHP Driver 1.4.0:

The 1.4 series introduced fundemental changes in how connections are created to the MongoDB servers. The driver now utilizes PHP native streams, so all normal PHP stream options apply. Furthermore, an experimental Stream Context Support was added.

The 1.4.x series also added support for MongoDB 2.4.x.

The most important improvements however deal with the handling of replica sets, especially nodes that timeout and nodes that are unreachable for various reasons. Besides the improvements to replica set handling, this release addresses issues with read preferences through mongos nodes. It also adds support for SSL enabled connections as well as journal and fsync connection string options.
2019-03-05 14:26:42 +00:00
joerg
8c15d4a6d2 Needs pkg-config. 2018-01-07 20:56:44 +00:00
jdolecek
c00361fea0 Update php-mongodb to 1.3.4, mostly to get version which is compatible
with PHP 7.2

Changes since 1.1.8:

1.3.4	** Bug
* [PHPC-1053] - UTCDateTime constructor reports that its single argument is required
1.3.3	** Bug
* [PHPC-1045] - Segfault if username is not provided for SCRAM-SHA-1 authMechanism
* [PHPC-1046] - Do not specify $external as database name in tests

** Task
* [PHPC-1044] - Upgrade libbson and libmongoc to 1.8.2
1.3.2	** Improvement
* [PHPC-1026] - Log warnings instead of throwing for unsupported BSON types
1.3.1	** Bug
* [PHPC-1014] - config.m4 produces unterminated quoted string
1.3.0	** Bug
* [PHPC-586] - Create regression tests for tailable cursor iteration
* [PHPC-624] - WriteResult::getUpsertedIds() only supports ObjectIDs and integers
* [PHPC-692] - Check for phongo_bson_to_zval_ex() failures in Server methods
* [PHPC-712] - Driver should validate BSON documents before insert and update
* [PHPC-875] - Allow compiling without SSL
* [PHPC-895] - Require 16-byte data length for Binary UUID subtypes 0x03 and 0x04
* [PHPC-914] - php mongodb connect 'SCRAM Failure: invalid salt length of 0 in sasl step2' exception
* [PHPC-939] - BSON classes should not assign public properties after var_dump()
* [PHPC-950] - Skip APM callbacks if subscriber HashTable is uninitialized
* [PHPC-951] - CursorId is a signed 64-bit integer
* [PHPC-964] - Ensure SASL output variables are always defined in config.m4
* [PHPC-974] - Converting JSON to BSON to PHP introduces gaps in array indexes
* [PHPC-981] - APM functions should reside in MongoDB\Driver\Monitoring namespace
* [PHPC-982] - Include null byte in key length when accessing subscriber HashTable in PHP 5
* [PHPC-983] - MongoDB\BSON\toPHP() arg info is missing type map parameter
* [PHPC-994] - Fix HAVE_SOCKLEN_T macro redefinition for Windows builds
* [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2
* [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value

** Epic
* [PHPC-909] - Spring cleaning for 1.3.0

** New Feature
* [PHPC-349] - Application Performance Monitoring (APM)
* [PHPC-382] - Allow zval_to_bson() to return the ID irrespective of ID generation
* [PHPC-471] - BulkWrite::insert() should always return the document's ID
* [PHPC-587] - CursorId should serialize to BSON as 64-bit integer
* [PHPC-772] - Parse authMechanism options in URI options array
* [PHPC-839] - Add option maxAwaitTimeMS on getMore commands
* [PHPC-926] - Implement Extended JSON spec
* [PHPC-976] - Create isDefault() method for read and write concerns
* [PHPC-985] - Implement Timestamp::getIncrement() and getTimestamp() methods
* [PHPC-988] - PHP 5.x segfault if TypeWrapper::createFromBSONType() throws exception

** Task
* [PHPC-302] - Throw exceptions for unsupported BSON types
* [PHPC-640] - Implement interfaces for userland BSON type classes
* [PHPC-765] - Connection string spec compliance
* [PHPC-892] - Upgrade libbson and libmongoc to 1.6.0
* [PHPC-907] - Remove PHONGO_API macro for exported symbols
* [PHPC-908] - Do not declare MINIT functions for each driver class
* [PHPC-910] - Reorganize BSON encoding and decoding sources
* [PHPC-911] - Prefix symbols and use static decls whenever possible
* [PHPC-915] - Document precedence of authMechanismProperties URI option over named GSSAPI options
* [PHPC-928] - Sync release files in PECL package generation script
* [PHPC-929] - Skip BSON corpus test for embedded null in code string
* [PHPC-932] - Remove reference to Manager on Cursor, Server, and WriteResult objects
* [PHPC-953] - Do not parse undocumented "database" key in URI options array
* [PHPC-957] - Use libmongoc constants for applicable URI options
* [PHPC-959] - Do not check for null return from mongoc_collection_find_with_opts()
* [PHPC-977] - Upgrade libbson and libmongoc to 1.7.0
* [PHPC-992] - Rename to[Canonical|Relaxed]JSON() to to[Canonical|Relaxed]ExtendedJSON()
* [PHPC-996] - Remove support for PHP 5.4
* [PHPC-997] - Update date/time handling code due to changes in timelib
* [PHPC-1004] - Rename ObjectID to ObjectId
* [PHPC-1007] - Upgrade libbson and libmongoc to 1.8.0
* [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available

** Improvement
* [PHPC-579] - Throw exception for invalid BulkWrite::update() newObj argument
* [PHPC-628] - executeBulkWrite() should throw InvalidArgumentException for empty BulkWrite
* [PHPC-846] - Throw if maxStalenessSeconds URI option is out of range
* [PHPC-887] - Throw exceptions for unexpected types in URI options array
* [PHPC-904] - ReadPreference constructor should accept strings
* [PHPC-930] - Do not throw exceptions for critical and error levels in libmongoc log callback
* [PHPC-935] - Validate filter and options in Query constructor
* [PHPC-937] - Cursor::setTypeMap() and toPHP() should return early if type map is invalid
* [PHPC-941] - Introduce API for converting BSON to canonical and relaxed extended JSON
* [PHPC-942] - Use mongoc_uri_new_with_error() to improve URI error reporting
* [PHPC-944] - MONGOC_ERROR_COMMAND_INVALID_ARG should yield InvalidArgumentException
* [PHPC-1001] - Report field name for invalid UTF-8 and unsupported zval types during BSON encoding
1.2.11	** Bug
* [PHPC-875] - Allow compiling without SSL

** Task
* [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available
1.3.0RC1	** Bug
* [PHPC-994] - Fix HAVE_SOCKLEN_T macro redefinition for Windows builds
* [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2
* [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value

** Task
* [PHPC-996] - Remove support for PHP 5.4
* [PHPC-997] - Update date/time handling code due to changes in timelib
* [PHPC-1004] - Rename ObjectID to ObjectId
* [PHPC-1007] - Upgrade libbson and libmongoc to 1.8.0
* [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available

** Improvement
* [PHPC-1001] - Report field name for invalid UTF-8 and unsupported zval types during BSON encoding
1.2.10	** Bug
* [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2
* [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value

** Task
* [PHPC-997] - Update date/time handling code due to changes in timelib
1.3.0beta1	** Bug
* [PHPC-586] - Create regression tests for tailable cursor iteration
* [PHPC-624] - WriteResult::getUpsertedIds() only supports ObjectIDs and integers
* [PHPC-692] - Check for phongo_bson_to_zval_ex() failures in Server methods
* [PHPC-712] - Driver should validate BSON documents before insert and update
* [PHPC-875] - Allow compiling without SSL
* [PHPC-895] - Require 16-byte data length for Binary UUID subtypes 0x03 and 0x04
* [PHPC-914] - php mongodb connect 'SCRAM Failure: invalid salt length of 0 in sasl step2' exception
* [PHPC-939] - BSON classes should not assign public properties after var_dump()
* [PHPC-950] - Skip APM callbacks if subscriber HashTable is uninitialized
* [PHPC-951] - CursorId is a signed 64-bit integer
* [PHPC-964] - Ensure SASL output variables are always defined in config.m4
* [PHPC-974] - Converting JSON to BSON to PHP introduces gaps in array indexes
* [PHPC-981] - APM functions should reside in MongoDB\Driver\Monitoring namespace
* [PHPC-982] - Include null byte in key length when accessing subscriber HashTable in PHP 5
* [PHPC-983] - MongoDB\BSON\toPHP() arg info is missing type map parameter

** Epic
* [PHPC-909] - Spring cleaning for 1.3.0

** New Feature
* [PHPC-349] - Application Performance Monitoring (APM)
* [PHPC-382] - Allow zval_to_bson() to return the ID irrespective of ID generation
* [PHPC-471] - BulkWrite::insert() should always return the document's ID
* [PHPC-587] - CursorId should serialize to BSON as 64-bit integer
* [PHPC-772] - Parse authMechanism options in URI options array
* [PHPC-839] - Add option maxAwaitTimeMS on getMore commands
* [PHPC-926] - Implement Extended JSON spec
* [PHPC-976] - Create isDefault() method for read and write concerns
* [PHPC-985] - Implement Timestamp::getIncrement() and getTimestamp() methods
* [PHPC-988] - PHP 5.x segfault if TypeWrapper::createFromBSONType() throws exception

** Task
* [PHPC-302] - Throw exceptions for unsupported BSON types
* [PHPC-640] - Implement interfaces for userland BSON type classes
* [PHPC-765] - Connection string spec compliance
* [PHPC-892] - Upgrade libbson and libmongoc to 1.6.0
* [PHPC-907] - Remove PHONGO_API macro for exported symbols
* [PHPC-908] - Do not declare MINIT functions for each driver class
* [PHPC-910] - Reorganize BSON encoding and decoding sources
* [PHPC-911] - Prefix symbols and use static decls whenever possible
* [PHPC-915] - Document precedence of authMechanismProperties URI option over named GSSAPI options
* [PHPC-928] - Sync release files in PECL package generation script
* [PHPC-929] - Skip BSON corpus test for embedded null in code string
* [PHPC-932] - Remove reference to Manager on Cursor, Server, and WriteResult objects
* [PHPC-953] - Do not parse undocumented "database" key in URI options array
* [PHPC-957] - Use libmongoc constants for applicable URI options
* [PHPC-959] - Do not check for null return from mongoc_collection_find_with_opts()
* [PHPC-977] - Upgrade libbson and libmongoc to 1.7.0
* [PHPC-992] - Rename to[Canonical|Relaxed]JSON() to to[Canonical|Relaxed]ExtendedJSON()

** Improvement
* [PHPC-579] - Throw exception for invalid BulkWrite::update() newObj argument
* [PHPC-628] - executeBulkWrite() should throw InvalidArgumentException for empty BulkWrite
* [PHPC-846] - Throw if maxStalenessSeconds URI option is out of range
* [PHPC-887] - Throw exceptions for unexpected types in URI options array
* [PHPC-904] - ReadPreference constructor should accept strings
* [PHPC-930] - Do not throw exceptions for critical and error levels in libmongoc log callback
* [PHPC-935] - Validate filter and options in Query constructor
* [PHPC-937] - Cursor::setTypeMap() and toPHP() should return early if type map is invalid
* [PHPC-941] - Introduce API for converting BSON to canonical and relaxed extended JSON
* [PHPC-942] - Use mongoc_uri_new_with_error() to improve URI error reporting
* [PHPC-944] - MONGOC_ERROR_COMMAND_INVALID_ARG should yield InvalidArgumentException
1.2.9	** Bug
* [PHPC-940] - php_phongo_free_ssl_opt() attempts to free interned strings
* [PHPC-948] - BSON encoding should throw on circular references
* [PHPC-949] - Memory leak if Serializable::bsonSerialize() returns keys with null bytes
1.2.8	** Improvement
* [PHPC-936] - Define PHP_MONGODB_VERSION constant for Pickle compatibility
1.2.7	** Bug
* [PHPC-500] - Resolve PHP 7 memory leaks
* [PHPC-931] - php_phongo_pclient_t is leaked during MSHUTDOWN
* [PHPC-933] - Unnecessary zend_string_release() in phongo_zval_to_bson() for PHP 7

** Task
* [PHPC-411] - Drop system.profile collection before tests
1.2.6	** Bug
* [PHPC-901] - False slaveOk URI option should be ignored
* [PHPC-912] - Child processes should not destroy clients created by parent processes
* [PHPC-913] - Child process should not re-use mongoc_client_t objects from parent
* [PHPC-917] - localThresholdMS should default to 15 milliseconds
* [PHPC-923] - Use zend_string_release() to free class names
* [PHPC-924] - Cursor::setTypeMap() may unnecessarily convert first BSON document

** Task
* [PHPC-736] - Remove zend_str_tolower_dup() in ObjectID construction
* [PHPC-825] - Document URI options array for Manager constructor
* [PHPC-906] - Make test suite compatible with libbson/libmongoc 1.5.0 and 1.6.0
1.2.5	Fix Windows build scripts
1.2.4	** Bug
* [PHPC-894] - BSON get_properties handlers leak during gc_possible_root() checks
* [PHPC-898] - readConcern option should not be included in getMore commands

** Task
* [PHPC-897] - Document that connections are initialized lazily
* [PHPC-899] - Remind users about BSON comparison behavior
1.2.3	** Bug
* [PHPC-855] - Assertion failure in stream_not_found() after failed getmore operation
* [PHPC-856] - Build errors using bundled libbson and system libmongoc
* [PHPC-872] - Do not use system crypto policy for OpenSSL on Windows
* [PHPC-878] - php_json_serializable_ce missing in PHP versions before 5.5.10 and 5.4.26
* [PHPC-879] - php_date_get_immutable_ce missing in PHP versions before 5.6.8 and 5.5.24
* [PHPC-881] - Windows CA stores should be opened with read-only flag
* [PHPC-883] - BSON array keys should be disregarded during visitation
* [PHPC-884] - Public property with zero-length name ignored during BSON encoding
* [PHPC-885] - Alphabetize Regex flags when instantiating from BSON
* [PHPC-886] - Always recalculate field name length when encoding BSON
* [PHPC-891] - BSON encoding should throw if PHP keys contain null bytes

** Improvement
* [PHPC-635] - WriteResult debug handler should return objects
* [PHPC-873] - Do not allow mixing bundled and system libbson and libmongoc libraries

** Task
* [PHPC-633] - Add lines to phpinfo() output regarding support for SSL and SASL
* [PHPC-714] - Implement BSON corpus test suite
* [PHPC-890] - Add license header to source files
1.2.2	** Bug
* [PHPC-849] - Cursor::setTypeMap() leaks current element if called during iteration
* [PHPC-851] - Segfault when ReadPreference tag sets are an immutable array
* [PHPC-852] - Do not depend on date and standard extensions in config.w32
* [PHPC-853] - config.w32 fails to generate all libmongoc and libbson version constants
* [PHPC-854] - Client persistence crashes with ZTS (e.g. Apache)
1.2.1	** Bug
* [PHPC-848] - Fix BSON encoding of immutable arrays and documents with circular references
1.1.10	* PHPC-848: Consult ZEND_HASH_APPLY_PROTECTION() in PHP7
1.2.0	** Bug
* [PHPC-316] - config.w32 should define MONGOC_ENABLE_SASL
* [PHPC-447] - Windows builds should generate libmongoc and libbson config and version files
* [PHPC-481] - Windows reports wrong mongoc and libbson versions
* [PHPC-520] - Document driver dependencies
* [PHPC-525] - Demonstrate non-empty $filter argument in Query constructor example
* [PHPC-530] - Document MongoDB\Driver\Server type constants
* [PHPC-554] - Rephrase unsupported/corrupt BSON messages
* [PHPC-625] - Document that persistent sockets should not be re-used after forking
* [PHPC-673] - Cursor::isDead() returns true despite cursor being alive
* [PHPC-674] - Advise users to install pkg-config for building the driver
* [PHPC-693] - Unacknowledged WriteResults have null counts
* [PHPC-728] - Wrong example on how to provide client certificate
* [PHPC-748] - CursorID is not properly expressed on 32-bit platforms
* [PHPC-756] - fromJSON() should not evaluate bson_error_t.message as boolean
* [PHPC-762] - undefined symbol: mongoc_write_concern_is_acknowledged
* [PHPC-788] - Timestamp on 32-bit platforms breaks
* [PHPC-790] - UTCDateTime constructor should truncate floats
* [PHPC-794] - BulkWrite::update() silently ignores invalid arguments
* [PHPC-801] - Empty ReadConcern and WriteConcern should serialize to BSON documents
* [PHPC-804] - Timestamp and UTCDateTime constructors should accept integers in strict types mode
* [PHPC-838] - Javascript objects are always serialized as BSON code types without scope

** Epic
* [PHPC-542] - Remove dependency on mongoc private symbols

** Improvement
* [PHPC-359] - Ensure read preference tags sets serialize as documents
* [PHPC-424] - Validate that read preference tag set is an array of documents
* [PHPC-433] - Persist topology state between requests
* [PHPC-486] - Add syntax highlighting to BSON persistence articles
* [PHPC-637] - Remind users that connection URIs should be encoded
* [PHPC-654] - Implement comparison handlers for BSON types
* [PHPC-676] - Do not allow BulkWrite objects to be executed multiple times
* [PHPC-684] - Report bypassDocumentValidation in BulkWrite debug output
* [PHPC-705] - Do not unnecessarily wrap filters in $query
* [PHPC-721] - Javascript constructor should throw if code contains null bytes
* [PHPC-724] - Regex constructor should throw if pattern or flags contain null bytes
* [PHPC-726] - Allow cross-platform serialization of Timestamp and UTCDateTime
* [PHPC-731] - Parse Timestamp argument as strings to accept large integers
* [PHPC-739] - Rename "javascript" to "code" in Javascript BSON class
* [PHPC-741] - Use consistent exceptions for BSON initialization methods
* [PHPC-742] - Regex constructor should default flags arg to empty string
* [PHPC-744] - Improve error messages for invalid Decimal128 and ObjectID strings
* [PHPC-746] - Default Manager URI to "mongodb://127.0.0.1/"
* [PHPC-754] - Remove libmongoc-priv system dependency in config.m4
* [PHPC-755] - Remove include of private mongoc-trace.h

** New Feature
* [PHPC-459] - BSON objects should implement JsonSerializable
* [PHPC-460] - BSON classes should support PHP serialization and var_export()
* [PHPC-498] - ReadPreference, ReadConcern, and WriteConcern should serialize to BSON
* [PHPC-536] - UTCDateTime constructor should default to current time and accept DateTimeInterface
* [PHPC-552] - Implement ObjectID::getTimestamp() method
* [PHPC-619] - Implement Decimal 128 type spec
* [PHPC-716] - Support new readConcern level "linearizable"
* [PHPC-729] - Implement __toString() method for Javascript and Binary
* [PHPC-730] - Implement getCode() and getScope() for Javascript
* [PHPC-734] - Support providing collation per operation
* [PHPC-752] - Allow users to set a limit on acceptable staleness
* [PHPC-757] - Implement The MongoDB Handshake Protocol
* [PHPC-786] - Support appname in URI array options

** Question
* [PHPC-723] - Blocking connect() leads to cumulative timeouts for multiple inaccessible servers

** Task
* [PHPC-313] - BSON should throw when encountering 64-bit integer on 32-bit platform
* [PHPC-416] - Document SSL options
* [PHPC-504] - Document how RP, RC, and WC are serialized to BSON
* [PHPC-533] - Remove PHONGO_API macro for exported functions
* [PHPC-584] - Remove MkDocs documentation in favor of PHP.net documentation
* [PHPC-600] - Manager::getServers() should use mongoc_client_get_server_descriptions()
* [PHPC-601] - Cursor::getServer() should not access mongoc_cursor_t.client
* [PHPC-602] - Create command cursors with mongoc_cursor_new_from_command_document()
* [PHPC-603] - Use mongoc_read_prefs_t getters instead of accessing struct fields directly
* [PHPC-604] - WriteConcern::getJournal() should use mongoc_write_concern_journal_is_set()
* [PHPC-605] - Rely on libmongoc's socket handling and SSL implementation
* [PHPC-606] - Use mongoc_server_description_t public API
* [PHPC-607] - Manager::selectServer() should use mongoc_client_select_server()
* [PHPC-609] - Ensure client URI handling uses libmongoc public API
* [PHPC-610] - Client construction should use mongoc_write_concern_is_valid()
* [PHPC-611] - WriteResult::isAcknowledged() should use mongoc_write_concern_is_acknowledged()
* [PHPC-618] - Implement SDAM Monitoring spec
* [PHPC-629] - Upgrade libbson and libmongoc to 1.4.0
* [PHPC-630] - Update bson_visitor_t for unsupported type function pointer
* [PHPC-653] - Document WriteResult, WriteConcernError, and WriteError classes
* [PHPC-659] - Update bson_visitor_t for decimal 128 type function pointer
* [PHPC-662] - Use mongoc_bulk_operation_get_hint()
* [PHPC-663] - Use mongoc_bulk_operation_get_write_concern()
* [PHPC-664] - Use mongoc_write_concern_get_w()
* [PHPC-665] - Remove private libmongoc and libbson header includes
* [PHPC-680] - BulkWrite::count() should return number of operations instead of estimated round-trips
* [PHPC-682] - Do not use mongoc_bulk_operation_t private API in BulkWrite debug handler
* [PHPC-687] - Consolidate struct definitions for PHP 5 and 7
* [PHPC-688] - Do not use mongoc_cursor_t private API in Cursor debug handler
* [PHPC-689] - Query and command execution should use mongoc_cursor_set_hint()
* [PHPC-703] - Update configure scripts for upstream SSL changes
* [PHPC-704] - Do not set "mongodb.debug" based on Manager's $driverOptions["debug"]
* [PHPC-708] - Port http://php.net/manual/en/mongo.security.php to the new docs/driver
* [PHPC-718] - Define extension dependencies
* [PHPC-751] - Document MongoDB\BSON\Decimal128
* [PHPC-758] - Disable Decimal128 for bundled libbson and libmongoc 1.4.0
* [PHPC-761] - Remove BSON_NAMESPACE constant
* [PHPC-769] - Javascript serialization, export, and dump should always include scope field
* [PHPC-777] - Document MongoDB\Driver\ReadConcern::LINEARIZABLE
* [PHPC-779] - Switch serialization from O type to C type
* [PHPC-780] - Document persistent connection behavior
* [PHPC-783] - Use mongoc_collection_find_with_opts() for Query execution
* [PHPC-789] - Remove __wakeup from BSON/* classes
* [PHPC-791] - Upgrade libbson and libmongoc to 1.5.0
* [PHPC-796] - Use flexible opts for BulkWrite update and delete
* [PHPC-799] - Create notice for all third party libraries
* [PHPC-805] - Query "partial" option is now "allowPartialResults"
* [PHPC-806] - Document Query options for mongoc_collection_find_with_opts()
* [PHPC-807] - Document "collation" option for Query and BulkWrite update/delete
* [PHPC-824] - SDAM spec update : Update the topology from each handshake
* [PHPC-826] - Document that socket paths must be URL-encoded
* [PHPC-827] - Update Max Staleness implementation
* [PHPC-829] - BSON Regex flags must be alphabetically ordered
1.1.9	* PHPC-820: Upgrade libbson and libmongoc to 1.3.6
* PHPC-820: Upgrade libbson and libmongoc to 1.3.6
1.2.0alpha3	** Bug
* [PHPC-794] - BulkWrite::update() silently ignores invalid arguments

** Improvement
* [PHPC-424] - Validate that read preference tag set is an array of documents
* [PHPC-705] - Do not unnecessarily wrap filters in $query

** New Feature
* [PHPC-498] - ReadPreference, ReadConcern, and WriteConcern should serialize to BSON
* [PHPC-734] - Support providing collation per operation
* [PHPC-752] - Allow users to set a limit on acceptable staleness

** Task
* [PHPC-783] - Use mongoc_collection_find_with_opts() for Query execution
* [PHPC-796] - Use flexible opts for BulkWrite update and delete
1.2.0alpha2	** Bug
* [PHPC-762] - undefined symbol: mongoc_write_concern_is_acknowledged

** Improvement
* [PHPC-433] - Persist topology state between requests
* [PHPC-726] - Allow cross-platform serialization of Timestamp and UTCDateTime
* [PHPC-731] - Parse Timestamp argument as strings to accept large integers
* [PHPC-742] - Regex constructor should default flags arg to empty string
* [PHPC-744] - Improve error messages for invalid Decimal128 and ObjectID strings

** New Feature
* [PHPC-552] - Implement ObjectID::getTimestamp() method
* [PHPC-716] - Support new readConcern level "linearizable"
* [PHPC-757] - Implement The MongoDB Handshake Protocol
* [PHPC-786] - Support appname in URI array options

** Task
* [PHPC-605] - Rely on libmongoc's socket handling and SSL implementation
* [PHPC-629] - Upgrade libbson and libmongoc to 1.4.0
* [PHPC-704] - Do not set "mongodb.debug" based on Manager's $driverOptions["debug"]
* [PHPC-761] - Remove BSON_NAMESPACE constant
* [PHPC-769] - Javascript serialization, export, and dump should always include scope field
* [PHPC-779] - Switch serialization from O type to C type
* [PHPC-789] - Remove __wakeup from BSON/* classes
1.2.0alpha1	** Bug
* [PHPC-316] - config.w32 should define MONGOC_ENABLE_SASL
* [PHPC-447] - Windows builds should generate libmongoc and libbson config and version files
* [PHPC-481] - Windows reports wrong mongoc and libbson versions
* [PHPC-530] - Document MongoDB\Driver\Server type constants
* [PHPC-554] - Rephrase unsupported/corrupt BSON messages
* [PHPC-673] - Cursor::isDead() returns true despite cursor being alive
* [PHPC-693] - Unacknowledged WriteResults have null counts
* [PHPC-728] - Wrong example on how to provide client certificate
* [PHPC-748] - CursorID is not properly expressed on 32-bit platforms

** Improvement
* [PHPC-486] - Add syntax highlighting to BSON persistence articles
* [PHPC-684] - Report bypassDocumentValidation in BulkWrite debug output
* [PHPC-721] - Javascript constructor should throw if code contains null bytes
* [PHPC-724] - Regex constructor should throw if pattern or flags contain null bytes
* [PHPC-739] - Rename "javascript" to "code" in Javascript BSON class
* [PHPC-741] - Use consistent exceptions for BSON initialization methods
* [PHPC-746] - Default Manager URI to "mongodb://127.0.0.1/"
* [PHPC-754] - Remove libmongoc-priv system dependency in config.m4
* [PHPC-755] - Remove include of private mongoc-trace.h

** New Feature
* [PHPC-460] - BSON classes should support PHP serialization and var_export()
* [PHPC-536] - UTCDateTime constructor should default to current time and accept DateTimeInterface
* [PHPC-619] - Implement Decimal 128 type spec
* [PHPC-729] - Implement __toString() method for Javascript and Binary
* [PHPC-730] - Implement getCode() and getScope() for Javascript

** Task
* [PHPC-600] - Manager::getServers() should use mongoc_client_get_server_descriptions()
* [PHPC-601] - Cursor::getServer() should not access mongoc_cursor_t.client
* [PHPC-602] - Create command cursors with mongoc_cursor_new_from_command_document()
* [PHPC-603] - Use mongoc_read_prefs_t getters instead of accessing struct fields directly
* [PHPC-604] - WriteConcern::getJournal() should use mongoc_write_concern_journal_is_set()
* [PHPC-606] - Use mongoc_server_description_t public API
* [PHPC-607] - Manager::selectServer() should use mongoc_client_select_server()
* [PHPC-609] - Ensure client URI handling uses libmongoc public API
* [PHPC-610] - Client construction should use mongoc_write_concern_is_valid()
* [PHPC-611] - WriteResult::isAcknowledged() should use mongoc_write_concern_is_acknowledged()
* [PHPC-630] - Update bson_visitor_t for unsupported type function pointer
* [PHPC-659] - Update bson_visitor_t for decimal 128 type function pointer
* [PHPC-662] - Use mongoc_bulk_operation_get_hint()
* [PHPC-663] - Use mongoc_bulk_operation_get_write_concern()
* [PHPC-664] - Use mongoc_write_concern_get_w()
* [PHPC-665] - Remove private libmongoc and libbson header includes
* [PHPC-680] - BulkWrite::count() should return number of operations instead of estimated round-trips
* [PHPC-682] - Do not use mongoc_bulk_operation_t private API in BulkWrite debug handler
* [PHPC-687] - Consolidate struct definitions for PHP 5 and 7
* [PHPC-688] - Do not use mongoc_cursor_t private API in Cursor debug handler
* [PHPC-689] - Query and command execution should use mongoc_cursor_set_hint()
* [PHPC-703] - Update configure scripts for upstream SSL changes
* [PHPC-708] - Port http://php.net/manual/en/mongo.security.php to the new docs/driver
* [PHPC-758] - Disable Decimal128 for bundled libbson and libmongoc 1.4.0
2017-12-06 21:18:00 +00:00
jdolecek
54bccfcd6b Add php-mongodb 1.1.8
The purpose of this driver is to provide exceptionally thin glue
between MongoDB and PHP, implementing only fundemental and
performance-critical components necessary to build a fully-functional
MongoDB driver.

Countrary to php-mongo, mongodb one supports php 7.x as well as 5.5.x/5.6.x
2016-08-04 16:03:53 +00:00