forked from mongodb/mongo-php-driver-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.xml
More file actions
1377 lines (1309 loc) · 46.4 KB
/
package.xml
File metadata and controls
1377 lines (1309 loc) · 46.4 KB
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>
<developer>
<name>Jeremy Mikola</name>
<user>jmikola</user>
<email>jmikola@php.net</email>
<active>yes</active>
</developer>
<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>
<contents>
<dir baseinstalldir="/" name="/">
<file role="src" name="config.m4" />
<file role="src" name="config.w32" />
<file role="doc" name="README.md"/>
<file role="src" name="php_mongo.c"/>
<file role="src" name="php_mongo.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="mongo_types.c"/>
<file role="src" name="mongo_types.h"/>
<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="db.c"/>
<file role="src" name="db.h"/>
<file role="src" name="cursor.c"/>
<file role="src" name="cursor.h"/>
<file role="src" name="gridfs.c"/>
<file role="src" name="gridfs.h"/>
<file role="src" name="gridfs_stream.c"/>
<file role="src" name="gridfs_stream.h"/>
<file role="src" name="util/hash.c"/>
<file role="src" name="util/hash.h"/>
<file role="src" name="util/log.c"/>
<file role="src" name="util/log.h"/>
<file role="src" name="util/pool.c"/>
<file role="src" name="util/pool.h"/>
<file role="src" name="mcon/bson_helpers.h"/>
<file role="src" name="mcon/collection.h"/>
<file role="src" name="mcon/connections.h"/>
<file role="src" name="mcon/io.h"/>
<file role="src" name="mcon/manager.h"/>
<file role="src" name="mcon/mini_bson.h"/>
<file role="src" name="mcon/parse.h"/>
<file role="src" name="mcon/read_preference.h"/>
<file role="src" name="mcon/str.h"/>
<file role="src" name="mcon/types.h"/>
<file role="src" name="mcon/utils.h"/>
<file role="src" name="mcon/bson_helpers.c"/>
<file role="src" name="mcon/collection.c"/>
<file role="src" name="mcon/connections.c"/>
<file role="src" name="mcon/io.c"/>
<file role="src" name="mcon/manager.c"/>
<file role="src" name="mcon/mini_bson.c"/>
<file role="src" name="mcon/parse.c"/>
<file role="src" name="mcon/read_preference.c"/>
<file role="src" name="mcon/str.c"/>
<file role="src" name="mcon/utils.c"/>
</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-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
* [PHP-522] - Support w, and wtimeout in connection string
* [PHP-526] - Create new exception to be thrown for runtime errors in command helpers
* [PHP-532] - Return full result document from command wrappers
** Question
* [PHP-271] - MongoCursorException - Couldn't get response header
* [PHP-274] - Connection pooling a replica shutdon
** Task
* [PHP-412] - Connecting to replicaset with authentication without providing any credentials..
* [PHP-414] - Revise MongoLog documentation
* [PHP-460] - Add docs mention of connecting to a sharded cluster / mongos
* [PHP-476] - Add documentation for the Aggregate Framework
* [PHP-477] - Add documentation for read preferences
* [PHP-478] - Compile and test on Windows
* [PHP-479] - Fix all compiler warnings
* [PHP-493] - Make aggregate to return the full command document, and not just the "result" field.
* [PHP-494] - Document MongoCollection::findAndModify()
* [PHP-495] - Make findAndModify() to return the full command document, and not just the "value" field.
* [PHP-497] - Make authentication documentation more explicit
* [PHP-498] - Check default database for authentication in 1.3.x
* [PHP-505] - Document MongoLog::setCallback
* [PHP-519] - Document un-deprecation of get/setSlaveOkay() for 1.2.12
* [PHP-520] - Remove MongoDB::authenticate() example from connection documentation
* [PHP-531] - Restore MongoPool class/methods as no-ops with deprecation warnings
</notes>
</release>
<release>
<date>2012-08-16</date>
<time>13:33:32</time>
<version>
<release>1.3.0beta2</release>
<api>1.3.0beta2</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 a new major release, which has a 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.
We also have introduced some deprecation notices for features and methods that
are going to disappear in version 2 of the driver, which we plan to release
before the end of the year.
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)
Known issues (to be addressed before 1.3.0):
- Authentication has not been implemented it, so this release will only work
for installations without authentication enabled.
- Support for connections to multiple mongos nodes is not implemented yet.
- It has not been tested on anything but Linux.
The rest of the standard changelog:
** Bug
* [PHP-293] - listCollections
* [PHP-300] - execute crashes with array() as argument
* [PHP-354] - CLONE - "couldn't send query: Broken pipe" when using forked processes in 1.2.9
* [PHP-373] - Overriding batchInsert
* [PHP-429] - MongoDB::selectCollection() causes Segmentation fault
* [PHP-433] - GridFS safe option overwritten
* [PHP-436] - MongGridFS::storeUpload() breaks on HTML5 multiple file upload
* [PHP-445] - Cannot use mongo.default_host with Mongo constructor options
* [PHP-446] - Uncaught exception 'MongoCursorException' with message 'couldn't send query: ' when find()ing items on an empty collection
* [PHP-454] - Memory leak when many inserts
* Note: More might have been fixed, but those issues need to be verified
first.
** Improvement
* [PHP-270] - ext/mongo classes should return meaningful results from Reflection API
* [PHP-389] - Support setting query flags (opts)
* [PHP-403] - bson_encode and bson_decode should trigger warnings for non-document BSON objects
** New Feature
* [PHP-79] - GridFS stream wrapper
* [PHP-117] - Implement findAndModify
* [PHP-280] - Allow MongoLog to log to Pear Log module
** Question
* [PHP-333] - MongoGridFSCursor::key
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.12</release>
<api>1.2.12</api>
</version>
<date>2012-07-24</date>
<time>10:51:00</time>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
<notes>
** Bug
* [PHP-443] - Add zend_parse_parameters_none for PHP 5.2 builds
* [PHP-444] - Undeprecate getSlaveOkay()/setSlaveOkay() on Mongo, MongoDB
and MongoCollection; and getSlave() on Mongo.
** Improvement
* [PHP-442] - Fixed a typo in "MongoBinData::__construct(): The default
value for type will change to 0 in the future"
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.11</release>
<api>1.2.11</api>
</version>
<date>2012-07-19</date>
<notes>
** Bug
* [PHP-207] - setSlaveOkay not supported for GridFS queries
* [PHP-266] - segfault when connection string refers to unknown replica set member
* [PHP-269] - Mongo::__construct should only throw MongoConnectionException
* [PHP-331] - PHP segfaults when master changes
* [PHP-339] - Seg fault on insert timeout
* [PHP-359] - getPID() does not return expected PID when called on custom MongoID object
* [PHP-368] - uploadDate is missing in the file property of the MongoGridFSFile class.
* [PHP-369] - GridFS segfaults when iterating with an _id field set in the result object
* [PHP-372] - Error codes not being passed to MongoGridFSException
* [PHP-382] - When 'replicaSet' option is used, authentication calls are being sent to the arbiter server
* [PHP-384] - Segfault for GridFS with long_as_object option
* [PHP-388] - Cursors don't get closed after limit() is exhausted
* [PHP-391] - The driver crashes when there are more than FD_SETSIZE open file descriptors.
* [PHP-392] - Arbiter in the seed list acts wonky
* [PHP-394] - Crashes & mem leaks
* [PHP-397] - Endless loop on non-existing file
* [PHP-402] - MongoCollection::validate(true) doesn't set the correct scan-all flag.
* [PHP-408] - MongoBinData custom type is returned as -128
* [PHP-413] - Authentication with wrong password.. prints the password!
* [PHP-417] - MongoDBRef::isRef() returns null in some cases it should return false
* [PHP-420] - MongoDB::drop() doesn't warn about arguments
* [PHP-431] - PHP driver throws tons of NOTICE messages
* [PHP-434] - Mongo::connect() doesn't validate the object
* [PHP-435] - 1.2.11 doesn't build with PHP5.2
** Improvement
* [PHP-389] - Support setting query flags (opts)
* [PHP-428] - Coverage statistics
* [PHP-430] - Deprecate "old ways" which will be removed in 2.0.0
** Task
* [PHP-405] - Migrate PHPUnit tests to phpt
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.10</release>
<api>1.2.10</api>
</version>
<date>2012-04-06</date>
<notes>
** Bug
* [PHP-329] - MongoCursorException with Apache while master steps down
* [PHP-335] - 1.2.8/1.2.9 don't compile with PHP < 5.3
* [PHP-337] - failover with replicaset
* [PHP-340] - MongoCursorException - could not determine master
* [PHP-343] - PHP segfaults when adding a file to GridFS after upgrade to 1.2.9
* [PHP-344] - Segmentation Fault on $grid->storeFile('foo', $bar)
* [PHP-346] - getGridFS followed by storeBytes hangs request indefinitely
* [PHP-349] - MongoCursorTimeoutException causes connections not to close
* [PHP-351] - php driver doest close connection , when catch cursor timed out exception.
* [PHP-353] - Iterator key not set when _id field is not requested
* [PHP-361] - Mongo::getHosts() segfaults (at least when not connecting to a replica set)
** Improvement
* [PHP-352] - Return only one element after "iterator_to_array()" if exclude "_id" from field list
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.9</release>
<api>1.2.9</api>
</version>
<date>2012-02-23</date>
<notes>
BUG FIXES
* ZTS compile fixes
* Re-package due to bug in PEAR/PECL packaging system
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.8</release>
<api>1.2.8</api>
</version>
<date>2012-02-22</date>
<notes>
BUG FIXES
* PHP-306 - MongoID::__set_state does not work
* PHP-307 - getHosts() not working with 1.2.7
* PHP-311 - Apache httpd segfault with PHP mongo 1.2.7
* PHP-312 - Seg fault with curl POST + mongo replicaset close
* PHP-313 - Kill cursor can be called on a different connection than the one the cursor was created on
* PHP-319 - Issues when the the driver tests for other connections to close if it find a "bad connection".
* PHP-320 - GridFS doesn't check for correct insertion of file-meta-document
* PHP-325 - mongo-php-driver abort with SEGV
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.7</release>
<api>1.2.7</api>
</version>
<date>2012-01-05</date>
<notes>
BUG FIXES
* PHP-204: ClusteredCursor::query not throwing an Exception
* PHP-262: Added persistent replicaSet container
* PHP-277: Remove cursor from list on cursor reset
* PHP-279: Make accessing connected property quiet
* PHP-286: Try ping on another connection when one fails
* PHP-300: Fixed segfault when execute() is given array() as argument.
* Make mongoLog settings thread safe.
* Fixed memory leaks
* Fixed issues with connection pooling
NEW FEATURES
* PHP-233: Added the continueOnError flag to batch_insert().
* PHP-268: Add slave buckets
* PHP-272: Randomly choose slaves from a given bucket
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.6</release>
<api>1.2.6</api>
</version>
<date>2011-09-30</date>
<notes>
BUG FIXES
* Patched connection closing code (Carlos Rodriguez)
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.5</release>
<api>1.2.5</api>
</version>
<date>2011-09-15</date>
<notes>
ENHANCEMENTS
* Add connection information to cursor exceptions, see
MongoCursorException::getHost.
* Allow metadata to be sent using MongoGridFS::storeUpload.
* Connections are now fork-safe.
* Removed username/password from connection URI parse exception message.
* Slight optimization of receiving database responses.
BUG FIXES
* Fixed replica set master determination with authentication enabled (which
would cause "invalid command" errors and segmentation faults).
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.4</release>
<api>1.2.4</api>
</version>
<date>2011-08-23</date>
<notes>
ENHANCEMENTS
* Added MongoLog::SERVER logging.
BUG FIXES
* Fixed compile for OS X.
* Fixed segfault with authentication on.
* Fixed "_isSelf not found" error.
* Allow non-replica-set connections to reconnect.
* Do not sleep for 0ms before initial query attempt (Hiroaki Kubota)
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.3</release>
<api>1.2.3</api>
</version>
<date>2011-08-15</date>
<notes>
ENHANCEMENTS
* Now compatible with PHP 5.4.
* Added MongoPool class for pool-related functionality:
- MongoPool::info() for pool information (equivalent to Mongo::poolDebug())
- MongoPool::setSize() to set max pool size (equivalent to Mongo::setPoolSize())
- MongoPool::getSize() to get max pool size (equivalent to Mongo::getPoolSize())
* Added MongoLog class for logging. Logging defaults to off, but log level
and what should be logged (e.g., io activity or replica set status) can be
tuned.
* Creating new instances of MongoId is faster.
BUG FIXES
* New connections created for replica sets now propegate custom timeouts set
on the original connection.
* Fix for replica set authentication. Connecting to a replica set with
"mongodb://user:pass@host" syntax would lose authentication info.
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.2</release>
<api>1.2.2</api>
</version>
<date>2011-07-21</date>
<notes>
Retry queries when safe to do so (minimizing exceptions on failover).
Block for "timeout" milliseconds when a connection pool is empty.
Fix a segfault affecting authentication to a single server.
Fix a segfault affecting deserialization of data larger than 4MB.
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.1</release>
<api>1.2.1</api>
</version>
<date>2011-07-07</date>
<notes>
More aggressive connection pool cleanup.
Fix replicaSet => false regression (1.2.0 would use a replica set connection
if replicaSet=>false was specified).
OS X Lion compile
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.2.0</release>
<api>1.2.0</api>
</version>
<date>2011-06-30</date>
<notes>
Uses nearest slave for reads with replica set connections.
Connection pooling
Autodetection of max BSON object size
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.1.4</release>
<api>1.1.4</api>
</version>
<date>2011-02-07</date>
<notes>
Fix MongoTimestamp serialization
Throw exception when an empty collection name is given
Be more paranoid about recv errors
Automatically reset query state after running explain()
Hack around some mongos command oddities
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.1.3</release>
<api>1.1.3</api>
</version>
<date>2011-01-06</date>
<notes>
Fixed non-persistent connection regression.
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.1.2</release>
<api>1.1.2</api>
</version>
<date>2011-01-05</date>
<notes>
Fixed PECL packaging.
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.1.1</release>
<api>1.1.1</api>
</version>
<date>2011-01-05</date>
<notes>
Fixed replica set persistent connection bug (PHP-184).
Make logging build use PHP logs.
Eliminate sharedFixture from test suite (PHP-180).
Made MongoTimestamp handle 64-bit integers correctly (PHP-179).
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<date>2010-12-08</date>
<notes>
Replica set reads can be distributed to slaves. This can be done by calling
setSlaveOkay on a connection, database, or collection. You can see the slave
that will be used with Mongo::getSlave and see/refresh the set status with
Mongo::getHosts.You can now see the server used for a query with
MongoCursor::info.
Added mongo.no_id php.ini option.
Better exception is thrown when the database is corrupt.
Fixed MongoDB::createCollection parameter parsing on 64-bit machines.
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.0.11</release>
<api>1.0.11</api>
</version>
<date>2010-11-5</date>
<notes>
Better replica set connection error handling
Added MongoCursor::batchSize()
Added mongo.allow_empty_keys option
Added unique codes for all MongoExceptions and MongoCursorExceptions
Added MongoId::getPID() and MongoId::getInc() methods
Added $id field to MongoId so that json_encode turns it into {$id:...}
Fixed cursor timeout bug
</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>1.0.10</release>
<api>1.0.10</api>