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

Commit edcd0f1

Browse files
committed
BUMP 1.6.0
1 parent eb3c766 commit edcd0f1

File tree

2 files changed

+98
-7
lines changed

2 files changed

+98
-7
lines changed

package.xml

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

33-
<date>2014-12-19</date>
33+
<date>2015-01-29</date>
3434
<time>12:15:44</time>
3535
<version>
36-
<release>1.6.0RC3</release>
37-
<api>1.6.0RC3</api>
36+
<release>1.6.0</release>
37+
<api>1.6.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
4646
* [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
4753
* [PHP-1229] - MongoGridFS::remove() ignores justOne option when deleting chunks
4854
* [PHP-1237] - Possible to read memory before mongo_cursor.ns pointer
4955
* [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
5060
* [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.
5163
* [PHP-1272] - bson_encode() segfaults with some BSON type classes
5264
* [PHP-1273] - bson_encode() MongoTimestamp erroneously creates BSON date
65+
* [PHP-1275] - Memory leak with 2x MongoClient
5366
* [PHP-1276] - Fix tests for 2.8
5467
* [PHP-1277] - bson_encode() does not handle MongoMaxKey and MongoMinKey
5568
* [PHP-1278] - runcommand memory leak
5669
* [PHP-1280] - Can not connect without authentication credentials (results in segfault)
5770
* [PHP-1285] - Add MongoDB::getCollectionInfo as per SPEC-54
5871
* [PHP-1286] - MongoCollection::count() segfaults due to a double free
5972
* [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
6086

6187
** Improvement
62-
* [PHP-1256] - aggregate, aggregateCursor cursor timeout
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
6393
* [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
6497

6598
** New Feature
99+
* [PHP-1161] - Implement the SCRAM-SHA-1 SASL Mechanism
100+
* [PHP-1257] - Support 50 replicaset members
66101
* [PHP-1259] - MongoDB::listCollections() should support filter option
67102

68103
** 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
69111
* [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
70120
</notes>
71121

72122
<contents>
@@ -234,6 +284,47 @@
234284
</extsrcrelease>
235285
<changelog>
236286

287+
<release>
288+
<date>2014-12-19</date>
289+
<time>12:15:44</time>
290+
<version>
291+
<release>1.6.0RC3</release>
292+
<api>1.6.0RC3</api>
293+
</version>
294+
<stability>
295+
<release>beta</release>
296+
<api>beta</api>
297+
</stability>
298+
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
299+
<notes>
300+
** Bug
301+
* [PHP-953] - MongoCollection::ensureIndex() should not validate namespace length
302+
* [PHP-1229] - MongoGridFS::remove() ignores justOne option when deleting chunks
303+
* [PHP-1237] - Possible to read memory before mongo_cursor.ns pointer
304+
* [PHP-1245] - MONGO_METHOD calls within generators cause segfaults
305+
* [PHP-1268] - Fix uninitialized variable usages with deprecated properties
306+
* [PHP-1272] - bson_encode() segfaults with some BSON type classes
307+
* [PHP-1273] - bson_encode() MongoTimestamp erroneously creates BSON date
308+
* [PHP-1276] - Fix tests for 2.8
309+
* [PHP-1277] - bson_encode() does not handle MongoMaxKey and MongoMinKey
310+
* [PHP-1278] - runcommand memory leak
311+
* [PHP-1280] - Can not connect without authentication credentials (results in segfault)
312+
* [PHP-1285] - Add MongoDB::getCollectionInfo as per SPEC-54
313+
* [PHP-1286] - MongoCollection::count() segfaults due to a double free
314+
* [PHP-1297] - Memory read errors with deprecated properties.
315+
316+
** Improvement
317+
* [PHP-1256] - aggregate, aggregateCursor cursor timeout
318+
* [PHP-1321] - Support cursor in listCollections and listIndexes commands
319+
320+
** New Feature
321+
* [PHP-1259] - MongoDB::listCollections() should support filter option
322+
323+
** Task
324+
* [PHP-1258] - Test against non-mmapv1 storage engines (heap + wiredtiger)
325+
</notes>
326+
</release>
327+
237328
<release>
238329
<date>2014-11-19</date>
239330
<time>09:45: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.0RC4-dev"
19+
#define PHP_MONGO_VERSION "1.6.0"
2020
#define PHP_MONGO_EXTNAME "mongo"
2121

2222
#ifdef HAVE_CONFIG_H

0 commit comments

Comments
 (0)