Changelog for
php5-mongo-1.5.7-2.1.x86_64.rpm :
Tue Sep 16 14:00:00 2014 munix9AATTgooglemail.com
- update to version 1.5.7
*
* Bug
* [PHP-1155] - php_mongo_io_stream_read() should revert to default_socket_timeout if socketTimeoutMS was zero
* [PHP-1156] - Use default and block indefinitely for zero and negative connect/socket timeouts, respectively
* [PHP-1158] - Driver emits warnings after setting connectTimeoutMS
* [PHP-1220] - Client doesn\'t find Primary after election
*
* Improvement
* [PHP-1154] - Make connect/read timeouts for blocking and defaults consistent
*
* Documentation
* [PHP-1157] - Fix documentation for MongoCursor::timeout() default
* [PHP-1159] - Document that users may need to copy libsasl.dll to lib path for Windows installs
* [PHP-1162] - Update documentation for MongoLog constants
* [PHP-1167] - Clarify that $snapshot only prevents duplicates in documentation
* [PHP-1216] - Clarify that RS connections to non-canonical hostnames are not kept
Sun Aug 24 14:00:00 2014 munix9AATTgooglemail.com
- update to version 1.5.5
*
* Bug
* [PHP-722] - Segfault when passing null value to MongoCollection::find() and unclear other conditions are met, inaccurate error message
* [PHP-1105] - long_as_object = 0 no effect
* [PHP-1107] - Connections to server hangs when indexes are being created
* [PHP-1131] - Journal option should set \"j\" field in GLE instead of \"journal\"
*
* Documentation
* [PHP-840] - Document deprecated MongoClient properties
* [PHP-1081] - MongoId $id property is not documented correctly
* [PHP-1147] - Clean up GridFS insert/delete method documentation
* [PHP-1148] - Add \"ssl\" connection option to MongoClient changelog
Thu Nov 7 13:00:00 2013 munix9AATTgooglemail.com
- update to version 1.4.5
*
* Bug
* [PHP-915] - batchSize() can not be called after a cursor has been iterating contradicting documentation
* [PHP-925] - Reading a GridFS file from a secondary server using PHP requires write access
* [PHP-939] - Slow connection in 1.4+
Wed Sep 25 14:00:00 2013 munix9AATTgooglemail.com
- update to version 1.4.4
*
* Bug
* [PHP-773] - Fix the persistence issue with logging stream contexts
* [PHP-874] - New Replica Set connections hang when secondaries are creating indexes during initialSync
* [PHP-893] - Fix documentation of MongoCursor::$timeout default value
* [PHP-894] - BSON decoding segfaults if string length prefix is zero
* [PHP-896] - BSON decoding segfaults reading past buffer endpoint
* [PHP-898] - Cursor exception should not print strerror() as int
* [PHP-901] - Detect server state changes
* [PHP-906] - Segmentation Fault - in mongo_deregister_callback_from_connection when calling MongoClient->close(true)
* [PHP-907] - BSON decoding of DBPointer does not set MongoId::$id property
* [PHP-912] - PHP driver should use SSLv23 instead of TLS
Thu Aug 15 14:00:00 2013 munix9AATTgooglemail.com
- update to version 1.4.3
*
* Bug
* [PHP-382] - When \'replicaSet\' option is used, authentication calls are being sent to the arbiter server
* [PHP-392] - Arbiter in the seed list acts wonky
* [PHP-869] - ReadPreference.PrimaryPreferred + Tag sets should send to primary if available
* [PHP-877] - auto gen _id clashes on heavy inserts
* [PHP-885] - Segfault on request shutdown when using save()
* [PHP-890] - PHP Driver crashes on shutdown
*
* Improvement
* [PHP-423] - MongoDate support for 64-bit timestamps on 32-bit systems
Tue Jul 23 14:00:00 2013 munix9AATTgooglemail.com
- update to version 1.4.2
*
* Bug
* [PHP-706] - Busy loop when a file descriptors exceed 1024
* [PHP-850] - Conditional jump on empty server name to MongoClient
* [PHP-853] - MongoCollection::batchInsert() exceptions can obscure BSON encoding exceptions
* [PHP-858] - Crash when extending Mongo and MongoClient classes and not calling its constructor
* [PHP-872] - Driver should prevent \\0 characters in keys, collection and database names
Mon Jun 3 14:00:00 2013 munix9AATTgooglemail.com
- update to version 1.4.1
*
* Bug
* [PHP-814] - Passing in invalid MongoDB to MongoDBRef::get() segfaults
* [PHP-816] - MongoCursor doesn\'t validate the namespace
* [PHP-827] - Segfault on connect when database name starts with an X
* [PHP-829] - Crash when connecting to replicaSet without passive hosts
* [PHP-846] - Connecting to Unix Domain sockets is impossible
*
* Improvement
* [PHP-747] - Improve numeric check for write concern option
* [PHP-755] - Support CursorNotFound query flag
* [PHP-756] - Support QueryFailure query response flag
*
* Task
* [PHP-551] - Update \"writes\" documentation to cover all WriteConcerns arguments (from the connection string) as well.
* [PHP-836] - Fix more for-type tests after finding with hash_find
* [PHP-839] - Look at inclusion of config-w32.h and config.h in package
Wed May 22 14:00:00 2013 munix9AATTgooglemail.com
- update to version 1.4.0
*
* Improvement
* [PHP-303] - Support the autoIndexId option for createCollection
* [PHP-316] - When using replica sets and setSlaveOkay queries slow if a secondary is down...
* [PHP-371] - Replication connection string hangs for quite some time when a machine that is listed is physically down
* [PHP-490] - \"nolock\" option in MongoDB::execute method
* [PHP-537] - Update limits according to default (16MB) or server info (maxMessageSizeBytes)
* [PHP-572] - Add support for \"journal\" and \"fsync\" connection string options
* [PHP-610] - Remove the mongo.utf8 setting
* [PHP-651] - Slow connection to the replica set with one member down
* [PHP-686] - Constant attempt to reconnect to a down server takes too long
* [PHP-744] - Support the oplog_replay query flag
* [PHP-775] - MongoCursor->hint() can\'t hint on a index by name
* [PHP-790] - MongoCollection write operation wtimeout option inconsistent with connection string wTimeoutMS option
*
* New Feature
* [PHP-664] - Add support for SSL and certificate validation
*
* Bug
* [PHP-296] - Many of the zend_hash_find calls for options etc do not check or convert correctly for datatype issues.
* [PHP-447] - Inconsistent error for unsupported database commands on mongod and mongos
* [PHP-508] - Change BSON ID generation to use random \"increment\"
* [PHP-554] - MongoId should not get constructed when passing in an invalid ID.
* [PHP-653] - is_master() failing with mongodb <= 1.8.3
* [PHP-675] - Test for PHP-511 broken
* [PHP-693] - MongoCursor timeout not used when reading data
* [PHP-696] - mongo_io_wait_with_timeout() waits 10 seconds instead of one for \"no socket timeout\"
* [PHP-698] - Segmentation Fault - in mongo_deregister_callback_from_connection when calling MongoClient->close()
* [PHP-704] - Incorrect failure checks for stream reads
* [PHP-707] - Replication with 1.8 does not work
* [PHP-715] - Crash in PHP driver on Apache
* [PHP-717] - (Almost) All tests leak and has a unconditional jump
* [PHP-718] - ZTS Broken in master
* [PHP-723] - Possibly invalid read in MongoCollection getter
* [PHP-731] - Memory leak during failover
* [PHP-732] - Improve error message during failover
* [PHP-734] - Possible segfaults when error_message is not set
* [PHP-735] - Queries/commands to mongos should inherit read preferences from MongoDB and MongoCollection objects
* [PHP-736] - MongoClient connection fails if RP tags match nothing
* [PHP-737] - Missing RP tags parse error message using MongoClient options array
* [PHP-741] - Passive replicaset members (priority=0) not used for secondary reads
* [PHP-746] - The getBytes method may return random data in particular conditions.
* [PHP-751] - When a secondary goes into recovery mode, we should disconnect from it
* [PHP-759] - Write operations apply ReadPreferenceTags when finding primary
* [PHP-770] - Missing error code for \"field names must be strings\" MongoException
* [PHP-776] - MongoCollection::batchInsert() with empty options array segfaults
* [PHP-779] - Cannot read from secondaries when connecting directly (standalone connection)
* [PHP-781] - MongoCollection::count() should not leak, and throw exception instead of returning GLE document
* [PHP-792] - Memory leak while reading an INT64 on a 32bit platform with native_long enabled
* [PHP-795] - MongoCode segfaults when internal \'code\' property is modified
* [PHP-800] - Error codes for some errors in bson.c are re-used.
*
* Deprecated Functionality
* [PHP-780] - Deprecate slaveOkay & timeout URI options
* [PHP-793] - Add deprecation notice to non-array options for MongoDB::createCollection
* [PHP-801] - Deprecate boolean options to MongoCollection::insert()
* [PHP-802] - Deprecate boolean options to MongoCollection::ensureIndex()
* [PHP-805] - Deprecate (for real) the \"chunks\" option in MongoGridFS::__construc
*
* Task
* [PHP-314] - Improve connection string documentation/pooling
* [PHP-437] - Update ZEND_MODULE_API_NO to use PHP_VERSION_ID to be more clear
* [PHP-475] - Create functional phpt tests for read preference exceptions
* [PHP-496] - Added a few examples to MongoDB::runCommand() for more examples
* [PHP-542] - Put all exception classes into their own file(s)
* [PHP-563] - Strongly advise users not to create immortal MongoCursors
* [PHP-674] - Remove mention of OSX/Windows GitHub downloads from documentation
* [PHP-694] - Split out types and gridfs classes into their own files.
* [PHP-695] - Remove mention of PHPUnit from documentation
* [PHP-702] - DOC - Support the autoIndexId option for createCollection
* [PHP-725] - Re-organise option parsing in mcon/parse.c
* [PHP-738] - Add replica set tags to test suite
* [PHP-745] - Add Replicaset Tags to sharding test suite
* [PHP-748] - Add vim modelines
* [PHP-749] - Improve fragile checks for max_message_size in tests
* [PHP-767] - Create prototypes for GridFS classes
* [PHP-768] - Create prototypes for MongoCollection class
* [PHP-771] - Time expectations mongo.is_master_interval test are fragile
* [PHP-788] - Document journal/fsync MongoClient connection options
* [PHP-789] - Document fsync, j, and wtimeout options for MongoCollection write operations
Wed Apr 10 14:00:00 2013 munix9AATTgooglemail.com
- update to version 1.3.7
*
* Bug
* [PHP-700] - \'MongoCursorException\' with message \'127.0.0.1:27017: request/cursor mismatch
Sat Mar 30 13:00:00 2013 munix9AATTgooglemail.com
- update to version 1.3.6
*
* Improvement
* [PHP-535] - Run commands on Replication Secondaries
- update to version 1.3.5
*
* Improvement
* [PHP-665] - Add support for MongoDB 2.4 auth source
- update to version 1.3.4
*
* Bug
* [PHP-355] - PHP 1.2/1.3 Driver does not honour connection \'timeout\'
* [PHP-356] - PHP 1.3.0dev does not honor connection timeout
* [PHP-366] - PHP Mongo\'s driver has no effects on Mongo Cursor timeout
* [PHP-385] - GridFS::storeFile with a string argument for 2Gb files
* [PHP-457] - Setting batchSize and sorting returns incorrect number of records
* [PHP-491] - Forking and connection handling still fails
* [PHP-539] - Exception when w - on MongoCollection - is set greater than 2
* [PHP-585] - GridFS incorrectly reports w=1 as w=0
* [PHP-586] - GridFS should only do one GLE
* [PHP-592] - Unable to switch to new PRIMARY
* [PHP-609] - MongoGridFS::put no returning MongoId despite inserting file
* [PHP-613] - sort out timeout vs wtimeout mess
* [PHP-630] - Seg faults on OS X
* [PHP-650] - Segmentation fault when using findAndModify()
* [PHP-661] - GridFS memory leaks
* [PHP-667] - Off-by-one error in BSON deserialization of pre-epoch dates
* [PHP-668] - setReadPreference() should allow empty $tags array for primary mode
* [PHP-670] - Remove misplaced MongoId in getIndexInfo() expected ouput docs
* [PHP-672] - MongoGridFSFile::write() leaks memory
* [PHP-673] - Failing tests on mongod 2.3
* [PHP-676] - Collection level write concern overwritten by deprecated \"safe\" option
* [PHP-679] - setReadPreference() should clear out existing tags if none are provided
* [PHP-680] - mongo_read_preference_dtor() will segfault if invoked twice
* [PHP-681] - setReadPreference() should not modify read preferences if an error occurs
* [PHP-682] - Remove redundant MongoGridFSCursor::key() implementation
* [PHP-683] - Add support for the connectTimeoutMS connection parameter
* [PHP-687] - MongoDate usec not properly decoded on 32-bit platform
* [PHP-688] - Default connect() timeout is 1000 _seconds_, not milliseconds
* [PHP-690] - Percentage symbol is not escaped in error message about duplicate entries
* [PHP-691] - Memory leak during master failover
*
* New Feature
* [PHP-684] - Support socketTimeoutMs
* [PHP-685] - wtimeout option is not supported per-query
*
* Task
* [PHP-479] - Fix all compiler warnings
* [PHP-658] - Add error codes for GridFSExceptions througout gridfs.c
* [PHP-666] - Update read preference documentation
* [PHP-669] - Document that setReadPreference() will raise a warning if tags are specified with primary mode
* [PHP-671] - Document array return value for ensureIndex when using write preferences
* [PHP-689] - Tiny test fixes
- update to version 1.3.3
*
* Bug
* [PHP-375] - GridFS segfaults when there are more chunks than expected
* [PHP-603] - MongoGridFS::storeUpload() stores multiple files with same $metadata
* [PHP-617] - Use real error codes for MongoConnectionException on ctor failure
* [PHP-621] - GridFS test tests/generic/bug00320.phpt has a double free issue
* [PHP-627] - MongoConnection::aggregate() helper breaks on single pipeline operator argument
* [PHP-635] - Passing a collection as second argument to MongoCursor::__construct() turns it into a string
* [PHP-636] - MongoConnectionException when Mongo server restarted
* [PHP-637] - Deal with negative timestamps in MongoDate
* [PHP-638] - Read preference get/set methods are not consistent
* [PHP-639] - MongoCursor::slaveOkay() has no effect in 1.3.2
* [PHP-644] - mongo.ping_interval and mongo.is_master_interval is unused
* [PHP-647] - isMaster defaults non-master, non-arbiter connections to secondary
* [PHP-656] - Add host, port and node type to the MongoCursor::info() return value.
*
* Improvement
* [PHP-383] - Insufficient documentation about the driver-generated document _id passing technique
* [PHP-483] - Implement MongoCursor::setReadPreference()
* [PHP-620] - Update PHP documentation regarding the \"n\" value that is returned on write acknowledged operations
*
* Task
* [PHP-387] - Add examples to GridFS storeBytes, storeFile and storeUpload functions
* [PHP-479] - Fix all compiler warnings
Wed Dec 26 13:00:00 2012 munix9AATTgooglemail.com
- update to version 1.3.2
*
* Bug
* [PHP-308] - Incorrect method declaration
* [PHP-418] - Use descending date order for changelog entries
* [PHP-612] - Impossible to provide a list of tagsets to the readPreferenceTags options
* [PHP-623] - Segmentation fault (11)
* [PHP-625] - the windows 1.30+ dll MongoCollection findandmodify method will throw a excption which not on linux platform
* [PHP-629] - Missing support for passing the username/password in the $options array
* [PHP-631] - One replica set, but two different db/user/passwords
* [PHP-632] - MongoDB::authenticate() no longer attempts to authenticate, and doesn\'t return anything either
* [PHP-633] - findAndModify sometimes throws exception on success
* [PHP-634] - Mongo PHP driver v1.3.1/1.3.2RC1 fail to connect to mongoDB 1.6.3
* [PHP-640] - The secondaryPreferred read preference always considers the primary node too.
* [PHP-641] - MongoLog::setModule/setLevel don\'t reset for each request
*
* Improvement
* [PHP-317] - slaveOk option not documented in Mongo.__construct()
* [PHP-529] - Document that MongoCollection::save() may set _id
* [PHP-626] - Implement Read Preferences support with sharding.
* see http://pecl.php.net/package-changelog.php?package=mongo for more details
Wed Aug 8 14:00:00 2012 munix9AATTgooglemail.com
- update to version 1.2.12
*
* Bug
* [PHP-443] - Add zend_parse_parameters_none for PHP 5.2 builds
* [PHP-444] - Undeprecate getSlaveOkay()/setSlaveOkay() on Mongo, MongoDB and MongoCollection; and getSlave() on Mongo.
*
* Improvement
* [PHP-442] - Fixed a typo in \"MongoBinData::__construct(): The default value for type will change to 0 in the future\"
- update to version 1.2.11
*
* Bug
* [PHP-207] - setSlaveOkay not supported for GridFS queries
* [PHP-266] - segfault when connection string refers to unknown replica set member
* [PHP-269] - Mongo::__construct should only throw MongoConnectionException
* [PHP-331] - PHP segfaults when master changes
* [PHP-339] - Seg fault on insert timeout
* [PHP-359] - getPID() does not return expected PID when called on custom MongoID object
* [PHP-368] - uploadDate is missing in the file property of the MongoGridFSFile class.
* [PHP-369] - GridFS segfaults when iterating with an _id field set in the result object
* [PHP-372] - Error codes not being passed to MongoGridFSException
* [PHP-382] - When \'replicaSet\' option is used, authentication calls are being sent to the arbiter server
* [PHP-384] - Segfault for GridFS with long_as_object option
* [PHP-388] - Cursors don\'t get closed after limit() is exhausted
* [PHP-391] - The driver crashes when there are more than FD_SETSIZE open file descriptors.
* [PHP-392] - Arbiter in the seed list acts wonky
* [PHP-394] - Crashes & mem leaks
* [PHP-397] - Endless loop on non-existing file
* [PHP-402] - MongoCollection::validate(true) doesn\'t set the correct scan-all flag.
* [PHP-408] - MongoBinData custom type is returned as -128
* [PHP-413] - Authentication with wrong password.. prints the password!
* [PHP-417] - MongoDBRef::isRef() returns null in some cases it should return false
* [PHP-420] - MongoDB::drop() doesn\'t warn about arguments
* [PHP-431] - PHP driver throws tons of NOTICE messages
* [PHP-434] - Mongo::connect() doesn\'t validate the object
* [PHP-435] - 1.2.11 doesn\'t build with PHP5.2
*
* Improvement
* [PHP-389] - Support setting query flags (opts)
* [PHP-428] - Coverage statistics
* [PHP-430] - Deprecate \"old ways\" which will be removed in 2.0.0
*
* Task
* [PHP-405] - Migrate PHPUnit tests to phpt
Wed Apr 11 14:00:00 2012 munix9AATTgooglemail.com
- update to version 1.2.10
*
* Bug
* [PHP-329] - MongoCursorException with Apache while master steps down
* [PHP-335] - 1.2.8/1.2.9 don\'t compile with PHP < 5.3
* [PHP-337] - failover with replicaset
* [PHP-340] - MongoCursorException - could not determine master
* [PHP-343] - PHP segfaults when adding a file to GridFS after upgrade to 1.2.9
* [PHP-344] - Segmentation Fault on $grid->storeFile(\'foo\', $bar)
* [PHP-346] - getGridFS followed by storeBytes hangs request indefinitely
* [PHP-349] - MongoCursorTimeoutException causes connections not to close
* [PHP-351] - php driver doest close connection , when catch cursor timed out exception.
* [PHP-353] - Iterator key not set when _id field is not requested
* [PHP-361] - Mongo::getHosts() segfaults (at least when not connecting to a replica set)
*
* Improvement
* [PHP-352] - Return only one element after \"iterator_to_array()\" if exclude \"_id\" from field list
Sat Feb 25 13:00:00 2012 munix9AATTgooglemail.com
- update to version 1.2.9
BUG FIXES
* ZTS compile fixes
* Re-package due to bug in PEAR/PECL packaging system
- update to version 1.2.8
BUG FIXES
* PHP-306 - MongoID::__set_state does not work
* PHP-307 - getHosts() not working with 1.2.7
* PHP-311 - Apache httpd segfault with PHP mongo 1.2.7
* PHP-312 - Seg fault with curl POST + mongo replicaset close
* PHP-313 - Kill cursor can be called on a different connection than the one the cursor was created on
* PHP-319 - Issues when the the driver tests for other connections to close if it find a \"bad connection\".
* PHP-320 - GridFS doesn\'t check for correct insertion of file-meta-document
* PHP-325 - mongo-php-driver abort with SEGV
Sat Jan 7 13:00:00 2012 munix9AATTgooglemail.com
- update to version 1.2.7
BUG FIXES
* PHP-204: ClusteredCursor::query not throwing an Exception
* PHP-262: Added persistent replicaSet container
* PHP-277: Remove cursor from list on cursor reset
* PHP-279: Make accessing connected property quiet
* PHP-286: Try ping on another connection when one fails
* PHP-300: Fixed segfault when execute() is given array() as argument.
* Make mongoLog settings thread safe.
* Fixed memory leaks
* Fixed issues with connection pooling
NEW FEATURES
* PHP-233: Added the continueOnError flag to batch_insert().
* PHP-268: Add slave buckets
* PHP-272: Randomly choose slaves from a given bucket
Sat Oct 8 14:00:00 2011 munix9AATTgooglemail.com
- update to version 1.2.6
* Patched connection closing code (Carlos Rodriguez)
Sun Sep 25 14:00:00 2011 munix9AATTgooglemail.com
- update to version 1.2.5
* Add connection information to cursor exceptions, see MongoCursorException::getHost.
* Allow metadata to be sent using MongoGridFS::storeUpload.
* Connections are now fork-safe.
* Removed username/password from connection URI parse exception message.
* Slight optimization of receiving database responses.
* Fixed replica set master determination with authentication enabled
(which would cause \"invalid command\" errors and segmentation faults).
Wed Sep 7 14:00:00 2011 munix9AATTgooglemail.com
- update to version 1.2.4
* Added MongoLog::SERVER logging.
* Fixed compile for OS X.
* Fixed segfault with authentication on.
* Fixed \"_isSelf not found\" error.
* Allow non-replica-set connections to reconnect.
* Do not sleep for 0ms before initial query attempt (Hiroaki Kubota)
Sat Aug 20 14:00:00 2011 munix9AATTgooglemail.com
- update to version 1.2.3
* Now compatible with PHP 5.4.
* Added MongoPool class for pool-related functionality.
* Added MongoLog class for logging.
* Creating new instances of MongoId is faster.
* New connections created for replica sets now propegate custom timeouts set on the original connection.
* Fix for replica set authentication.
Tue Jul 26 14:00:00 2011 munix9AATTgooglemail.com
- update to version 1.2.2
* Retry queries when safe to do so (minimizing exceptions on failover).
* Block for \"timeout\" milliseconds when a connection pool is empty.
* Fix a segfault affecting authentication to a single server.
* Fix a segfault affecting deserialization of data larger than 4MB.
Fri Jul 8 14:00:00 2011 munix9AATTgooglemail.com
- update to version 1.2.1
* More aggressive connection pool cleanup.
* Fix replicaSet => false regression (1.2.0 would use a replica set connection
* if replicaSet=>false was specified).
* OS X Lion compile