neogeek / mongoose-create-or-update

A Promise-based Mongoose plugin for creating and updating documents in a single statement.
MIT License
5 stars 1 forks source link

Update mongoose to the latest version 🚀 #40

Closed greenkeeper[bot] closed 7 years ago

greenkeeper[bot] commented 7 years ago

Version 4.8.7 of mongoose just got published.

Dependency mongoose
Current Version 4.8.6
Type devDependency

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

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of mongoose. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Commits

The new version differs by 16 commits .

  • 5c22152 chore: release 4.8.7
  • 03e1062 fix(populate): handle passing no args to query.populate
  • 165de1c test(populate): repro #5036
  • e09a428 fix(model): if last arg in spread is falsy, treat it as a callback
  • 057bd3f test(model): repro #5061
  • 0540c8a test: fix tests
  • 0c99538 style: remove unnecessary utils.
  • 9390543 fix(discriminator): handle array discriminators when casting $push
  • 7c114ac test(discriminator): repro #5009
  • 952eaca fix(populate): dont select foreign field if parent field is selected
  • 3dba7b3 test(populate): repro #5037
  • 6669f41 fix(document): use $hook instead of hook
  • f30d834 test(document): repro #5047
  • 7d69ceb fix(update): use correct method for casting nested arrays
  • c17732c test(update): repro #5032

There are 16 commits in total. See the full diff.

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

codecov-io commented 7 years ago

Codecov Report

Merging #40 into master will not change coverage. The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #40   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines           7      7           
  Branches        1      1           
=====================================
  Hits            7      7

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update adec68f...97758c7. Read the comment docs.