This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 326
/
package.xml
2547 lines (2406 loc) · 98.9 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.4.11" version="2.0"
xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>mongo</name>
<channel>pecl.php.net</channel>
<summary>MongoDB database driver</summary>
<description>This package provides an interface for communicating with the MongoDB database in PHP.</description>
<lead>
<name>Derick Rethans</name>
<user>derick</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<lead>
<name>Hannes Magnusson</name>
<user>bjori</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<lead>
<name>Jeremy Mikola</name>
<user>jmikola</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2015-01-29</date>
<time>12:15:44</time>
<version>
<release>1.6.0</release>
<api>1.6.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-953] - MongoCollection::ensureIndex() should not validate namespace length
* [PHP-977] - An iteration on a MongoCursor object with yield produces a memory leak.
* [PHP-1063] - Refactor cursor logic to follow MongoCommandCursor
* [PHP-1145] - Clean up MONGO_METHOD calls in db_ref.c
* [PHP-1146] - Clean up MONGO_METHOD calls in mongo.c
* [PHP-1149] - Fix database and collection name validation
* [PHP-1218] - Add MongoDate->toDateTime to allow creation of DateTime object from MongoDate
* [PHP-1229] - MongoGridFS::remove() ignores justOne option when deleting chunks
* [PHP-1237] - Possible to read memory before mongo_cursor.ns pointer
* [PHP-1245] - MONGO_METHOD calls within generators cause segfaults
* [PHP-1247] - MongoClient should not inherit timeout of persistent connection
* [PHP-1251] - MongoCursor::count() should use cursor's maxTimeMS
* [PHP-1266] - phpinfo() lists a default authentication mechanism (which may not be the default)
* [PHP-1267] - Windows build failure
* [PHP-1268] - Fix uninitialized variable usages with deprecated properties
* [PHP-1269] - Validate encoding and decoding of MongoBinData::UUID_RFC4122
* [PHP-1270] - MongoDate->toDateTime is only supported for PHP 5.3.4 and later.
* [PHP-1272] - bson_encode() segfaults with some BSON type classes
* [PHP-1273] - bson_encode() MongoTimestamp erroneously creates BSON date
* [PHP-1275] - Memory leak with 2x MongoClient
* [PHP-1276] - Fix tests for 2.8
* [PHP-1277] - bson_encode() does not handle MongoMaxKey and MongoMinKey
* [PHP-1278] - runcommand memory leak
* [PHP-1280] - Can not connect without authentication credentials (results in segfault)
* [PHP-1285] - Add MongoDB::getCollectionInfo as per SPEC-54
* [PHP-1286] - MongoCollection::count() segfaults due to a double free
* [PHP-1297] - Memory read errors with deprecated properties.
* [PHP-1351] - Handle listCollections and listIndexes results for non-existent databases and collections
* [PHP-1355] - Collection and index enumeration fails if cursor's first batch is empty
* [PHP-1357] - Command cursor may cause log_response_header callback to segfault
* [PHP-1360] - Do not compare php_mongocursor_is_valid() result to FAILURE constant
* [PHP-1361] - php_mongo_runcommand() should load current element before handling errors
* [PHP-1366] - aggregateCursor() with $out does not force primary selection
* [PHP-1367] - aggregate() with var args does not restore read pref after forcing primary for $out
* [PHP-1368] - Force primary read pref over primaryPreferred if pipeline ends with $out
* [PHP-1369] - Clear tag sets when forcing primary read pref for aggregate
* [PHP-1370] - Implement get/setReadPreference() for MongoCommandCursor
* [PHP-1371] - Resolve memory leak with connection replica set tags
* [PHP-1372] - explicitly null-terminate buffer written by gethostname()
* [PHP-1376] - MongoDB::getCollectionInfo() should trim database prefix when querying system.namespaces
** Improvement
* [PHP-904] - Implement MongoDate::__set_state
* [PHP-1160] - Allow count to work with query hints
* [PHP-1219] - Drop support for PHP 5.2.
* [PHP-1256] - Implement MongoCommandCursor::timeout()
* [PHP-1263] - MongoCollection::count() should throw MongoExecutionTimeoutException on maxTimeMS timeout
* [PHP-1321] - Support cursor in listCollections and listIndexes commands
* [PHP-1356] - Do not enforce batch size for collection and index enumeration commands
* [PHP-1358] - Allow command cursor option to be array or object
* [PHP-1378] - MongoDB::getCollectionInfo() should return a numerically indexed array
** New Feature
* [PHP-1161] - Implement the SCRAM-SHA-1 SASL Mechanism
* [PHP-1257] - Support 50 replicaset members
* [PHP-1259] - MongoDB::listCollections() should support filter option
** Task
* [PHP-1151] - Remove support for compiling without PHP streams
* [PHP-1225] - Use listCollections command for MongoDB::listCollections and MongoDB::getCollectionNames
* [PHP-1226] - Use listIndexes command for MongoCollection::getIndexInfo()
* [PHP-1227] - Bump maxWireProtocolVersion for 2.8 features
* [PHP-1238] - Support authMechanismProperties MongoClient option
* [PHP-1241] - Change MongoCursor::info()['at'] to zero-based indexing
* [PHP-1244] - Mark MongoCursor::doQuery as final
* [PHP-1258] - Test against non-mmapv1 storage engines (heap + wiredtiger)
* [PHP-1318] - Document options for collection enumeration methods
* [PHP-1328] - Document MongoCursorInterface
* [PHP-1330] - Document MongoDB::command() $hash by-reference parameter
* [PHP-1354] - MongoCommandCursor::key() returns an integer
* [PHP-1363] - Move MongoCursor::valid() checks to php_mongocursor_is_valid()
* [PHP-1365] - Do not enforce batch size on cursor commands
* [PHP-1374] - Clarify that MongoTimestamp is for internal use only
* [PHP-1375] - Clarify that MongoMaxKey and MongoMinKey are primarily for internal use
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<file role="src" name="config.m4" />
<file role="src" name="config.w32" />
<file role="doc" name="README.md"/>
<file role="doc" name="LICENSE.md"/>
<file role="src" name="bson.c"/>
<file role="src" name="bson.h"/>
<file role="src" name="collection.c"/>
<file role="src" name="collection.h"/>
<file role="src" name="command_cursor.c"/>
<file role="src" name="command_cursor.h"/>
<file role="src" name="cursor.c"/>
<file role="src" name="cursor.h"/>
<file role="src" name="cursor_shared.c"/>
<file role="src" name="cursor_shared.h"/>
<file role="src" name="db.c"/>
<file role="src" name="db.h"/>
<file role="src" name="io_stream.c"/>
<file role="src" name="io_stream.h"/>
<file role="src" name="log_stream.c"/>
<file role="src" name="log_stream.h"/>
<file role="src" name="mongo.c"/>
<file role="src" name="mongo.h"/>
<file role="src" name="mongoclient.c"/>
<file role="src" name="mongoclient.h"/>
<file role="src" name="php_mongo.c"/>
<file role="src" name="php_mongo.h"/>
<dir baseinstalldir="/" name="contrib">
<file role="src" name="php-json.c"/>
<file role="src" name="php-json.h"/>
<file role="src" name="crypto.c"/>
<file role="src" name="crypto.h"/>
</dir>
<dir baseinstalldir="/" name="api">
<file role="src" name="wire_version.c"/>
<file role="src" name="wire_version.h"/>
<file role="src" name="batch.c"/>
<file role="src" name="batch.h"/>
<file role="src" name="write.c"/>
<file role="src" name="write.h"/>
</dir>
<dir baseinstalldir="/" name="exceptions">
<file role="src" name="connection_exception.c"/>
<file role="src" name="connection_exception.h"/>
<file role="src" name="cursor_exception.c"/>
<file role="src" name="cursor_exception.h"/>
<file role="src" name="cursor_timeout_exception.c"/>
<file role="src" name="cursor_timeout_exception.h"/>
<file role="src" name="exception.c"/>
<file role="src" name="exception.h"/>
<file role="src" name="execution_timeout_exception.c"/>
<file role="src" name="execution_timeout_exception.h"/>
<file role="src" name="gridfs_exception.c"/>
<file role="src" name="gridfs_exception.h"/>
<file role="src" name="duplicate_key_exception.c"/>
<file role="src" name="duplicate_key_exception.h"/>
<file role="src" name="protocol_exception.c"/>
<file role="src" name="protocol_exception.h"/>
<file role="src" name="result_exception.c"/>
<file role="src" name="result_exception.h"/>
<file role="src" name="write_concern_exception.c"/>
<file role="src" name="write_concern_exception.h"/>
</dir>
<dir baseinstalldir="/" name="gridfs">
<file role="src" name="gridfs.c"/>
<file role="src" name="gridfs.h"/>
<file role="src" name="gridfs_cursor.c"/>
<file role="src" name="gridfs_cursor.h"/>
<file role="src" name="gridfs_file.c"/>
<file role="src" name="gridfs_file.h"/>
<file role="src" name="gridfs_stream.c"/>
<file role="src" name="gridfs_stream.h"/>
</dir>
<dir baseinstalldir="/" name="mcon">
<file role="src" name="bson_helpers.c"/>
<file role="src" name="bson_helpers.h"/>
<file role="src" name="collection.c"/>
<file role="src" name="collection.h"/>
<file role="src" name="connections.c"/>
<file role="src" name="connections.h"/>
<file role="src" name="manager.c"/>
<file role="src" name="manager.h"/>
<file role="src" name="mini_bson.c"/>
<file role="src" name="mini_bson.h"/>
<file role="src" name="parse.c"/>
<file role="src" name="parse.h"/>
<file role="src" name="read_preference.c"/>
<file role="src" name="read_preference.h"/>
<file role="src" name="str.c"/>
<file role="src" name="str.h"/>
<file role="src" name="types.h"/>
<file role="src" name="utils.c"/>
<file role="src" name="utils.h"/>
</dir>
<dir baseinstalldir="/" name="mcon/contrib">
<file role="src" name="md5.c"/>
<file role="src" name="md5.h"/>
<file role="src" name="strndup.c"/>
<file role="src" name="strndup.h"/>
</dir>
<dir baseinstalldir="/" name="types">
<file role="src" name="bin_data.c"/>
<file role="src" name="bin_data.h"/>
<file role="src" name="code.c"/>
<file role="src" name="code.h"/>
<file role="src" name="date.c"/>
<file role="src" name="date.h"/>
<file role="src" name="db_ref.c"/>
<file role="src" name="db_ref.h"/>
<file role="src" name="id.c"/>
<file role="src" name="id.h"/>
<file role="src" name="int32.c"/>
<file role="src" name="int32.h"/>
<file role="src" name="int64.c"/>
<file role="src" name="int64.h"/>
<file role="src" name="regex.c"/>
<file role="src" name="regex.h"/>
<file role="src" name="timestamp.c"/>
<file role="src" name="timestamp.h"/>
</dir>
<dir baseinstalldir="/" name="batch">
<file role="src" name="write.c"/>
<file role="src" name="write.h"/>
<file role="src" name="insert.c"/>
<file role="src" name="insert.h"/>
<file role="src" name="update.c"/>
<file role="src" name="update.h"/>
<file role="src" name="delete.c"/>
<file role="src" name="delete.h"/>
<file role="src" name="write_private.h"/>
</dir>
<dir baseinstalldir="/" name="util">
<file role="src" name="log.c"/>
<file role="src" name="log.h"/>
<file role="src" name="pool.c"/>
<file role="src" name="pool.h"/>
</dir>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.3.0</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>mongo</providesextension>
<extsrcrelease>
<configureoption name="with-mongo-sasl" prompt="Build with Cyrus SASL (MongoDB Enterprise Authentication) support?" default="no"/>
</extsrcrelease>
<changelog>
<release>
<date>2014-12-19</date>
<time>12:15:44</time>
<version>
<release>1.6.0RC3</release>
<api>1.6.0RC3</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-953] - MongoCollection::ensureIndex() should not validate namespace length
* [PHP-1229] - MongoGridFS::remove() ignores justOne option when deleting chunks
* [PHP-1237] - Possible to read memory before mongo_cursor.ns pointer
* [PHP-1245] - MONGO_METHOD calls within generators cause segfaults
* [PHP-1268] - Fix uninitialized variable usages with deprecated properties
* [PHP-1272] - bson_encode() segfaults with some BSON type classes
* [PHP-1273] - bson_encode() MongoTimestamp erroneously creates BSON date
* [PHP-1276] - Fix tests for 2.8
* [PHP-1277] - bson_encode() does not handle MongoMaxKey and MongoMinKey
* [PHP-1278] - runcommand memory leak
* [PHP-1280] - Can not connect without authentication credentials (results in segfault)
* [PHP-1285] - Add MongoDB::getCollectionInfo as per SPEC-54
* [PHP-1286] - MongoCollection::count() segfaults due to a double free
* [PHP-1297] - Memory read errors with deprecated properties.
** Improvement
* [PHP-1256] - aggregate, aggregateCursor cursor timeout
* [PHP-1321] - Support cursor in listCollections and listIndexes commands
** New Feature
* [PHP-1259] - MongoDB::listCollections() should support filter option
** Task
* [PHP-1258] - Test against non-mmapv1 storage engines (heap + wiredtiger)
</notes>
</release>
<release>
<date>2014-11-19</date>
<time>09:45:44</time>
<version>
<release>1.6.0RC2</release>
<api>1.6.0RC2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-1266] - phpinfo() lists a default authentication mechanism (which may not be the default)
* [PHP-1267] - Windows build failure
* [PHP-1269] - Validate encoding and decoding of MongoBinData::UUID_RFC4122
* [PHP-1270] - MongoDate->toDateTime is only supported for PHP 5.3.4 and later.
</notes>
</release>
<release>
<date>2014-11-11</date>
<time>11:12:13</time>
<version>
<release>1.6.0RC1</release>
<api>1.6.0RC1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** New Feature
* [PHP-1161] - Implement the SCRAM-SHA-1 SASL Mechanism
* [PHP-1257] - Support 50 replicaset members
** Improvement
* [PHP-904] - Implement MongoDate::__set_state
* [PHP-1160] - Allow count to work with query hints
* [PHP-1219] - Drop support for PHP 5.2.
* [PHP-1263] - MongoCollection::count() should throw MongoExecutionTimeoutException on maxTimeMS timeout
** Bug
* [PHP-977] - An iteration on a MongoCursor object with yield produces a memory leak.
* [PHP-1063] - Refactor cursor logic to follow MongoCommandCursor
* [PHP-1145] - Clean up MONGO_METHOD calls in db_ref.c
* [PHP-1146] - Clean up MONGO_METHOD calls in mongo.c
* [PHP-1149] - Fix database and collection name validation
* [PHP-1218] - Add MongoDate->toDateTime to allow creation of DateTime object from MongoDate
* [PHP-1231] - Using MongoDB::selectCollection crashes inside generators
* [PHP-1251] - MongoCursor::count() should use cursor's maxTimeMS
** Task
* [PHP-1151] - Remove support for compiling without PHP streams
* [PHP-1225] - Use listCollections command for MongoDB::listCollections and MongoDB::getCollectionNames
* [PHP-1226] - Use listIndexes command for MongoCollection::getIndexInfo()
* [PHP-1227] - Bump maxWireProtocolVersion for 2.8 features
* [PHP-1241] - Change MongoCursor::info()['at'] to zero-based indexing
* [PHP-1244] - Mark MongoCursor::doQuery as final
</notes>
</release>
<release>
<date>2014-11-11</date>
<time>19:17:00</time>
<version>
<release>1.5.8</release>
<api>1.5.8</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-1126] - Do not allow invalid limit values in MongoDeleteBatch
* [PHP-1231] - Using MongoDB::selectCollection crashes inside generators
* [PHP-1249] - MongoCursor::count() should use cursor's socket timeout
* [PHP-1265] - Exception messages for invalid db/collection names are not helpful
** Improvement
* [PHP-1168] - Add "How to Ask for Help" section to Github readme
* [PHP-1264] - Rename 'delete' field to allow compilation with C++
** Task
* [PHP-1205] - Remove dropDups support from index building
</notes>
</release>
<release>
<date>2014-09-16</date>
<time>13:10:39</time>
<version>
<release>1.5.7</release>
<api>1.5.7</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* Windows compile fixes.
</notes>
</release>
<release>
<date>2014-09-16</date>
<time>13:10:39</time>
<version>
<release>1.5.6</release>
<api>1.5.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** 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
</notes>
</release>
<release>
<date>2014-06-17</date>
<time>10:25:39</time>
<version>
<release>1.5.4</release>
<api>1.5.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-1111] - MongoClient constructor crashes on connection to slave
* [PHP-1118] - Aggregate cursor on non-existing collection throws weird error
* [PHP-1120] - The mongo driver fails to build as static extension
</notes>
</release>
<release>
<date>2014-07-30</date>
<time>12:10:39</time>
<version>
<release>1.5.5</release>
<api>1.5.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** 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
</notes>
</release>
<release>
<date>2014-06-05</date>
<time>12:21:05</time>
<version>
<release>1.5.3</release>
<api>1.5.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
* [PHP-928] - The 'w' property is read-only
* [PHP-970] - Explain how to_index_string() creates names for ensureIndex() and deleteIndex()
* [PHP-1052] - Replace JSON encoding of stream notifications with standard PHP serialize encoding
* [PHP-1060] - "The '$id' property is read-only"
* [PHP-1096] - PHP crashes due to null pointer dereference on shutdown when JSON extension is not present
* [PHP-1099] - socketTimeoutMS=-1 doesn't work
* [PHP-1102] - php driver throws exception when connect string contains an unresolvable hostname
* [PHP-1104] - New Replica Set connections hang when secondaries are creating indexes during initialSync
* [PHP-1109] - Upsert should return _id instead of array of ids
** Task
* [PHP-1076] - Document deprecation notices for timeout and wtimeout options
* [PHP-1078] - Document wTimeoutMS, socketTimeoutMS, and maxTimeMS for ensure/createIndex
</notes>
</release>
<release>
<date>2014-05-06</date>
<time>12:44:05</time>
<version>
<release>1.5.2</release>
<api>1.5.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-922] - Read timed out after reading 0 bytes, waited for 0.000000 seconds
* [PHP-978] - Standalone connection to arbiter fails
* [PHP-1036] - Segmentation Fault when querying large collection and the working set is not loaded
* [PHP-1042] - Document missing MongoClient constructor options
* [PHP-1056] - Fix MongoCursor handling of projections with numeric field names
* [PHP-1059] - updatedExisting is always true when updating
* [PHP-1065] - Mongo driver is crashing
* [PHP-1071] - Create Index test segfaults
* [PHP-1075] - close() with parallelCollectionScan() segfaults upon request shutdown
* [PHP-1080] - MongoCursor::$timeout=-1 doesn't work anymore
* [PHP-1083] - 2.6.1-rc0 requires $gt for OplogReplay
* [PHP-1084] - collection->update($query, $document) crashes if $document is an object
* [PHP-1085] - w=0 can return an unexpected exception on failure
* [PHP-1086] - Inserting documents with WriteConcern during failover broken
* [PHP-1087] - Travis build status incorrect in v1.5 branch
* [PHP-1088] - Coverity analysis defect 10700: Explicit null dereferenced
* [PHP-1090] - Coverity analysis defect 22173: Dereference null return value
* [PHP-1095] - Min server version check should use GTE comparison
** Improvement
* [PHP-758] - Document stream context callbacks
* [PHP-1091] - Allow NumberLong numbers on 32-bit platforms if the number fits in the 32-bit int range
* [PHP-1094] - 32bit platform improvements
** Task
* [PHP-935] - Document SSL connections
* [PHP-1023] - Document maxTimeMS option for findOne(), group(), aggregate(), and cursor
* [PHP-1058] - Add Cyrus SASL to automated PECL builds
* [PHP-1077] - Fix handling of timeout options for createIndexes command
* [PHP-1082] - CommandCursor segfaults when server is closed
</notes>
</release>
<release>
<date>2014-04-04</date>
<time>13:40:05</time>
<version>
<release>1.5.1</release>
<api>1.5.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-1053] - Windows build broken
</notes>
</release>
<release>
<date>2014-04-04</date>
<time>08:28:05</time>
<version>
<release>1.5.0</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-722] - Segfault when passing null value to MongoCollection::find() and unclear other conditions are met, inaccurate error message
* [PHP-796] - Modifying MongoDate internal properties evilness
* [PHP-813] - IS_SCALAR_*() doesn't account for resources
* [PHP-815] - MongoCursor ctor doesn't validate the MongoClient object
* [PHP-833] - Add the MongoClient::killCursor method to kill a cursor on the server on 64-bit platforms
* [PHP-835] - Driver interprets 'err' property as MongoCursorException
* [PHP-848] - Invalid read in master
* [PHP-882] - mongo_connection_get_server_version memleaks
* [PHP-883] - php_mongo_dbref_create() doesn't handle MongoId values
* [PHP-888] - DBRef refactoring broke BC for $id parameter handling
* [PHP-900] - Cannot switch from majority to lower WriteConcern
* [PHP-902] - Segfault when unregistering broken server
* [PHP-949] - ensureIndex() creates wrong names
* [PHP-955] - Switch the default mongo.native_long to 1 for 64bit platforms
* [PHP-981] - Empty document should not throw exception
* [PHP-995] - JSON detection
* [PHP-996] - Broken with cyrus-sals 2.1.23
* [PHP-1010] - MongoCollection::commandCursor should not require batchSize option to be set manually
* [PHP-1011] - MongoDB and MongoCollection do not inherit string write concerns
* [PHP-1012] - MongoCollection doesn't respect its own write concern for GLE ops
* [PHP-1013] - Read preferences are not respected with command cursors
* [PHP-1019] - Empty Batch Insert should throw exception
* [PHP-1027] - Support maxTimeMS and exceptions in MongoCollection::group()
* [PHP-1034] - Ensure MongoCommandCursor implements Iterator interface properly
* [PHP-1037] - add allowDiskUse:true to the top-level of an aggregate command
* [PHP-1038] - Segfault in php_mongo_enforce_batch_size_on_command()
* [PHP-1041] - Off-by-one error in MongoCommandCursor::key() index
* [PHP-1046] - Command cursor doesn't check if cursor exists
* [PHP-1047] - Index order can't be boolean
* [PHP-1048] - Segfault during shutdown after mongodb failover
* [PHP-1049] - MongoCollection::aggregateCursor batch size defaults should be: 101, 0 (server default)
* [PHP-1050] - MongoCommandCursor->dead() changes
** Improvement
* [PHP-578] - No need to call ismaster 2times
* [PHP-705] - Throw exception when overflowing message size in OP_INSERT batches
* [PHP-708] - WriteConcern failure exception should include the entire GLE document
* [PHP-712] - findAndModify returns empty array when nothing is found
* [PHP-774] - Deprecate the protected method MongoCollection::toIndexString
* [PHP-778] - Deprecate static properties
* [PHP-807] - Rewrite to_index_string to use smart_str and a real C function
* [PHP-812] - Remove unused MongoDBRef::$refKey and MongoDBRef::$idKey
* [PHP-837] - Handle cursor IDs for return with MongoCursor::info on 32bit platforms
* [PHP-851] - Add MONGO_HAVE_* constants and make sure MINFO contains this too
* [PHP-880] - New write operation method for insert, update, remove
* [PHP-886] - Add support for secondaryAcceptableLatencyMS
* [PHP-903] - Improve the Stream Notification API
* [PHP-938] - please update description of 'fsync' write concern flag
* [PHP-941] - Throw MongoConnectionException on stream failures
* [PHP-942] - Throw MongoDuplicateKeyException on duplicate key errors
* [PHP-971] - Remove mongo.native_long for 32bit platforms
* [PHP-972] - Support parallelCollectionScan command
* [PHP-990] - Implement Batch Write API
* [PHP-998] - Include maxWriteBatchSize and maxMessageSizeBytes in connection info
* [PHP-1021] - Support maxTimeMS option on MongoCollection::findOne()
* [PHP-1026] - Include connection info in findAndModify exception messages
* [PHP-1028] - Support $options arg in MongoCollection::aggregate()
* [PHP-1039] - Use dropIndexes command instead of deleteIndexes
** New Feature
* [PHP-819] - Add Mongo[DB|Collection]->[get|set]WriteConcern()
* [PHP-831] - SASL Support (SASL Plain)
* [PHP-832] - SASL Support (SASL Kerberos)
* [PHP-861] - Add maxTimeMS() method to MongoCursor to configure the maximum time a query can take
* [PHP-868] - Method to check if string is a valid ObjectId
* [PHP-873] - Support the MONGODB-X509 authentication mechanism
* [PHP-875] - Add support for cursor for aggregation
* [PHP-876] - Make the driver check for the server version upon connection
* [PHP-923] - Drivers should only talk to servers with overlapping wire versions
* [PHP-944] - Support $out aggregation pipeline operator
* [PHP-951] - Provide API for getting latest server version or isMaster response in driver
* [PHP-962] - Create constants for additional binary data subtypes
* [PHP-965] - Documentation for MongoId::isValid()
* [PHP-1031] - Implement MongoWriteBatch method to return current batch size
* [PHP-1035] - Add third arg to MongoDB::command() to collect server hash by reference
** Task
* [PHP-407] - MongoBinData should default to type 0 instead of 2
* [PHP-657] - Add deprecation notice to MongoCursor::slaveOkay
* [PHP-714] - Convenience macro for getting mongoclient*
* [PHP-739] - Audit extension for deprecations of functionality to be removed in 1.5
* [PHP-786] - Sort out includes
* [PHP-809] - Deprecate use of "safe" all over collection.c
* [PHP-842] - Document core class [get|set]WriteConcern() methods
* [PHP-844] - driver must authenticate before calling isMaster()
* [PHP-845] - Ability to use different SPN on the driver for Kerberos Authentication
* [PHP-914] - aggregation: need an explain facility
* [PHP-960] - Use createIndexes command when available
* [PHP-983] - Change nUpdated to nMatched in bulk api results
* [PHP-987] - Use maxWriteBatchSize from ismaster for write command batch splitting.
* [PHP-1006] - Document deprecation of MongoCollection::ensureIndex()
* [PHP-1007] - Add MongoClient->[get|set]WriteConcern()
* [PHP-1015] - Document MongoWriteBatch and related classes
* [PHP-1016] - Document MongoCollection:createIndex()
* [PHP-1022] - Create MongoCollection::aggregateCursor() method
* [PHP-1030] - gridfs chunksize should be lowered to 255K
* [PHP-1033] - Organize third-party code and license information
* [PHP-1040] - MongoCommandCursor::key() should not return _id field
** Sub-task
* [PHP-763] - Create prototypes for MongoClient and Mongo classes
* [PHP-794] - Remove 'fd' property of MongoCursorException
* [PHP-797] - Deprecate public properties
* [PHP-798] - Rename "timeout" to "socketTimeoutMS" in $options
* [PHP-804] - Deprecate Mongo::connectUtil
* [PHP-818] - Deprecate "Mongo" in favour of MongoClient.
* [PHP-824] - Deprecate the "wtimeout" option in crud operations for wTimeoutMS
* [PHP-993] - Merge batch return values into one return value
</notes>
</release>
<release>
<date>2014-04-01</date>
<time>09:58:05</time>
<version>
<release>1.5.0RC2</release>
<api>1.5.0RC2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-900] - Cannot switch from majority to lower WriteConcern
* [PHP-1010] - MongoCollection::commandCursor should not require batchSize option to be set manually
* [PHP-1011] - MongoDB and MongoCollection do not inherit string write concerns
* [PHP-1012] - MongoCollection doesn't respect its own write concern for GLE ops
* [PHP-1013] - Read preferences are not respected with command cursors
* [PHP-1019] - Empty Batch Insert should throw exception
* [PHP-1027] - Support maxTimeMS and exceptions in MongoCollection::group()
* [PHP-1034] - Ensure MongoCommandCursor implements Iterator interface properly
* [PHP-1037] - add allowDiskUse:true to the top-level of an aggregate command
* [PHP-1038] - Segfault in php_mongo_enforce_batch_size_on_command()
* [PHP-1041] - Off-by-one error in MongoCommandCursor::key() index
** Improvement
* [PHP-778] - Deprecate static properties
* [PHP-938] - please update description of 'fsync' write concern flag
* [PHP-1021] - Support maxTimeMS option on MongoCollection::findOne()
* [PHP-1026] - Include connection info in findAndModify exception messages
* [PHP-1028] - Support $options arg in MongoCollection::aggregate()
* [PHP-1039] - Use dropIndexes command instead of deleteIndexes
** New Feature
* [PHP-1031] - Implement MongoWriteBatch method to return current batch size
* [PHP-1035] - Add third arg to MongoDB::command() to collect server hash by reference
** Task
* [PHP-739] - Audit extension for deprecations of functionality to be removed in 1.5
* [PHP-842] - Document core class [get|set]WriteConcern() methods
* [PHP-914] - aggregation: need an explain facility
* [PHP-1006] - Document deprecation of MongoCollection::ensureIndex()
* [PHP-1007] - Add MongoClient->[get|set]WriteConcern()
* [PHP-1015] - Document MongoWriteBatch and related classes
* [PHP-1016] - Document MongoCollection:createIndex()
* [PHP-1022] - Create MongoCollection::aggregateCursor() method
* [PHP-1030] - gridfs chunksize should be lowered to 255K
* [PHP-1033] - Organize third-party code and license information
* [PHP-1040] - MongoCommandCursor::key() should not return _id field
</notes>
</release>
<release>
<date>2014-03-11</date>
<time>09:58:05</time>
<version>
<release>1.5.0RC1</release>
<api>1.5.0RC1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-995] - JSON detection
* [PHP-996] - Broken with cyrus-sals 2.1.23
* [PHP-999] - Inline mapReduce command ignores read preferences
* [PHP-1000] - RP support for "mapReduce" command, not just "mapreduce"
** Improvement
* [PHP-998] - Include maxWriteBatchSize and maxMessageSizeBytes in connection info
** Task
* [PHP-407] - MongoBinData should default to type 0 instead of 2
* [PHP-960] - Use createIndexes command when available
* [PHP-987] - Use maxWriteBatchSize from ismaster for write command batch splitting.
** Sub-task
* [PHP-993] - Merge batch return values into one return value
</notes>
</release>
<release>
<date>2014-02-25</date>
<time>10:58:05</time>
<version>
<release>1.5.0alpha1</release>
<api>1.5.0alpha1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-722] - Segfault when passing null value to MongoCollection::find() and unclear other conditions are met, inaccurate error message
* [PHP-796] - Modifying MongoDate internal properties evilness
* [PHP-813] - IS_SCALAR_*() doesn't account for resources
* [PHP-815] - MongoCursor ctor doesn't validate the MongoClient object
* [PHP-833] - Add the MongoClient::killCursor method to kill a cursor on the server on 64-bit platforms
* [PHP-835] - Driver interprets 'err' property as MongoCursorException
* [PHP-848] - Invalid read in master
* [PHP-882] - mongo_connection_get_server_version memleaks
* [PHP-883] - php_mongo_dbref_create() doesn't handle MongoId values
* [PHP-888] - DBRef refactoring broke BC for $id parameter handling
* [PHP-902] - Segfault when unregistering broken server
* [PHP-949] - ensureIndex() creates wrong names
* [PHP-955] - Switch the default mongo.native_long to 1 for 64bit platforms
* [PHP-981] - Empty document should not throw exception
** Improvement
* [PHP-578] - No need to call ismaster 2times
* [PHP-705] - Throw exception when overflowing message size in OP_INSERT batches
* [PHP-708] - WriteConcern failure exception should include the entire GLE document
* [PHP-712] - findAndModify returns empty array when nothing is found
* [PHP-774] - Deprecate the protected method MongoCollection::toIndexString
* [PHP-807] - Rewrite to_index_string to use smart_str and a real C function
* [PHP-812] - Remove unused MongoDBRef::$refKey and MongoDBRef::$idKey
* [PHP-837] - Handle cursor IDs for return with MongoCursor::info on 32bit platforms
* [PHP-851] - Add MONGO_HAVE_* constants and make sure MINFO contains this too
* [PHP-880] - New write operation method for insert, update, remove
* [PHP-886] - Add support for secondaryAcceptableLatencyMS
* [PHP-903] - Improve the Stream Notification API
* [PHP-941] - Throw MongoConnectionException on stream failures
* [PHP-942] - Throw MongoDuplicateKeyException on duplicate key errors
* [PHP-971] - Remove mongo.native_long for 32bit platforms
* [PHP-990] - Implement Batch Write API
** New Feature
* [PHP-819] - Add Mongo[DB|Collection]->[get|set]WriteConcern()
* [PHP-831] - SASL Support (SASL Plain)
* [PHP-832] - SASL Support (SASL Kerberos)
* [PHP-861] - Add maxTimeMS() method to MongoCursor to configure the maximum time a query can take
* [PHP-868] - Method to check if string is a valid ObjectId
* [PHP-873] - Support the MONGODB-X509 authentication mechanism
* [PHP-875] - Add support for cursor for aggregation
* [PHP-876] - Make the driver check for the server version upon connection
* [PHP-923] - Drivers should only talk to servers with overlapping wire versions
* [PHP-944] - Support $out aggregation pipeline operator
* [PHP-951] - Provide API for getting latest server version or isMaster response in driver
* [PHP-962] - Create constants for additional binary data subtypes
* [PHP-965] - Documentation for MongoId::isValid()
** Task
* [PHP-657] - Add deprecation notice to MongoCursor::slaveOkay
* [PHP-714] - Convenience macro for getting mongoclient*
* [PHP-786] - Sort out includes
* [PHP-809] - Deprecate use of "safe" all over collection.c
* [PHP-844] - driver must authenticate before calling isMaster()
* [PHP-845] - Ability to use different SPN on the driver for Kerberos Authentication
* [PHP-983] - Change nUpdated to nMatched in bulk api results
** Sub-task
* [PHP-763] - Create prototypes for MongoClient and Mongo classes
* [PHP-794] - Remove 'fd' property of MongoCursorException
* [PHP-797] - Deprecate public properties
* [PHP-798] - Rename "timeout" to "socketTimeoutMS" in $options
* [PHP-804] - Deprecate Mongo::connectUtil
* [PHP-818] - Deprecate "Mongo" in favour of MongoClient.
* [PHP-824] - Deprecate the "wtimeout" option in crud operations for wTimeoutMS
</notes>
</release>
<release>
<date>2013-11-05</date>
<time>09:05:05</time>
<version>
<release>1.4.5</release>
<api>1.4.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** 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+
</notes>
</release>
<release>
<date>2013-09-25</date>
<time>10:24:22</time>
<version>
<release>1.4.4</release>
<api>1.4.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** 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
</notes>
</release>
<release>
<date>2013-08-15</date>
<time>10:59:22</time>
<version>
<release>1.4.3</release>
<api>1.4.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** 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
</notes>
</release>
<release>
<date>2013-07-22</date>
<time>10:21:23</time>
<version>
<release>1.4.2</release>
<api>1.4.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** 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
</notes>
</release>
<release>
<date>2013-06-03</date>
<time>10:21:23</time>
<version>
<release>1.4.1</release>
<api>1.4.1</api>
</version>
<stability>
<release>stable</release>