Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/doctrine/mongodb

PHP MongoDB Abstraction Layer
https://github.com/doctrine/mongodb

Changelog entry for 1.1.4

7fe54b70e4fd63dc39f2b43bbb272be4adb6c01f authored almost 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #164 from doctrine/cursor-hint

Allow string or array Cursor::hint() argument

e008cb57444c40908b90b2a5bdfb6235c2dbd635 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Allow string or array Cursor::hint() argument

fd306ce8980643bc8102f238c1b5864184e9bb02 authored almost 11 years ago by Gnucki <[email protected]>
Merge branch '1.0.x'

Conflicts:
lib/Doctrine/MongoDB/Cursor.php
lib/Doctrine/MongoDB/LoggableCursor.php

1eebd3e15b10c16cb9f435afeeb4994e32c13d5c authored almost 11 years ago by Jeremy Mikola <[email protected]>
Changelog entry for 1.0.7

7a81ba9428d08c82016b48bdcf4cd0888a26a3f0 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #163 from doctrine/1.0.x-hint

Revert "Allow string or array Cursor::hint() argument"

1a38007ab1a516a7f9123c118822b79d8d876272 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Revert "Allow string or array Cursor::hint() argument"

This reverts commit acf548cb4e7e4a6d04587513356dbefc5c9cd6b9.

91429c0923b068848a9369019a66b79eced58545 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Changelog entry for 1.1.3

7b070b43652296b680f3f5f237b39d0aaa13edb1 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Merge branch '1.0.x'

88af7bfc7e6d510aae0d49a0fbc7c69782049f68 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Fix getMockCursor doc blocks in EagerCursor and Query tests

3bddf5797cd6878c83d55b2767fbc077b04ae0a0 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Merge branch '1.0.x'

Conflicts:
lib/Doctrine/MongoDB/Cursor.php
lib/Doctrine/MongoDB/EagerCursor.php
lib/Doctrine/...

5a9ba3c9777993a8cf5f51213838248a6bff69ec authored almost 11 years ago by Jeremy Mikola <[email protected]>
Changelog entry for 1.0.6

9031c29644700c07cf01d182ca10eff4e9b4ea2c authored almost 11 years ago by Jeremy Mikola <[email protected]>
Fix formatting for 1.0.5 changelog entry

822b5794c3e5fba5226cdad31f668786ec0a61a7 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #159

42fca1008beb24478e9cbdd94ef4d22846784bf8 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Allow string or array Cursor::hint() argument

acf548cb4e7e4a6d04587513356dbefc5c9cd6b9 authored almost 11 years ago by Gnucki <[email protected]>
Merge pull request #161 from doctrine/1.0.x-eagercursor

Fix EagerCursor::getSingleResult() behavior

3dfe206bfa5afa6f4e401956b59d38e08f0caa78 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Split EagerCursorTest into unit and functional tests

Functional test for Query preparing an EagerCursor is moved to QueryTest. EagerCursorTest is now...

0253ded22fd5699f6e6303ebb2a3ba2ba18e025a authored almost 11 years ago by Jeremy Mikola <[email protected]>
EagerCursor::getSingleResult() should return null for no results

5b85fafbc916fdc50a0ca7ddffa83b0a530054bb authored almost 11 years ago by Jeremy Mikola <[email protected]>
EagerCursor::getSingleResult() should always return first element

204b3261e5313db07652911e02d2fb37000a7b87 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #157 from crystalservice/1.0.x

Fix createCollection event dispatching

d811f2f16c31f5cc64445cdd69c6e367cd8f36bd authored almost 11 years ago by Jeremy Mikola <[email protected]>
Fixed pre and post CreateCollection dispatching

4f06d4c6fb48b1d5cd2b97ec8a3a39f6451c3b77 authored almost 11 years ago by Mikhail Shamin <[email protected]>
Changelog entry for 1.1.2

ac63fdf9847a5ec6d44721526623e8bddaa25fe6 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Merge branch '1.0.x'

