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
replaceoption to update methods (Thanks @lakshmipriyamukundan)
v7.1.1
v7.1.0
- Fix
insertdeprecation warning (Thanks @RobertoMachorro!) - Default to using
useUnifiedTopologyoption (Thanks @bobmoff!) collection.findOneAndUpdatenow 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.findOneAndUpdatenow 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)
removenow usesdeleteOneordeleteManyunder the hood (fix #178)- Add
mapReducemethod (fix #167) - Add
geoHaystackSearchmethod - Add
geoNearmethod - Add
statsmethod (fix #191) - Remove monk specific options used by middleware (fix #203)
- The only option set globally is
castIds.safeis nottrueby default anymore. - Return the cursor in a promise (when using the
rawCursoron thefindmethod) so that the entire API has the same return type (a promise)
v5.0.2
v5.0.1
- Fix typo on requesting middlewares