u-wave/core

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

Closed this issue Β· 11 comments

The dependency mongoose was updated from 5.7.8 to 5.7.9.

🚨 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 could not complete due to an error (Details).

Commits

The new version differs by 14 commits.

  • 537217e chore: release 5.7.9
  • 97d6900 test: fix tests for node 4.x and 5.x
  • 03ef4d8 fix(document): support getter setting virtual on manually populated doc when calling toJSON()
  • d4648ee test(document): repro #8295
  • 6c1d46a fix(model): allow objects with toBSON() to make it to save()
  • de3eee5 docs: add link to custom casting guide
  • 1c4d994 chore: now working on 5.7.9
  • 9b0e96d fix(populate): make retainNullValues set array element to null if foreign doc with that id was not found
  • f0aeddc test(populate): repro #8293
  • d02ebd2 fix(schema): support setting schema path to an instance of SchemaTypeOptions
  • 081f2ec test(schema): repro #8292
  • 328f94e chore: remove opencollective sponsor
  • 4f2fe4f chore: add new opencollective sponsors
  • 0bdc11e chore: add crosswordsolver as a sponsor

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.7.8 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.7.9 to 5.7.10.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 11 commits.

  • 95b25ce chore: release 5.7.10
  • 2753e1c chore: fix package.json config for #8322
  • 284b44d Merge pull request #8322 from stieg/improve-tests
  • 5c04b5d Merge pull request #8321 from dandv/patch-1
  • 9e31710 build(test) Improve test target
  • 689791b Illustrate Promise API, move Import after Install
  • e9c69b3 perf(cursor): remove unnecessary setTimeout() in eachAsync(), 4x speedup in basic benchmarks
  • bea0b6d chore: ensure all node tests do require('./common') first so they can work independently
  • 6067dcd chore: alternative crosswordsolver logo re: #8301
  • e6859bc test: clean up test for timestamps with insertMany() re: #8304
  • 81c61f6 chore: add opencollective sponsors

See the full diff

  • The dependency mongoose was updated from 5.7.10 to 5.7.11.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 11 commits.

  • 9970a6f chore: release 5.7.11
  • e268572 Merge pull request #8341 from Fonger/fix/memory-leak
  • e5c6ded test(connection): fix tests re: #8337
  • 0c0833a test(model): add test for issue #8040 re: #8048 #8326
  • 4ec852d fix(connection): bubble up connected/disconnected events with unified topology
  • 98facde Merge pull request #8332 from AbdelrahmanHafez/master
  • c900645 Merge pull request #8326 from Fonger/patch-5
  • 91ea10e fix: upgrade to mongodb driver 3.3.4
  • a91dc93 Add test for #8331
  • 6c1dcb2 Fixes #8331
  • de583bb fix(model): delete $versionError after saving to prevent memory leak

See the full diff

  • The dependency mongoose was updated from 5.7.11 to 5.7.12.

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 31 commits.

  • 33412d9 chore: release 5.7.12
  • b946225 Merge pull request #8351 from AbdelrahmanHafez/gh-8317
  • 63c2f1e Remove filter test
  • 4599877 Revert making map return vanilla JS Array
  • 9509b47 style: fix lint
  • 757579d fix(connection): only buffer for "open" events when calling connection helper while connecting
  • ff3d36f fix(populate+discriminator): handle populating document whose discriminator value is different from discriminator model name
  • a32d9a8 test(populate): repro #8324
  • ba38d1d Add test to fiter
  • ba2c353 Make DocumentArray#map return a regular JS array
  • 2881dda fix: clean up some leftover issues with #8343
  • 146c33f Merge branch 'master' of github.com:Automattic/mongoose
  • 0bc3455 fix(model): support setting excludeIndexes as schema option for subdocs
  • 4c150e0 test(model): repro #8343
  • e366bca Merge pull request #8355 from BuildingConnected/feat/use-default-db-in-connection-string

There are 31 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.7.12 to 5.7.13.

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

Commits