Conflicts:
lib/Doctrine/MongoDB/Cursor.php

08a1f7c490071332c746f3be091fc989d8f5b325 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Changelog entry for 1.0.5

1078503082d0ae974e6aa0ee5b4d78cedb8f7ae8 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #150

cb0253987458dfb2fd3950c28163a4a5eabdaec2 authored almost 11 years ago by Jeremy Mikola <[email protected]>
Cursor::getSingleResult() should not use keys in toArray()

This allows a document with a non-scalar identifier to be returned.

4a8822be85f6762bc58074e1526376bdfe87096f authored almost 11 years ago by Jonathan H. Wage <[email protected]>
Reformat 1.1.x changelog

8e70387c44195dba5ea12202b1a447b1e34dc7da authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge branch '1.0.x'

74d1a0279ee5d23534d93f8519c57076d45ebf08 authored about 11 years ago by Jeremy Mikola <[email protected]>
Reformat 1.0.x changelog

20ca7294a7f10cd4c2eccec5ed7ad912588ed0ad authored about 11 years ago by Jeremy Mikola <[email protected]>
Create changelog document for 1.1.x series

1e3f6144adf5c1e1f7c0cf8fa6bdb44bb2e6dcf4 authored about 11 years ago by Jeremy Mikola <[email protected]>
Add link formatting to 1.1 upgrade document

0c303c572b736b5621b2660295501e49e72786d6 authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #149 from doctrine/batchSize-cast

Use integer-casted argument in Cursor::batchSize()

4476ae33250eb7d0641824458a03872c54f1d780 authored about 11 years ago by Jeremy Mikola <[email protected]>
Use integer-casted argument in Cursor::batchSize()

5a155c8701c530e5898ae2e2524f52568ff7b26c authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #148 from doctrine/cursor-getSingleResult

Reset cursor before and after getSingleResult()

cf73ea2a749df48133f3afeec57afca9fb0f34c5 authored about 11 years ago by Jeremy Mikola <[email protected]>
Reset cursor before and after getSingleResult()

4783296afa07bc626941180b2569e6213876153d authored about 11 years ago by Jeremy Mikola <[email protected]>
Update pull request list for 1.1

0d90296cf98c043b331209a609cb165fb038802e authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #147 from doctrine/expr-mod

Expr::mod() should take explicit divisor/remainder args

