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
7.6.1 / 2023-10-09
fix: bump bson to match mongodb@5.9.0 exactly #13947hasezoey
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
7.6.1 / 2023-10-09
fix: bump bson to match mongodb@5.9.0 exactly #13947hasezoey
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.5.3 to 7.6.2.
Release notes
Sourced from mongoose's releases.
Changelog
Sourced from mongoose's changelog.
Commits
8cbb224
chore: release 7.6.2a72c023
Merge pull request #13968 from Automattic/vkarpov15/gh-13956e1d3bfa
Merge pull request #13963 from Automattic/vkarpov15/gh-13878157823c
fix(document): avoid triggering setter when initializing `Model.prototype.col...46a6ecc
types(model): add missing function signature formodel()
to match `$model()...a1d2bf9
Merge pull request #13965 from Automattic/vkarpov15/gh-1390483d1d75
fix: fix merge conflict issue for #13904 with #13964ebee099
Merge branch 'master' into vkarpov15/gh-1390496f71d5
Merge pull request #13964 from Automattic/vkarpov15/gh-13957867221a
style: fix lintDependabot 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