alpersonalwebsite / node-express-mongo-db

Node, Express and MongoDB
MIT License
0 stars 1 forks source link

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

Closed greenkeeper[bot] closed 4 years ago

greenkeeper[bot] commented 5 years ago

The dependency mongoose was updated from 5.6.3 to 5.6.4.

🚨 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 - βœ… **Travis CI - Branch:** The build **passed**. - ❌ **WhiteSource Security Check:** The Security Check found 1 vulnerabilities.
| Severity | CVSS Score |CVE | GitHub Issue | | ------------- |-------------|-----|------| | High | 7.4 | [CVE-2019-10744](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10744 "Go to CVE Details") | [#3](https://github.com/alpersonalwebsite/node-express-mongo-db/issues/3 "Go to GitHub Issue")
Scan token: 29052c1bec9e4b799e15aff0260d4193

Commits

The new version differs by 17 commits.

  • a2aba34 chore: release 5.6.4
  • 880836e docs(connection): add section on connection handling
  • d627073 fix(schema): support pre(Array, Function) and post(Array, Function)
  • 82442da test(schema): repro #7803
  • 9651ba7 refactor(model): use 'MongooseError' instead of 'Error' because 'Error' conflicts with global.Error
  • 701c0ec fix(document): load docs with a once property successfully
  • 36cb96e test(document): repro #7958
  • 67ddf3b docs(tutorials): add virtual tutorial
  • e96b6bd refactor(populate): move getModelsMapForPopulate() into separate function
  • 2b7622b fix(update): fix error when update property gets casted to null
  • 5393bb1 fix(queryhelpers): ensure parent select overwrites child path select if parent is nested
  • cee8bc8 test(queryhelpers): repro #7945
  • 736fcdb refactor: use ./error/index rather than ./error to avoid potential issues with imports
  • cbc81c8 fix(schema): make clone() correctly copy array embedded discriminators
  • 9db74dc test(schema): repro #7954

There are 17 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

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

Commits

The new version differs by 25 commits.

  • 5c12eb6 chore: release 5.6.5
  • c937817 Merge branch 'master' of github.com:Automattic/mongoose
  • d3c3e5b docs(model): fix link to Model.inspect() and add example
  • 1ebdc88 chore(Makefile): improve gitreset rule for resetting .html changes in docs
  • f7238c5 Merge pull request #7989 from Fonger/add-license-1
  • 134b885 Create LICENSE.md
  • ca24377 fix(connection): remove backwards-breaking multiple mongoose.connect() call for now
  • 4f8e15b fix(document): handle setting non-schema path to ObjectId or Decimal128 if strict: false
  • 651426c test(document): repro #7973
  • 4c56aab docs: fix broken anchor links on validation tutorial
  • 1e2be40 docs(api): fix broken links to split API pages
  • 1788044 chore: remove lodash devDependency, retain isEqual() for tests that specifically cover lodash integration
  • 7d863e8 Merge pull request #7975 from perfectstorm88/master
  • 2c777eb chore: bump lodash re: security warning
  • 22652fd docs(model): link to find by id tutorial

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 47 commits.

  • d620c4b chore: release 5.6.6
  • 8911102 Merge pull request #8004 from Fonger/fix/query-delete-options
  • 6d6c5bb chore: clean up #7997
  • 962aaee fix(query): add missing options for deleteOne and deleteMany in Query
  • 41f2d50 Merge pull request #7997 from usama-asfar/master
  • 8e01b19 chore: use marked and remove old markdown dep
  • 2921dd2 fix(populate): handle refPath returning a virtual with Query#populate()
  • 4cbade9 fix(schema): make embedded discriminators instanceof their parent types
  • a73c2ab fix(mongoose): ensure destucturing and named imports work for Mongoose singleton methods like set(), etc.
  • 227e07e style: fix lint
  • 87fb26a fix(populate): handle refPath in discriminator when populating top-level model
  • 95c2a55 test(populate): repro #5109
  • fb46fe4 docs(guide): use correct mongoose.set() instead of mongoose.use()
  • 41b5ef3 docs(discriminators+api): add single nested discriminator to discriminator docs and API docs
  • 15e071b fix(array): make validators a private property that doesn't show up in for/in

There are 47 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 68 commits.

  • 99c0366 chore: release 5.6.7
  • 0c4ab58 style: fix lint
  • 080c4c4 docs(query+lean): add links to mongoose-lean-virtuals, mongoose-lean-getters, mongoose-lean-defaults
  • 51bbec5 Merge branch 'master' of github.com:Automattic/mongoose
  • 3bf0bcc fix(timestamps): handle timestamps: false in child schema
  • 23d30e0 test(timestamps): repro #8007
  • ef95a51 Merge pull request #8022 from Mangosteen-Yang/patch-3
  • beab87a [docs] add example for issue #7803
  • cf938e2 Merge pull request #8015 from kolya182/update-nyc
  • dea5962 chore: peg exact version of nyc
  • 2fa506e Merge pull request #8013 from chrisweilacker/patch-2
  • de8d91a docs(mongoose): add example to mongoose constructor
  • 152a477 Update nyc. Fix vulns. Use https for homepage.
  • 3c21d23 Updated Schema.path to proper s.path
  • 54a0bb7 fix(document): support validators on nested arrays

There are 68 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 90 commits.

  • bd03c4d chore: release 5.6.8
  • 6fd4975 chore: add ehic cards as opencollective sponsor
  • 01b182e refactor: handle arrays underneath mixed paths for #6405
  • 4b2f770 Merge pull request #8033 from Mangosteen-Yang/new-feature-#6403
  • f58c45f fix(document): allow saving an unchanged document if required populated path is null
  • c698590 test(document): repro #8018
  • eced064 docs(transactions): clarify relationship between session in docs and MongoDB driver ClientSession class, link to driver docs
  • c8e270e docs(plugins): rewrite plugins docs to be more modern and not use strange = exports syntax
  • f4aaa9c test: fix tests
  • 9db4857 fix(query): make findOneAndReplace() work with orFail()
  • f10f621 test(query): repro #8012
  • 1670ff1 Merge branch 'master' of github.com:Automattic/mongoose
  • 710935d fix(aggregate): allow modifying pipeline in pre('aggregate') hooks
  • a2584a1 test(aggregate): repro #8017
  • e4169a2 debug support {color: false}

There are 90 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 109 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 109 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 134 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 134 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 146 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 146 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 164 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 164 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 176 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 176 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 50 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 50 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 66 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 66 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 102 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 102 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 120 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 120 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 140 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 140 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 177 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 177 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 195 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 195 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 209 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 209 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 220 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 220 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 231 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 231 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 262 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 280 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 296 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 357 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 365 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 389 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 404 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 464 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 489 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 528 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 552 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 still failing with this version. Compare changes

Commits

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

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 56 commits.

  • b302138 chore: release 5.9.9
  • 0a83a9f Merge pull request #8788 from dandv/patch-4
  • 89a70e8 chore: update opencollective sponsors
  • 9bb0274 docs(lib/model): fix punctuation
  • 2a73b75 Merge pull request #8782 from AbdelrahmanHafez/bulkWrite-strict
  • b743498 test(transactions): use endSession() in all transactions examples
  • 95351e7 docs(queries): expand streaming section to include async iterators, cursor timeouts, and sesssion idle timeouts
  • b107d90 fix(populate): support clone option with lean
  • c95a2f1 fix(document): skip discriminator key when overwriting a document
  • 7dc8a0a style: fix lint
  • 5a1cec5 test(document): repro #8765
  • c1ff235 Merge branch 'master' of github.com:Automattic/mongoose
  • 78f4298 fix(document): handle validating document array whose docs contain maps and nested paths
  • 9ae6db0 docs: improve options.strict description
  • 5f9f10a docs: add options.strict to Model#bulkWrite

There are 56 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 93 commits.

  • e328b98 chore: release 5.9.10
  • 3622233 Merge pull request #8828 from AbdelrahmanHafez/lint-rules
  • 3a7be83 Merge pull request #8825 from AbdelrahmanHafez/docs/faq-anchor
  • 4442b1e Use "error" instead of 2 in eslint rules
  • a1260a0 make eslint rules more strict, no-extra-semi
  • 4100452 Add spaced comment rule
  • 0da8eff add eslint rules, space-in-parens "never"
  • fce435b (docs) make questions anchorable on faq
  • 222d89e Merge pull request #8820 from dandv/patch-7
  • cfec602 Merge pull request #8818 from AbdelrahmanHafez/gh-8806
  • 32c5ed0 fix(schematype): throw error if default is set to a schema instance
  • 8fea1d9 fix(document): avoid calling $set() on object keys if object path isn't in schema
  • f1c124c docs(api): detail what the insertMany Promise resolves to
  • fdaf539 revert using passed value on exclusion to projection
  • ec0fb12 fix test

There are 93 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 151 commits.

  • a523950 chore: release 5.9.11
  • 10d6fa8 Merge pull request #8893 from AbdelrahmanHafez/patch-4
  • 447ff9e upgrade mongodb to v3.5.7
  • e8dc41c Merge pull request #8876 from AbdelrahmanHafez/eslint-arrow
  • 44dd876 automatically add arrow spaces by eslint
  • 798a774 Merge pull request #8861 from AbdelrahmanHafez/patch-1
  • 64d472b Merge pull request #8853 from tusharf5/master
  • 224dcd0 Merge pull request #8848 from AbdelrahmanHafez/gh-8821
  • fa0a67c Remove unnecessary { strict: false } from test
  • 8b055cf fix(populate): handle clone with lean when setting a path to null
  • 63678a8 chore: update opencollective sponsors
  • f5b9b26 docs(faq): clarify setting paths under document arrays with markModified()
  • 49e78ac docs: use ES6 classes for custom schema type example
  • ce0f6f0 Merge pull request #8850 from AbdelrahmanHafez/select-undefined-null
  • e08cf03 Merge pull request #8847 from AbdelrahmanHafez/patch-2

There are 151 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 54 commits.

  • ba0f199 chore: release 5.9.12
  • 54dd5cb fix(connection): throw more helpful error in case of IP whitelisting issue with Atlas
  • 2bea453 chore: update opencollective sponsors
  • 17b7988 style: fix lint
  • ff60457 fix(document): set defaults if setting nested path to empty object with minimize: false
  • 3ce7c3a test(document): repro #8829
  • ace85cf test: fix more tests re: #8888
  • 5b35f20 test: fix tests re: #8888
  • 5cca9d6 fix(document): report cast error on array elements with array index instead of just being a cast error for the whole array
  • bea601c test(document): repro #8888
  • 7e48689 Merge pull request #8914 from AbdelrahmanHafez/gh-8899
  • 6aec60e Merge pull request #8911 from AbdelrahmanHafez/gh-8901
  • c66c3d4 Merge pull request #8885 from AbdelrahmanHafez/gh-8267
  • b0a3fc4 Merge pull request #8919 from AbdelrahmanHafez/gh-8917
  • fd9d211 Merge pull request #8906 from clhuang/distinctOptions

There are 54 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 77 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 77 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

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

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

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

  • 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 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 29 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 29 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 23 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 23 commits in total.

See the full diff