otto
otto copied to clipboard
Bump mongoose from 7.3.0 to 7.3.3
Bumps mongoose from 7.3.0 to 7.3.3.
Release notes
Sourced from mongoose's releases.
7.3.3 / 2023-07-10
- fix: avoid prototype pollution on init
- fix(document): clean up all array subdocument modified paths on save() #13589 #13582
- types: avoid unnecessary MergeType<> if TOverrides not set, clean up statics and insertMany() type issues #13577 #13529
7.3.2 / 2023-07-06
- fix(model): avoid TypeError if insertMany() fails with error that does not have writeErrors property #13579 #13531
- fix(query): convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6 #13572 #13550
- fix(query): throw readable error when executing a Query instance without an associated model #13571 #13570
- types: support mongoose.Schema.ObjectId as alias for mongoose.Schema.Types.ObjectId #13543 #13534
- docs(connections): clarify that socketTimeoutMS now defaults to 0 #13576 #13537
- docs(migrating_to_7): add mapReduce() removal to migration guide #13568 #13548
- docs(schemas): fix typo in schemas.md #13540 Metehan-Altuntekin
7.3.1 / 2023-06-21
- fix(query): respect query-level strict option on findOneAndReplace() #13516 #13507
- docs(connections): expand docs on serverSelectionTimeoutMS #13533 #12967
- docs: add example of accessing save options in pre save #13498
- docs(connections+faq): add info on localhost vs 127.0.0.1
- docs(SchemaType): validate members are validator & message (not msg) #13521 lorand-horvath
Changelog
Sourced from mongoose's changelog.
7.3.3 / 2023-07-10
- fix: avoid prototype pollution on init
- fix(document): clean up all array subdocument modified paths on save() #13589 #13582
- types: avoid unnecessary MergeType<> if TOverrides not set, clean up statics and insertMany() type issues #13577 #13529
7.3.2 / 2023-07-06
- fix(model): avoid TypeError if insertMany() fails with error that does not have writeErrors property #13579 #13531
- fix(query): convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6 #13572 #13550
- fix(query): throw readable error when executing a Query instance without an associated model #13571 #13570
- types: support mongoose.Schema.ObjectId as alias for mongoose.Schema.Types.ObjectId #13543 #13534
- docs(connections): clarify that socketTimeoutMS now defaults to 0 #13576 #13537
- docs(migrating_to_7): add mapReduce() removal to migration guide #13568 #13548
- docs(schemas): fix typo in schemas.md #13540 Metehan-Altuntekin
7.3.1 / 2023-06-21
- fix(query): respect query-level strict option on findOneAndReplace() #13516 #13507
- docs(connections): expand docs on serverSelectionTimeoutMS #13533 #12967
- docs: add example of accessing save options in pre save #13498
- docs(connections+faq): add info on localhost vs 127.0.0.1
- docs(SchemaType): validate members are validator & message (not msg) #13521 lorand-horvath
Commits
90d84fdchore: release 7.3.382b9c3cstyle: fix lint02699faMerge branch 'vkarpov15/avoid-prototype-pollution'2188458Merge pull request #13577 from Automattic/vkarpov15/gh-13529e94ca23Merge pull request #13589 from Automattic/vkarpov15/gh-135821a998e2Merge pull request #13588 from Automattic/vkarpov15/gh-13575cc722a1test: add coverage for constructor propertiese29578dfix: avoid prototype pollution on init422dff4perf: avoid adding all doc array subpaths when 1 path is modifiedeb9a4f7fix(document): clean up all array subdocument modified paths on save()- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.