webdevhub
webdevhub copied to clipboard
Bump mongoose from 6.4.4 to 6.4.6
Bumps mongoose from 6.4.4 to 6.4.6.
Release notes
Sourced from mongoose's releases.
6.4.6 / 2022-07-20
- fix(schema): disallow setting proto when creating schema with dotted properties #12085
- fix(document): avoid mutating original object passed to $set() when applying defaults to nested properties #12102
- fix(query): apply lean transform option to top-level document #12093
- docs(migrating_to_6): correct example for
isObjectIdOrHexString()#12123 LokeshKanumoori6.4.5 / 2022-07-18
- fix(model+timestamps): set timestamps on subdocuments in insertMany() #12060
- fix: correct isAtlas check #12110 skrtheboss
- fix(types): fix various issues with auto typed schemas #12042 mohammad0-0ahmad
- fix(types): allow any value for AddFields #12096
- fix(types): allow arbitrary expressions for ConcatArrays #12058
- fix(types): make $addToSet fields mutable to allow programatically constructing $addToSet #12091
- fix(types): add $let as a possible expression to $addFields #12087 AbdelrahmanHafez
- fix(types): fix $switch expression type #12088 AbdelrahmanHafez
- fix(types): correct options type for syncIndexes() #12101 lpizzinidev
- fix(types): avoid treating | undefined types as any in
Require_idto better support_id: Stringwith auto-typed schemas #12070- docs: fix up various jsdoc issues #12086 hasezoey
- docs: add sanitizeFilter to mongoose.set() options #12112 pathei-kosmos
Changelog
Sourced from mongoose's changelog.
6.4.6 / 2022-07-20
- fix(schema): disallow setting proto when creating schema with dotted properties #12085
- fix(document): avoid mutating original object passed to $set() when applying defaults to nested properties #12102
- fix(query): apply lean transform option to top-level document #12093
- docs(migrating_to_6): correct example for
isObjectIdOrHexString()#12123 LokeshKanumoori6.4.5 / 2022-07-18
- fix(model+timestamps): set timestamps on subdocuments in insertMany() #12060
- fix: correct isAtlas check #12110 skrtheboss
- fix(types): fix various issues with auto typed schemas #12042 mohammad0-0ahmad
- fix(types): allow any value for AddFields #12096
- fix(types): allow arbitrary expressions for ConcatArrays #12058
- fix(types): make $addToSet fields mutable to allow programatically constructing $addToSet #12091
- fix(types): add $let as a possible expression to $addFields #12087 AbdelrahmanHafez
- fix(types): fix $switch expression type #12088 AbdelrahmanHafez
- fix(types): correct options type for syncIndexes() #12101 lpizzinidev
- fix(types): avoid treating | undefined types as any in
Require_idto better support_id: Stringwith auto-typed schemas #12070- docs: fix up various jsdoc issues #12086 hasezoey
- docs: add sanitizeFilter to mongoose.set() options #12112 pathei-kosmos
Commits
5449ab9chore: release 6.4.6b8c99cfMerge pull request #11892 from Automattic/netlify-functions-example2751883fix testseced2c7Merge branch 'master' into netlify-functions-example92cb6fbMerge branch 'master' into vkarpov15/gh-12085422f9datest(schema): add coverage for callingplugin()with options2262a77fix(document): avoid mutating original object passed to $set() when applying ...2e6b064made requested changesb70a0dcMerge pull request #12123 from LokeshKanumoori/patch-1086bd9ffix(query): apply lean transform option to top-level document- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.