feat(document): add flattenObjectIds option to toObject() and toJSON() #13383#13341
feat(query): add translateAliases option to automatically call translate aliases on query fields #13397#8678#7511
feat(schema): propagate toObject and toJSON options to implicitly created schemas #13325
feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #13410#13256
feat(document): add flattenObjectIds option to toObject() and toJSON() #13383#13341
feat(query): add translateAliases option to automatically call translate aliases on query fields #13397#8678#7511
feat(schema): propagate toObject and toJSON options to implicitly created schemas #13325
feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #13410#13256
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 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 7.0.5 to 7.2.0.
Release notes
Sourced from mongoose's releases.
Changelog
Sourced from mongoose's changelog.
... (truncated)
Commits
610eed2
chore: release 7.2.071162ef
Merge pull request #13420 from Automattic/7.23a333f8
Merge branch 'master' into 7.28b41e8a
Merge pull request #13410 from Automattic/vkarpov15/gh-1325606cd519
chore: release 7.1.2cc2adec
test: fix some code review comments722ab43
Merge pull request #13418 from Automattic/IslandRhythms/gh-1336402fd721
Merge pull request #13408 from hasezoey/addModelNameToError23579f2
Merge pull request #13415 from hasezoey/testMd5Check05eca74
Update collection.jsDependabot 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 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)