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

Commit d5b3e2e

Browse files
committed
BUMP 1.5.1
1 parent ce6eeda commit d5b3e2e

File tree

2 files changed

+133
-112
lines changed

2 files changed

+133
-112
lines changed

package.xml

Lines changed: 132 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
</lead>
3232

3333
<date>2014-04-04</date>
34-
<time>08:28:05</time>
34+
<time>13:40:05</time>
3535
<version>
36-
<release>1.5.0</release>
37-
<api>1.5.0</api>
36+
<release>1.5.1</release>
37+
<api>1.5.1</api>
3838
</version>
3939
<stability>
4040
<release>stable</release>
@@ -43,114 +43,7 @@
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
56-
* [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
63-
* [PHP-1010] - MongoCollection::commandCursor should not require batchSize option to be set manually
64-
* [PHP-1011] - MongoDB and MongoCollection do not inherit string write concerns
65-
* [PHP-1012] - MongoCollection doesn't respect its own write concern for GLE ops
66-
* [PHP-1013] - Read preferences are not respected with command cursors
67-
* [PHP-1019] - Empty Batch Insert should throw exception
68-
* [PHP-1027] - Support maxTimeMS and exceptions in MongoCollection::group()
69-
* [PHP-1034] - Ensure MongoCommandCursor implements Iterator interface properly
70-
* [PHP-1037] - add allowDiskUse:true to the top-level of an aggregate command
71-
* [PHP-1038] - Segfault in php_mongo_enforce_batch_size_on_command()
72-
* [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
78-
79-
** 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
85-
* [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
93-
* [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
100-
* [PHP-1021] - Support maxTimeMS option on MongoCollection::findOne()
101-
* [PHP-1026] - Include connection info in findAndModify exception messages
102-
* [PHP-1028] - Support $options arg in MongoCollection::aggregate()
103-
* [PHP-1039] - Use dropIndexes command instead of deleteIndexes
104-
105-
** 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()
119-
* [PHP-1031] - Implement MongoWriteBatch method to return current batch size
120-
* [PHP-1035] - Add third arg to MongoDB::command() to collect server hash by reference
121-
122-
** 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*
126-
* [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
129-
* [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
132-
* [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.
136-
* [PHP-1006] - Document deprecation of MongoCollection::ensureIndex()
137-
* [PHP-1007] - Add MongoClient->[get|set]WriteConcern()
138-
* [PHP-1015] - Document MongoWriteBatch and related classes
139-
* [PHP-1016] - Document MongoCollection:createIndex()
140-
* [PHP-1022] - Create MongoCollection::aggregateCursor() method
141-
* [PHP-1030] - gridfs chunksize should be lowered to 255K
142-
* [PHP-1033] - Organize third-party code and license information
143-
* [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
46+
* [PHP-1053] - Windows build broken
15447
</notes>
15548

15649
<contents>
@@ -303,6 +196,7 @@
303196
</dir>
304197
</dir>
305198
</contents>
199+
306200
<dependencies>
307201
<required>
308202
<php>
@@ -313,12 +207,139 @@
313207
</pearinstaller>
314208
</required>
315209
</dependencies>
210+
316211
<providesextension>mongo</providesextension>
317212
<extsrcrelease>
318213
<configureoption name="with-mongo-sasl" prompt="Build with Cyrus SASL (MongoDB Enterprise Authentication) support?" default="no"/>
319214
</extsrcrelease>
215+
320216
<changelog>
321217

218+
<release>
219+
<date>2014-04-04</date>
220+
<time>08:28:05</time>
221+
<version>
222+
<release>1.5.0</release>
223+
<api>1.5.0</api>
224+
</version>
225+
<stability>
226+
<release>stable</release>
227+
<api>stable</api>
228+
</stability>
229+
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
230+
<notes>
231+
** Bug
232+
* [PHP-722] - Segfault when passing null value to MongoCollection::find() and unclear other conditions are met, inaccurate error message
233+
* [PHP-796] - Modifying MongoDate internal properties evilness
234+
* [PHP-813] - IS_SCALAR_*() doesn't account for resources
235+
* [PHP-815] - MongoCursor ctor doesn't validate the MongoClient object
236+
* [PHP-833] - Add the MongoClient::killCursor method to kill a cursor on the server on 64-bit platforms
237+
* [PHP-835] - Driver interprets 'err' property as MongoCursorException
238+
* [PHP-848] - Invalid read in master
239+
* [PHP-882] - mongo_connection_get_server_version memleaks
240+
* [PHP-883] - php_mongo_dbref_create() doesn't handle MongoId values
241+
* [PHP-888] - DBRef refactoring broke BC for $id parameter handling
242+
* [PHP-900] - Cannot switch from majority to lower WriteConcern
243+
* [PHP-902] - Segfault when unregistering broken server
244+
* [PHP-949] - ensureIndex() creates wrong names
245+
* [PHP-955] - Switch the default mongo.native_long to 1 for 64bit platforms
246+
* [PHP-981] - Empty document should not throw exception
247+
* [PHP-995] - JSON detection
248+
* [PHP-996] - Broken with cyrus-sals 2.1.23
249+
* [PHP-1010] - MongoCollection::commandCursor should not require batchSize option to be set manually
250+
* [PHP-1011] - MongoDB and MongoCollection do not inherit string write concerns
251+
* [PHP-1012] - MongoCollection doesn't respect its own write concern for GLE ops
252+
* [PHP-1013] - Read preferences are not respected with command cursors
253+
* [PHP-1019] - Empty Batch Insert should throw exception
254+
* [PHP-1027] - Support maxTimeMS and exceptions in MongoCollection::group()
255+
* [PHP-1034] - Ensure MongoCommandCursor implements Iterator interface properly
256+
* [PHP-1037] - add allowDiskUse:true to the top-level of an aggregate command
257+
* [PHP-1038] - Segfault in php_mongo_enforce_batch_size_on_command()
258+
* [PHP-1041] - Off-by-one error in MongoCommandCursor::key() index
259+
* [PHP-1046] - Command cursor doesn't check if cursor exists
260+
* [PHP-1047] - Index order can't be boolean
261+
* [PHP-1048] - Segfault during shutdown after mongodb failover
262+
* [PHP-1049] - MongoCollection::aggregateCursor batch size defaults should be: 101, 0 (server default)
263+
* [PHP-1050] - MongoCommandCursor->dead() changes
264+
265+
** Improvement
266+
* [PHP-578] - No need to call ismaster 2times
267+
* [PHP-705] - Throw exception when overflowing message size in OP_INSERT batches
268+
* [PHP-708] - WriteConcern failure exception should include the entire GLE document
269+
* [PHP-712] - findAndModify returns empty array when nothing is found
270+
* [PHP-774] - Deprecate the protected method MongoCollection::toIndexString
271+
* [PHP-778] - Deprecate static properties
272+
* [PHP-807] - Rewrite to_index_string to use smart_str and a real C function
273+
* [PHP-812] - Remove unused MongoDBRef::$refKey and MongoDBRef::$idKey
274+
* [PHP-837] - Handle cursor IDs for return with MongoCursor::info on 32bit platforms
275+
* [PHP-851] - Add MONGO_HAVE_* constants and make sure MINFO contains this too
276+
* [PHP-880] - New write operation method for insert, update, remove
277+
* [PHP-886] - Add support for secondaryAcceptableLatencyMS
278+
* [PHP-903] - Improve the Stream Notification API
279+
* [PHP-938] - please update description of 'fsync' write concern flag
280+
* [PHP-941] - Throw MongoConnectionException on stream failures
281+
* [PHP-942] - Throw MongoDuplicateKeyException on duplicate key errors
282+
* [PHP-971] - Remove mongo.native_long for 32bit platforms
283+
* [PHP-972] - Support parallelCollectionScan command
284+
* [PHP-990] - Implement Batch Write API
285+
* [PHP-998] - Include maxWriteBatchSize and maxMessageSizeBytes in connection info
286+
* [PHP-1021] - Support maxTimeMS option on MongoCollection::findOne()
287+
* [PHP-1026] - Include connection info in findAndModify exception messages
288+
* [PHP-1028] - Support $options arg in MongoCollection::aggregate()
289+
* [PHP-1039] - Use dropIndexes command instead of deleteIndexes
290+
291+
** New Feature
292+
* [PHP-819] - Add Mongo[DB|Collection]->[get|set]WriteConcern()
293+
* [PHP-831] - SASL Support (SASL Plain)
294+
* [PHP-832] - SASL Support (SASL Kerberos)
295+
* [PHP-861] - Add maxTimeMS() method to MongoCursor to configure the maximum time a query can take
296+
* [PHP-868] - Method to check if string is a valid ObjectId
297+
* [PHP-873] - Support the MONGODB-X509 authentication mechanism
298+
* [PHP-875] - Add support for cursor for aggregation
299+
* [PHP-876] - Make the driver check for the server version upon connection
300+
* [PHP-923] - Drivers should only talk to servers with overlapping wire versions
301+
* [PHP-944] - Support $out aggregation pipeline operator
302+
* [PHP-951] - Provide API for getting latest server version or isMaster response in driver
303+
* [PHP-962] - Create constants for additional binary data subtypes
304+
* [PHP-965] - Documentation for MongoId::isValid()
305+
* [PHP-1031] - Implement MongoWriteBatch method to return current batch size
306+
* [PHP-1035] - Add third arg to MongoDB::command() to collect server hash by reference
307+
308+
** Task
309+
* [PHP-407] - MongoBinData should default to type 0 instead of 2
310+
* [PHP-657] - Add deprecation notice to MongoCursor::slaveOkay
311+
* [PHP-714] - Convenience macro for getting mongoclient*
312+
* [PHP-739] - Audit extension for deprecations of functionality to be removed in 1.5
313+
* [PHP-786] - Sort out includes
314+
* [PHP-809] - Deprecate use of "safe" all over collection.c
315+
* [PHP-842] - Document core class [get|set]WriteConcern() methods
316+
* [PHP-844] - driver must authenticate before calling isMaster()
317+
* [PHP-845] - Ability to use different SPN on the driver for Kerberos Authentication
318+
* [PHP-914] - aggregation: need an explain facility
319+
* [PHP-960] - Use createIndexes command when available
320+
* [PHP-983] - Change nUpdated to nMatched in bulk api results
321+
* [PHP-987] - Use maxWriteBatchSize from ismaster for write command batch splitting.
322+
* [PHP-1006] - Document deprecation of MongoCollection::ensureIndex()
323+
* [PHP-1007] - Add MongoClient->[get|set]WriteConcern()
324+
* [PHP-1015] - Document MongoWriteBatch and related classes
325+
* [PHP-1016] - Document MongoCollection:createIndex()
326+
* [PHP-1022] - Create MongoCollection::aggregateCursor() method
327+
* [PHP-1030] - gridfs chunksize should be lowered to 255K
328+
* [PHP-1033] - Organize third-party code and license information
329+
* [PHP-1040] - MongoCommandCursor::key() should not return _id field
330+
331+
** Sub-task
332+
* [PHP-763] - Create prototypes for MongoClient and Mongo classes
333+
* [PHP-794] - Remove 'fd' property of MongoCursorException
334+
* [PHP-797] - Deprecate public properties
335+
* [PHP-798] - Rename "timeout" to "socketTimeoutMS" in $options
336+
* [PHP-804] - Deprecate Mongo::connectUtil
337+
* [PHP-818] - Deprecate "Mongo" in favour of MongoClient.
338+
* [PHP-824] - Deprecate the "wtimeout" option in crud operations for wTimeoutMS
339+
* [PHP-993] - Merge batch return values into one return value
340+
</notes>
341+
</release>
342+
322343
<release>
323344
<date>2014-04-01</date>
324345
<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.1-dev"
19+
#define PHP_MONGO_VERSION "1.5.1"
2020
#define PHP_MONGO_EXTNAME "mongo"
2121

2222
#ifdef HAVE_CONFIG_H

0 commit comments

Comments
 (0)