Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit b249aec

Browse files
committed
BUMP 1.5.0
1 parent 70fce44 commit b249aec

File tree

2 files changed

+132
-7
lines changed

2 files changed

+132
-7
lines changed

package.xml

Lines changed: 131 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,36 @@
3030
<active>yes</active>
3131
</lead>
3232

33-
<date>2014-04-01</date>
34-
<time>09:58:05</time>
33+
<date>2014-04-04</date>
34+
<time>08:28:05</time>
3535
<version>
36-
<release>1.5.0RC2</release>
37-
<api>1.5.0RC2</api>
36+
<release>1.5.0</release>
37+
<api>1.5.0</api>
3838
</version>
3939
<stability>
40-
<release>beta</release>
41-
<api>beta</api>
40+
<release>stable</release>
41+
<api>stable</api>
4242
</stability>
4343
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
4444
<notes>
4545
** Bug
46+
* [PHP-722] - Segfault when passing null value to MongoCollection::find() and unclear other conditions are met, inaccurate error message
47+
* [PHP-796] - Modifying MongoDate internal properties evilness
48+
* [PHP-813] - IS_SCALAR_*() doesn't account for resources
49+
* [PHP-815] - MongoCursor ctor doesn't validate the MongoClient object
50+
* [PHP-833] - Add the MongoClient::killCursor method to kill a cursor on the server on 64-bit platforms
51+
* [PHP-835] - Driver interprets 'err' property as MongoCursorException
52+
* [PHP-848] - Invalid read in master
53+
* [PHP-882] - mongo_connection_get_server_version memleaks
54+
* [PHP-883] - php_mongo_dbref_create() doesn't handle MongoId values
55+
* [PHP-888] - DBRef refactoring broke BC for $id parameter handling
4656
* [PHP-900] - Cannot switch from majority to lower WriteConcern
57+
* [PHP-902] - Segfault when unregistering broken server
58+
* [PHP-949] - ensureIndex() creates wrong names
59+
* [PHP-955] - Switch the default mongo.native_long to 1 for 64bit platforms
60+
* [PHP-981] - Empty document should not throw exception
61+
* [PHP-995] - JSON detection
62+
* [PHP-996] - Broken with cyrus-sals 2.1.23
4763
* [PHP-1010] - MongoCollection::commandCursor should not require batchSize option to be set manually
4864
* [PHP-1011] - MongoDB and MongoCollection do not inherit string write concerns
4965
* [PHP-1012] - MongoCollection doesn't respect its own write concern for GLE ops
@@ -54,23 +70,69 @@
5470
* [PHP-1037] - add allowDiskUse:true to the top-level of an aggregate command
5571
* [PHP-1038] - Segfault in php_mongo_enforce_batch_size_on_command()
5672
* [PHP-1041] - Off-by-one error in MongoCommandCursor::key() index
73+
* [PHP-1046] - Command cursor doesn't check if cursor exists
74+
* [PHP-1047] - Index order can't be boolean
75+
* [PHP-1048] - Segfault during shutdown after mongodb failover
76+
* [PHP-1049] - MongoCollection::aggregateCursor batch size defaults should be: 101, 0 (server default)
77+
* [PHP-1050] - MongoCommandCursor->dead() changes
5778

