fix(index.d.ts): allow using type: SchemaDefinitionProperty in schema definitions #10674
fix(index.d.ts): allow AnyObject as param to findOneAndReplace() #10714
6.0.9 / 2021-10-04
fix(document): init non-schema values if strict is set to false #10828
fix(document): correctly track saved state for deeply nested objects #10773
fix(array): avoid mutating arrays passed into Model() constructor #10766
fix(cursor): allow using find().cursor() before connecting, report errors in pre('find') hooks when using .cursor()#10785
fix(populate): support ref: Model with virtual populate #10695
fix(schema): support type: { subpath: String } in document array definitions and improve schema interpretAsType error messages if type name is undefined #10750
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 5.12.13 to 6.0.10.
Changelog
Sourced from mongoose's changelog.
... (truncated)
Commits
2f28498
chore: release 6.0.10e2aeac8
Merge pull request #10859 from dbellavista/mastera553a39
Merge pull request #10853 from mdatif796/patch-133909fb
Merge branch 'master' of github.com:Automattic/mongoosef312fd1
Merge pull request #10806 from MunifTanjim/support-extending-models759278a
docs: correct typo re: https://github.com/Automattic/mongoose/commit/b7992659...725cad9
Merge pull request #10851 from Automattic/gh-10850036d178
Restore unpacked type and avoid distributive conditional types (#10767)5f9d7ba
perf(document): further reduce unnecessary objects and keys to minimize docum...21d35c6
docs(middleware): add missing query middlewareDependabot 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)