dependabot npm(deps): bump mongoose from 8.5.4 to 8.6.0
Bumps mongoose from 8.5.4 to 8.6.0.
Release notes
Sourced from mongoose's releases.
8.6.0 / 2024-08-28
- feat: upgrade mongodb -> 6.8.0, handle throwing error on closed cursor in Mongoose with
MongooseError
instead ofMongoCursorExhaustedError
#14813- feat(model+query): support options parameter for distinct() #14772 #8006
- feat(QueryCursor): add getDriverCursor() function that returns the raw driver cursor #14745
- types: change query selector to disallow unknown top-level keys by default #14764 alex-statsig
- types: make toObject() and toJSON() not generic by default to avoid type widening #14819 #12883
- types: avoid automatically inferring lean result type when assigning to explicitly typed variable #14734
8.5.5 / 2024-08-28
- fix(populate): fix a couple of other places where Mongoose gets the document's _id with getters #14833 #14827 #14759
- fix(discriminator): shallow clone Schema.prototype.obj before merging schemas to avoid modifying original obj #14821
- types: fix schema type based on timestamps schema options value #14829 #14825 ark23CIS
Changelog
Sourced from mongoose's changelog.
8.6.0 / 2024-08-28
- feat: upgrade mongodb -> 6.8.0, handle throwing error on closed cursor in Mongoose with
MongooseError
instead ofMongoCursorExhaustedError
#14813- feat(model+query): support options parameter for distinct() #14772 #8006
- feat(QueryCursor): add getDriverCursor() function that returns the raw driver cursor #14745
- types: change query selector to disallow unknown top-level keys by default #14764 alex-statsig
- types: make toObject() and toJSON() not generic by default to avoid type widening #14819 #12883
- types: avoid automatically inferring lean result type when assigning to explicitly typed variable #14734
8.5.5 / 2024-08-28
- fix(populate): fix a couple of other places where Mongoose gets the document's _id with getters #14833 #14827 #14759
- fix(discriminator): shallow clone Schema.prototype.obj before merging schemas to avoid modifying original obj #14821
- types: fix schema type based on timestamps schema options value #14829 #14825 ark23CIS
Commits
-
69dacc2
chore: release 8.6.0 -
7923cd0
Merge pull request #14838 from Automattic/dependabot/npm_and_yarn/webpack-5.94.0 -
473a636
Merge pull request #14831 from Automattic/8.6 -
0a93334
Merge branch 'master' into 8.6 -
5d3e9ee
chore(deps-dev): bump webpack from 5.93.0 to 5.94.0 -
fb0febb
chore: release 8.5.5 -
05055f0
Merge pull request #14833 from Automattic/vkarpov15/gh-14827 -
9526e66
fix(discriminator): shallow cloneSchema.prototype.obj
before merging schem... -
be403ff
Merge pull request #14832 from shallow-beach/patch-1 -
16df3da
chore: remove extraneous headers - Additional commits viewable in compare view