forked from mongodb/mongo-php-driver-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.xml
1915 lines (1813 loc) · 70.4 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>derick@php.net</email>
<active>yes</active>
</lead>
<lead>
<name>Hannes Magnusson</name>
<user>bjori</user>
<email>bjori@php.net</email>
<active>yes</active>
</lead>
<lead>
<name>Jeremy Mikola</name>
<user>jmikola</user>
<email>jmikola@php.net</email>
<active>yes</active>
</lead>
<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>
<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="config-w32.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="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"/>
<file role="src" name="write_private.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="io.c"/>
<file role="src" name="io.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="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"/>
</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.2.6</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>mongo</providesextension>
<extsrcrelease/>
<changelog>
<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>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-814] - Passing in invalid MongoDB to MongoDBRef::get() segfaults
* [PHP-816] - MongoCursor doesn't validate the namespace
* [PHP-827] - Segfault on connect when database name starts with an X
* [PHP-829] - Crash when connecting to replicaSet without passive hosts
* [PHP-846] - Connecting to Unix Domain sockets is impossible
** Improvement
* [PHP-747] - Improve numeric check for write concern option
* [PHP-755] - Support CursorNotFound query flag
* [PHP-756] - Support QueryFailure query response flag
** Task
* [PHP-551] - Update "writes" documentation to cover all WriteConcerns arguments (from the connection string) as well.
* [PHP-836] - Fix more for-type tests after finding with hash_find
* [PHP-839] - Look at inclusion of config-w32.h and config.h in package
</notes>
</release>
<release>
<date>2013-05-21</date>
<time>10:21:23</time>
<version>
<release>1.4.0</release>
<api>1.4.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>
** Improvement
* [PHP-303] - Support the autoIndexId option for createCollection
* [PHP-316] - When using replica sets and setSlaveOkay queries slow if a secondary is down...
* [PHP-371] - Replication connection string hangs for quite some time when a machine that is listed is physically down
* [PHP-490] - "nolock" option in MongoDB::execute method
* [PHP-537] - Update limits according to default (16MB) or server info (maxMessageSizeBytes)
* [PHP-572] - Add support for "journal" and "fsync" connection string options
* [PHP-610] - Remove the mongo.utf8 setting
* [PHP-651] - Slow connection to the replica set with one member down
* [PHP-686] - Constant attempt to reconnect to a down server takes too long
* [PHP-744] - Support the oplog_replay query flag
* [PHP-775] - MongoCursor->hint() can't hint on a index by name
* [PHP-790] - MongoCollection write operation wtimeout option inconsistent with connection string wTimeoutMS option
** New Feature
* [PHP-664] - Add support for SSL and certificate validation
** Bug
* [PHP-296] - Many of the zend_hash_find calls for options etc do not check or convert correctly for datatype issues.
* [PHP-447] - Inconsistent error for unsupported database commands on mongod and mongos
* [PHP-508] - Change BSON ID generation to use random "increment"
* [PHP-554] - MongoId should not get constructed when passing in an invalid ID.
* [PHP-653] - is_master() failing with mongodb <= 1.8.3
* [PHP-675] - Test for PHP-511 broken
* [PHP-693] - MongoCursor timeout not used when reading data
* [PHP-696] - mongo_io_wait_with_timeout() waits 10 seconds instead of one for "no socket timeout"
* [PHP-698] - Segmentation Fault - in mongo_deregister_callback_from_connection when calling MongoClient->close()
* [PHP-704] - Incorrect failure checks for stream reads
* [PHP-707] - Replication with 1.8 does not work
* [PHP-715] - Crash in PHP driver on Apache
* [PHP-717] - (Almost) All tests leak and has a unconditional jump
* [PHP-718] - ZTS Broken in master
* [PHP-723] - Possibly invalid read in MongoCollection getter
* [PHP-731] - Memory leak during failover
* [PHP-732] - Improve error message during failover
* [PHP-734] - Possible segfaults when error_message is not set
* [PHP-735] - Queries/commands to mongos should inherit read preferences from MongoDB and MongoCollection objects
* [PHP-736] - MongoClient connection fails if RP tags match nothing
* [PHP-737] - Missing RP tags parse error message using MongoClient options array
* [PHP-741] - Passive replicaset members (priority=0) not used for secondary reads
* [PHP-746] - The getBytes method may return random data in particular conditions.
* [PHP-751] - When a secondary goes into recovery mode, we should disconnect from it
* [PHP-759] - Write operations apply ReadPreferenceTags when finding primary
* [PHP-770] - Missing error code for "field names must be strings" MongoException
* [PHP-776] - MongoCollection::batchInsert() with empty options array segfaults
* [PHP-779] - Cannot read from secondaries when connecting directly (standalone connection)
* [PHP-781] - MongoCollection::count() should not leak, and throw exception instead of returning GLE document
* [PHP-792] - Memory leak while reading an INT64 on a 32bit platform with native_long enabled
* [PHP-795] - MongoCode segfaults when internal 'code' property is modified
* [PHP-800] - Error codes for some errors in bson.c are re-used.
** Deprecated Functionality
* [PHP-780] - Deprecate slaveOkay & timeout URI options
* [PHP-793] - Add deprecation notice to non-array options for MongoDB::createCollection
* [PHP-801] - Deprecate boolean options to MongoCollection::insert()
* [PHP-802] - Deprecate boolean options to MongoCollection::ensureIndex()
* [PHP-805] - Deprecate (for real) the "chunks" option in MongoGridFS::__construc
** Task
* [PHP-314] - Improve connection string documentation/pooling
* [PHP-437] - Update ZEND_MODULE_API_NO to use PHP_VERSION_ID to be more clear
* [PHP-475] - Create functional phpt tests for read preference exceptions
* [PHP-496] - Added a few examples to MongoDB::runCommand() for more examples
* [PHP-542] - Put all exception classes into their own file(s)
* [PHP-563] - Strongly advise users not to create immortal MongoCursors
* [PHP-674] - Remove mention of OSX/Windows GitHub downloads from documentation
* [PHP-694] - Split out types and gridfs classes into their own files.
* [PHP-695] - Remove mention of PHPUnit from documentation
* [PHP-702] - DOC - Support the autoIndexId option for createCollection
* [PHP-725] - Re-organise option parsing in mcon/parse.c
* [PHP-738] - Add replica set tags to test suite
* [PHP-745] - Add Replicaset Tags to sharding test suite
* [PHP-748] - Add vim modelines
* [PHP-749] - Improve fragile checks for max_message_size in tests
* [PHP-767] - Create prototypes for GridFS classes
* [PHP-768] - Create prototypes for MongoCollection class
* [PHP-771] - Time expectations mongo.is_master_interval test are fragile
* [PHP-788] - Document journal/fsync MongoClient connection options
* [PHP-789] - Document fsync, j, and wtimeout options for MongoCollection write operations
</notes>
</release>
<release>
<date>2013-05-10</date>
<time>13:45:11</time>
<version>
<release>1.4.0RC1</release>
<api>1.4.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-776] - MongoCollection::batchInsert() with empty options array segfaults
* [PHP-781] - MongoCollection::count() should not leak, and throw exception instead of returning GLE document
* [PHP-792] - Memory leak while reading an INT64 on a 32bit platform with native_long enabled
* [PHP-795] - MongoCode segfaults when internal 'code' property is modified
* [PHP-800] - Error codes for some errors in bson.c are re-used.
** Improvement
* [PHP-744] - Support the oplog_replay query flag
* [PHP-775] - MongoCursor->hint() can't hint on a index by name
** Task
* [PHP-475] - Create functional phpt tests for read preference exceptions
* [PHP-780] - Deprecate slaveOkay & timeout URI options
* [PHP-788] - Document journal/fsync MongoClient connection options
* [PHP-793] - Add deprecation notice to non-array options for MongoDB::createCollection
* [PHP-801] - Deprecate boolean options to MongoCollection::insert()
* [PHP-802] - Deprecate boolean options to MongoCollection::ensureIndex()
* [PHP-805] - Deprecate (for real) the "chunks" option in MongoGridFS::__construct
</notes>
</release>
<release>
<date>2013-04-25</date>
<time>11:47:11</time>
<version>
<release>1.4.0beta1</release>
<api>1.4.0beta1</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-296] - Many of the zend_hash_find calls for options etc do not check or convert correctly for datatype issues.
* [PHP-316] - When using replica sets and setSlaveOkay queries slow if a secondary is down...
* [PHP-371] - Replication connection string hangs for quite some time when a machine that is listed is physically down
* [PHP-447] - Inconsistent error for unsupported database commands on mongod and mongos
* [PHP-508] - Change BSON ID generation to use random "increment"
* [PHP-554] - MongoId should not get constructed when passing in an invalid ID.
* [PHP-651] - Slow connection to the replica set with one member down
* [PHP-653] - is_master() failing with mongodb <= 1.8.3
* [PHP-664] - Add support for SSL and certificate validation
* [PHP-675] - Test for PHP-511 broken
* [PHP-686] - Constant attempt to reconnect to a down server takes too long
* [PHP-693] - MongoCursor timeout not used when reading data
* [PHP-696] - mongo_io_wait_with_timeout() waits 10 seconds instead of one for "no socket timeout"
* [PHP-698] - Segmentation Fault - in mongo_deregister_callback_from_connection when calling MongoClient->close()
* [PHP-704] - Incorrect failure checks for stream reads
* [PHP-707] - Replication with 1.8 does not work
* [PHP-715] - Crash in PHP driver on Apache
* [PHP-717] - (Almost) All tests leak and has a unconditional jump
* [PHP-718] - ZTS Broken in master
* [PHP-723] - Possibly invalid read in MongoCollection getter
* [PHP-731] - Memory leak during failover
* [PHP-732] - Improve error message during failover
* [PHP-734] - Possible segfaults when error_message is not set
* [PHP-735] - Queries/commands to mongos should inherit read preferences from MongoDB and MongoCollection objects
* [PHP-736] - MongoClient connection fails if RP tags match nothing
* [PHP-737] - Missing RP tags parse error message using MongoClient options array
* [PHP-741] - Passive replicaset members (priority=0) not used for secondary reads
* [PHP-746] - The getBytes method may return random data in particular conditions.
* [PHP-748] - Add vim modelines
* [PHP-751] - When a secondary goes into recovery mode, we should disconnect from it
* [PHP-759] - Write operations apply ReadPreferenceTags when finding primary
* [PHP-770] - Missing error code for "field names must be strings" MongoException
* [PHP-779] - Cannot read from secondaries when connecting directly (standalone connection)
** Improvement
* [PHP-437] - Update ZEND_MODULE_API_NO to use PHP_VERSION_ID to be more clear
* [PHP-572] - Add support for "journal" and "fsync" connection string options
* [PHP-702] - DOC - Support the autoIndexId option for createCollection
* [PHP-738] - Add replica set tags to test suite
* [PHP-745] - Add Replicaset Tags to sharding test suite
* [PHP-749] - Improve fragile checks for max_message_size in tests
* [PHP-771] - Time expectations mongo.is_master_interval test are fragile
** New Feature
* [PHP-303] - Support the autoIndexId option for createCollection
* [PHP-490] - "nolock" option in MongoDB::execute method
* [PHP-716] - Allow cursor to report chosen RS member
** Task
* [PHP-496] - Added a few examples to MongoDB::runCommand() for more examples
* [PHP-506] - Ensure Mongo constructor casts passwords to strings
* [PHP-537] - Update limits according to default (16MB) or server info (maxMessageSizeBytes)
* [PHP-542] - Put all exception classes into their own file(s)
* [PHP-563] - Strongly advise users not to create immortal MongoCursors
* [PHP-610] - Remove the mongo.utf8 setting
* [PHP-674] - Remove mention of OSX/Windows GitHub downloads from documentation
* [PHP-694] - Split out types and gridfs classes into their own files.
* [PHP-695] - Remove mention of PHPUnit from documentation
* [PHP-725] - Re-organise option parsing in mcon/parse.c
** Sub-task
* [PHP-767] - Create prototypes for GridFS classes
* [PHP-768] - Create prototypes for MongoCollection class
</notes>
</release>
<release>
<date>2013-03-26</date>
<time>09:37:52</time>
<version>
<release>1.3.6</release>
<api>1.3.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>
** Improvement
* [PHP-535] - Run commands on Replication Secondaries
</notes>
</release>
<release>
<date>2013-03-15</date>
<time>11:28:32</time>
<version>
<release>1.3.5</release>
<api>1.3.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>
** Improvement
* [PHP-665] - Add support for MongoDB 2.4 auth source
</notes>
</release>
<release>
<date>2013-01-31</date>
<time>11:55:32</time>
<version>
<release>1.3.4</release>
<api>1.3.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-355] - PHP 1.2/1.3 Driver does not honour connection 'timeout'
* [PHP-356] - PHP 1.3.0dev does not honor connection timeout
* [PHP-366] - PHP Mongo's driver has no effects on Mongo Cursor timeout
* [PHP-385] - GridFS::storeFile with a string argument for 2Gb files
* [PHP-457] - Setting batchSize and sorting returns incorrect number of records
* [PHP-491] - Forking and connection handling still fails
* [PHP-539] - Exception when w - on MongoCollection - is set greater than 2
* [PHP-585] - GridFS incorrectly reports w=1 as w=0
* [PHP-586] - GridFS should only do one GLE
* [PHP-592] - Unable to switch to new PRIMARY
* [PHP-609] - MongoGridFS::put no returning MongoId despite inserting file
* [PHP-613] - sort out timeout vs wtimeout mess
* [PHP-630] - Seg faults on OS X
* [PHP-650] - Segmentation fault when using findAndModify()
* [PHP-661] - GridFS memory leaks
* [PHP-667] - Off-by-one error in BSON deserialization of pre-epoch dates
* [PHP-668] - setReadPreference() should allow empty $tags array for primary mode
* [PHP-670] - Remove misplaced MongoId in getIndexInfo() expected ouput docs
* [PHP-672] - MongoGridFSFile::write() leaks memory
* [PHP-673] - Failing tests on mongod 2.3
* [PHP-676] - Collection level write concern overwritten by deprecated "safe" option
* [PHP-679] - setReadPreference() should clear out existing tags if none are provided
* [PHP-680] - mongo_read_preference_dtor() will segfault if invoked twice
* [PHP-681] - setReadPreference() should not modify read preferences if an error occurs
* [PHP-682] - Remove redundant MongoGridFSCursor::key() implementation
* [PHP-683] - Add support for the connectTimeoutMS connection parameter
* [PHP-687] - MongoDate usec not properly decoded on 32-bit platform
* [PHP-688] - Default connect() timeout is 1000 _seconds_, not milliseconds
* [PHP-690] - Percentage symbol is not escaped in error message about duplicate entries
* [PHP-691] - Memory leak during master failover
** New Feature
* [PHP-684] - Support socketTimeoutMs
* [PHP-685] - wtimeout option is not supported per-query
** Task
* [PHP-479] - Fix all compiler warnings
* [PHP-658] - Add error codes for GridFSExceptions througout gridfs.c
* [PHP-666] - Update read preference documentation
* [PHP-669] - Document that setReadPreference() will raise a warning if tags are specified with primary mode
* [PHP-671] - Document array return value for ensureIndex when using write preferences
* [PHP-689] - Tiny test fixes
</notes>
</release>
<release>
<date>2013-01-16</date>
<time>14:42:32</time>
<version>
<release>1.3.3</release>
<api>1.3.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-375] - GridFS segfaults when there are more chunks than expected
* [PHP-603] - MongoGridFS::storeUpload() stores multiple files with same $metadata
* [PHP-617] - Use real error codes for MongoConnectionException on ctor failure
* [PHP-621] - GridFS test tests/generic/bug00320.phpt has a double free issue
* [PHP-627] - MongoConnection::aggregate() helper breaks on single pipeline operator argument
* [PHP-635] - Passing a collection as second argument to MongoCursor::__construct() turns it into a string
* [PHP-636] - MongoConnectionException when Mongo server restarted
* [PHP-637] - Deal with negative timestamps in MongoDate
* [PHP-638] - Read preference get/set methods are not consistent
* [PHP-639] - MongoCursor::slaveOkay() has no effect in 1.3.2
* [PHP-644] - mongo.ping_interval and mongo.is_master_interval is unused
* [PHP-647] - isMaster defaults non-master, non-arbiter connections to secondary
* [PHP-656] - Add host, port and node type to the MongoCursor::info() return value.
** Improvement
* [PHP-383] - Insufficient documentation about the driver-generated document _id passing technique
* [PHP-483] - Implement MongoCursor::setReadPreference()
* [PHP-620] - Update PHP documentation regarding the "n" value that is returned on write acknowledged operations
** Task
* [PHP-387] - Add examples to GridFS storeBytes, storeFile and storeUpload functions
* [PHP-479] - Fix all compiler warnings
</notes>
</release>
<release>
<date>2012-12-18</date>
<time>10:54:32</time>
<version>
<release>1.3.2</release>
<api>1.3.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-308] - Incorrect method declaration
* [PHP-418] - Use descending date order for changelog entries
* [PHP-612] - Impossible to provide a list of tagsets to the readPreferenceTags options
* [PHP-623] - Segmentation fault (11)
* [PHP-625] - the windows 1.30+ dll MongoCollection findandmodify method will throw a excption which not on linux platform
* [PHP-629] - Missing support for passing the username/password in the $options array
* [PHP-631] - One replica set, but two different db/user/passwords
* [PHP-632] - MongoDB::authenticate() no longer attempts to authenticate, and doesn't return anything either
* [PHP-633] - findAndModify sometimes throws exception on success
* [PHP-634] - Mongo PHP driver v1.3.1/1.3.2RC1 fail to connect to mongoDB 1.6.3
* [PHP-640] - The secondaryPreferred read preference always considers the primary node too.
* [PHP-641] - MongoLog::setModule/setLevel don't reset for each request
** Improvement
* [PHP-317] - slaveOk option not documented in Mongo.__construct()
* [PHP-529] - Document that MongoCollection::save() may set _id
* [PHP-626] - Implement Read Preferences support with sharding.
</notes>
</release>
<release>
<date>2012-12-07</date>
<time>17:47:32</time>
<version>
<release>1.3.2RC1</release>
<api>1.3.2</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-308] - Incorrect method declaration
* [PHP-418] - Use descending date order for changelog entries
* [PHP-612] - Impossible to provide a list of tagsets to the readPreferenceTags options
* [PHP-625] - the windows 1.30+ dll MongoCollection findandmodify method will throw a excption which not on linux platform
* [PHP-629] - Missing support for passing the username/password in the $options array
* [PHP-631] - One replica set, but two different db/user/passwords
* [PHP-632] - MongoDB::authenticate() no longer attempts to authenticate, and doesn't return anything either
* [PHP-633] - findAndModify sometimes throws exception on success
** Improvement
* [PHP-317] - slaveOk option not documented in Mongo.__construct()
* [PHP-529] - Document that MongoCollection::save() may set _id
* [PHP-626] - Implement Read Preferences support with sharding.
</notes>
</release>
<release>
<date>2012-12-04</date>
<time>16:00:32</time>
<version>
<release>1.3.1</release>
<api>1.3.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-564] - Segfault occurs on some of the queries
* [PHP-580] - Segfault while running phpunit
* [PHP-583] - Replace slave language in MongoClient::getHosts() documentation with read preferences
* [PHP-584] - Update and remove options have reversed keys in the description
* [PHP-590] - Segfaults in Mongo PHP driver 1.3RC3
* [PHP-594] - Review the install guide
* [PHP-595] - Restructure manual
* [PHP-596] - mongo.allow_persistent doesn't exist anymore
* [PHP-597] - Remove mongo.no_id
* [PHP-598] - Incorrect constant values for MongoClient::RP_*
* [PHP-599] - Update Changelog with 1.3. changes
* [PHP-600] - Document MongoClient::getConnections()
* [PHP-601] - Document WriteConcerns
* [PHP-602] - No longer possible to get field information from $cursor->info()
* [PHP-605] - Change in behaviour for return value of unsafe writes
* [PHP-611] - Segfault when no candidate servers found
* [PHP-616] - MongoGridFS::get() only accepts MongoId arguments
* [PHP-618] - PHP Driver failure on OSX
* [PHP-619] - Connection failure
* [PHP-622] - MINKEY is not deserialized properly when reading back from MongoD (on 32bit platforms)
** Improvement
* [PHP-561] - Handle empty database name better
** Task
* [PHP-544] - Update any documentation and tutorials for w=1 default and MongoClient usage
* [PHP-558] - Document Mongo::getConnections()
* [PHP-566] - Update setSlaveOkay documention to reflect deprecation correctly, and point to setReadPreference/connection strings
* [PHP-567] - Update "queries" documentation at http://www.php.net/manual/en/mongo.queries.php to show the new read preferences
* [PHP-588] - Update versions.xml in documentation
* [PHP-589] - Rename master/slave to primary/secondary in documentation
</notes>
</release>
<release>
<date>2012-11-27</date>
<time>16:00:32</time>
<version>
<release>1.3.0</release>
<api>1.3.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-576] - mongo.is_master_interval unused
* [PHP-577] - mongo.ping_interval unused
* [PHP-590] - Segfaults in Mongo PHP driver 1.3RC3
** Improvement
* [PHP-587] - Change readPreference constants to be strings
** Task
* [PHP-545] - Update presentations for write=1 default and MongoClient
* [PHP-575] - Handle email to library owners regarding w=1 by default
* [PHP-591] - Check whether all MLOG modules and levels are correctly applied
</notes>
</release>
<release>
<date>2012-11-20</date>
<time>13:22:32</time>
<version>
<release>1.3.0RC3</release>
<api>1.3.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-543] - mongo::connect() should return a bool value
* [PHP-568] - The driver crashes after having copied a server definition to resolve authenticated connections
* [PHP-574] - Problems with auth-switch and wrong credentials
** Improvement
* [PHP-569] - Add support for w=0 and make sure append_getlasterror sets the correct flags
** New Feature
* [PHP-557] - Implement w=0/w=1 as specific values for writeConcerns.
** Task
* [PHP-565] - Add license headers to the files in mcon/
</notes>
</release>
<release>
<date>2012-11-12</date>
<time>11:00:32</time>
<version>
<release>1.3.0RC2</release>
<api>1.3.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-377] - Uncaught exception 'MongoCursorException' with message 'couldn't send query: ' from PHP
* [PHP-559] - The wrong connection is sometimes picked when there are two connections open
* [PHP-334] - Close connection with ReplicaSet
** Improvement
* [PHP-171] - It'd be nice if mongo was playing nicely with pcntl php extension
** Task
* [PHP-491] - Forking and connection handling still fails
* [PHP-552] - Document connection string options
* [PHP-553] - Make 1.3.x work with PHP 5.2.x
* [PHP-562] - Document changes to Mongo::close().
</notes>
</release>
<release>
<date>2012-11-05</date>
<time>10:00:32</time>
<version>
<release>1.3.0RC1</release>
<api>1.3.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>
This is the first release candidate of the 1.3 series. The 1.3 series are
a major improvement with a completely rewritten connection handling backend. It has been
rewritten to form a new improved framework for handling connections. On top of
this new framework, new functionality is also implemented to provide read
preference support that comes with MongoDB 2.2. The new framework no longer has
the concept of a connection pool, but instead make sure there is only one
connect per node/db/username.
New major features in this release to support the MongoDB 2.2 release:
- Support for the aggregation framework through the aggregate() helper.
- Support for read preferences and read preference tags (See:
http://docs.mongodb.org/manual/applications/replication/#replica-set-read-preference)
- Support for connections to multiple mongos nodes.
The whole list of resolved tickets (since 1.3.0beta2) follows:
** Bug
* [PHP-202] - Too many open files
* [PHP-285] - Cursor not found sometimes when slaveOkay in replica set
* [PHP-315] - Random "unauthorized db" messages
* [PHP-321] - Lazy loading of connections doesn't work with Replica Sets
* [PHP-347] - MongoPool not working as expected when using php-fpm / cgi - a pool seems to be created per each child process
* [PHP-350] - couldn't send query:
* [PHP-364] - Stale connection in connection pool after restarting MongoDB server
* [PHP-373] - Overriding batchInsert
* [PHP-411] - Mongo says it is connected.. when it isn't. (when connecting to replicaset)
* [PHP-424] - cannot determine master when slave(s) are down
* [PHP-426] - Connection pool not paying attention to authentication when using replicaSet=true
* [PHP-464] - Re-implement ->connected
* [PHP-468] - Undefined behavior calling MongoGridFSFile::write() without a filename
* [PHP-471] - Update documentation for MongoGridFSCursor::key() returning ObjectId instead of filename
* [PHP-480] - Throw an error when not all members of the seed lists are in the same replicaset
* [PHP-481] - setSlaveOkay / read preferences don't set slaveOkay flag correctly.
* [PHP-482] - Aggregate() method leaks
* [PHP-484] - Authenticating against normal db doesn't work
* [PHP-485] - Update (and other methods) in safemode crash under certain conditions.
* [PHP-486] - GridFS cleanup routines remove existing files
* [PHP-487] - Connect to replicaset member in standalone mode
* [PHP-488] - GridFS failures no longer throw MongoGridFSException
* [PHP-489] - is_master() crashes for standalone servers
* [PHP-499] - Re-order changelogs in documentation
* [PHP-500] - MongoCollection insert, update and remove no longer return booleans
* [PHP-502] - w can pick up garbage memory
* [PHP-504] - Build error on FreeBSD (missing sys/socket.h)
* [PHP-507] - Chunks are not removed completely when using the justOne option with MongoGridFS::remove
* [PHP-510] - Memory leak in GridFS
* [PHP-511] - Setting slaveOkay on MongoDB doesn't get passed properly to MongoCollection
* [PHP-512] - RS handover is not handled correctly
* [PHP-515] - Re-implement ->close()
* [PHP-518] - Segmentation Fault with php-1.2.12
* [PHP-521] - Build failures with PHP 5.2 and 5.4.
* [PHP-528] - MongoLog::getCallback() segfaults if no callback was set.
* [PHP-533] - Callback map for destroying cursors
* [PHP-548] - Make the w property support string
** Improvement
* [PHP-176] - Ability to choose which slaves to (not) read from
* [PHP-218] - Add driver standard connection URI options
* [PHP-292] - Mention MongoPool::setSize makes connection creation block if no connections available
* [PHP-298] - Support safe write default through the connection string
* [PHP-459] - MongoCollection::update doc should have a note about bug #PHP-50
* [PHP-492] - Implement a method to return all opened connections
* [PHP-501] - Add Unix domain socket support back into the driver
* [PHP-516] - Document sparse and expireAfterSeconds index options