dependabot npm(deps): bump mongoose from 6.1.5 to 6.1.6
Bumps mongoose from 6.1.5 to 6.1.6.
Release notes
Sourced from mongoose's releases.
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.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
-
0bad72e
chore: release 6.1.6 -
8f0bf41
Merge pull request #11186 from Automattic/gh-11071 -
6098a00
Merge pull request #11185 from kerolloz/patch-1 -
84fa5ae
Merge pull request #11184 from splinter/patch-1 -
ae3d86f
docs: correct link -
dff2d49
Merge pull request #11177 from aleksadjukic/patch-2 -
93a3fca
fix(index.d.ts): makeSchema.prototype.pre()
andpost()
generics default ... -
410773a
perf(document): delay creating document event emitter until used to improve m... -
7291b7e
Merge pull request #11191 from enieber/patch-1 -
fd82b90
Update aggregate.js - Additional commits viewable in compare view