dependabot npm(deps): bump mongoose from 7.4.0 to 7.4.1
Bumps mongoose from 7.4.0 to 7.4.1.
Release notes
Sourced from mongoose's releases.
7.4.1 / 2023-07-24
- fix(document): correctly clean up nested subdocs modified state on save() #13644 #13609
- fix(schema): avoid propagating toObject.transform and toJSON.transform option to implicitly created schemas #13634 #13599
- fix: prevent schema options overwriting user defined writeConcern #13612 #13592
- types: correctly handle pre('deleteOne', { document: true }) #13632
- types(schema): handle type: Schema.Types.Map in TypeScript #13628
- types: Add inline comment to to tell the default value of the runValidator flag in the queryOptions types #13636 omran95
- docs: rework several code examples that still use callbacks #13635 #13616
- docs: remove callbacks from validation description #13638 #13501
Changelog
Sourced from mongoose's changelog.
7.4.1 / 2023-07-24
- fix(document): correctly clean up nested subdocs modified state on save() #13644 #13609
- fix(schema): avoid propagating toObject.transform and toJSON.transform option to implicitly created schemas #13634 #13599
- fix: prevent schema options overwriting user defined writeConcern #13612 #13592
- types: correctly handle pre('deleteOne', { document: true }) #13632
- types(schema): handle type: Schema.Types.Map in TypeScript #13628
- types: Add inline comment to to tell the default value of the runValidator flag in the queryOptions types #13636 omran95
- docs: rework several code examples that still use callbacks #13635 #13616
- docs: remove callbacks from validation description #13638 #13501
Commits
-
70fa116
chore: release 7.4.1 -
ae3894c
Merge pull request #13644 from Automattic/vkarpov15/gh-13609 -
ec6ecb5
fix(document): clean up all nested subdocs modified state on save -
c90ac38
fix: avoid applying defaults when casting for $pull() re: #13609 -
faf6bf7
Merge pull request #13636 from omran95/omran95/add-inline-comment-to-runValid... -
c44926c
Merge pull request #13638 from Automattic/IslandRhythms/gh-13501 -
2fadab8
Update document.js -
70e6a3b
fix doc.validate doc -
e48aa77
Merge pull request #13612 from Automattic/IslandRhythms/gh-13592 -
cdadc2b
Update applyWriteConcern.test.js - Additional commits viewable in compare view