dependabot npm(deps): bump mongoose from 7.5.3 to 7.6.0
Bumps mongoose from 7.5.3 to 7.6.0.
Release notes
Sourced from mongoose's releases.
7.6.0 / 2023-10-06
- feat: upgrade mongodb node driver -> 5.9.0 #13927 #13926 sanguineti
- fix: avoid CastError when passing different value of discriminator key in
$or
#13938 #139067.5.4 / 2023-10-04
- fix: avoid stripping out
id
property when_id
is set #13933 #13892 #13867- fix(QueryCursor): avoid double-applying schema paths so you can include select: false fields with + projection using cursors #13932 #13773
- fix(query): allow deselecting discriminator key using - syntax #13929 #13760
- fix(query): handle $round in $expr as array #13928 #13881
- fix(document): call pre('validate') hooks when modifying a path underneath triply nested subdoc #13912 #13876
- fix(mongoose): correctly handle global applyPluginsToChildSchemas option #13911 #13887
- types: add insertMany array overload with options #13931 t1bb4r
- docs(compatibility): add Mongoose 7 support to compatibility matrix #13875
- docs: amend some awkward FAQ wording #13925 peteboere
Changelog
Sourced from mongoose's changelog.
7.6.0 / 2023-10-06
- feat: upgrade mongodb node driver -> 5.9.0 #13927 #13926 sanguineti
- fix: avoid CastError when passing different value of discriminator key in
$or
#13938 #139067.5.4 / 2023-10-04
- fix: avoid stripping out
id
property when_id
is set #13933 #13892 #13867- fix(QueryCursor): avoid double-applying schema paths so you can include select: false fields with + projection using cursors #13932 #13773
- fix(query): allow deselecting discriminator key using - syntax #13929 #13760
- fix(query): handle $round in $expr as array #13928 #13881
- fix(document): call pre('validate') hooks when modifying a path underneath triply nested subdoc #13912 #13876
- fix(mongoose): correctly handle global applyPluginsToChildSchemas option #13911 #13887
- types: add insertMany array overload with options #13931 t1bb4r
- docs(compatibility): add Mongoose 7 support to compatibility matrix #13875
- docs: amend some awkward FAQ wording #13925 peteboere
Commits
-
b721f54
chore: release 7.6.0 -
2f8fdeb
Merge pull request #13942 from Automattic/7.6 -
18d5d79
Merge pull request #13938 from Automattic/IslandRhythms/gh-13906 -
29aa4fc
Update cast.js -
ffef7c9
fix: lint -
3591f28
Update cast.js -
0dbf92d
fix: handle changing discrim key on nested ops -
7d2db3c
Merge pull request #13927 from sanguineti/feat/bump-mongodb -
8838dfc
write test, begin debug -
d5964cd
chore: release 7.5.4 - Additional commits viewable in compare view