fix: include virtuals in document array toString() output if toObject.virtuals set #14335#14315
fix(document): handle setting nested path to spread doc with extra properties #14287#14269
fix(populate): call setter on virtual populated path with populated doc instead of undefined #14314
fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #14299DevooKim
types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342#14341FaizBShah
types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #14336#14303
types(connection): add type definition for createCollections()#14295#14279
docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #14337#14309
8.1.1 / 2024-01-24
fix(model): throw readable error when calling Model() with a string instead of model() #14288#14281
fix(document): handle setting nested path to spread doc with extra properties #14287#14269
types(query): add back context and setDefaultsOnInsert as Mongoose-specific query options #14284#14282
types(query): add missing runValidators back to MongooseQueryOptions #14278#14275
fix: include virtuals in document array toString() output if toObject.virtuals set #14335#14315
fix(document): handle setting nested path to spread doc with extra properties #14287#14269
fix(populate): call setter on virtual populated path with populated doc instead of undefined #14314
fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #14299DevooKim
types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342#14341FaizBShah
types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #14336#14303
types(connection): add type definition for createCollections()#14295#14279
docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #14337#14309
8.1.1 / 2024-01-24
fix(model): throw readable error when calling Model() with a string instead of model() #14288#14281
fix(document): handle setting nested path to spread doc with extra properties #14287#14269
types(query): add back context and setDefaultsOnInsert as Mongoose-specific query options #14284#14282
types(query): add missing runValidators back to MongooseQueryOptions #14278#14275
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mongoose from 8.0.0 to 8.1.2.
Release notes
Sourced from mongoose's releases.
... (truncated)
Changelog
Sourced from mongoose's changelog.
... (truncated)
Commits
c9877b6
chore: release 8.1.2f164b44
Merge pull request #14342 from FaizBShah/master348ec51
Merge branch 'Automattic:master' into mastera842bf7
fix: added typescript support for arbitary fields in the options parameter of...6579f93
Merge pull request #14335 from Automattic/vkarpov15/gh-143152c34102
Merge pull request #14337 from Automattic/vkarpov15/gh-14309870b94f
Merge pull request #14336 from Automattic/vkarpov15/gh-143033eceee6
Merge pull request #14326 from Automattic/dependabot/github_actions/master/ac...c5c2f24
Merge pull request #14325 from Automattic/dependabot/github_actions/master/ac...26f0c96
Merge pull request #14320 from Automattic/dependabot/npm_and_yarn/master/mark...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show