dependabot npm(deps): bump mongoose from 8.5.1 to 8.5.2
Bumps mongoose from 8.5.1 to 8.5.2.
Release notes
Sourced from mongoose's releases.
8.5.2 / 2024-07-30
- perf(clone): avoid further unnecessary checks if cloning a primitive value #14762 #14394
- fix: allow setting document array default to null #14769 #14717 #6691
- fix(model): support session: null option for save() to opt out of automatic session option with transactionAsyncLocalStorage #14744 #14736
- fix(model+document): avoid depopulating manually populated doc as getter value #14760 #14759
- fix: correct shardkey access in buildBulkWriteOps #14753 #14752 adf0nt3s
- fix(query): handle casting $switch in $expr #14755 #14751
- types: allow calling SchemaType.cast() without parent and init parameters #14756 #14748 #9076
- docs: fix a wrong example in v6 migration guide #14758 abdelrahman-elkady
Changelog
Sourced from mongoose's changelog.
8.5.2 / 2024-07-30
- perf(clone): avoid further unnecessary checks if cloning a primitive value #14762 #14394
- fix: allow setting document array default to null #14769 #14717 #6691
- fix(model): support session: null option for save() to opt out of automatic session option with transactionAsyncLocalStorage #14744 #14736
- fix(model+document): avoid depopulating manually populated doc as getter value #14760 #14759
- fix: correct shardkey access in buildBulkWriteOps #14753 #14752 adf0nt3s
- fix(query): handle casting $switch in $expr #14755 #14751
- types: allow calling SchemaType.cast() without parent and init parameters #14756 #14748 #9076
- docs: fix a wrong example in v6 migration guide #14758 abdelrahman-elkady
Commits
-
986f5eb
chore: release 8.5.2 -
e6918a4
Merge pull request #14769 from Automattic/vkarpov15/gh-6691-2 -
9a2462c
fix: allow setting document array default tonull
-
f921c9a
Merge pull request #14762 from Automattic/vkarpov15/perf-clone-primitives -
93684f8
Merge pull request #14760 from Automattic/vkarpov15/gh-14759 -
2badd9e
Merge pull request #14756 from Automattic/vkarpov15/gh-14748 -
1ad7531
address code review comments and fix a couple of other spots where we get _id... -
ad75131
perf(clone): avoid further unnecessary checks if cloning a primitive value -
b51a730
Merge pull request #14758 from abdelrahman-elkady/patch-1 -
8be1ae8
Merge pull request #14755 from Automattic/vkarpov15/gh-14751 - Additional commits viewable in compare view