madhums / node-express-mongoose-demo

A simple demo app using node and mongodb for beginners (with docker)
https://nodejs-express-demo.fly.dev
MIT License
5.12k stars 1.38k forks source link

Update mongoose to the latest version 🚀 #319

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 6 years ago

Version 5.1.4 of mongoose was just published.

Dependency mongoose
Current Version 5.0.18
Type dependency

The version 5.1.4 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of mongoose.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Commits

The new version differs by 242 commits.

  • 38d4aa7 chore: release 5.1.4
  • 48ac62b docs(lambda): add info on what happens if database does down between lambda function calls
  • ab26fea Merge pull request #6550 from lineus/docs-yeahIbrokethat
  • 86c0488 fix: bump mongodb -> 3.0.9 for handling multiple mongos disconnects
  • 793ecc0 adding hr tags for parallel save error and add something
  • 2648773 fix(update): allow updating embedded discriminator path if discriminator key is in filter
  • a528c89 test(model): repro #5841
  • b0e3893 test(populate): add coverage for remaining cases for #6498
  • 39c5fbd Merge pull request #6537 from lineus/fix-6509
  • aec8136 Merge pull request #6545 from iblamefish/patch-1
  • 5654683 Merge pull request #6539 from lineus/fix-6528
  • 10836b6 Fix broken Connection pools anchor
  • 0b21110 fix(populate): propagate lean() down to subpopulate
  • d25403c test(populate): repro part 1 of #6498
  • 131030b dont use full argument signature when subpopulating with options

There are 242 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Commits

The new version differs by 13 commits.

  • 66e9375 chore: release 5.4.15
  • af4c62c chore: now working on 5.4.15
  • df69f4a Merge pull request #7552 from Automattic/gh7537
  • 8384231 fix(schema): ensure clone() correctly gets childSchemas
  • 1e473c6 fix(schema): clone all schema types when cloning an array
  • 9c0f773 docs(connections): improve connectTimeoutMS docs and socketTimeoutMS docs to link to Node.js net.setTimeout()
  • 091d601 Merge branch 'master' of github.com:Automattic/mongoose
  • 20d3caf fix(update): don't call schematype validators on array if using $pull with runValidators
  • 8c3d4e6 test(model): repro #6971
  • b6327e9 Merge pull request #7546 from hellodigit/migration-5-setters
  • 0ad1f1f 5.x migration: fix setter example
  • d42b94c update 5.x migration guide link
  • e0b4b2f docs: make MongooseError have type string

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Commits

The new version differs by 21 commits.

  • a81f414 Merge branch 'master' of github.com:Automattic/mongoose
  • 0616d7a chore: release 5.4.16
  • 4c7a634 Merge pull request #7563 from yoursdearboy/patch-1
  • ef9d8c9 Fix virtuals cloning
  • ece9a36 docs(model): make note about model() making a copy of the schema arg more loud
  • 14922a1 docs(connections): add reconnectFailed to connection docs
  • 23bfe05 Merge branch 'master' of github.com:Automattic/mongoose
  • 3c208b0 fix(schema): don't throw error if declaring a virtual that starts with a map path name
  • 50efc11 test(schema): repro #7464
  • ef2ff4a Merge pull request #7541 from caub/patch-1
  • 6e06cf3 refactor(schema): iterate over paths instead of depending on childSchemas
  • 207d326 Merge pull request #7553 from DenrizSusam/patch-1
  • 7c4b995 fix(schema): handle nested objects with _id: false
  • a89d3cb style: fix typo in comment
  • 6b5184b test(schema): repro #7524

There are 21 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Commits

The new version differs by 22 commits.

  • 15e285e chore: release 5.4.17
  • a1e17dc style: fix lint
  • d18ef22 Merge branch 'master' of github.com:Automattic/mongoose
  • 921ef4d fix(document): clean modified subpaths when sorting an array
  • 1955a82 test(document): repro #7556
  • d61a762 Merge pull request #7569 from kolya182/patch-1
  • 751cdb2 fix(update): handle all positional operator when casting array filters
  • 4e319f7 test(update): repro #7540
  • 5f064db chore: fix sponsors: remove monovm, add truevendor
  • f91b4e7 fix(populate): handle populating nested path where top-level path is a primitive in the db
  • 0377267 test(populate): repro #7545
  • a370b0e fix(update): run update validators on array filters
  • 7b1c23c test(update): repro #7536
  • b555a85 refactor: nest bulkWrite casting tests under a describe()
  • 4d82210 fix(model): cast $setOnInsert correctly with nested docs

There are 22 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Commits

The new version differs by 11 commits.

  • 52046e1 chore: release 5.4.18
  • 2d34bfb test(discriminator): fix tests on older node versions
  • ae82062 fix(model): remove $versionError from save options for better debug output
  • a465059 fix(model): make subclassed models handle discriminators correctly
  • fa662ee test(model): repro #7547
  • 39eec7c fix(document): handle nested virtuals in populated docs when parent path is projected out
  • c7db725 test(document): repro #7491
  • 3fa119e Merge branch 'master' of github.com:Automattic/mongoose
  • a72cd6d docs: remove datantify as a sponsor
  • e699426 docs: add note about typescript to contributing.md
  • 07f31f1 chore: now working on 5.4.18

See the full diff