5879
** Improvement
80+
* [PHP-578] - No need to call ismaster 2times
81+
* [PHP-705] - Throw exception when overflowing message size in OP_INSERT batches
82+
* [PHP-708] - WriteConcern failure exception should include the entire GLE document
83+
* [PHP-712] - findAndModify returns empty array when nothing is found
84+
* [PHP-774] - Deprecate the protected method MongoCollection::toIndexString
5985
* [PHP-778] - Deprecate static properties
86+
* [PHP-807] - Rewrite to_index_string to use smart_str and a real C function
87+
* [PHP-812] - Remove unused MongoDBRef::$refKey and MongoDBRef::$idKey
88+
* [PHP-837] - Handle cursor IDs for return with MongoCursor::info on 32bit platforms
89+
* [PHP-851] - Add MONGO_HAVE_* constants and make sure MINFO contains this too
90+
* [PHP-880] - New write operation method for insert, update, remove
91+
* [PHP-886] - Add support for secondaryAcceptableLatencyMS
92+
* [PHP-903] - Improve the Stream Notification API
6093
* [PHP-938] - please update description of 'fsync' write concern flag
94+
* [PHP-941] - Throw MongoConnectionException on stream failures
95+
* [PHP-942] - Throw MongoDuplicateKeyException on duplicate key errors
96+
* [PHP-971] - Remove mongo.native_long for 32bit platforms
97+
* [PHP-972] - Support parallelCollectionScan command
98+
* [PHP-990] - Implement Batch Write API
99+
* [PHP-998] - Include maxWriteBatchSize and maxMessageSizeBytes in connection info
61100
* [PHP-1021] - Support maxTimeMS option on MongoCollection::findOne()
62101
* [PHP-1026] - Include connection info in findAndModify exception messages
63102
* [PHP-1028] - Support $options arg in MongoCollection::aggregate()
64103
* [PHP-1039] - Use dropIndexes command instead of deleteIndexes
65104

66105
** New Feature
106+
* [PHP-819] - Add Mongo[DB|Collection]->[get|set]WriteConcern()
107+
* [PHP-831] - SASL Support (SASL Plain)
108+
* [PHP-832] - SASL Support (SASL Kerberos)
109+
* [PHP-861] - Add maxTimeMS() method to MongoCursor to configure the maximum time a query can take
110+
* [PHP-868] - Method to check if string is a valid ObjectId
111+
* [PHP-873] - Support the MONGODB-X509 authentication mechanism
112+
* [PHP-875] - Add support for cursor for aggregation
113+
* [PHP-876] - Make the driver check for the server version upon connection
114+
* [PHP-923] - Drivers should only talk to servers with overlapping wire versions
115+
* [PHP-944] - Support $out aggregation pipeline operator
116+
* [PHP-951] - Provide API for getting latest server version or isMaster response in driver
117+
* [PHP-962] - Create constants for additional binary data subtypes
118+
* [PHP-965] - Documentation for MongoId::isValid()
67119
* [PHP-1031] - Implement MongoWriteBatch method to return current batch size
68120
* [PHP-1035] - Add third arg to MongoDB::command() to collect server hash by reference
69121

70122
** Task
123+
* [PHP-407] - MongoBinData should default to type 0 instead of 2
124+
* [PHP-657] - Add deprecation notice to MongoCursor::slaveOkay
125+
* [PHP-714] - Convenience macro for getting mongoclient*
71126
* [PHP-739] - Audit extension for deprecations of functionality to be removed in 1.5
127+
* [PHP-786] - Sort out includes
128+
* [PHP-809] - Deprecate use of "safe" all over collection.c
72129
* [PHP-842] - Document core class [get|set]WriteConcern() methods
130+
* [PHP-844] - driver must authenticate before calling isMaster()
131+
* [PHP-845] - Ability to use different SPN on the driver for Kerberos Authentication
73132
* [PHP-914] - aggregation: need an explain facility
133+
* [PHP-960] - Use createIndexes command when available
134+
* [PHP-983] - Change nUpdated to nMatched in bulk api results
135+
* [PHP-987] - Use maxWriteBatchSize from ismaster for write command batch splitting.
74136
* [PHP-1006] - Document deprecation of MongoCollection::ensureIndex()
75137
* [PHP-1007] - Add MongoClient->[get|set]WriteConcern()
76138
* [PHP-1015] - Document MongoWriteBatch and related classes
@@ -79,6 +141,16 @@
79141
* [PHP-1030] - gridfs chunksize should be lowered to 255K
80142
* [PHP-1033] - Organize third-party code and license information
81143
* [PHP-1040] - MongoCommandCursor::key() should not return _id field
144+
145+
** Sub-task
146+
* [PHP-763] - Create prototypes for MongoClient and Mongo classes
147+
* [PHP-794] - Remove 'fd' property of MongoCursorException
148+
* [PHP-797] - Deprecate public properties
149+
* [PHP-798] - Rename "timeout" to "socketTimeoutMS" in $options
150+
* [PHP-804] - Deprecate Mongo::connectUtil
151+
* [PHP-818] - Deprecate "Mongo" in favour of MongoClient.
152+
* [PHP-824] - Deprecate the "wtimeout" option in crud operations for wTimeoutMS
153+
* [PHP-993] - Merge batch return values into one return value
82154
</notes>
83155

