dependabot npm(deps): bump mongoose from 8.0.2 to 8.0.3
Bumps mongoose from 8.0.2 to 8.0.3.
Release notes
Sourced from mongoose's releases.
8.0.3 / 2023-12-07
- fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #14128 #14101
- docs(connections): add example of registering connection event handlers #14150
- docs(populate): add example of using
refPath
andref
functions #14133 #13834- types: handle using BigInt global class in schema definitions #14160 #14147
- types: make findOneAndDelete() without options return result doc, not ModifyResult #14153 #14130
- types(model): add no-generic override for insertMany() with options #14152 #13999
- types: add missing Type for applyDefaults #14159 jaypea
Changelog
Sourced from mongoose's changelog.
8.0.3 / 2023-12-07
- fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #14128 #14101
- docs(connections): add example of registering connection event handlers #14150
- docs(populate): add example of using
refPath
andref
functions #14133 #13834- types: handle using BigInt global class in schema definitions #14160 #14147
- types: make findOneAndDelete() without options return result doc, not ModifyResult #14153 #14130
- types(model): add no-generic override for insertMany() with options #14152 #13999
- types: add missing Type for applyDefaults #14159 jaypea
7.6.7 / 2023-12-06
- fix: avoid minimizing single nested subdocs if they are required #14151 #14058
- fix(populate): allow deselecting discriminator key when populating #14155 #3230
- fix: allow adding discriminators using Schema.prototype.discriminator() to subdocuments after defining parent schema #14131 #14109
- fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #14128 #14101
- fix(populate): call transform object with single id instead of array when populating a justOne path under an array #14135 #14073
- types: add back mistakenly removed findByIdAndRemove() function signature #14136 #14132
Commits
-
aa4b38a
chore: release 8.0.3 -
2c8b6ab
Merge pull request #14160 from Automattic/vkarpov15/gh-14147 -
e3a35c2
Merge pull request #14159 from jaypea/patch-1 -
78a78e6
seperate overrides -
0fc2e5c
remove whitespace -
fc635bf
types: handle using BigInt global class in schema definitions -
36384e7
add missing Type for applyDefaults -
c97d91c
Merge branch '7.x' -
4a38517
chore: release 7.6.7 -
f3ca867
Merge pull request #14156 from hasezoey/removeUtilsOptions - Additional commits viewable in compare view