dependabot npm(deps): bump mongoose from 6.5.2 to 6.5.3
Bumps mongoose from 6.5.2 to 6.5.3.
Release notes
Sourced from mongoose's releases.
6.5.3 / 2022-08-24
- fix(document): handle maps when applying defaults to nested paths #12322
- fix(schema): make ArraySubdocuments apply _id defaults on init #12264
- fix(populate): handle specifying recursive populate as a string with discriminators #12266
- perf(types): remove extends Query in Schema.pre() and Schema.post(), loosen
discriminator()
generic #10349- perf(types): some more micro-optimizations re: #10349, remove extra type checking on $ne, etc.
- fix(types): infer schema on
connection.model()
#12298 #12125 hasezoey- fix(types): add missing
findById()
type definitions #12309 lpizzinidev- fix(types): allow $search in $lookup pipeline stages for MongoDB v6.x support #12278 AbdelrahmanHafez
- fix(types): add parameter "options" to "Model.remove" #12258 hasezoey
- fix(types): sync single-generic-no-constraint "model" between "index.d.ts" and "connection.d.ts" #12299 hasezoey
- fix(types): update isDirectModified typing #12290 gabrielDonnantuoni
- docs: update links on api docs #12293 eatmoarrice
- docs: add note about language_override option #12310 IslandRhythms
- docs(document): add "String[]" to Document.depopulate as jsdoc parameter type #12300 hasezoey
- docs: update Node.js EventEmitter url #12303 rainrisa
Changelog
Sourced from mongoose's changelog.
6.5.3 / 2022-08-24
- fix(document): handle maps when applying defaults to nested paths #12322
- fix(schema): make ArraySubdocuments apply _id defaults on init #12264
- fix(populate): handle specifying recursive populate as a string with discriminators #12266
- perf(types): remove extends Query in Schema.pre() and Schema.post(), loosen
discriminator()
generic #10349- perf(types): some more micro-optimizations re: #10349, remove extra type checking on $ne, etc.
- fix(types): infer schema on
connection.model()
#12298 #12125 hasezoey- fix(types): add missing
findById()
type definitions #12309 lpizzinidev- fix(types): allow $search in $lookup pipeline stages for MongoDB v6.x support #12278 AbdelrahmanHafez
- fix(types): add parameter "options" to "Model.remove" #12258 hasezoey
- fix(types): sync single-generic-no-constraint "model" between "index.d.ts" and "connection.d.ts" #12299 hasezoey
- fix(types): update isDirectModified typing #12290 gabrielDonnantuoni
- docs: update links on api docs #12293 eatmoarrice
- docs: add note about language_override option #12310 IslandRhythms
- docs(document): add "String[]" to Document.depopulate as jsdoc parameter type #12300 hasezoey
- docs: update Node.js EventEmitter url #12303 rainrisa
5.13.15 / 2022-08-22
- fix: backport fix for CVE-2022-2564 #12281 shubanker
- docs: fix broken link from findandmodify method deprecation #11366 laissonsilveira
Commits
-
d914a94
chore: release 6.5.3 -
9734768
Merge pull request #12322 from Automattic/vkarpov15/gh-12220 -
be41ea5
Merge pull request #12321 from Automattic/vkarpov15/gh-12264 -
1788628
test: address comment -
ff965da
Documentation: typo fix (#12324) -
90aa098
fix(document): handle maps when applying defaults to nested paths -
4a946ff
fix(schema): make ArraySubdocuments apply_id
defaults on init -
8c0800a
Merge pull request #12310 from Automattic/language-override-docs -
8e49fa6
Merge pull request #12266 from Automattic/vkarpov15/fix-discriminator-subpopu... -
2de1a86
Merge pull request #12314 from Automattic/revert-12313-vkarpov15/gh-9056 - Additional commits viewable in compare view