Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Conversation

dependabot-preview[bot]
Copy link

Bumps mongoose from 5.9.15 to 5.10.4.

Changelog

Sourced from mongoose's changelog.

5.10.4 / 2020-09-09

  • fix(document): allow setting nested path to instance of model #9392
  • fix: handle findOneAndRemove() with orFail() #9381
  • fix(schema): support setting _id option to false after instantiating schema #9390
  • docs(document): fix formatting on getChanges() #9376

5.10.3 / 2020-09-03

  • fix: upgrade mongodb -> 3.6.1 #9380 lamhieu-vk
  • fix(populate): allow populating paths underneath subdocument maps #9359
  • fix(update): handle casting map paths when map is underneath a single nested subdoc #9298
  • fix(discriminator): avoid removing nested path if both base and discriminator schema have the same nested path #9362
  • fix(schema): support Schema#add() with schematype instances with different paths #9370
  • docs(api): fix typo in Query#get() example #9372 elainewlin

5.10.2 / 2020-08-28

  • fix(model): avoid uncaught error if insertMany() fails due to server selection error #9355
  • fix(aggregate): automatically convert accumulator function options to strings #9364
  • fix(document): handle pull() on a document array when _id is an alias #9319
  • fix(queryhelpers): avoid path collision error when projecting in discriminator key with .$ #9361
  • fix: fix typo in error message thrown by unimplemented createIndex #9367 timhaley94
  • docs(plugins): note that plugins should be applied before you call mongoose.model() #7723

5.10.1 / 2020-08-26

  • fix(mongoose): fix .then() is not a function error when calling mongoose.connect() multiple times #9358 #9335 #9331
  • fix: allow calling create() after bulkWrite() by clearing internal casting context #9350
  • fix(model): dont wipe out changes made while save() is in-flight #9327
  • fix(populate): skip checking refPath if the path to populate is undefined #9340
  • fix(document): allow accessing document values from function default on array #9351
  • fix(model): skip applying init hook if called with schema.pre(..., { document: false }) #9316
  • fix(populate): support retainNullValues when setting _id to false for subdocument #9337 #9336 FelixRe0
  • docs: update connect example to avoid deprecation warnings #9332 moander

5.10.0 / 2020-08-14

  • feat: upgrade to MongoDB driver 3.6 for full MongoDB 4.4 support
  • feat(connection): add Connection#transaction() helper that handles resetting Mongoose document state if the transaction fails #8380
  • feat(connection): make transaction() helper reset array atomics after failed transaction
  • feat(schema+model): add optimisticConcurrency option to use OCC for save() #9001 #5424
  • feat(aggregate): add Aggregate#search() for Atlas Text Search #9115
  • feat(mongoose): add support for setting setDefaultsOnInsert as a global option #9036 AbdelrahmanHafez
  • feat(mongoose): add support for setting returnOriginal as a global option #9189 #9183 AbdelrahmanHafez
  • feat(mongoose): allow global option mongoose.set('strictQuery', true) #9016 AbdelrahmanHafez
  • feat(document): add Document#getChanges #9097 AbdelrahmanHafez
  • feat(document): support defaults option to disable adding defaults to a single document #8271
  • feat(SingleNestedPath+DocumentArray): add static set() function for global options, support setting _id globally #8883
  • feat(query): handle casting $or when each clause contains a different discriminator key #9018
Commits
  • 7d3f9fe chore: release 5.10.4
  • c5294c3 fix(document): allow setting nested path to instance of model
  • 61885f2 test(document): repro #9392
  • 287cc87 Merge branch 'master' of github.com:Automattic/mongoose
  • 31ad004 fix(schema): support setting _id option to false after instantiating schema
  • 1b19af2 test(schema): repro #9390
  • 3261852 fix: handle findOneAndRemove() with orFail()
  • dc1af4f chore: fix docs build re: #9384
  • 8848d4b Merge pull request #9384 from Automattic/dependabot/npm_and_yarn/marked-1.1.1
  • 3972ac3 Merge branch 'master' of github.com:Automattic/mongoose
  • 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 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
  • @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)

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

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 Sep 10, 2020
@dependabot-preview
Copy link
Author

Superseded by #108.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mongoose-5.10.4 branch September 14, 2020 12:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants