isle-project/isle-server

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

Closed this issue Β· 9 comments

The dependency mongoose was updated from 5.5.2 to 5.5.3.

🚨 View failing branch.

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

mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).
  • ❌ Travis CI - Branch: The build failed.

Commits

The new version differs by 20 commits.

  • 63be350 chore: release 5.5.3
  • 6a94b74 chore: add tekhattan as an opencollective sponsor
  • 082b729 docs(aggregate): use eachAsync() instead of nonexistent each()
  • b5a6f22 docs(model): list out all operations and options for bulkWrite()
  • ac10789 docs(validation): add CastError validation example
  • 8f37ebf refactor(array): move _parent property behind a symbol
  • 0b84971 fix(query): dont show useFindAndModify deprecation warning if useFindAndModify = false
  • 191994e style: fix lint re: #7679
  • d7c0f20 fix(update): run setters on array elements when doing $set
  • c0000e0 test(update): repro #7679
  • 1474fe8 fix: add findAndModify deprecation warning that references the useFindAndModify option
  • 5fa7177 docs(query+model): list out all options and callback details for Model.updateX() and Query#updateX()
  • e410423 fix(document): handle pushing a doc onto a discriminator that contains a doc array
  • b28e489 test(discriminator): repro #7704
  • 92dd346 Merge pull request #7718 from rzymek/buffered-arguments-fix

There are 20 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

After pinning to 5.5.2 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.

  • The dependency mongoose was updated from 5.5.3 to 5.5.4.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 28 commits.

  • de66520 chore: release 5.5.4
  • 67c3140 Merge pull request #7744 from Fonger/fix-7724
  • 476607d Merge pull request #7746 from Fonger/fix-7743
  • c377e65 fix(map): handle update for MongooseMap#delete
  • b63128b test(map): repro #7743
  • 6b4479c fix(documentarray): preserve the correct index for push()-ed subdoc
  • 679a8f6 test(documentarray): repro #7724
  • 90703ba fix(array): use symbol for _schema property to avoid confusing deep equality checks
  • df96b50 Merge branch 'master' of github.com:Automattic/mongoose
  • d8c2618 fix(document): avoid calling custom getters when saving
  • a9aa20e test(document): repro #7719
  • 3e31a35 Merge pull request #7741 from Fonger/gh-7740
  • 47c10fc fix(document): prevent depopulate() from removing fields with empty array
  • 5bd1ad4 test(document): repro #7740
  • 9645d87 test: fix tests re: #7712

There are 28 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.5.4 to 5.5.5.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 11 commits.

  • 77572fe chore: release 5.5.5
  • de63a0b refactor: use internal symbol for Array#_path to avoid confusing deep equality checkers
  • 5dcc408 refactor: remove setParentPointers()
  • 5aa79c2 fix(document): ensure nested properties within single nested subdocs get set correctly when overwriting single nested subdoc
  • dc32367 test(document): repro #7748
  • 43a5d1d fix(document): skip non-object validators in schema types
  • 5a8c9c8 test(document): repro #7720
  • 23158ba fix: bump mongodb driver -> 3.2.3
  • 4ee5c18 chore: now working on 5.5.5
  • 16bb143 Merge pull request #7750 from Fonger/fix-map-valid-key
  • a52556c fix(map): disallow setting map key with special properties

See the full diff

  • The dependency mongoose was updated from 5.5.5 to 5.5.6.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 19 commits.

  • 38f5f82 chore: release 5.5.6
  • 913ef81 fix(update): avoid throwing cast error if casting array filter that isn't in schema with strictQuery = false
  • a267baa test(update): repro #7728
  • 7472636 style: fix lint
  • fec8038 Merge branch 'master' of github.com:Automattic/mongoose
  • 0deb8a4 fix(populate): set populate virtual count to 0 if local field is empty
  • 4fd8982 test(populate): repro #7731
  • ed591a5 Merge pull request #7767 from phil-r/patch-1
  • 07d316c Fix a typo in Query.prototype.distinct docstring
  • 87ed9ec fix(document): stop converting arrays to objects when setting non-schema path to array with strict: false
  • 2774c5b test(document): repro #7733
  • a84097e fix(array): make two Mongoose arrays assert.deepEqual() each other if they have the same values
  • 14fe703 test: downgrade to mocha 5.x for node 4 support
  • e25b5ae chore: remove power-assert dependency
  • 1b10e6f chore: use latest eslint and mocha

