FileChangeMonitor
FileChangeMonitor copied to clipboard
Bump mongoose from 4.13.19 to 5.8.3
Bumps mongoose from 4.13.19 to 5.8.3.
Changelog
Sourced from mongoose's changelog.
5.8.3 / 2019-12-23
- fix: upgrade mongodb -> 3.4.1 #8430 jaschaio
- fix(populate): don't add empty subdocument to array when populating path underneath a non-existent document array #8432
- fix(schema): handle
_idoption for document array schematypes #8450- fix(update): call setters when updating mixed type #8444
- docs(connections): add note about MongoTimeoutError.reason #8402
5.8.2 / 2019-12-20
- fix(schema): copy
.add()-ed paths when calling.add()with schema argument #8429- fix(cursor): pull schema-level readPreference when using
Query#cursor()#8421- fix(cursor): wait for all promises to resolve if
parallelis greater than number of documents #8422- fix(document): depopulate entire array when setting array path to a partially populated array #8443
- fix: handle setDefaultsOnInsert with deeply nested subdocs #8392
- fix(document): report
DocumentNotFoundErrorif underlying document deleted but no changes made #8428 #8371 AbdelrahmanHafez- docs(populate): clarify limitations of
limitoption for populate and suggest workaround #8409- docs(deprecations): explain which connection options are no longer relevant with useUnifiedTopology #8411
- chore: allow browser build to be published #8435 #8427 captaincaius
5.8.1 / 2019-12-12
- fix(documentarray): dont attempt to cast when modifying array returned from map() #8399
- fix(document): update single nested subdoc parent when setting to existing single nested doc #8400
- fix(schema): add
$embeddedSchemaTypeproperty to arrays for consistency with document arrays #83895.8.0 / 2019-12-09
- feat: wrap server selection timeout errors in
MongooseTimeoutErrorto retain original stack trace #8259- feat(model): add
Model.validate()function that validates a POJO against the model's schema #7587- feat(schema): add
Schema#pick()function to create a new schema with a picked subset of the original schema's paths #8207- feat(schema): add ability to change CastError message using
castoption to SchemaType #8300- feat(schema): group indexes defined in schema path with the same name #6499
- fix(model): build all indexes even if one index fails #8185 unusualbob
- feat(browser): pre-compile mongoose/browser #8350 captaincaius
- fix(connection): throw error when setting unsupported option #8335 #6899 AbdelrahmanHafez
- feat(schema): support
enumvalidator for number type #8139- feat(update): allow using MongoDB 4.2 update aggregation pipelines, with no Mongoose casting #8225
- fix(update): make update validators run on all subpaths when setting a nested path, even omitted subpaths #3587
- feat(schema): support setting
_idas an option to single nested schema paths #8137- feat(query): add Query#mongooseOptions() function #8296
- feat(array): make
MongooseArray#push()support using$position#4322- feat(schema): make pojo paths optionally become subdoc instead of Mixed #8228 captaincaius
- feat(model): add Model.cleanIndexes() to drop non-schema indexes #6676
- feat(document): make
updateOne()document middleware passthisto post hooks #8262- feat(aggregate): run pre/post aggregate hooks on
explain()#5887- docs(model+query): add
sessionoption to docs for findOneAndX() methods #83965.7.14 / 2019-12-06
... (truncated)
Commits
-
ded973dchore: release 5.8.3 -
d3a29bedocs(schematypes): addenumto list of schema number options -
766e06efix(schema): handle_idoption for document array schematypes -
f6637cftest(schema): repro #8450 -
b8119cffix(update): call setters when updating mixed type -
6cd9f6etest(update): repro #8444 -
02ec47etest(map): add coverage for single nested maps with inline_idoption -
4dd84f2docs(connections): add note about MongoTimeoutError.reason -
0e619d0style: fix lint -
e5c6b8cfix: upgrade mongodb -> 3.4.1, fix tests from #8430 - 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 ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major 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.