dependabot npm(deps): bump mongoose from 8.6.3 to 8.7.0
Bumps mongoose from 8.6.3 to 8.7.0.
Release notes
Sourced from mongoose's releases.
8.7.0 / 2024-09-27
- feat(model): add Model.applyVirtuals() to apply virtuals to a POJO #14905 #14818
- feat: upgrade mongodb -> 6.9.0 #14914
- feat(query): cast $rename to string #14887 #3027
- feat(SchemaType): add getEmbeddedSchemaType() method to SchemaTypes #14880 #8389
- fix(model): throw MongooseBulkSaveIncompleteError if bulkSave() didn't completely succeed #14884 #14763
- fix(connection): avoid returning readyState = connected if connection state is stale #14812 #14727
- fix: depopulate if push() or addToSet() with an ObjectId on a populated array #14883 #1635
- types: make __v a number, only set __v on top-level documents #14892
8.6.4 / 2024-09-26
- fix(document): avoid massive perf degradation when saving new doc with 10 level deep subdocs #14910 #14897
- fix(model): skip applying static hooks by default if static name conflicts with aggregate middleware #14904 dragontaek-lee
- fix(model): filter applying static hooks by default if static name conflicts with mongoose middleware #14908 dragontaek-lee
Changelog
Sourced from mongoose's changelog.
8.7.0 / 2024-09-27
- feat(model): add Model.applyVirtuals() to apply virtuals to a POJO #14905 #14818
- feat: upgrade mongodb -> 6.9.0 #14914
- feat(query): cast $rename to string #14887 #3027
- feat(SchemaType): add getEmbeddedSchemaType() method to SchemaTypes #14880 #8389
- fix(model): throw MongooseBulkSaveIncompleteError if bulkSave() didn't completely succeed #14884 #14763
- fix(connection): avoid returning readyState = connected if connection state is stale #14812 #14727
- fix: depopulate if push() or addToSet() with an ObjectId on a populated array #14883 #1635
- types: make __v a number, only set __v on top-level documents #14892
8.6.4 / 2024-09-26
- fix(document): avoid massive perf degradation when saving new doc with 10 level deep subdocs #14910 #14897
- fix(model): skip applying static hooks by default if static name conflicts with aggregate middleware #14904 dragontaek-lee
- fix(model): filter applying static hooks by default if static name conflicts with mongoose middleware #14908 dragontaek-lee
7.8.2 / 2024-09-25
Commits
-
136cab5
chore: release 8.7.0 -
49b0339
Merge pull request #14915 from Automattic/8.7 -
c4d96ea
chore: release 8.6.4 -
a53f430
Merge pull request #14914 from Automattic/vkarpov15/mongodb-6.9 -
a4e3308
Merge pull request #14905 from Automattic/vkarpov15/gh-14818-2 -
54844e3
types: add applyVirtuals() to types -
5b86fa3
feat: upgrade mongodb -> 6.9.0 -
adb4fb0
Merge branch 'master' into 8.7 -
c6bd31d
Merge branch '7.x' -
3ede837
chore: release 7.8.2 - Additional commits viewable in compare view