The new version differs by 18 commits.

  • 44ad5d4 chore: release 5.7.13
  • ca527f4 fix: use serverDescriptionChanged event to distinguish between timeout vs disconnected re: #8383
  • 9f0a9a9 chore: debug for #8383
  • a792397 style: fix lint
  • 02047ca fix(connection): correctly bubble up timeout and disconnected events re: #8383
  • e6616d7 test: fix one test re: #8383
  • 68cdc33 fix: upgrade mongodb driver -> 3.3.5
  • 51c6776 refactor(schema): add array.$, array.$.$ subpaths for nested arrays
  • cfbaf0f refactor: remove unnecessary code from fix for #6398
  • a8bcc8e chore: add funding info
  • 38eb5aa Merge pull request #8365 from Fonger/fix/insertMany-cast
  • dc9272c chore: remove nyc for now
  • 77dd672 chore: add SECURITY.md
  • 67babb8 docs(error): add more detail about the ValidatorError class, including properties
  • 40dbc06 chore: now working on 5.7.13

There are 18 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.7.13 to 5.7.14.

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

Commits

The new version differs by 34 commits.

  • 7575882 chore: release 5.7.14
  • 6ec6980 test: make parallelLimit test more robust to timing issues
  • faabdbb docs(schema): clarify that uppercase, lowercase, and trim options for SchemaString don't affect RegExp queries
  • 4df0a3c fix(update): handle embedded discriminator paths when discriminator key is defined in the update
  • 5cdfa4a test(update): repro #8378
  • ae66e46 chore: add subdirs.test.js that requires in subdirectories
  • f06d1c7 fix(cursor): wait until all eachAsync() functions finish before resolving the promise
  • d4a7ef3 test(cursor): repro #8352
  • 491b9cc fix(schematype): handle passing message function to SchemaType#validate() as positional arg
  • 253e054 test(schematype): repro #8360
  • 1eaefc8 chore(connection): set driverInfo option
  • cee9152 chore: remove Novembers dropped opencollective sponsors
  • efe57c1 chore: now working on 5.7.14
  • a567816 fix(map): handle cloning a schema that has a map of subdocuments
  • 6248073 test(map): repro #8357

There are 34 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.7.14 to 5.8.0.

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

Commits

The new version differs by 95 commits.

  • 9ce1375 chore: release 5.8.0
  • ee892b9 Merge pull request #8415 from Automattic/5.8
  • 8a7aefe docs(model+query): add session option to docs for findOneAndX() methods
  • edd8277 chore: now working on 5.7.15
  • c2cda8a Merge branch 'master' into 5.8
  • 7575882 chore: release 5.7.14
  • 6ec6980 test: make parallelLimit test more robust to timing issues
  • ddb9d15 Merge pull request #8350 from captaincaius/feature-precompile-browser
  • 456f195 Merge branch '5.8' into feature-precompile-browser
  • 2cbe7fb Merge branch 'master' into 5.8
  • 340a77e Merge branch '5.8' of github.com:Automattic/mongoose into 5.8
  • 127d687 chore: remove debug code thats causing tests to break
  • faabdbb docs(schema): clarify that uppercase, lowercase, and trim options for SchemaString don't affect RegExp queries
  • 79ecd67 Merge pull request #8185 from unusualbob/bug-all-indexes-skipped-on-failure
  • a155b8d Merge pull request #8228 from captaincaius/feat-nested-schemas-declarative-syntax

There are 95 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.8.0 to 5.8.1.

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

Commits

