Skip to content

Conversation

@dependabot-preview
Copy link

Bumps mongoose from 5.1.6 to 5.6.0.

Changelog

Sourced from mongoose's changelog.

5.6.0 / 2019-06-14

  • feat(schematype): add immutable option 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 matching filter exists #6872
  • feat(index+connection): support setting global and connection-level maxTimeMS
  • feat(populate): support setting ref to a function for conventional populate #7669
  • feat(document): add overwrite() function that overwrites all values in a document #7830
  • feat(populate): support PopulateOptions#connection option 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 of getQuery() 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 of automatically 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 numAffected and result to DocumentNotFoundError for better debugging #7892 #7844

5.5.14 / 2019-06-08

  • fix(query): correct this scope of setters in update query #7876 Fonger
  • fix(model): reset modifiedPaths after successful insertMany #7852 #7873 Fonger
  • fix(populate): allow using refPath with virtual populate #7848
  • fix(document): prepend private methods getValue and setValue with $ #7870 Fonger
  • fix: update mongodb driver -> 3.2.7 #7871 Fonger
  • docs(tutorials): add tutorial about custom casting functions #7045
  • docs(connection): fix outdated events document #7874 Fonger
  • docs: fix typo in lean docs #7875 tannakartikey
  • docs: move off of KeenIO for tracking and use self-hosted analytics instead

5.5.13 / 2019-06-05

  • fix(model): support passing deleteOne options #7860 #7857 Fonger
  • fix(update): run setters on array elements when doing $addToSet, $push, etc #4185
  • fix(model): support getting discriminator by value when creating a new model #7851
  • docs(transactions): add section about the withTransaction() helper #7598
... (truncated)
Commits
  • baa2066 chore: release 5.6.0
  • ba4d84f Merge pull request #7888 from Automattic/5.6
  • 86d5c1e Merge pull request #7899 from sharils/patch-1
  • 8d1aa36 Merge pull request #7900 from sharils/patch-2
  • 30e8cc8 Fix casing
  • 3957c5d Fix reference to example schema.js
  • 1f14d36 perf(model): add lean() to exists() query for performance re: #6872
  • 57b8c74 feat(model): add Model.exists() function to quickly check whether a documen...
  • ada35e5 Merge branch 'master' into 5.6
  • 939660e chore: now working on 5.5.16
  • Additional commits viewable in compare view

Dependabot compatibility score

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 ignore this [patch|minor|major] version will 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 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
  • @dependabot badge me will 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.

Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.1.6 to 5.6.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
- [Commits](Automattic/mongoose@5.1.6...5.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 17, 2019
@dependabot-preview
Copy link
Author

Superseded by #21.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mongoose-5.6.0 branch June 25, 2019 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant