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

Commit a4a1565

Browse files
committed
BUMP 1.6.1
1 parent ba649eb commit a4a1565

File tree

2 files changed

+98
-79
lines changed

2 files changed

+98
-79
lines changed

package.xml

Lines changed: 97 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
<active>yes</active>
3131
</lead>
3232

33-
<date>2015-01-29</date>
34-
<time>12:15:44</time>
33+
<date>2015-02-05</date>
34+
<time>10:43:05</time>
3535
<version>
36-
<release>1.6.0</release>
37-
<api>1.6.0</api>
36+
<release>1.6.1</release>
37+
<api>1.6.1</api>
3838
</version>
3939
<stability>
4040
<release>stable</release>
@@ -43,80 +43,8 @@
4343
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
4444
<notes>
4545
** Bug
46-
* [PHP-953] - MongoCollection::ensureIndex() should not validate namespace length
47-
* [PHP-977] - An iteration on a MongoCursor object with yield produces a memory leak.
48-
* [PHP-1063] - Refactor cursor logic to follow MongoCommandCursor
49-
* [PHP-1145] - Clean up MONGO_METHOD calls in db_ref.c
50-
* [PHP-1146] - Clean up MONGO_METHOD calls in mongo.c
51-
* [PHP-1149] - Fix database and collection name validation
52-
* [PHP-1218] - Add MongoDate->toDateTime to allow creation of DateTime object from MongoDate
53-
* [PHP-1229] - MongoGridFS::remove() ignores justOne option when deleting chunks
54-
* [PHP-1237] - Possible to read memory before mongo_cursor.ns pointer
55-
* [PHP-1245] - MONGO_METHOD calls within generators cause segfaults
56-
* [PHP-1247] - MongoClient should not inherit timeout of persistent connection
57-
* [PHP-1251] - MongoCursor::count() should use cursor's maxTimeMS
58-
* [PHP-1266] - phpinfo() lists a default authentication mechanism (which may not be the default)
59-
* [PHP-1267] - Windows build failure
60-
* [PHP-1268] - Fix uninitialized variable usages with deprecated properties
61-
* [PHP-1269] - Validate encoding and decoding of MongoBinData::UUID_RFC4122
62-
* [PHP-1270] - MongoDate->toDateTime is only supported for PHP 5.3.4 and later.
63-
* [PHP-1272] - bson_encode() segfaults with some BSON type classes
64-
* [PHP-1273] - bson_encode() MongoTimestamp erroneously creates BSON date
65-
* [PHP-1275] - Memory leak with 2x MongoClient
66-
* [PHP-1276] - Fix tests for 2.8
67-
* [PHP-1277] - bson_encode() does not handle MongoMaxKey and MongoMinKey
68-
* [PHP-1278] - runcommand memory leak
69-
* [PHP-1280] - Can not connect without authentication credentials (results in segfault)
70-
* [PHP-1285] - Add MongoDB::getCollectionInfo as per SPEC-54
71-
* [PHP-1286] - MongoCollection::count() segfaults due to a double free
72-
* [PHP-1297] - Memory read errors with deprecated properties.
73-
* [PHP-1351] - Handle listCollections and listIndexes results for non-existent databases and collections
74-
* [PHP-1355] - Collection and index enumeration fails if cursor's first batch is empty
75-
* [PHP-1357] - Command cursor may cause log_response_header callback to segfault
76-
* [PHP-1360] - Do not compare php_mongocursor_is_valid() result to FAILURE constant
77-
* [PHP-1361] - php_mongo_runcommand() should load current element before handling errors
78-
* [PHP-1366] - aggregateCursor() with $out does not force primary selection
79-
* [PHP-1367] - aggregate() with var args does not restore read pref after forcing primary for $out
80-
* [PHP-1368] - Force primary read pref over primaryPreferred if pipeline ends with $out
81-
* [PHP-1369] - Clear tag sets when forcing primary read pref for aggregate
82-
* [PHP-1370] - Implement get/setReadPreference() for MongoCommandCursor
83-
* [PHP-1371] - Resolve memory leak with connection replica set tags
84-
* [PHP-1372] - explicitly null-terminate buffer written by gethostname()
85-
* [PHP-1376] - MongoDB::getCollectionInfo() should trim database prefix when querying system.namespaces
86-
87-
** Improvement
88-
* [PHP-904] - Implement MongoDate::__set_state
89-
* [PHP-1160] - Allow count to work with query hints
90-
* [PHP-1219] - Drop support for PHP 5.2.
91-
* [PHP-1256] - Implement MongoCommandCursor::timeout()
92-
* [PHP-1263] - MongoCollection::count() should throw MongoExecutionTimeoutException on maxTimeMS timeout
93-
* [PHP-1321] - Support cursor in listCollections and listIndexes commands
94-
* [PHP-1356] - Do not enforce batch size for collection and index enumeration commands
95-
* [PHP-1358] - Allow command cursor option to be array or object
96-
* [PHP-1378] - MongoDB::getCollectionInfo() should return a numerically indexed array
97-
98-
** New Feature
99-
* [PHP-1161] - Implement the SCRAM-SHA-1 SASL Mechanism
100-
* [PHP-1257] - Support 50 replicaset members
101-
* [PHP-1259] - MongoDB::listCollections() should support filter option
102-
103-
** Task
104-
* [PHP-1151] - Remove support for compiling without PHP streams
105-
* [PHP-1225] - Use listCollections command for MongoDB::listCollections and MongoDB::getCollectionNames
106-
* [PHP-1226] - Use listIndexes command for MongoCollection::getIndexInfo()
107-
* [PHP-1227] - Bump maxWireProtocolVersion for 2.8 features
108-
* [PHP-1238] - Support authMechanismProperties MongoClient option
109-
* [PHP-1241] - Change MongoCursor::info()['at'] to zero-based indexing
110-
* [PHP-1244] - Mark MongoCursor::doQuery as final
111-
* [PHP-1258] - Test against non-mmapv1 storage engines (heap + wiredtiger)
112-
* [PHP-1318] - Document options for collection enumeration methods
113-
* [PHP-1328] - Document MongoCursorInterface
114-
* [PHP-1330] - Document MongoDB::command() $hash by-reference parameter
115-
* [PHP-1354] - MongoCommandCursor::key() returns an integer
116-
* [PHP-1363] - Move MongoCursor::valid() checks to php_mongocursor_is_valid()
117-
* [PHP-1365] - Do not enforce batch size on cursor commands
118-
* [PHP-1374] - Clarify that MongoTimestamp is for internal use only
119-
* [PHP-1375] - Clarify that MongoMaxKey and MongoMinKey are primarily for internal use
46+
* [PHP-1382] - MongoCursor::getNext() returns null, despite hasNext() returning true
47+
* [PHP-1388] - Incorrect string comparison in mongo_db_list_collections_legacy()
12048
</notes>
12149

