FinalDes / mongoose-test

MIT License
1 stars 0 forks source link

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

Open greenkeeper[bot] opened 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency mongoose was updated from 5.6.8 to 5.6.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](https://travis-ci.org/FinalDes/mongoose-test/builds/569203964?utm_source=github_status&utm_medium=notification)).

Commits

The new version differs by 19 commits.

  • 188b4e7 chore: release 5.6.9
  • 347eeeb chore: add papersowl as sponsor
  • 379a807 style: fix lint
  • 4a84546 fix(schema): fix test failures from previous fix of #8034
  • 6149ba3 docs(index): add dcsl as sponsor
  • f47e936 fix(schema): allow declaring ObjectId array with { type: 'ObjectID' }, last 'D' case insensitive
  • bc71f25 test(schema): repro #8034
  • ad41e38 Merge branch 'master' of github.com:Automattic/mongoose
  • 9023f30 docs(guide): add missing further reading link and link to other tutorial
  • 419cfef Merge pull request #8048 from Fonger/fix/version-error-memory-leak
  • 612c4f9 chore: now working on 5.6.9
  • 4408e55 fix(cursor): correctly handle batchSize option with query cursor
  • eff168d test(query): repro #8039
  • b850278 fix(populate): handle virtual populate with count = 0 if virtual embedded in doc array
  • 548ab98 test(populate): repro #7573 part 2

There are 19 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 5 years ago

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

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 25 commits.

  • 3847007 chore: release 5.6.10
  • 3feb60b docs(query): add findByIdAndReplace() to docs
  • 5c2fbc5 test: fix tests re: #8073
  • 20fa775 refactor: remove async.parallel() calls
  • 5595ead chore: add ghostinspector as sponsor from opencollective
  • cbdadf2 Merge pull request #8070 from rich-earth/master
  • d0fba5e fix: fix tests re: #8062
  • aa5e737 fix(document): skip casting when initing a populated path
  • 5f416bf test(document): repro #8062
  • e98d2f7 refactor(document): remove async.each() dependencies
  • 7c7b744 Merge branch 'master' of github.com:Automattic/mongoose
  • 6eeb48e fix(document): prevent double-calling validators on mixed objects with nested properties
  • f023247 test(document): repro #8067
  • 69716ac Merge pull request #8066 from Mangosteen-Yang/master
  • 813a8d2 Update handleImmutable.js

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 37 commits.

  • 64825fa chore: release 5.6.11
  • c8aaa01 fix(document): make validateUpdatedOnly option handle pre-existing errors
  • b0fd1b0 docs(query): add missing options to setOptions()
  • b81a62a style: fix lint
  • 314317e test: fix tests re: #8075
  • 57721e4 test: alternative test re: #8075
  • 58766d9 fix(model): allow passing options to exists()
  • 1f299de docs(middleware): clarify that you must add middleware before compiling your model
  • 264a1b4 fix: bump kareem -> 2.3.1 to throw readable error if middleware callback isnt a function
  • 5996613 chore: now working on 5.6.11
  • a6d1e7a Merge pull request #8089 from felipeplets/patch-1
  • ad0666b Fix issue when using find
  • 3847007 chore: release 5.6.10
  • 3feb60b docs(query): add findByIdAndReplace() to docs
  • 5c2fbc5 test: fix tests re: #8073

There are 37 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 55 commits.

  • 70f678e chore: release 5.6.12
  • c97c83f style: fix lint
  • da05549 test(schema): add test re: #8124
  • 8625bb9 Merge pull request #8124 from StphnDamon/hotfix/schematype-cloning
  • 9b8b7b3 Add missing getters and setters copy when cloning (see issue #8111)
  • 03dfc6a refactor(model): use internal parallelLimit() instead of async
  • 412e387 docs(plugins): fix link to npm keywords doc
  • dba0336 fix(schema): improve fix for #8111
  • 50aeda0 fix(schema): handle required validator correctly with clone()
  • 29b232e test(schema): repro #8111
  • 970faf4 fix(discriminator): avoid unnecessarily cloning schema to avoid leaking memory on repeated discriminator() calls
  • 86e1ab5 chore: remove lockfile
  • 6a9297c Merge pull request #8112 from TheTrueRandom/master
  • 85521cb docs(schematypes): add missing 'the'
  • 249f4c6 Merge pull request #8109 from jgcmarins/patch-1

There are 55 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 67 commits.

  • 5b11924 chore: release 5.6.13
  • 3a105e6 test(model): add test for #8130
  • cad316a Merge pull request #8130 from sibelius/patch-1
  • 6a9abe8 fix(document): ensure nested mixed validator gets called exactly once
  • a57e491 test(document): repro #8117
  • 7879913 fix(parallel): fix parallelLimit when fns is empty
  • 5e289d7 style: fix lint
  • 946f7da chore: now working on 5.6.13
  • 006a0f6 Merge pull request #8125 from gradecam/feature/fix_justOne_default
  • 763e3e4 Fix for bug which doesn't properly honor defaults for justOne
  • b92003b Add unit test to demonstrate justOne issue
  • 5b26e52 Created feature branch fix_justOne_default
  • 70f678e chore: release 5.6.12
  • c97c83f style: fix lint
  • da05549 test(schema): add test re: #8124

There are 67 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 117 commits.

  • a4c3e10 chore: release 5.7.0
  • e2434ca chore: add moneypug and vpngorilla as opencollective sponsors
  • fcf035e Merge pull request #8145 from Automattic/5.7
  • e6e3314 fix: be more rigorous about only montoring pool events if useUnifiedTopology is set re: #8083
  • dc23ed1 docs: add useUnifiedTopology to docs re: #8083
  • 661f102 fix(connection): handle reconnect, reconnectFailed, timeout events with useUnifiedTopology
  • bc616c8 fix(connection): work around NODE-2155 re: #8083
  • 9041fd4 fix: add useUnifiedTopology option analagous to useNewUrlParser
  • 037fbe5 refactor(populate): assign using all separate models after all queries are done re: #3812
  • bc3daf8 chore: remove renovate, unused currently
  • 6dd8816 Merge pull request #8138 from joebowbeer/patch-1
  • c4e0e99 Update guide.pug
  • eb75b54 refactor(populate): only call assign() after all model queries for a path are called re: #3812
  • 39566f1 refactor(populate): move execPopulateQuery() calls after all queries are computed re: #3812
  • af14c61 refactor(populate): move execQuery() into separate function

There are 117 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 133 commits.

  • 32c4e3c chore: release 5.7.1
  • 0aec7ad fix(document): fix test failures from fix for #8149
  • b4d0303 Merge branch 'master' of github.com:Automattic/mongoose
  • 8d86802 fix(document): throw strict mode error if setting an immutable path with strict mode: false
  • 74f558c test(document): repro #8149
  • 3f9c9b8 Merge pull request #8151 from fernandolguevara/patch-2
  • 6e86500 fix(model): make syncIndexes() handle changes in index key order
  • ce9d8d0 test(model): repro #8135
  • b8cf292 chore: remove paperleaf and papersowl as sponsors
  • 691aabb fix(mongoose): support passing options object to Mongoose constructor
  • 293319b chore: now working on 5.7.1
  • 2a4296b docs(connection+mongoose): add useUnifiedTopology option to connect() and openUri() docs
  • c8038df style: fix lint
  • 6b28ee0 Merge pull request #8148 from ouyuran/patch-1
  • 483c90a fix findOneAndUpdate with { runValidators: true } options

There are 133 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 237 commits.

  • 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
  • 25b6798 fix(populate): make ArraySubdocument#populated() return a value when the path is populated
  • 8ddfc0a test(populate): repro #8247
  • df31656 docs(middleware): update document middleware list
  • a47ac98 fix(cursor): fix issue with long-running eachAsync() cursor
  • ba18b9d test(cursor): repro #8235
  • 875d681 fix(document): fix TypeError when setting a single nested subdoc with timestamps
  • efd08ef test(document): repro #8251

There are 237 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 276 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
  • 8c79cdd chore: clean up unnecessary eslint rules that are confusing docs parsing

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

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

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

The new version differs by 703 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
  • 34eef34 chore: release 5.9.0
  • 868ad17 Merge pull request #8592 from Automattic/5.9

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

The new version differs by 730 commits.

  • 8bc18b7 chore: release 5.9.2
  • e0606f3 docs(middleware): clarify that updateOne and deleteOne hooks are query middleware by default, not document middleware
  • bb25b06 fix(document): allow calling validate() in post validate hook without causing parallel validation error
  • b895e01 test(document): repro #8597
  • a8f2020 fix(model): add discriminator key to bulkWrite filters
  • 5d3507d test(model): repro #8590
  • b20a45d fix(virtualtype): correctly copy options when cloning
  • 2afec3a fix(array): fix tests re: #8544
  • cf6b45e fix(document): avoid throwing error if setting path to Mongoose document with nullish _doc
  • f4dc5a9 fix(document): dont leave nested key as undefined when setting nested key to empty object with minimize
  • 1629bae test(document): repro #8565
  • c312d96 docs(aggregate): clarify that Aggregate#unwind() can take object parameters as well as strings
  • 384681b docs(plugins): add mongoose-cast-aggregation to list of plugins re: #8464
  • 3249f23 Merge branch 'master' of github.com:Automattic/mongoose
  • 2b9d3b1 fix(document): when setting nested array path to non-nested array, wrap values top-down rather than bottom up when possible

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

The new version differs by 1088 commits.

  • a8534e0 chore: release 5.9.13
  • 7911d92 fix(schema): mark correct path as modified when setting a path underneath a nested array of documents
  • 397d812 test(document): repro #8926
  • 68ea2d6 Merge pull request #8952 from philippejer/gh-8951
  • 14a2555 fix(update): moveImmutableProperties() should be called sooner.
  • d98efa3 test(update): repro #8951
  • 4f7dc4f Merge branch 'master' of github.com:Automattic/mongoose
  • cb6294e docs(browser): add back sample webpack config
  • 5e68476 Merge pull request #8929 from AbdelrahmanHafez/gh-8923
  • 718f844 chore: update opencollective sponsors
  • 9037184 refactor(queryhelpers): make exclude depend on falsy values
  • 1b85689 Merge pull request #8937 from AbdelrahmanHafez/patch-3
  • 876577d style: break up line
  • 947b2dc Merge pull request #8930 from AbdelrahmanHafez/gh-8924
  • fe67322 docs(faq): fix broken reference in limit vs perDocumentLimit

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

The new version differs by 1121 commits.

  • dbdc417 chore: release 5.9.14
  • 1bdec38 Merge pull request #8986 from osher/patch-1
  • b293a36 Merge pull request #8983 from AbdelrahmanHafez/test/casting-discriminator-key
  • 28c845a Merge pull request #8987 from Andrew5569/patch-1
  • d05dc13 chore: fix typo
  • 810efe5 Merge pull request #8978 from AbdelrahmanHafez/gh-8974
  • 52d2986 Merge pull request #8970 from AbdelrahmanHafez/patch-5
  • 4e9c5fe Merge pull request #8976 from AbdelrahmanHafez/gh-8953
  • 78031b7 Merge pull request #8966 from AbdelrahmanHafez/refactor/sort-schema-reserved
  • a93b9a5 Merge pull request #8973 from AbdelrahmanHafez/gh-8962
  • 0dd361a doc: add immutable type to Schema Types
  • c02ce2c fix(errors): user defines its own r/o err.toJSON
  • 537154e test: repro #8982
  • 1383a48 chore: update opencollective sponsors
  • 0a14ab8 fix(populate): populate virtuals defined on child discriminators

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

The new version differs by 1160 commits.

  • 8ac42aa chore: release 5.9.15
  • 14bba6f Merge pull request #9013 from philippejer/gh-9012
  • ed97aac Merge pull request #9014 from AbdelrahmanHafez/strictQuery-anchor
  • b5c5211 fix(model): report insertedDocs on insertMany() errors
  • faaff44 fix(model): ensure consistent writeErrors property on insertMany error with ordered: false, even if only one op failed
  • e736a73 test(model): repro #8938
  • 59f0024 fix(schema): treat creating dotted path with no parent as creating a nested path
  • c7dec63 test(schema): repro #9020
  • 9c172e9 style: fix lint
  • 6197c74 fix(timestamps): set createdAt and updatedAt on doubly nested subdocs when upserting
  • 3d19ec1 test(timestamps): repro #8894
  • 3c46473 docs(guide): add anchor tag to strict option
  • 2fd29b0 docs: add anchor tag to strictQuery
  • 1b190b6 fix(documentarray): make sure you can call unshift() after map()
  • 71cc8f2 chore: update opencollective sponsors

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

The new version differs by 1189 commits.

  • 54b3cae chore: release 5.9.16
  • e08670b Merge pull request #9021 from zbjornson/zb/error-class
  • 7aa470e Merge pull request #9052 from AbdelrahmanHafez/patch-6
  • 4a7c715 Merge pull request #9053 from AbdelrahmanHafez/gh-9006
  • 9a21a5b enhancement(connection): make server selection error less deterministic
  • bd2aa99 lint(compile): fix no-setter-return
  • adbf710 lint(document): remove impossible to execute branch
  • c382a57 upgrade eslint to 7.1.0
  • f1e4201 fix(query): throw CastError if filter $and, $or, $nor contain non-object values
  • 8fec66c fix(document): fix one more dangling $__.scope reference re: #8955
  • cf2ba9f fix(model): make syncIndexes() not drop index if all user-specified collation options are the same
  • 64ea7cf fix(document): make internal $__.scope property a symbol instead to work around a bug with fast-safe-stringify
  • 9b082a4 fix(discriminator): remove discriminator schema nested paths pulled from base schema underneath a mixed path in discriminator schema
  • 5cf9d2f test: repro #9042
  • 97569fa Merge pull request #9026 from dandv/patch-10

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

The new version differs by 1212 commits.

  • e45786f chore: release 5.9.17
  • cd9f9a1 Merge pull request #9078 from AbdelrahmanHafez/gh-9070
  • b4e9fd3 Merge pull request #9075 from tigransimonyan/patch-1
  • 4704f35 Merge pull request #9069 from AbdelrahmanHafez/patch-7
  • 6cb1c92 style: fix lint
  • ec8e87e fix(populate): make populating a nested path a no-op
  • c52ce6c test(populate): repro #9073
  • 421776c fix(document): avoid tracking changes like splice() on slice()-ed arrays
  • 863490b test(document): repro #9011
  • e70b054 fix(document): clear nested cast errors when overwriting an array path
  • f9211b3 test(document): repro #9080
  • a84d246 Update faq.pug
  • ab8def1 docs(document): add validateModifiedOnly to Document#save(), Document#validate() and Document#validateSync()
  • b7c6572 Update faq.pug
  • e87d78e style: fix lint errors

There are 250 commits in total.

See the full diff