Releases: Automattic/monk
Releases · Automattic/monk
v7.3.2
v7.3.1
- Adjust some TypeScript definitions (Thanks @cupcakearmy!)
v7.3.0
v7.2.0
- Add
replace
option to update methods (Thanks @lakshmipriyamukundan)
v7.1.1
v7.1.0
- Fix
insert
deprecation warning (Thanks @RobertoMachorro!) - Default to using
useUnifiedTopology
option (Thanks @bobmoff!) collection.findOneAndUpdate
now requires an atomic operator in the update object (Thanks @mpangrazzi!)
v7.0.0
- Update mongo to v3 (Thanks @mpangrazzi!)
- Remove
collection.geoNear
(Thanks @mpangrazzi!) collection.findOneAndUpdate
now requires an atomic operator in the update object (Thanks @mpangrazzi!)
v6.0.0
- Add typescript definition (fix #204)
- return null when findOneAnd... find nothing (fix #175)
remove
now usesdeleteOne
ordeleteMany
under the hood (fix #178)- Add
mapReduce
method (fix #167) - Add
geoHaystackSearch
method - Add
geoNear
method - Add
stats
method (fix #191) - Remove monk specific options used by middleware (fix #203)
- The only option set globally is
castIds
.safe
is nottrue
by default anymore. - Return the cursor in a promise (when using the
rawCursor
on thefind
method) so that the entire API has the same return type (a promise)
v5.0.2
v5.0.1
- Fix typo on requesting middlewares