You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 11, 2020. It is now read-only.
* Do not filter out falsey values in Query/Builder `debug()` methods
101
+
* Support values and expressions for $pull in query builder
102
+
* Remove recursive merging in `Expr::addManyToSet()`
103
+
* Implement `Expr::each()` and allow it to be used with `addToSet()`
104
+
* Deprecate `Expr::addManyToSet()` in favor of `addToSet()` and `each()`
105
+
* Support $each/$slice/$sort operators with `push()`
106
+
*`Expr::push()` should ensure $each operator appears first
107
+
*`Expr::where()` should not alter the current field in the builder
108
+
*`Builder::mapReduceOptions()` and `out()` methods should require mapReduce command
109
+
* Support GeoJSON in `Builder::geoNear()` and set spherical default
110
+
*`Builder::map()` should init full query array, default to inline mapReduce output
111
+
* Rename `Query::DISTINCT_FIELD` to `DISTINCT`
112
+
* Throw exception for invalid query types in Query constructor
113
+
* Query should allow a single cursor hint to be specified
114
+
* Query should apply "limit" option for mapReduce commands
115
+
* Add array type-hint to `Builder::all()` and `Expr::all()`
116
+
*`Query::getIterator()` should not execute if an exception is guaranteed
117
+
* Deprecate `Query::iterate()` alias in favor of `getIterator()`
118
+
*[#130](https://github.com/doctrine/mongodb/pull/130): Add $rename update operator for Builder and Expr
119
+
*[#131](https://github.com/doctrine/mongodb/pull/131): Remove $cmd args/properties and deprecate `mongoCmd` option
120
+
*[#132](https://github.com/doctrine/mongodb/pull/132): Make full command result accessible in ArrayIterator
121
+
*[#140](https://github.com/doctrine/mongodb/pull/140): Add `initialize()` calls in Connection methods to avoid use of null objects
122
+
*[#139](https://github.com/doctrine/mongodb/pull/139): `Builder::sort()` should default to ascending order
123
+
*[#143](https://github.com/doctrine/mongodb/pull/143): Query builder read prefs and wrap driver classes directly
124
+
* Wrap driver classes directly and remove Connection reinit logic
125
+
* Convert inconsistent return values for `getReadPreference()` from pre-1.3.3 drivers
126
+
* Don't throw InvalidArgumentException in `Cursor::setReadPreference()`
127
+
* Support read preferences in Query Builder
128
+
*[#147](https://github.com/doctrine/mongodb/pull/147): `Expr::mod()` should take explicit divisor/remainder args
129
+
130
+
Additional commits included in 1.1.0:
131
+
132
+
*[d51a44d](https://github.com/doctrine/mongodb/commit/d51a44d): Support $elemMatch in query projections (closes [#101](https://github.com/doctrine/mongodb/pull/101))
133
+
*[e92f0f2](https://github.com/doctrine/mongodb/commit/e92f0f2): Remove unused $options argument in `Expr::equals()`
134
+
*[773423a](https://github.com/doctrine/mongodb/commit/773423a): Use driver's return value in `Collection::batchInsert()` (closes [#93](https://github.com/doctrine/mongodb/pull/93))
135
+
*[114a0ae](https://github.com/doctrine/mongodb/commit/114a0ae): Fix cursor creation when MapReduce's db output option is used
136
+
*[8bc1466](https://github.com/doctrine/mongodb/commit/8bc1466): Ensure `Cursor::limit()` argument is casted to an integer
137
+
*[6afee47](https://github.com/doctrine/mongodb/commit/6afee47): Deprecate `Connection::getStatus()` (to be removed in 1.2)
138
+
*[05258d4](https://github.com/doctrine/mongodb/commit/05258d4): Deprecate Database force/prev/resetError() methods (to be removed in 1.2)
139
+
*[25a8025](https://github.com/doctrine/mongodb/commit/25a8025): Restore `Query::TYPE_GEO_LOCATION` constant for BC, but deprecate it
0 commit comments