dependabot npm(deps): bump mongoose from 7.6.1 to 7.6.2
Bumps mongoose from 7.6.1 to 7.6.2.
Release notes
Sourced from mongoose's releases.
7.6.2 / 2023-10-13
- 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
Changelog
Sourced from mongoose's changelog.
7.6.2 / 2023-10-13
- 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
Commits
-
8cbb224
chore: release 7.6.2 -
a72c023
Merge pull request #13968 from Automattic/vkarpov15/gh-13956 -
e1d3bfa
Merge pull request #13963 from Automattic/vkarpov15/gh-13878 -
157823c
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-13904 -
83d1d75
fix: fix merge conflict issue for #13904 with #13964 -
ebee099
Merge branch 'master' into vkarpov15/gh-13904 -
96f71d5
Merge pull request #13964 from Automattic/vkarpov15/gh-13957 -
867221a
style: fix lint - Additional commits viewable in compare view