The new version differs by 103 commits.

  • 83b44ae chore: release 5.8.1
  • 084605e chore: add edubirdie as a sponsor
  • bbabfee fix(document): update single nested subdoc parent when setting to existing single nested doc
  • 2c2f98b fix(schema): add $embeddedSchemaType property to arrays for consistency with document arrays
  • 14e1c34 fix(documentarray): dont attempt to cast when modifying array returned from map() re: #8399
  • d37758a fix(documentarray): set schema on the array that map() returns to support casting
  • 3a6fc70 test(documentarray): repro #8399
  • c5c725a chore: now working on 5.8.1
  • 9ce1375 chore: release 5.8.0
  • ee892b9 Merge pull request #8415 from Automattic/5.8
  • 8a7aefe docs(model+query): add session option to docs for findOneAndX() methods
  • edd8277 chore: now working on 5.7.15
  • c2cda8a Merge branch 'master' into 5.8
  • 7575882 chore: release 5.7.14
  • 6ec6980 test: make parallelLimit test more robust to timing issues

There are 103 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.8.1 to 5.8.2.

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

Commits

The new version differs by 127 commits.

  • 6bc7e91 chore: release 5.8.2
  • 2d13d1d fix(schema): copy .add()-ed paths when calling .add() with schema argument
  • cc2664a test(schema): repro #8429
  • 3133e50 fix(cursor): wait for all promises to resolve if parallel is greater than number of documents
  • ce6d4ba test(cursor): repro #8422
  • 263fe02 fix(cursor): pull schema-level readPreference when using Query#cursor()
  • 9e407b3 test(cursor): repro #8421
  • 5944ebf chore: now working on 5.8.2
  • 32d75db docs(deprecations): explain which connection options are no longer relevant with useUnifiedTopology
  • e5b6fd9 Merge pull request #8435 from captaincaius/patch-1
  • a8a7497 Merge pull request #8428 from AbdelrahmanHafez/feat/check-existence-on-save
  • 855782d Merge branch 'master' of github.com:Automattic/mongoose
  • 532d798 docs(populate): clarify limitations of limit option for populate and suggest workaround
  • 3d2e411 fix(document): depopulate entire array when setting array path to a partially populated array
  • 6c39e23 test(document): repro #8443

There are 127 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.8.2 to 5.8.3.

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

Commits

The new version differs by 142 commits.

  • ded973d chore: release 5.8.3
  • d3a29be docs(schematypes): add enum to list of schema number options
  • 766e06e fix(schema): handle _id option for document array schematypes
  • f6637cf test(schema): repro #8450
  • b8119cf fix(update): call setters when updating mixed type
  • 6cd9f6e test(update): repro #8444
  • 02ec47e test(map): add coverage for single nested maps with inline _id option
  • 4dd84f2 docs(connections): add note about MongoTimeoutError.reason
  • 0e619d0 style: fix lint
  • e5c6b8c fix: upgrade mongodb -> 3.4.1, fix tests from #8430
  • c961b0b Merge pull request #8430 from jaschaio/patch-1
  • 7dcee70 chore: now working on 5.8.3
  • d7b7d11 fix(populate): don't add empty subdocument to array when populating path underneath a non-existent document array
  • 58f557b test(populate): repro #8432
  • 6bc7e91 chore: release 5.8.2

There are 142 commits in total.

See the full diff

  • The dependency mongoose was updated from 5.8.6 to 5.8.7.

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

Commits

The new version differs by 202 commits.

  • a4d623e chore: release 5.8.7
  • c866866 chore: update opencollective sponsors
  • 2a18b0f test: fix tests re: #8481
  • b3d5faa Actually fix #8479
  • d938e9a fix(documentarray): modify ownerDocument when setting doc array to a doc array thats part of another document
  • b2f2bdf test(documentarray): repro #8479
  • a041b44 fix(document): ensure that you can call splice() after slice() on an array
  • a3ab3a6 test(document): repro #8482
  • b4b6486 docs(populate): improve cross-db populate docs to include model refs
  • 56bbac4 chore: now working on 5.8.7
  • abb47f1 chore: release 5.8.6
  • 713ec2d Merge branch '4.x'
  • 1db031c test(schema): clean up messy tests re: #8459
  • 8fa8012 test: test cleanup re: #8459
  • 4a55040 chore: remove problematic mongoose-long dep and use mongodb 3.4 in tests

There are 202 commits in total.

See the full diff