Bump mongoose from 4.13.14 to 5.6.1
Bumps mongoose from 4.13.14 to 5.6.1.
Changelog
Sourced from mongoose's changelog.
5.6.1 / 2019-06-24
- fix(update): skip setting defaults for single embedded subdocs underneath maps #7909
- fix(document): copy date objects correctly when strict = false #7907
- feat(mongoose): throw an error if calling
mongoose.connect()multiple times while connected #7905 Fonger- fix(document): copies virtuals from array subdocs when casting array of docs with same schema #7898
- fix(schema): ensure clone() copies single embedded discriminators correctly #7894
- fix(discriminator): merge instead of overwriting conflicting nested schemas in discriminator schema #7884
- fix(populate): ignore nullish arguments when calling
populate()#7913 rayhatfield- docs: add getters/setters tutorial #7919
- docs: clean up error docs so they refer to
Errorrather thanMongooseError#7867- docs: fix a couple broken links #7921 kizmo04
- refactor: remove unnecessary if #7911 rayhatfield
5.6.0 / 2019-06-14
- feat(schematype): add
immutableoption to disallow changing a given field #7671- docs: split API docs into separate pages to make API documentation more Google-able #7812
- perf(array): remove all mixins in favor of ES6 classes, ~20% faster in basic benchmarks #7798
- feat(document): use promise rejection error message when async custom validator throws an error #4913
- feat(virtual): pass document as 3rd parameter to virtual getters and setters to enable using arrow functions #4143
- feat(model): add
Model.exists()function to quickly check whether a document matchingfilterexists #6872- feat(index+connection): support setting global and connection-level
maxTimeMS- feat(populate): support setting
refto a function for conventional populate #7669- feat(document): add overwrite() function that overwrites all values in a document #7830
- feat(populate): support
PopulateOptions#connectionoption to allow cross-db populate with refPath #6520- feat(populate): add skipInvalidIds option to silently skip population if id is invalid, instead of throwing #7706
- feat(array): skip empty array default if there's a 2dsphere index on a geojson path #3233
- feat(query): add
getFilter()as an alias ofgetQuery()to be more in line with API docs #7839- feat(model): add Model.inspect() to make models not clutter
util.inspect()#7836- perf(discriminator): skip calling
createIndex()on indexes that are defined in the base schema #7379- docs: upgrade from Jade to latest Pug #7812
- docs(README): update reference to example schema.js #7899 sharils
- docs(README): improve variable name #7900 sharils
- chore: replace charAt(0) with startsWith #7897 Fonger
- chore: replace indexOf with includes, startsWith and endsWith for String #7897 Fonger
5.5.15 / 2019-06-12
- fix(connection): reject initial connect promise even if there is an on('error') listener #7850
- fix(map): make
ofautomatically convert POJOs to schemas unless typeKey is set #7859- fix(update): use discriminator schema to cast update if discriminator key specified in filter #7843
- fix(array): copy atomics from source array #7891 #7889 jyrkive
- fix(schema): return this when Schema.prototype.add is called with Schema #7887 Mickael-van-der-Beek
- fix(document): add
numAffectedandresultto DocumentNotFoundError for better debugging #7892 #78445.5.14 / 2019-06-08
... (truncated)
Commits
-
8529a30chore: release 5.6.1 -
cc1b5a5docs: add getters/setters tutorial -
91b61a0Merge pull request #7921 from kizmo04/master -
3588ddbdocs(API): fix some href -
4c4973afix(update): quick improvement for #7909 -
0314b02fix(update): skip setting defaults for single embedded subdocs underneath maps -
ef79737test(update): repro #7909 -
35e9e6efix(document): copy date objects correctly when strict = false -
41ad80atest(document): repro #7907 -
a7a6663docs: fix some href - 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 -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Codecov Report
Merging #255 into develop will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## develop #255 +/- ##
========================================
Coverage 66.66% 66.66%
========================================
Files 146 146
Lines 1926 1926
========================================
Hits 1284 1284
Misses 642 642
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 8f0edaf...4d2906a. Read the comment docs.