84156
<contents>
@@ -247,6 +319,59 @@
247319
</extsrcrelease>
248320
<changelog>
249321

322+
<release>
323+
<date>2014-04-01</date>
324+
<time>09:58:05</time>
325+
<version>
326+
<release>1.5.0RC2</release>
327+
<api>1.5.0RC2</api>
328+
</version>
329+
<stability>
330+
<release>beta</release>
331+
<api>beta</api>
332+
</stability>
333+
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
334+
<notes>
335+
** Bug
336+
* [PHP-900] - Cannot switch from majority to lower WriteConcern
337+
* [PHP-1010] - MongoCollection::commandCursor should not require batchSize option to be set manually
338+
* [PHP-1011] - MongoDB and MongoCollection do not inherit string write concerns
339+
* [PHP-1012] - MongoCollection doesn't respect its own write concern for GLE ops
340+
* [PHP-1013] - Read preferences are not respected with command cursors
341+
* [PHP-1019] - Empty Batch Insert should throw exception
342+
* [PHP-1027] - Support maxTimeMS and exceptions in MongoCollection::group()
343+
* [PHP-1034] - Ensure MongoCommandCursor implements Iterator interface properly
344+
* [PHP-1037] - add allowDiskUse:true to the top-level of an aggregate command
345+
* [PHP-1038] - Segfault in php_mongo_enforce_batch_size_on_command()
346+
* [PHP-1041] - Off-by-one error in MongoCommandCursor::key() index
347+
348+
** Improvement
349+
* [PHP-778] - Deprecate static properties
350+
* [PHP-938] - please update description of 'fsync' write concern flag
351+
* [PHP-1021] - Support maxTimeMS option on MongoCollection::findOne()
352+
* [PHP-1026] - Include connection info in findAndModify exception messages
353+
* [PHP-1028] - Support $options arg in MongoCollection::aggregate()
354+
* [PHP-1039] - Use dropIndexes command instead of deleteIndexes
355+
356+
** New Feature
357+
* [PHP-1031] - Implement MongoWriteBatch method to return current batch size
358+
* [PHP-1035] - Add third arg to MongoDB::command() to collect server hash by reference
359+
360+
** Task
361+
* [PHP-739] - Audit extension for deprecations of functionality to be removed in 1.5
362+
* [PHP-842] - Document core class [get|set]WriteConcern() methods
363+
* [PHP-914] - aggregation: need an explain facility
364+
* [PHP-1006] - Document deprecation of MongoCollection::ensureIndex()
365+
* [PHP-1007] - Add MongoClient->[get|set]WriteConcern()
366+
* [PHP-1015] - Document MongoWriteBatch and related classes
367+
* [PHP-1016] - Document MongoCollection:createIndex()
368+
* [PHP-1022] - Create MongoCollection::aggregateCursor() method
369+
* [PHP-1030] - gridfs chunksize should be lowered to 255K
370+
* [PHP-1033] - Organize third-party code and license information
371+
* [PHP-1040] - MongoCommandCursor::key() should not return _id field
372+
</notes>
373+
</release>
374+
250375
<release>
251376
<date>2014-03-11</date>
252377
<time>09:58:05</time>

php_mongo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#ifndef PHP_MONGO_H
1717
#define PHP_MONGO_H 1
1818

19-
#define PHP_MONGO_VERSION "1.5.0RC3-dev"
19+
#define PHP_MONGO_VERSION "1.5.0"
2020
#define PHP_MONGO_EXTNAME "mongo"
2121

2222
#ifdef HAVE_CONFIG_H

0 commit comments

Comments
 (0)