renanrboliveira / node-api-boilerplate

Node API Boilerplate
MIT License
2 stars 1 forks source link

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

Open greenkeeper[bot] opened 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency mongoose was updated from 5.3.15 to 5.3.16.

🚨 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](https://travis-ci.org/renanrboliveira/node-api-boilerplate/builds/466734926?utm_source=github_status&utm_medium=notification)).

Commits

The new version differs by 10 commits.

  • a384a29 chore: release 5.3.16
  • d2446bd fix(mongoose): fix quick issue re: #5648, only apply logic for default Mongoose instance
  • 05356a7 fix(mongoose): avoid crash on import mongoose, {Schema} from 'mongoose'
  • 515ad81 test: add coverage for other ops re: #7290
  • 22ad62a fix(document): handle __proto__ in queries
  • 266b546 test(document): repro #7290 part 2
  • b0e29e4 docs(populate): add section about what happens when no document matches
  • 151b667 fix(document): use Array.isArray() instead of checking constructor name for arrays
  • c82bb15 test(document): repro #7290 part 1
  • 6c67424 chore: release 5.3.16

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

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 36 commits.

  • 43b63ae chore: release 5.7.3
  • 06112b0 docs(validation): remove deprecated isAsync from validation docs in favor of emphasizing promises
  • 7fee719 docs(documents): add overwriting section
  • 98b5a73 fix: make CoreMongooseArray#includes() handle fromIndex parameter
  • 6c91dea style: fix lint
  • 9bb4b03 refactor: remove async as a prod dependency
  • 3647292 refactor(cursor): remove async.queue() from eachAsync() re: #8073 #5502
  • e60db1b refactor(cursor): remove dependency on async.times()
  • c5b2355 docs(promises): add note about queries being thenable
  • da77b8d Merge pull request #8192 from birdofpreyru/fix-8093-1
  • c371500 fix(update): cast right hand side of $pull as a query instead of an update for document arrays
  • 9d455ad test(update): repro #8166
  • 8c98a3a chore: now working on 5.7.3
  • 0a33412 fix(populate): handle virtual populate of an embedded discriminator nested path
  • b42d0f5 test(populate): repro #8173 #6488

There are 36 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 18 commits.

  • ede5aef chore: release 5.7.4
  • 402db1a fix(model): support passing options to Model.remove()
  • 7a20276 fix(schema): handle required: null and required: undefined as required: false
  • 9b4a323 test(schema): repro #8219
  • fb66f3a fix: use options constructor class for all schematypes
  • d5e0c73 refactor: use options constructor for array, buffer, date schematypes re: #8012
  • 2d0955d refactor: use SchemaNumberOptions class for schematype number re: #8012
  • 166cd88 refactor: use SchemaStringOptions class for string schematype options re: #8012
  • 523c181 fix(update): support updating array embedded discriminator props if discriminator key in $elemMatch
  • f277d94 test(update): repro #8063
  • d19b849 test: add test coverage for parallelLimit()
  • 294c191 refactor(schematype): add SchemaTypeOptions class re: #8012
  • dc0025b fix(populate): allow accessing populate virtual prop underneath array when virtual defined on top level
  • f8db7ce test(populate): repro #8198
  • 9a1d494 style: fix lint

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 20 commits.

  • 40a879b chore: release 5.7.5
  • 159457d chore: add vpn black friday as sponsor
  • e6285ea Merge pull request #8244 from AbdelrahmanHafez/master
  • d9163f5 fix: correct order for declaration
  • cec9dda Minor refactor to ValidationError
  • 13ae085 docs(index): add favicon to home page
  • 96ce0eb style: fix lint
  • 973b1e0 docs: add schema options to API docs
  • cdfb507 chore: add useUnifiedTopology for tests re: #8212
  • 936ddfb fix(update): handle subdocument pre('validate') errors in update validation
  • 98b3b09 test(update): repro #7187
  • b9c1012 docs(middleware): add note about accessing the document being updated in pre('findOneAndUpdate')
  • 327b47a fix(subdocument): make subdocument#isModified use parent document's isModified
  • 54db026 test(subdocument): repro #8223
  • 89eb449 chore: now working on 5.7.5

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 37 commits.

  • 28e8ac4 chore: release 5.7.7
  • f4bd463 fix(populate): make populate virtual consistently an empty array if local field is only empty arrays
  • ca4f52b test(populate): repro #8230
  • ecd8242 docs(query): make note that filter param to find() can be an ObjectId re: #8268
  • b03faf5 fix(query): allow findOne(objectid) and find(objectid)
  • d7ceb89 test(query): repro #8268
  • 068e57a chore: now working on 5.7.7
  • 5656b4e chore: release 5.7.6
  • fab4f5d test(schema): fix tests on node v4 and v5
  • 29c5f1a fix(options): add missing minlength and maxlength to SchemaStringOptions
  • a81211d fix(populate): add document array subpaths to parent doc populated() when calling DocumentArray#push()
  • 4e900eb test(populate): repro #8247
  • d69ab22 fix(document): support calling Document constructor directly in Node.js
  • 9b986f5 test(document): repro #8237
  • e5f8875 chore: add bonus.ca to opencollective sponsors

There are 37 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 18 commits.

  • 8c79cdd chore: clean up unnecessary eslint rules that are confusing docs parsing
  • fcbed7b chore: release 5.7.8
  • b3c95de docs: add links to clarify truthy/falsy
  • 2694cbd docs: document return types for .discriminator()
  • 4c090c5 fix(cursor): throw error when using aggregation cursor as async iterator
  • 69bf575 docs(aggregate): make aggregation Symbol.iterator docs actually use aggregate()
  • c1e49c3 test: fix tests re: #8273
  • dfde779 fix(document): allow manually populating path within document array
  • b86749e fix(document): make Document class an event emitter to support defining documents without models in node
  • 374246d docs(connection): add note about exporting schemas, not models, in multi connection paradigm
  • 5b6eeab docs: clarify that transforms defined in toObject() options are applied to subdocs
  • 7dd63fd fix(schema): retain _id: false in schema after nesting in another schema
  • 78d5c4b test: repro #8274
  • 0d057fe docs(model): remove unnecessary *
  • 7dbf96c refactor(schema): create separate schematype for DocumentArrayPaths instead of ad-hoc within getPositionalPath()

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

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

greenkeeper[bot] commented 4 years ago

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

greenkeeper[bot] commented 4 years ago

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

greenkeeper[bot] commented 4 years ago

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

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

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

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 16 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 16 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 61 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
  • 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
  • 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
  • 4a212e1 feat: capture original stack trace when reporting server selection timeout error
  • b481179 feat(schema): add ability to change CastError message using cast
  • aeb2c42 feat(update): add minimal casting of update pipelines

There are 61 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 8 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

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 24 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 24 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 15 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
  • cb5af1f Update mongodb dependency to 3.4

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 60 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 60 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 25 commits.

  • a28515d chore: release 5.8.9
  • 5b2b0e5 docs(queries): clarify when to use queries versus aggregations
  • d62e141 chore: now working on 5.8.9
  • b186b93 test(populate): reuse collections where possible for populate() tests
  • b5f744e style: fix lint
  • b636c08 fix(populate): skip populating embedded discriminator array values that don't have a refPath
  • 6af9874 test(populate): repro #8499
  • 14165e7 chore: update opencollective sponsors
  • 6c42e00 chore: update size
  • 96af6ba chore: update opencollective sponsor
  • e92c4dd Merge branch 'master' of github.com:Automattic/mongoose
  • 780146a chore: release 5.8.8
  • 6aa4ac6 Merge pull request #8507 from ntsekouras/fix-8234
  • c082793 style: fix lint
  • 246cb60 test: clean up unnecessary params to Query constructor re: #8481

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 39 commits.

  • 41b3ff5 chore: release 5.8.10
  • bfbc921 test: fix tests re: #8536
  • 0f3bc9b Merge pull request #8536 from samgladstone/master
  • 6303d55 test: fix test #8481
  • abd6197 test(model): reuse collections where possible re: #8481
  • 5a3fdb8 doc(connections): document authSource option
  • 8fd570e style: fix lint
  • 312355c fix(populate): don't try to populate embedded discriminator that has populated path but no refPath
  • fc6571b test(populate): repro #8527
  • cb71d57 fix(document): create document array defaults in forward order, not reverse
  • 1aeaa54 test(document): repro #8514
  • 23f43fc test(model): reuse collections where possible for model.update and model.findOneAndUpdate tests
  • 255d8bd fix(embedded): only set parentArr if it is a doc array re: #8519
  • b26e1e0 test: skip #8524 test if not mongodb 4.2
  • dfaa40e Merge branch 'master' of github.com:Automattic/mongoose

There are 39 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 24 commits.

  • ba79cca chore: release 5.8.11
  • 4b72a6f docs: add "built with mongoose" page
  • 2379a42 fix(connection): throw helpful error when callback param to mongoose.connect() or mongoose.createConnection() is not a function
  • 047fc94 fix(document): allow calling validate() multiple times in parallel on subdocs to avoid errors if Mongoose double-validates
  • bbb234d Merge pull request #8548 from taxilian/feature/single_validate_subpaths_and_instrumentation
  • 3f1f1de fix: remove discriminator schema _id before merging if base schema has custom _id without calling merge()
  • c91c1a4 Merge pull request #8543 from samgladstone/discriminator-issue
  • 867cb5f fix(connection): allow calling initial mongoose.connect() after connection helpers on the same tick
  • 2389ea4 lint
  • 834200d Fix minor issues and add test cases for #8543
  • 27f45a5 Add test for issue described in Automattic/mongoose#8543
  • 01fd34f Fix lint issues
  • c42cc99 Fix issue where some paths were still having validate() called more than once
  • 7812ba8 Add a check that options exists to fix unit tests
  • acf1352 Add the path to the parentStack to make it easier to see where it came from

There are 24 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 16 commits.

  • ca52ead chore: release 5.8.12
  • 989bff5 fix(populate): handle populating when some embedded discriminator schemas have refPath but none of the subdocs have refPath
  • ae2f58d test(populate): repro #8553
  • e93d459 style: fix lint
  • 2c6546d fix(query): correctly cast dbref $id with $elemMatch
  • 2cad4aa Merge pull request #8573 from hugosenari/decouple
  • a746435 refactor(applyHooks): fix poping last arg from args remove from args
  • 3f0473a refactor(eachAsync): removing trailing space
  • 4a627a8 refactor(utils): fix eslint coma
  • a30c8fa docs(populate): clean up typos re: #8572
  • b838d1b refactor(utils): moving lib/utils.promiseOrCallback to lib/helpers/promiseOrCallback
  • 48583fc Merge pull request #8558 from AbdelrahmanHafez/patch-3
  • 00bdfbb Add useUnifiedTopolgy to homepage example
  • 5242e41 docs(queries): remove dead link
  • 9e0cfde test: reuse collections where possible in model.querying.test.js re: #8481

There are 16 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 5 commits.

  • 849afd2 chore: release 5.8.13
  • 55a3464 fix(populate): use safe get to avoid crash if schematype doesn't have options
  • b90dbe9 Merge pull request #8584 from hugosenari/decouple-clone
  • 18ea0a8 style(tests) remove comment
  • ff41b74 refactor(utils): moving clone to helpers/clone

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 49 commits.

  • 34eef34 chore: release 5.9.0
  • 868ad17 Merge pull request #8592 from Automattic/5.9
  • 0bf6afc chore: upgrade mongodb driver -> 3.5.3
  • de4e655 Merge branch '5.9' of github.com:Automattic/mongoose into 5.9
  • 79651b7 Merge branch 'master' into 5.9
  • f2e4cd3 test: fix tests re: #8403
  • 9a68a21 feat(schematype): enable setting transform option on individual schematypes
  • 7de41dc feat(timestamps): allow setting currentTime option for setting custom function to get the current time
  • 39a63a6 Merge branch 'master' into 5.9
  • fc2e631 Merge pull request #8567 from AbdelrahmanHafez/patch-4
  • ed37fff Remove mistakenly added file
  • 176e50f feat(connection): add Connection#watch() to watch for changes on an entire database
  • cfaf4e4 feat(populate): add perDocumentLimit option that limits per document in find() result, rather than across all documents
  • 6545864 feat(document): add Document#$op property to make it easier to tell what operation is running in middleware
  • 574751f Merge branch '5.9' of github.com:Automattic/mongoose into 5.9

There are 49 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 14 commits.

  • 427633d chore: release 5.9.1
  • 5061e94 test: fix tests re: #8571
  • 15b7f05 fix(model): set session when calling save() with no changes
  • 659f2a5 test(model): repro #8571
  • 56d24b5 Merge branch 'master' of github.com:Automattic/mongoose
  • 8bd4ea2 fix(cursor): respect sort order when using eachAsync() with parallel and a sync callback
  • 636be98 test(cursor): repro #8557
  • 8ea5e98 Merge pull request #8591 from sam-mfb/fix-8588
  • 9aa46a6 fix: use eslint to check for mocha only() until we can drop node 4 support
  • d57c84b fix(queryhelpers): remove Object.values() for Node.js 4.x-6.x support
  • a1b8308 style: fix lint
  • db49e96 fix(schema): return correct pathType when single nested path is embedded under a nested path with a numeric name
  • bb979b3 test(document): repro #8583
  • f6c2da4 fix: update documentation of custom _id overriding in discriminators

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 45 commits.

  • 77de88b chore: release 5.9.3
  • 4ca8b65 test: remove unnecessarily created collections from schema.test.js and types.array.test.js
  • 3de8efa test: clean up test failures re: #8481 and refactor out clear collection logic
  • dc217d8 test(update): reuse collection names and connections for update tests
  • 3eee840 fix(document): make calling validate() with single nested subpath only validate that single nested subpath
  • b1a094f fix(document): run validation on single nested paths when a single nested subpath is in pathsToValidate
  • dd56746 test(document): repro #8626 part 1
  • 5f79b1a fix: upgrade mongodb driver -> 3.5.4
  • 9f71820 docs(document+model+query): add options.timestamps parameter docs to findOneAndUpdate() and findByIdAndUpdate()
  • 57ca9b7 docs(connection+index): add warnings to explain that bufferMaxEntries does nothing with useUnifiedTopology
  • 0dc3471 docs: fix out of date links to tumblr
  • 8f6b1d7 fix(document): set subpath defaults when overwriting single nested subdoc
  • ebb0ca2 test(document): repro #8603
  • d0ae2cc fix(browser): make mongoose.model() return a class in the browser to allow hydrating populated data in the browser
  • 352502c test: clean up test failure from #8559

There are 45 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 26 commits.

  • 321995d chore: release 5.9.4
  • c9f0ec9 test: fix tests
  • 122985d test: fix tests
  • f197ac3 test: fix tests
  • 5c40f22 test(discriminator): clean up unnecessary collections in model.discriminator.test.js re: #8481
  • 3f0b3a5 Merge branch 'master' of github.com:Automattic/mongoose
  • dfe41e2 fix(document): allow new Model(doc) to set immutable properties when doc is a mongoose document
  • 5b19b31 Merge pull request #8651 from dskrvk/master
  • c213424 chore: undo unnecessary changes
  • 7b0bd36 docs(schema): add a section about the _id path in schemas
  • f00ae51 fix(array): make sure you can call unshift() after slice()
  • 76de112 Update some vulnerable dev dependencies
  • e746c39 Minor JSDoc wording fix for Document
  • b5396f6 Correctly set message for ValidationError
  • 7178eba fix(model): support passing background option to syncIndexes()

There are 26 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 46 commits.

  • 6065eff chore: release 5.9.5
  • 0f1a80a test: remove more unnecessary collections re: #8481
  • 3a7cbb1 chore: get rid of acorn devDependency re: security warning
  • 0e55fe0 style: fix lint
  • 24b6e1e test: clean up more unnecessary collections re: #8481
  • d44d123 chore: quick fix re: #8659
  • 69b4653 fix(updateValidators): don't run Mixed update validator on dotted path underneath mixed type
  • e58f695 test(updateValidators): repro #8659
  • 2c8dd51 fix(connection): emit "disconnected" after losing connectivity to every member of a replica set with useUnifiedTopology: true
  • f70f6cf test: fix tests re: #8481
  • 3885d8b style: fix lint
  • 9670bf4 test: fix some more tests re: #8481
  • 778f574 test: drop indexes after tests to fix some issues with #8481
  • ae823ab style: fix lint
  • bca57f7 fix(map): avoid marking map as modified if setting key to the same value

There are 46 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 21 commits.

  • 1883bc0 chore: release 5.9.6
  • f650191 fix(document): allow saving document with nested document array after setting nestedArr.0
  • a995b5d test(document): repro #8689
  • facbe31 docs: link to mongoose promise tutorial
  • c41ae4d test: fix more tests re: #8481
  • 105c8ae test: fix tests re: #8481
  • b84a338 test: remove remaining unnecessary collections
  • 84b5b45 Merge pull request #8704 from MateRyze/patch-1
  • cfd5294 fix typos
  • a48fd34 Merge pull request #8699 from AbdelrahmanHafez/refactor-test
  • c4c6bf8 docs(connections): expand section about multiple connections to describe patterns for exporting schemas
  • 7053743 Use golang style for catching error in test refactor
  • 163eb07 test: fix tests
  • 288892f refactor: remove more unnecessary collections from model tests re: #8481
  • 0c52681 docs(populate): add note about execPopulate() to "populate an existing document" section

There are 21 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 19 commits.

  • 4015625 chore: release 5.9.7
  • 4cbabb6 fix(map): avoid infinite loop when setting a map of documents to a document copied using spread operator
  • 074c6f5 fix(query): clean stack trace for filter cast errors so they include the calling file
  • 0c09395 Merge branch 'fix-8691'
  • 088633f style: fix lint
  • 486c020 test: fix tests re: #8725
  • c41c638 test: fix tests re: #8691
  • 055b75d refactor(query): always call exec() when executing a query instead of calling query thunks directly
  • ee135ef fix(query): ensure stack trace shows exec() when casting conditions with findOne()
  • bce760d Merge pull request #8732 from AbdelrahmanHafez/patch-1
  • ef14251 Merge pull request #8725 from p3x-robot/master
  • 91560dc Remove mongoose.set('debug', true); from test
  • 52eb75d style: fix lint
  • 713b601 fix(model): make bulkWrite updates error if strict and upsert are set and filter contains a non-schema path
  • 757af84 test: repro #8698

There are 19 commits in total.

See the full diff