12250
<contents>
@@ -284,6 +212,97 @@
284212
</extsrcrelease>
285213
<changelog>
286214

215+
<release>
216+
<date>2015-01-29</date>
217+
<time>12:15:44</time>
218+
<version>
219+
<release>1.6.0</release>
220+
<api>1.6.0</api>
221+
</version>
222+
<stability>
223+
<release>stable</release>
224+
<api>stable</api>
225+
</stability>
226+
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
227+
<notes>
228+
** Bug
229+
* [PHP-953] - MongoCollection::ensureIndex() should not validate namespace length
230+
* [PHP-977] - An iteration on a MongoCursor object with yield produces a memory leak.
231+
* [PHP-1063] - Refactor cursor logic to follow MongoCommandCursor
232+
* [PHP-1145] - Clean up MONGO_METHOD calls in db_ref.c
233+
* [PHP-1146] - Clean up MONGO_METHOD calls in mongo.c
234+
* [PHP-1149] - Fix database and collection name validation
235+
* [PHP-1218] - Add MongoDate->toDateTime to allow creation of DateTime object from MongoDate
236+
* [PHP-1229] - MongoGridFS::remove() ignores justOne option when deleting chunks
237+
* [PHP-1237] - Possible to read memory before mongo_cursor.ns pointer
238+
* [PHP-1245] - MONGO_METHOD calls within generators cause segfaults
239+
* [PHP-1247] - MongoClient should not inherit timeout of persistent connection
240+
* [PHP-1251] - MongoCursor::count() should use cursor's maxTimeMS
241+
* [PHP-1266] - phpinfo() lists a default authentication mechanism (which may not be the default)
242+
* [PHP-1267] - Windows build failure
243+
* [PHP-1268] - Fix uninitialized variable usages with deprecated properties
244+
* [PHP-1269] - Validate encoding and decoding of MongoBinData::UUID_RFC4122
245+
* [PHP-1270] - MongoDate->toDateTime is only supported for PHP 5.3.4 and later.
246+
* [PHP-1272] - bson_encode() segfaults with some BSON type classes
247+
* [PHP-1273] - bson_encode() MongoTimestamp erroneously creates BSON date
248+
* [PHP-1275] - Memory leak with 2x MongoClient
249+
* [PHP-1276] - Fix tests for 2.8
250+
* [PHP-1277] - bson_encode() does not handle MongoMaxKey and MongoMinKey
251+
* [PHP-1278] - runcommand memory leak
252+
* [PHP-1280] - Can not connect without authentication credentials (results in segfault)
253+
* [PHP-1285] - Add MongoDB::getCollectionInfo as per SPEC-54
254+
* [PHP-1286] - MongoCollection::count() segfaults due to a double free
255+
* [PHP-1297] - Memory read errors with deprecated properties.
256+
* [PHP-1351] - Handle listCollections and listIndexes results for non-existent databases and collections
257+
* [PHP-1355] - Collection and index enumeration fails if cursor's first batch is empty
258+
* [PHP-1357] - Command cursor may cause log_response_header callback to segfault
259+
* [PHP-1360] - Do not compare php_mongocursor_is_valid() result to FAILURE constant
260+
* [PHP-1361] - php_mongo_runcommand() should load current element before handling errors
261+
* [PHP-1366] - aggregateCursor() with $out does not force primary selection
262+
* [PHP-1367] - aggregate() with var args does not restore read pref after forcing primary for $out
263+
* [PHP-1368] - Force primary read pref over primaryPreferred if pipeline ends with $out
264+
* [PHP-1369] - Clear tag sets when forcing primary read pref for aggregate
265+
* [PHP-1370] - Implement get/setReadPreference() for MongoCommandCursor
266+
* [PHP-1371] - Resolve memory leak with connection replica set tags
267+
* [PHP-1372] - explicitly null-terminate buffer written by gethostname()
268+
* [PHP-1376] - MongoDB::getCollectionInfo() should trim database prefix when querying system.namespaces
269+
270+
** Improvement
271+
* [PHP-904] - Implement MongoDate::__set_state
272+
* [PHP-1160] - Allow count to work with query hints
273+
* [PHP-1219] - Drop support for PHP 5.2.
274+
* [PHP-1256] - Implement MongoCommandCursor::timeout()
275+
* [PHP-1263] - MongoCollection::count() should throw MongoExecutionTimeoutException on maxTimeMS timeout
276+
* [PHP-1321] - Support cursor in listCollections and listIndexes commands
277+
* [PHP-1356] - Do not enforce batch size for collection and index enumeration commands
278+
* [PHP-1358] - Allow command cursor option to be array or object
279+
* [PHP-1378] - MongoDB::getCollectionInfo() should return a numerically indexed array
280+
281+
** New Feature
282+
* [PHP-1161] - Implement the SCRAM-SHA-1 SASL Mechanism
283+
* [PHP-1257] - Support 50 replicaset members
284+
* [PHP-1259] - MongoDB::listCollections() should support filter option
285+
286+
** Task
287+
* [PHP-1151] - Remove support for compiling without PHP streams
288+
* [PHP-1225] - Use listCollections command for MongoDB::listCollections and MongoDB::getCollectionNames
289+
* [PHP-1226] - Use listIndexes command for MongoCollection::getIndexInfo()
290+
* [PHP-1227] - Bump maxWireProtocolVersion for 2.8 features
291+
* [PHP-1238] - Support authMechanismProperties MongoClient option
292+
* [PHP-1241] - Change MongoCursor::info()['at'] to zero-based indexing
293+
* [PHP-1244] - Mark MongoCursor::doQuery as final
294+
* [PHP-1258] - Test against non-mmapv1 storage engines (heap + wiredtiger)
295+
* [PHP-1318] - Document options for collection enumeration methods
296+
* [PHP-1328] - Document MongoCursorInterface
297+
* [PHP-1330] - Document MongoDB::command() $hash by-reference parameter
298+
* [PHP-1354] - MongoCommandCursor::key() returns an integer
299+
* [PHP-1363] - Move MongoCursor::valid() checks to php_mongocursor_is_valid()
300+
* [PHP-1365] - Do not enforce batch size on cursor commands
301+
* [PHP-1374] - Clarify that MongoTimestamp is for internal use only
302+
* [PHP-1375] - Clarify that MongoMaxKey and MongoMinKey are primarily for internal use
303+
</notes>
304+
</release>
305+
287306
<release>
288307
<date>2014-12-19</date>
289308
<time>12:15:44</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.6.1dev"
19+
#define PHP_MONGO_VERSION "1.6.1"
2020
#define PHP_MONGO_EXTNAME "mongo"
2121

2222
#ifdef HAVE_CONFIG_H

0 commit comments

Comments
 (0)