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 5.13.14 to 7.6.3.
Release notes
Sourced from mongoose's releases.
... (truncated)
Changelog
Sourced from mongoose's changelog.
... (truncated)
Commits
8831f03
chore: release 7.6.3d7b2bde
Merge pull request #13984 from Automattic/vkarpov15/gh-13951d7a3052
Merge pull request #13983 from Automattic/vkarpov15/gh-1396268c50c2
Merge pull request #13981 from Automattic/vkarpov15/gh-13944bbe3a0b
Merge pull request #13979 from ZachLeviPixel/schema-discriminator-typescript-...6419a87
fix(populate): handle multiple spaces when specifying paths to populate using...e44e75b
fix(update): avoid applying defaults on query filter when upserting with empt...fa05928
fix(model): add versionKey to bulkWrite when inserting or upserting49f5296
Fix Typescript definition of schema.discriminator to allow strings.236a7a7
Merge pull request #13976 from danielcoker/patch-1Dependabot 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