perf: avoid storing a separate entry in schema subpaths for every element in an array #13953#13874
fix(document): avoid triggering setter when initializing Model.prototype.collection to allow defining collection as a schema path name #13968#13956
fix(model): make bulkSave() save changes in discriminator paths if calling bulkSave() on base model #13959#13907
fix(document): allow calling $model() with no args for TypeScript #13963#13878
fix(schema): handle embedded discriminators defined using Schema.prototype.discriminator() #13958#13898
types(model): make InsertManyResult consistent with return type of insertMany #13965#13904
types(models): add cleaner type definitions for insertMany() with no generics to prevent errors when using insertMany() in generic classes #13964#13957
types(schematypes): allow defining map path using type: 'Map' in addition to type: Map #13960#13755
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 7.0.3 to 8.0.1.
Release notes
Sourced from mongoose's releases.
... (truncated)
Changelog
Sourced from mongoose's changelog.
... (truncated)
Commits
4e78234
chore: release 8.0.1287d304
docs: add mongoose 8 to mongodb server compatibility guide069ffaa
Merge branch '7.x'8fb5ece
chore: quick fix for 7.x docs buildfd40799
chore: fix docs search generation for 8.x release7f935cf
chore: use 8.x as default search version6bc0291
style: fix lint from merge issues37d6051
Merge branch '7.x'db7a983
chore: improve 7.x docs deploy scriptc6f1121
chore: add publish script for 7.xDependabot 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