Skip to content

Conversation

@dependabot-preview
Copy link

Bumps mongoose from 5.1.6 to 5.6.2.

Changelog

Sourced from mongoose's changelog.

5.6.2 / 2019-06-28

  • fix(update): allow using update() with immutable createdAt #7917
  • fix(model): pass doc parameter to save() error handling middleware #7832
  • fix(mongoose): add applyPluginsToChildSchemas option to allow opting out of global plugins for child schemas #7916
  • docs(connection): document useCache option for useDb() #7923
  • docs: fix broken link in FAQ #7925 christophergeiger3

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 Error rather than MongooseError #7867
  • docs: fix a couple broken links #7921 kizmo04
  • refactor: remove unnecessary if #7911 rayhatfield

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
... (truncated)
Commits
  • 62433bb chore: release 5.6.2
  • 983ec03 chore: add UltimateWP as sponsor, remove Marcus Hiles
  • df8ed53 fix(model): pass doc parameter to save() error handling middleware
  • c7446a4 test(model): repro #7832
  • 44d549c docs(connection): document useCache option for useDb()
  • 077e690 fix(mongoose): add applyPluginsToChildSchemas option to allow opting out of g...
  • 1a0d9bc docs(History): correct issue number
  • e22746e fix(update): allow using update() with immutable createdAt
  • e1afb60 test(update): repro #7917
  • 3d0957a docs(document): clarify toJSON()s relationship with JSON.stringify()
  • 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)
  • 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.2.
- [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.2)

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 Jul 1, 2019
@dependabot-preview
Copy link
Author

Superseded by #23.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mongoose-5.6.2 branch July 4, 2019 12:05
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