blogsystem
blogsystem copied to clipboard
Bump mongoose from 4.13.20 to 5.9.7
Bumps mongoose from 4.13.20 to 5.9.7.
Changelog
Sourced from mongoose's changelog.
5.9.7 / 2020-03-30
- fix(map): avoid infinite loop when setting a map of documents to a document copied using spread operator #8722
- fix(query): clean stack trace for filter cast errors so they include the calling file #8691
- fix(model): make bulkWrite updates error if
strict
andupsert
are set andfilter
contains a non-schema path #8698- fix(cast): make internal
castToNumber()
allow undefined #8725 p3x-robot5.9.6 / 2020-03-23
- fix(document): allow saving document with nested document array after setting
nestedArr.0
#8689- docs(connections): expand section about multiple connections to describe patterns for exporting schemas #8679
- docs(populate): add note about
execPopulate()
to "populate an existing document" section #8671 #8275- docs: fix broken links #8690 AbdelrahmanHafez
- docs(guide): fix typos #8704 MateRyze
- docs(guide): fix minor typo #8683 pkellz
5.9.5 / 2020-03-16
- fix: upgrade mongodb driver -> 3.5.5 #8667 #8664 AbdelrahmanHafez
- fix(connection): emit "disconnected" after losing connectivity to every member of a replica set with
useUnifiedTopology: true
#8643- fix(array): allow calling
slice()
afterpush()
#8668 #8655 AbdelrahmanHafez- fix(map): avoid marking map as modified if setting
key
to the same value #8652- fix(updateValidators): don't run
Mixed
update validator on dotted path underneath mixed type #8659- fix(populate): ensure top-level
limit
applies if one document being populated has more thanlimit
results #8657- fix(populate): throw error if both
limit
andperDocumentLimit
are set #8661 #8658 AbdelrahmanHafez- docs(findOneAndUpdate): add a section about the
rawResult
option #8662- docs(guide): add section about
loadClass()
#8623- docs(query): improve
Query#populate()
example to clarify thatsort
doesn't affect the original result's order #86475.9.4 / 2020-03-09
- fix(document): allow
new Model(doc)
to set immutable properties when doc is a mongoose document #8642- fix(array): make sure you can call
unshift()
afterslice()
#8482- fix(schema): propagate
typePojoToMixed
to implicitly created arrays #8627- fix(schema): also propagate
typePojoToMixed
option to schemas implicitly created because oftypePojoToMixed
#8627- fix(model): support passing
background
option tosyncIndexes()
#8645- docs(schema): add a section about the
_id
path in schemas #8625- docs(virtualtype+populate): document using
match
with virtual populate #8616- docs(guide): fix typo #8648 sauzy34
5.9.3 / 2020-03-02
... (truncated)
- fix: upgrade mongodb driver -> 3.5.4 #8620
- fix(document): set subpath defaults when overwriting single nested subdoc #8603
- fix(document): make calling
validate()
with single nested subpath only validate that single nested subpath #8626- fix(browser): make
mongoose.model()
return a class in the browser to allow hydrating populated data in the browser #8605- fix(model): make
syncIndexes()
andcleanIndexes()
drop compound indexes with_id
that aren't in the schema #8559- docs(connection+index): add warnings to explain that bufferMaxEntries does nothing with
useUnifiedTopology
#8604- docs(document+model+query): add
options.timestamps
parameter docs tofindOneAndUpdate()
andfindByIdAndUpdate()
#8619- docs: fix out of date links to tumblr #8599
Commits
4015625
chore: release 5.9.74cbabb6
fix(map): avoid infinite loop when setting a map of documents to a document c...074c6f5
fix(query): clean stack trace for filter cast errors so they include the call...0c09395
Merge branch 'fix-8691'088633f
style: fix lint486c020
test: fix tests re: #8725c41c638
test: fix tests re: #8691055b75d
refactor(query): always callexec()
when executing a query instead of calli...ee135ef
fix(query): ensure stack trace showsexec()
when casting conditions with `f...bce760d
Merge pull request #8732 from AbdelrahmanHafez/patch-1- 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.