mblarsen / mongoose-hidden

A Mongoose schema plugin for filtering properties you usually do not want to sent client-side like passwords and IDs.
MIT License
89 stars 19 forks source link

An in-range update of mongoose is breaking the build 🚨 #59

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

Version 5.2.0 of mongoose was just published.

Branch Build failing 🚨
Dependency mongoose
Current Version 5.1.8
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

mongoose is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details - ❌ **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/mblarsen/mongoose-hidden/builds/399389297?utm_source=github_status&utm_medium=notification)

Commits

The new version differs by 41 commits.

  • d457cbe chore: release 5.2.0
  • 5d730d4 Merge pull request #6600 from Automattic/5.2
  • 985a845 feat(model): make ensureIndexes() fail if specifying an index on _id
  • 93d06a4 feat(model): add countDocuments()
  • cb2a9a8 Merge branch 'master' into 5.2
  • 44928ef test: fix tests
  • dd3ee74 fix(model): ignore sparse indexes when using decorateDiscriminatorIndexOptions()
  • 8d775f1 feat(model): decorate unique discriminator indexes with partialFilterExpressions
  • 678692e test(model): repro #6347
  • b5f928d chore: add missing strict mode
  • 7839a0d feat(discriminator): support discriminators on nested doc arrays
  • 91980e4 feat(model): add syncIndexes(), drops indexes that aren't in schema
  • e6a30b9 chore: depend on mongodb-core for require() with node v4
  • f39595e feat(model): add listIndexes() helper
  • 0a2d255 fix: avoid using Object.values() for old node versions

There are 41 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 6 years ago

After pinning to 5.1.8 your tests are passing again. Downgrade this dependency πŸ“Œ.

greenkeeper[bot] commented 6 years ago

Version 5.2.1 just got published.

Your tests are passing again with this version. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 7 commits.

  • f7f55b0 chore: release 5.2.1
  • ff08b9c fix(model): only warn on custom _id index if index only has _id key
  • 2decc5b fix(connection): allow setting the mongodb driver's useNewUrlParser option, default to false
  • b2c1c6d chore: now working on 5.2.1
  • d90ef00 Merge pull request #6652 from lineus/temp-fix-conn-issues
  • a016a2f docs(model): add session to startSession() example
  • 727eda4 dont use newUrlParser until next driver update

See the full diff

mblarsen commented 6 years ago

False positive