Update mongoose: 6.6.5 → 6.7.0 (minor) #112
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ mongoose (6.6.5 → 6.7.0) · Repo · Changelog
Release Notes
6.7.0
6.6.7
6.6.6
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 56 commits:
chore: release 6.7.0
Merge pull request #12587 from Automattic/6.7
Merge pull request #12268 from hasezoey/addUUID
feat: upgrade to mongodb driver 4.11.0
Merge branch 'master' into 6.7
chore: release 6.6.7
Merge pull request #12578 from Automattic/vkarpov15/gh-12513
fix: more robust fix for #12513
fix(query): allow overwriting discriminator key with `overwriteDiscriminatorKey` if `strict: 'throw'`
Merge pull request #12577 from Automattic/vkarpov15/gh-12576
fix: correct browser build and improve isAsyncFunction check for browser
Merge branch 'master' of github.com:Automattic/mongoose
chore: release 6.6.6
Merge pull request #12570 from Automattic/vkarpov15/gh-12508
refactor: create separate helper to get strictQuery re: code review comments
Merge branch 'master' into vkarpov15/gh-12508
Merge pull request #12571 from Automattic/vkarpov15/gh-12518
Merge pull request #12569 from Automattic/vkarpov15/gh-12480
Merge pull request #12568 from Automattic/vkarpov15/gh-12478
fix(update): handle runValidators when using `$set` on a doc array in discriminator schema
fix(cast): make schema-level strictQuery override schema-level strict for query filters
fix(document): allow creating document with document array and top-level key named `schema`
fix(aggregate): avoid adding extra `$match` stage if user manually set discriminator key to correct value in first pipeline stage
Merge pull request #12534 from lpizzinidev/fix-nested-discriminator-key
docs(populate): add info on using populate transform to set localization params for getters
Merge pull request #12560 from lpizzinidev/docs-populate-transform
Merge pull request #12553 from raphael-papazikas/feature/add-filter-expr-limit-option
Merge pull request #12542 from Automattic/vkarpov15/gh-12472
Merge pull request #12545 from raphael-papazikas/feature/12536-fill-stage
Merge branch 'master' into 6.7
docs(populate): added transform option description
feat(aggregation): add limit to $filter expression
add $fill pipeline stage
handle nested discriminator keys
(fix): Throws error when updating a key name that match the distriminator key name on nested object
Merge pull request #12532 from hasezoey/addTypescriptToTemplate
Update bug.yml
Merge pull request #12535 from FabioCingottini/fix/adjust-replace-with-stage-on-pipeline-stages-type
feat(types): allow calling `Model.discriminator()` with options
Merge pull request #12541 from lpizzinidev/docs-usedb
Update connection.js
Merge pull request #12538 from hasezoey/fix12525
Merge pull request #12540 from Automattic/vkarpov15/gh-12117
Update lib/document.js
feat(model): add `mergeHooks` option to `Model.discriminator()` to avoid duplicate hooks
Update lib/connection.js
fix lint
docs(connection): improved useDb() documentation
feat(document): add `$timestamps()` method to set timestamps for `save()`, `bulkSave()`, and `insertMany()`
docs(guide): update broken read-preference links
fix(types): adjust replaceWith type pipeline stage
Merge pull request #12533 from FabioCingottini/fix/add-missing-densify-stage-on-pipeline-stages-type
fix(types): add missing densify type pipeline type
chore(template::bug): add field for typescript version
Merge pull request #12491 from Automattic/vkarpov15/gh-12368
Merge branch 'master' into 6.7
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands