Blog
Blog copied to clipboard
Bump mongoose from 6.1.8 to 6.4.6 in /Nest-CRUD
Bumps mongoose from 6.1.8 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_id
to better support_id: String
with auto-typed schemas #12070- docs: fix up various jsdoc issues #12086 hasezoey
- docs: add sanitizeFilter to mongoose.set() options #12112 pathei-kosmos
6.4.4 / 2022-07-08
- fix(types): allow using an object to configure timestamps #12061 lantw44
- fix(types): support findOneAndReplace with rawResult #12062 lantw44
- docs: upgrade API documentation parser #12078 #12072 #12071 #12024 hasezoey
- docs(document): add more info on $isNew #11990
- docs: add SchemaType doValidate() to docs #12068
6.4.3 / 2022-07-05
- fix(document): handle validating deeply nested subdocuments underneath nested paths with required: false #12021
- fix(types): infer schematype type from schema paths when calling
SchemaType.path()
#11987- fix(types): add $top and $topN aggregation operators #12053
- fix(types): clean up a couple of issues with $add and $ifNull #12017
- fix(types): allow $cond with $in #12028
- docs: add path level descending index example in docs #12023 MitchellCash
- docs: add Buffer, Decimal128, Map to docs #11971
6.4.2 / 2022-07-01
- fix: keep autoIndex & autoCreate as true by default if read preference is primaryPreferred #11976
- fix(types): improve inferred Schema Type to handle nested paths and ObjectIds #12007 iammola
- fix(types): avoid inferring doc type from param to create() #12001
- fix(types): make populate Paths generic consistently overwrite doc interface #11955
- fix(types): allow null at ne expression second parameter #11996 jyeros
- fix(types): change index "weights" to be more explicit #11997 hasezoey
6.4.1 / 2022-06-27
... (truncated)
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_id
to better support_id: String
with auto-typed schemas #12070- docs: fix up various jsdoc issues #12086 hasezoey
- docs: add sanitizeFilter to mongoose.set() options #12112 pathei-kosmos
6.4.4 / 2022-07-08
- fix(types): allow using an object to configure timestamps #12061 lantw44
- fix(types): support findOneAndReplace with rawResult #12062 lantw44
- docs: upgrade API documentation parser #12078 #12072 #12071 #12024 hasezoey
- docs(document): add more info on $isNew #11990
- docs: add SchemaType doValidate() to docs #12068
6.4.3 / 2022-07-05
- fix(document): handle validating deeply nested subdocuments underneath nested paths with required: false #12021
- fix(types): infer schematype type from schema paths when calling
SchemaType.path()
#11987- fix(types): add $top and $topN aggregation operators #12053
- fix(types): clean up a couple of issues with $add and $ifNull #12017
- fix(types): allow $cond with $in #12028
- docs: add path level descending index example in docs #12023 MitchellCash
- docs: add Buffer, Decimal128, Map to docs #11971
6.4.2 / 2022-07-01
- fix: keep autoIndex & autoCreate as true by default if read preference is primaryPreferred #11976
- fix(types): improve inferred Schema Type to handle nested paths and ObjectIds #12007 iammola
- fix(types): avoid inferring doc type from param to create() #12001
- fix(types): make populate Paths generic consistently overwrite doc interface #11955
- fix(types): allow null at ne expression second parameter #11996 jyeros
- fix(types): change index "weights" to be more explicit #11997 hasezoey
6.4.1 / 2022-06-27
... (truncated)
Commits
5449ab9
chore: release 6.4.6b8c99cf
Merge pull request #11892 from Automattic/netlify-functions-example2751883
fix testseced2c7
Merge branch 'master' into netlify-functions-example92cb6fb
Merge branch 'master' into vkarpov15/gh-12085422f9da
test(schema): add coverage for callingplugin()
with options2262a77
fix(document): avoid mutating original object passed to $set() when applying ...2e6b064
made requested changesb70a0dc
Merge pull request #12123 from LokeshKanumoori/patch-1086bd9f
fix(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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will 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 labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will 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.