dependabot npm(deps): bump mongoose from 6.1.5 to 6.1.7
Bumps mongoose from 6.1.5 to 6.1.7.
Release notes
Sourced from mongoose's releases.
6.1.7 / 2022-01-17
- fix(model): correct handling for $push on a nested array #11108
- fix(update): correctly apply timestamps to update pipelines #11151
- fix(document): correctly handle modifying array subdocument after setting array subdocument to itself #11172
- fix(index.d.ts): allow passing options to model() in place of removed
skipInit
#11137- fix(aggregate): allow passing verbosity to Aggregate.prototype.explain() #11144
- fix(index.d.ts): avoid TypeScript inferring _id as any type with HydratedDocument #11085
- docs: fix Node.js Driver compat link #11214 wesbos
- docs: remove extraneous backquote #11204 joebowbeer
6.1.6 / 2022-01-10
- perf(document): delay creating document event emitter until used to improve memory usage, several small improvements to improve initing docs with large arrays #10400
- fix(model): avoid
bulkSave()
error whenversionKey: false
#11186 #11071 IslandRhythms- fix(model): revert #11079:
findByIdAndUpdate(undefined)
breaking change #11149- fix(index.d.ts): support strings in deep populate #11181 ivalduan
- fix(index.d.ts): rename map() -> transform() to line up with change in v6.0 #11161
- fix(index.d.ts): allow new Model(obj) for stricter type checks #11148
- fix(index.d.ts): make Schema.prototype.pre() and post() generics default to HydratedDocument #11180
- docs: improve autoCreate docs #11116
- docs(schematype): add missing parameter to example #11185 kerolloz
- docs(connections): use updated link to list of MongoDB Node driver
connect()
options #11184 splinter- docs(aggregate): fix formatting #11191 enieber
- docs: fix broken link #11179 khairnarsaurabh23
Changelog
Sourced from mongoose's changelog.
6.1.7 / 2022-01-17
- fix(model): correct handling for $push on a nested array #11108
- fix(update): correctly apply timestamps to update pipelines #11151
- fix(document): correctly handle modifying array subdocument after setting array subdocument to itself #11172
- fix(index.d.ts): allow passing options to model() in place of removed
skipInit
#11137- fix(aggregate): allow passing verbosity to Aggregate.prototype.explain() #11144
- fix(index.d.ts): avoid TypeScript inferring _id as any type with HydratedDocument #11085
- docs: fix Node.js Driver compat link #11214 wesbos
- docs: remove extraneous backquote #11204 joebowbeer
6.1.6 / 2022-01-10
- perf(document): delay creating document event emitter until used to improve memory usage, several small improvements to improve initing docs with large arrays #10400
- fix(model): avoid
bulkSave()
error whenversionKey: false
#11186 #11071 IslandRhythms- fix(model): revert #11079:
findByIdAndUpdate(undefined)
breaking change #11149- fix(index.d.ts): support strings in deep populate #11181 ivalduan
- fix(index.d.ts): rename map() -> transform() to line up with change in v6.0 #11161
- fix(index.d.ts): allow new Model(obj) for stricter type checks #11148
- fix(index.d.ts): make Schema.prototype.pre() and post() generics default to HydratedDocument #11180
- docs: improve autoCreate docs #11116
- docs(schematype): add missing parameter to example #11185 kerolloz
- docs(connections): use updated link to list of MongoDB Node driver
connect()
options #11184 splinter- docs(aggregate): fix formatting #11191 enieber
- docs: fix broken link #11179 khairnarsaurabh23
Commits
-
eccf89f
chore: release 6.1.7 -
8b587cf
fix(model): correct handling for$push
on a nested array -
87bc411
fix(index.d.ts): allow passingoptions
tomodel()
in place of removed `sk... -
fd1abea
fix(aggregate): allow passingverbosity
to Aggregate.prototype.explain() -
2d6bbf9
fix(model): add version tosave()
filter if pushing to a nested array -
0bc5489
Merge pull request #11214 from wesbos/patch-1 -
e14a4e6
Merge pull request #11204 from joebowbeer/patch-2 -
1c6a89a
fix(document): correctly handle modifying array subdocument after setting arr... -
e4145f9
test(document): repro #11172 -
36a9232
fix(update): correctly apply timestamps to update pipelines - Additional commits viewable in compare view