There are 19 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.5.6 to 5.5.7.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 15 commits.

  • 42b6280 chore: release 5.5.7
  • 65b8a7e fix(model): set $session before pre remove hooks run when calling remove() with options
  • 350d9c7 fix(model): set $session() before pre save middleware runs when calling save() with options
  • 44c3952 test(model): repro #7742
  • 651a1ad Merge pull request #7774 from LiaanM/Fix_7770
  • f45906c chore: remove gameserverkings as a sponsor
  • c876a66 fix(schema): support remove() on nested path
  • 422d1df test(schema): repro #2398
  • 115ea98 style: fix lint
  • 8a4faa4 fix(map): handle setting populated map element to doc
  • 78d3af3 test(map): repro #7745
  • dc8f4d2 chore: now working on 5.5.7
  • a0f6ac1 fix(schematype): remove internal validators option because it conflicts with Backbone
  • 28a301f Fixed linter issues
  • 524d981 Fix rawResult not returned when inserted with options {new:false,upsert:true,rawResult:true}

See the full diff

  • The dependency mongoose was updated from 5.5.7 to 5.5.8.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 22 commits.

  • 884306c chore: release 5.5.8
  • a2e9847 test: fix tests
  • 6947e8c fix(document): run pre save hooks on nested child schemas
  • c0b5ca1 test(document): repro #7792
  • 91737e0 chore: use semver range for acquit dependency
  • a6b97e8 Merge pull request #7787 from Fonger/docs-7778
  • 22edca8 Merge pull request #7786 from gfpacheco/patch-1
  • 6da5292 Merge pull request #7785 from Fonger/fix-7769
  • bfce631 chore: bump async dep -> 2.6.2 re: security
  • 3e52363 refactor(types): make array and documentarray both inherit from CoreMongooseArray class
  • 0dc8564 fix(query): make getPopulatedPaths() return deeply populated paths
  • 9deafe0 test(query): repro #7757
  • 715ee77 fix(query): suppress findAndModify deprecation warning when using Model.findOneAndUpdate()
  • b8e7e2a chore(history): correct MongooseArray#includes author
  • df711e4 chore: fix typo

There are 22 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.5.8 to 5.5.9.

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

Commits

The new version differs by 17 commits.

  • a22bf13 Merge branch 'master' of github.com:Automattic/mongoose
  • b642e17 chore: release 5.5.9
  • 7f4c2f0 Merge pull request #7802 from Fonger/fix-7800
  • ece1e81 chore: add clay as a sponsor
  • dc0577c docs(tutorials): add query casting tutorial
  • a5a300d test: fix tests
  • 1089e99 fix(populate): make populated virtual return undefined if not populated
  • 2886268 test(populate): repro #7795
  • 5376d9e Merge branch 'master' of github.com:Automattic/mongoose
  • ccbf3a5 fix(populate): don't skip populating doc array properties whose name conflicts with an array method
  • fd2f33e test(populate): repro #7782
  • b028035 Merge pull request #7804 from Fonger/fix-7799
  • 7229632 fix(documentarray): handle documentarray setter correctly
  • 41b96c7 test(documentarray): repro #7799
  • 1b1a9ea fix(query): run string cast on $options

There are 17 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.5.9 to 5.5.10.

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

Commits

The new version differs by 34 commits.

  • bb5002f chore: release 5.5.10
  • 9c55a23 Merge pull request #7821 from jaona/patch-1
  • a8ec2a9 chore: add alt text for paperleaf
  • 82139c1 Update faq.jade
  • 5a944cd fix(discriminator): allow user-defined discriminator path in schema
  • 3b84823 test(discriminator): repro #7807
  • 94b0fc3 docs(model): clarify that setters do run on update() by default
  • 971de14 fix(query): ensure findOneAndReplace() sends replacement to server
  • 31b4a72 test(query): repro #7654
  • 2e88c38 fix(cast): allow [] as a value when casting $nin
  • b9f62c7 test(cast): repro #7806
  • 5011b56 Merge branch 'master' of github.com:Automattic/mongoose
  • 4dd7720 docs(schema): minor improvement to pre() and post() API docs
  • 62afee6 Merge pull request #7817 from Fonger/patch-2
  • 0200aaa chore: now working on 5.5.10

There are 34 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.5.10 to 5.5.11.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 41 commits.

  • 09bc1a9 chore: release 5.5.11
  • 4d09963 refactor(discriminator): use one consolidated getConstructor() function to get the correct discriminator
  • ec01f4f fix(discriminator): allow numeric discriminator keys for embedded discriminators
  • e91fca1 test(discriminator): repro #7808
  • dc56c43 Merge pull request #7784 from Automattic/chore-node-12
  • c4fd03a chore: now working on 5.5.11
  • bb5002f chore: release 5.5.10
  • 9c55a23 Merge pull request #7821 from jaona/patch-1
  • a8ec2a9 chore: add alt text for paperleaf
  • 82139c1 Update faq.jade
  • 5a944cd fix(discriminator): allow user-defined discriminator path in schema
  • 3b84823 test(discriminator): repro #7807
  • 94b0fc3 docs(model): clarify that setters do run on update() by default
  • 971de14 fix(query): ensure findOneAndReplace() sends replacement to server
  • 31b4a72 test(query): repro #7654

There are 41 commits in total.

See the full diff