1a5401a1bf7eed836940cb77708c0a86706f6ce1 authored about 11 years ago by Jeremy Mikola <[email protected]>
Expr::mod() should take explicit divisor/remainder args (fixes #146)

300527510a057d77ec6192f304f8c2976dadf163 authored about 11 years ago by Jeremy Mikola <[email protected]>
Document changes from 1.0 to 1.1

c5d60b8e4c3cc9a4dbdb451034aa8e8ea84c1db8 authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge branch '1.0.x'

72f48798ed00a95e9a6f245236977fff49373a24 authored about 11 years ago by Jeremy Mikola <[email protected]>
Create changelog for 1.0.x branch

58f80c00be3593aefa16c0a83357a9a8573873ae authored about 11 years ago by Jeremy Mikola <[email protected]>
Bump geojson dev requirement

2d349c4f711e72b5fb022be824c1857fbe754dc7 authored about 11 years ago by Jeremy Mikola <[email protected]>
Restore Query::TYPE_GEO_LOCATION constant for BC, but deprecate it

See: https://github.com/doctrine/mongodb/commit/9d0dde013a80aecf604c27eae701fc710aa6a921 and htt...

25a8025829b1fcbdd83d8d743e7166f4560d2640 authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #143 from doctrine/readPreference

Query builder read prefs and wrap driver classes directly

565477703885c9511da869ecbcc7796eee76e775 authored about 11 years ago by Jeremy Mikola <[email protected]>
Wrap driver classes directly and remove Connection reinit logic

Constructor signatures have changed. Collections and Databases are now constructed with the Mong...

39a2b7c7567b4609a58f3ea3f408d872fdbb7440 authored about 11 years ago by Jeremy Mikola <[email protected]>
Don't throw InvalidArgumentException in Cursor::setReadPreference()

The driver may emit an E_WARNING for invalid arguments, but the return value should always be th...

06fd9e9b99ef3d390e6a9752c9cdfb88b2bae08d authored about 11 years ago by Jeremy Mikola <[email protected]>
Test driver 1.4.4 in Travis

7b1da4ca56116a26bca9388c2c803c82e5952304 authored about 11 years ago by Jeremy Mikola <[email protected]>
Support read preferences in Query Builder

Read preferences will be applied during cursor preparation. For read-only commands, the read pre...

81e8e16eab4e8ef840fcc02a28364c3b77cec901 authored about 11 years ago by Jeremy Mikola <[email protected]>
Convert inconsistent read prefs from pre-1.3.3 drivers

MongoCursor::setReadPreference() is not affected, since its method wasn't implemented until 1.3.3.

a06d259500354930abecd6ba7010c917d693fc9d authored about 11 years ago by Jeremy Mikola <[email protected]>
Remove Database from Builder constructor

80c48fa915ccfb15f8b7215976cc05222e7d2b14 authored about 11 years ago by Jeremy Mikola <[email protected]>
Refactor retry() methods in Collection, Connection, and Database

2ef3fe9a61e0b37e2ff7fb34b7b01f14c6d4efaf authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge branch '1.0.x'

Conflicts:
lib/Doctrine/MongoDB/Collection.php
lib/Doctrine/MongoDB/GridFS.php
tests/Doctrine...

a66f879a628946824c4096bf6cd935ce40872dd1 authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #145 from doctrine/1.0.x-convertSafeOption

Convert "safe" write option to "w" for drivers 1.3.0+

401796e7a5ec3cea099d993fd0034235b917f1a8 authored about 11 years ago by Jeremy Mikola <[email protected]>
Allow 1.5.x driver versions in composer.json

Closes #144

fabcf492de51f4d34c251370e827e237fa1a773c authored about 11 years ago by Jeremy Mikola <[email protected]>
Convert "safe" write option to "w" for drivers 1.3.0+

This will help avoid deprecation notices in drivers 1.5.0+ (for code still using "safe").

c7b6ef9ad7140a9f29a7b964bbfa9ed16e00ffd1 authored about 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #139

ecbb32a868e8be9125982653b60f4f4ddf76d0d1 authored about 11 years ago by Jeremy Mikola <[email protected]>
Default to ascending order in Builder::sort()

cursor.sort() expects a value of 1 for ascending or -1 for descending. Calling Builder::sort($fi...

a8f37ebd32862fb11f0e0fb2485517017446498b authored about 11 years ago by gerryvdm <[email protected]>
Merge pull request #140

fc2da5001d955e4ea57e57860a21d982845b025e authored about 11 years ago by Jeremy Mikola <[email protected]>
Add Connection::initialize() calls to prevent usage of null objects

c6014cc255b408b3bd3cbca8bdc32ffe3d050605 authored about 11 years ago by Thomas Adam <[email protected]>
Merge branch '1.0.x'

Conflicts:
lib/Doctrine/MongoDB/Connection.php

211120fa6afb1ed8c0dfe5b0d30fac14cdb6c343 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #134 from doctrine/1.0.x-isConnected

Check for MongoClient and Mongo classes in Connection getters

a263d678744d80edfbae34f862a4c93b0e28b55b authored over 11 years ago by Jeremy Mikola <[email protected]>
Check for null $mongo property in Connected::getStatus()

Recent versions of the driver no longer use the $status property, so this method should likely b...

89c7f44defc26ccbea4b7a396c8a6dd888397e26 authored over 11 years ago by Jeremy Mikola <[email protected]>
Support MongoClient in Connection::isConnected()

9b713376ceadd448695605b16f1bb06e49ecd7d9 authored over 11 years ago by Valeriy Rabievsky <[email protected]>
Merge pull request #132

a6628d7c483b11152c22abc34fc8091a07f8b8c2 authored over 11 years ago by Jeremy Mikola <[email protected]>
Make full command result accessible in ArrayIterator (fixes #125)

This ensures that metadata is still accessible for command results, instead of limiting the retu...

31c4b2846c757e10098e0b894b42dcc202ba1d78 authored over 11 years ago by Jeremy Mikola <[email protected]>
Add $rename update operator for Builder and Expr

01c4a77f3adca2e8a70806b9584d69d0b99d454a authored over 11 years ago by Tóth Gábor <[email protected]>
Merge pull request #131

d3502fc26cedb9243efe4512f126861c4acaded3 authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove $cmd args/properties and deprecate mongoCmd option

Even if the "mongo.cmd" INI option is customized, the orignal "$" character may still be used. T...

cd3b60138d711221e4fe0ae1c06611fd8fedbac2 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #128

97b70b4e0d234981ca5d67597943869247370573 authored over 11 years ago by Jeremy Mikola <[email protected]>
Update references to IteratorAggregate interface methods in Query

d13aab0a3cef447aa4df3def28efad3965330540 authored over 11 years ago by Jeremy Mikola <[email protected]>
Deprecate Query::iterate() alias in favor of getIterator()

b92692659abf5a98aeb83fcb32a9038420542e3e authored over 11 years ago by Jeremy Mikola <[email protected]>
Query::getIterator() should not execute if an exception is guaranteed

Changed to avoid calling execute() and throw BadMethodCallException immediately if the query typ...

b5f3e0cd35663f3b5903042ed477497bc89826e3 authored over 11 years ago by Jeremy Mikola <[email protected]>
Don't document string argument for Builder and Expr::type()

This can be removed in 2.0. It's currently a bit clumsy as the names for some of these types are...

7f675058b498cb7def2b59bb22c3f9669c6c99c6 authored over 11 years ago by Jeremy Mikola <[email protected]>
Add array type-hint to Builder and Expr::all()

9e117fea6cd6a6d01078b4c36760440618c51e8f authored over 11 years ago by Jeremy Mikola <[email protected]>
Add docblocks to Expr methods (mostly copied from Builder)

7cc7c5e35566c9d0ed74c18d1149632224046958 authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix Collection::count() return type documentation

ee0f3c3f441a48547066ee7b6487ebbea6286990 authored over 11 years ago by Jeremy Mikola <[email protected]>
Refactor Query execution and Builder array structure

Builder now initializes a much smaller array, which only contains the default type. The array st...

f19c70bbd5359c0aba2f320c800a6c24627aeb78 authored over 11 years ago by Jeremy Mikola <[email protected]>
Query should allow a single cursor hint to be specified

Builder::hint() is only useful for setting a cursor hint (not related to ODM's UnitOfWork hints)...

7735482735cb2f900443b8ca009b6c4262689a3b authored over 11 years ago by Jeremy Mikola <[email protected]>
Query should apply "limit" option for mapReduce commands

This is consistent with what is already done for geoNear commands.

a040ddf84f0b99d8470bfdfeba5e295317d148dc authored over 11 years ago by Jeremy Mikola <[email protected]>
Throw exception for invalid query types in Query constructor

93d9a990824f44f1a30cc8cb48334ab1a01919bd authored over 11 years ago by Jeremy Mikola <[email protected]>
Rename Query::DISTINCT_FIELD to DISTINCT

Also renamed the option, which is set in the query array.

fe4b3ca2898a7faf7525c777c5fa07d5fcef34b1 authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix preparation of group "cond" option in Query::execute()

66e03550ea15c2a39f69c635d58db460416f0e3e authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove optional fields from Builder::$query array

These are not accessed in Query unless the query type is appropriate, and the initializer method...

e6dfbc36171861d58b08c5d2c35144f7c02f14f8 authored over 11 years ago by Jeremy Mikola <[email protected]>
Refactor Builder/Expr set() and add tests

a7ba5c2dfb7b5125f8c61e91c592218b88f2f685 authored over 11 years ago by Jeremy Mikola <[email protected]>
Builder::map() should init full query array, default to inline output

This makes map() as functional as mapReduce(), apart from setting the "reduce" option.

16a92eb1626da1b424908e757ac2cfbe39cc02bb authored over 11 years ago by Jeremy Mikola <[email protected]>
Make query type equality checks consistent

5a31a2be9deeee224a008f52b1ecbe22ff517ad3 authored over 11 years ago by Jeremy Mikola <[email protected]>
Support GeoJSON in Builder::geoNear() and set spherical default

geoNear commands against 2dsphere indexes require the "spherical" option to be true, so we can i...

08ade88a31784a1484d810e1e12776a84fe86d54 authored over 11 years ago by Jeremy Mikola <[email protected]>
Builder mapReduceOptions/out methods should require mapReduce command

de44c4258516a2f3cd3770cdbfaeb133ba0fbde3 authored over 11 years ago by Jeremy Mikola <[email protected]>
Expr::where() need not alter the current field

a512d7f55a3e1e1a28d147ca364b26898ffb3ce9 authored over 11 years ago by Jeremy Mikola <[email protected]>
Formatting Builder method docs

4ee53d6f5c5a84a15ad7cbece0a56b0bea2d88aa authored over 11 years ago by Jeremy Mikola <[email protected]>
Use casting and array type-hinting for method args

This changes the public API for in/notIn and removes the array cast in notIn (behavior change); ...

8207985d3532b08c50c3102bd66dec23543e2710 authored over 11 years ago by Jeremy Mikola <[email protected]>
Support $each/$slice/$sort operators with push()

MongoDB 2.4 deprecates the $pushAll operator in favor of $push with $each. Additionally, it adds...

0d88e84ff86897549d3b9735907d0eed70cc9b8e authored over 11 years ago by Jeremy Mikola <[email protected]>
Expr::push() should ensure $each operator appears first

If the $each operator does not appear first, the $push argument will be considered a single valu...

ac04fff4344bd3151488db1eff171c11bdc8cf7b authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove recursive merging in Expr::addManyToSet()

The recursive merging in addManyToSet() dates back to: doctrine/mongodb-odm@59a2da0bf7a53075f9d9...

f32e433318f41b4cfc927667ef5e25e2bd2481c1 authored over 11 years ago by Jeremy Mikola <[email protected]>
Implement Expr::each() and allow it to be used with addToSet()

c159d274f1da9ea792130d4ee2cd61e7b07feccd authored over 11 years ago by Jeremy Mikola <[email protected]>
Deprecate Expr::addManyToSet() in favor of addToSet() and each()

5999f1505a0053b9c890e1eb8c6e87554e8d3e36 authored over 11 years ago by Jeremy Mikola <[email protected]>
Test array/Expr arguments for logical operators and elemMatch

975b2470dfc43607626f99673e3e4be6c60cea6d authored over 11 years ago by Jeremy Mikola <[email protected]>
Support values and expressions for $pull in query builder

Note: $pullAll only supports an array of values (no expressions), so it remains as-is.

16857904b2a04b898aebf578197beed28feeb5ec authored over 11 years ago by Jeremy Mikola <[email protected]>
Query::debug() should access the entire $query property

This will require changes to ODM, as several of its tests expect this to access only $query['que...

1ea8ddc066307f30b0a73cf49d19612285547081 authored over 11 years ago by Jeremy Mikola <[email protected]>
Rename argument for Expr pullAll/pushAll methods

0d10218824847f5300790962233dacab9c5e8db4 authored over 11 years ago by Jeremy Mikola <[email protected]>