dependabot npm(deps): bump mongoose from 6.2.3 to 6.2.4
Bumps mongoose from 6.2.3 to 6.2.4.
Release notes
Sourced from mongoose's releases.
6.2.4 / 2022-02-28
- fix(query): correctly return full deleteOne(), deleteMany() result #11211
- fix(query): handle update validators on deeply nested subdocuments #11455 #11394
- fix(discriminator): handle modifying multiple nested paths underneath a discriminator #11428
- perf: improve isAsyncFunction #11408 Uzlopak
- fix(index.d.ts): add typedefs for Schema
pick()
#11448 Moisei-Shkil- fix(index.d.ts): allow type override for distinct() #11306
- fix(index.d.ts): allow array of validators in schema definition #11355
- fix(index.d.ts): improve connection typings #11418 Uzlopak
- docs: add timestamps docs #11336
- docs(timestamps): explain how timestamps works under the hood #11336
- docs(migrating_to_6): add model.exists breaking change returning doument instead of boolean #11407 AbdelrahmanHafez
- docs(index.d.ts): add docs for FilterQuery, UpdateQuery, and LeanDocument #11457 Moisei-Shkil
Changelog
Sourced from mongoose's changelog.
6.2.4 / 2022-02-28
- fix(query): correctly return full deleteOne(), deleteMany() result #11211
- fix(query): handle update validators on deeply nested subdocuments #11455 #11394
- fix(discriminator): handle modifying multiple nested paths underneath a discriminator #11428
- perf: improve isAsyncFunction #11408 Uzlopak
- fix(index.d.ts): add typedefs for Schema
pick()
#11448 Moisei-Shkil- fix(index.d.ts): allow type override for distinct() #11306
- fix(index.d.ts): allow array of validators in schema definition #11355
- fix(index.d.ts): improve connection typings #11418 Uzlopak
- docs: add timestamps docs #11336
- docs(timestamps): explain how timestamps works under the hood #11336
- docs(migrating_to_6): add model.exists breaking change returning doument instead of boolean #11407 AbdelrahmanHafez
- docs(index.d.ts): add docs for FilterQuery, UpdateQuery, and LeanDocument #11457 Moisei-Shkil
Commits
-
22e317d
chore: release 6.2.4 -
4d6b630
Merge pull request #11450 from Automattic/gh-11336 -
18f944d
perf(document): add a couple of small perf improvements re: #10400 -
4c85c70
perf(document): avoid creating unnecessary_id
for array subdocuments -
b62ea22
Merge branch 'master' of github.com:Automattic/mongoose -
1a1d3cc
perf(document): remove some more unnecessary object creation in Document cons... -
e3ce230
fix example lines re #11457 -
ad5df29
Merge pull request #11457 from Moisei-Shkil/master -
49308ee
fix(discriminator): handle modifying multiple nested paths underneath a discr... -
1846cbe
add docs to: FilterQuery, UpdateQuery, and LeanDocument, types - Additional commits viewable in compare view