slothpixel / core

Open source Hypixel data platform
https://docs.slothpixel.me
MIT License
52 stars 26 forks source link

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

Closed greenkeeper[bot] closed 4 years ago

greenkeeper[bot] commented 5 years ago

The dependency mongoose was updated from 5.4.13 to 5.4.14.

🚨 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/slothpixel/core/builds/495549408?utm_source=github_status&utm_medium=notification)).

Commits

The new version differs by 18 commits.

  • 35b90d2 chore: release 5.4.14
  • 8dc47a5 docs(schema): add examples for remaining functions
  • 764735b fix(documentarray): report validation errors that occur in an array subdoc created using create() and then set()
  • 3fec456 test(documentarray): repro #7504
  • 660fe60 chore: remove unnecessary print statements
  • 13c7a00 docs(schema): add examples to schema functions
  • 270732e docs(migrating_to_5): link to migrating to 5 docs on the mongoosejs.com website
  • db79cfc Merge branch 'master' of github.com:Automattic/mongoose
  • 67754bd style: fix lint
  • 8e30004 Merge pull request #7530 from sarpik/master
  • 3e44bc2 Merge branch 'master' of github.com:Automattic/mongoose
  • aa43200 docs: add MongooseError to API docs and add list of error names
  • 0daf626 Merge pull request #7521 from nocksapp/master
  • 8752502 fix anchor tag
  • b5f1723 chore: now working on 5.4.14

There are 18 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.4.13 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.

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

  • 66e9375 chore: release 5.4.15
  • af4c62c chore: now working on 5.4.15
  • df69f4a Merge pull request #7552 from Automattic/gh7537
  • 8384231 fix(schema): ensure clone() correctly gets childSchemas
  • 1e473c6 fix(schema): clone all schema types when cloning an array
  • 9c0f773 docs(connections): improve connectTimeoutMS docs and socketTimeoutMS docs to link to Node.js net.setTimeout()
  • 091d601 Merge branch 'master' of github.com:Automattic/mongoose
  • 20d3caf fix(update): don't call schematype validators on array if using $pull with runValidators
  • 8c3d4e6 test(model): repro #6971
  • b6327e9 Merge pull request #7546 from hellodigit/migration-5-setters
  • 0ad1f1f 5.x migration: fix setter example
  • d42b94c update 5.x migration guide link
  • e0b4b2f docs: make MongooseError have type string

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

  • a81f414 Merge branch 'master' of github.com:Automattic/mongoose
  • 0616d7a chore: release 5.4.16
  • 4c7a634 Merge pull request #7563 from yoursdearboy/patch-1
  • ef9d8c9 Fix virtuals cloning
  • ece9a36 docs(model): make note about model() making a copy of the schema arg more loud
  • 14922a1 docs(connections): add reconnectFailed to connection docs
  • 23bfe05 Merge branch 'master' of github.com:Automattic/mongoose
  • 3c208b0 fix(schema): don't throw error if declaring a virtual that starts with a map path name
  • 50efc11 test(schema): repro #7464
  • ef2ff4a Merge pull request #7541 from caub/patch-1
  • 6e06cf3 refactor(schema): iterate over paths instead of depending on childSchemas
  • 207d326 Merge pull request #7553 from DenrizSusam/patch-1
  • 7c4b995 fix(schema): handle nested objects with _id: false
  • a89d3cb style: fix typo in comment
  • 6b5184b test(schema): repro #7524

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

  • 15e285e chore: release 5.4.17
  • a1e17dc style: fix lint
  • d18ef22 Merge branch 'master' of github.com:Automattic/mongoose
  • 921ef4d fix(document): clean modified subpaths when sorting an array
  • 1955a82 test(document): repro #7556
  • d61a762 Merge pull request #7569 from kolya182/patch-1
  • 751cdb2 fix(update): handle all positional operator when casting array filters
  • 4e319f7 test(update): repro #7540
  • 5f064db chore: fix sponsors: remove monovm, add truevendor
  • f91b4e7 fix(populate): handle populating nested path where top-level path is a primitive in the db
  • 0377267 test(populate): repro #7545
  • a370b0e fix(update): run update validators on array filters
  • 7b1c23c test(update): repro #7536
  • b555a85 refactor: nest bulkWrite casting tests under a describe()
  • 4d82210 fix(model): cast $setOnInsert correctly with nested docs

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

  • 52046e1 chore: release 5.4.18
  • 2d34bfb test(discriminator): fix tests on older node versions
  • ae82062 fix(model): remove $versionError from save options for better debug output
  • a465059 fix(model): make subclassed models handle discriminators correctly
  • fa662ee test(model): repro #7547
  • 39eec7c fix(document): handle nested virtuals in populated docs when parent path is projected out
  • c7db725 test(document): repro #7491
  • 3fa119e Merge branch 'master' of github.com:Automattic/mongoose
  • a72cd6d docs: remove datantify as a sponsor
  • e699426 docs: add note about typescript to contributing.md
  • 07f31f1 chore: now working on 5.4.18
  • 15e285e chore: release 5.4.17
  • a1e17dc style: fix lint
  • d18ef22 Merge branch 'master' of github.com:Automattic/mongoose
  • 921ef4d fix(document): clean modified subpaths when sorting an array

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

  • 7694005 chore: release 5.4.20
  • f7f9f71 test: make tests more robust re: ordering of virtual populate
  • 93930fd chore: fix test import logic and link for #7640
  • d036f5d style: fix lint
  • b97bef9 chore: test improvements
  • 5353a06 Merge branch 'master' of github.com:Automattic/mongoose
  • 5e03510 docs(tutorials): add tutorial about lean()
  • 48c945c test: fix tests
  • 60169b6 Merge pull request #7635 from egorovli/patch-1
  • 37f526a Merge pull request #7628 from 720degreeLotus/master
  • 7affab5 fix modelName being used as value to partialFilterExpression index
  • bb78de7 fix(document): allow setters to modify this when overwriting single nested subdoc
  • fb8b39a test(document): repro #7585
  • a4bf0cb test: fix tests
  • 5c3c692 test: fix tests

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

  • 68c70a8 chore: release 5.4.21
  • 9a084d6 fix(document): allow set() on aliased path
  • 6b3383b test(document): repro #7592
  • e3b4b8b fix(updateValidators): run update validators correctly on Decimal128 paths
  • d0c36f0 test(updateValidators): repro #7561
  • 5dfca82 test: fix tests re: #7592
  • 135c9b8 fix(document): allow .get() with aliased paths
  • f5fed7e test(document): repro #7592
  • aa21111 fix(document): ensure custom getters on single nested subdocs don't get persisted if toObject.getters = true
  • b312a90 test(document): repro #7601
  • 5b80934 fix(schema): correct out-of-date list of reserved words
  • 07699fe docs(model+query): add link to update results docs and examples of using results of updateOne(), etc.
  • 6c54f24 Merge pull request #7649 from 720degreeLotus/master
  • 48de52a test: avoid using doesNotThrow() because it does not print error message
  • c9f68bc style: fix lint

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

  • 0031456 chore: release 5.4.22
  • e0c10b6 Merge pull request #7684 from shihabmridha/master
  • 8ce544b Merge pull request #7668 from kyletsang/patch-1
  • f4d64d1 Merge branch 'master' of https://github.com/Automattic/mongoose
  • 87a0114 Removed duplicate Query.prototype.merge() doc
  • da39639 Merge from parent
  • 80c46e9 Removed duplicate Query.prototype.merge() doc
  • c7ccf7b fix(aggregate): allow modifying options in pre('aggregate') hook
  • 05fc034 test(aggregate): repro #7606
  • 3d8e2d7 docs(model+query): add omitUndefined option to docs for updateX() and findOneAndX()
  • 467c1c4 style: fix lint
  • 5355a01 Merge branch 'master' of github.com:Automattic/mongoose
  • 9c1110f fix(map): correctly init maps of maps when loading from MongoDB
  • 1e7a5d0 test(map): repro #7630
  • 343aab7 Merge pull request #7665 from pixcai/master

There are 171 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 179 commits.

  • 6fc2991 chore: release 5.4.23
  • bb4a49c test: fix tests
  • 51e0160 fix(document): report cast error when string path in schema is an array in MongoDB
  • 46c319e test(document): repro #7619
  • 8df00fb docs(subdocs): add note about parent() and ownerDocument() to subdocument docs
  • 76d8ca5 fix(query): set deletedCount on result of remove()
  • d101c68 test(query): repro #7629
  • a9fcf85 chore: now working on 5.4.23
  • 0031456 chore: release 5.4.22
  • e0c10b6 Merge pull request #7684 from shihabmridha/master
  • 8ce544b Merge pull request #7668 from kyletsang/patch-1
  • f4d64d1 Merge branch 'master' of https://github.com/Automattic/mongoose
  • 87a0114 Removed duplicate Query.prototype.merge() doc
  • da39639 Merge from parent
  • 80c46e9 Removed duplicate Query.prototype.merge() doc

There are 179 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 220 commits.

  • c04e01b chore: release 5.5.0
  • 2cd939e Merge pull request #7691 from Automattic/5.5
  • 6fc2991 chore: release 5.4.23
  • bb4a49c test: fix tests
  • 51e0160 fix(document): report cast error when string path in schema is an array in MongoDB
  • 46c319e test(document): repro #7619
  • 8df00fb docs(subdocs): add note about parent() and ownerDocument() to subdocument docs
  • 76d8ca5 fix(query): set deletedCount on result of remove()
  • d101c68 test(query): repro #7629
  • a9fcf85 chore: now working on 5.4.23
  • 618f19a feat(document): add getters option to Document#get()
  • b7e9277 test: fix tests re: #7447
  • 8b72173 fix(document): set full validator path on validatorProperties if propsParameter set on validator
  • af21703 style: fix lint
  • 84e9884 feat(document): add Document#isEmpty() and corresponding helpers for nested paths

There are 220 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 241 commits.

  • bdc843b chore: add usave as a opencollective sponsor
  • 98352db chore: release 5.5.1
  • 2d3c4e5 fix(schematype): avoid indexing properties with { unique: false, index: false }
  • 2a5c214 test(schematype): repro #7620
  • 3ac55ee Merge pull request #7696 from hellodigit/checkrequired-array
  • dd43ef7 style: fix lint
  • 0ea126d fix(aggregate): make Aggregate#model() with no arguments return the aggregation's model
  • 5106455 test(aggregate): repro #7608
  • 8c6032d test: fix tests re: #7687
  • fd91c2f fix(discriminator): handle embedded discriminators when casting array defaults
  • aeb0327 test(discriminator): repro #7687
  • 74a947a fix(collection): ensure collection functions return a promise even if disconnected
  • fe03f3a test(collection): repro #7676
  • 2eebe3b style: fix lint
  • 6c66ba8 fix(document): correctly overwrite all properties when setting a single nested subdoc

There are 241 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 257 commits.

  • b43d70a chore: release 5.5.2
  • c1c1769 chore: add blokt as sponsor
  • 4f86232 fix(model): set document $session in create() so session is available to validators and middleware
  • defa2b8 fix(document): support setting nested path to non-POJO object
  • 34cb531 test(document): repro #7639
  • 0610105 perf(connection): remove leaked event handler in Model.init() so deleteModel() frees all memory
  • 2a99c03 style: fix lint
  • b26407b fix(timestamps): handle custom statics that conflict with built-in functions (like mongoose-delete plugin)
  • 4c70e21 test(timestamps): repro #7698
  • 04b6027 fix(populate): make Document#populated() work for populated subdocs
  • ba9a72b test(populate): repro #7685
  • 7f797c7 Merge branch 'master' of github.com:Automattic/mongoose
  • 57f0f85 fix(document): support .set() on document array underneath embedded discriminator path
  • f3e114b test(document): repro #7656
  • 0fcd912 chore: now working on 5.5.2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

There are 250 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 413 commits.

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

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

  • 9f859bd chore: release 5.5.12
  • b67b826 docs(tutorials): add findOneAndUpdate() tutorial
  • 62d111f docs(documents): remove incorrect section re: #7830
  • bbfdbd5 docs(validation): add updateOne() and updateMany() to list of update validator operations
  • 9ba4e47 docs(model): make sure options lists in update() API line up
  • 9260420 chore: add craft resumes as sponsor
  • f94cc4e fix(query): apply schema-level projections to the result of findOneAndReplace()
  • 85efe9b chore: fix build on node v4 and v5
  • a091ecc chore: improve ad layout
  • f848b54 fix(model): skip applying static hooks by default if static name conflicts with query middleware
  • 6c557bf test(model): repro #7790
  • 303e8da fix(document): fix unexpected error when loading a document with a nested property named schema
  • 13c6e79 test(document): repro #7831
  • 0f32774 docs(model+query): consistently use filter as opposed to criteria re: #3921
  • 5a6c69e chore: upgrade mongodb -> 3.2.6

There are 17 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 36 commits.

  • dab9d1d chore: release 5.5.13
  • 1a641fd Merge pull request #7868 from dfdeagle47/docs-typo
  • 851f2df docs(model): fix typo projetion to projection
  • 32ab77c fix(model): support getting discriminator by value when creating a new model
  • 4315e83 test(model): repro #7851
  • 23dcf48 docs(transactions): add section about the withTransaction() helper
  • 6a8607b docs(model+query): link to findOneAndUpdate docs
  • 99abcb8 Merge branch 'master' of github.com:Automattic/mongoose
  • d8e46e1 fix(update): run setters on array elements when doing $addToSet, $push, etc
  • d9fa219 test(update): repro #4185
  • 0676db4 Merge pull request #7860 from Fonger/delete-one-options
  • f7432b1 docs(schema): correct schema options lists
  • e667670 feat(model): support options in deleteOne
  • 9245a03 test(model): add deleteOne with options test
  • 6581ef2 test(transactions): repro #7857

There are 36 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 63 commits.

  • 1be7ecd chore: release 5.5.14
  • 080fce7 test: fix tests
  • 26161b2 test: fix tests
  • 1e3647f docs(tutorials): add tutorial about custom casting functions
  • 94292e6 fix(populate): allow using refPath with virtual populate
  • 75150ca test(populate): repro #7848
  • 6133770 Merge pull request #7877 from Fonger/patch-3
  • 9f542d1 fix(query): correct this scope of setters in update query
  • 853d705 chore(deps): bump dependencies
  • 808f127 Merge pull request #7875 from tannakartikey/lean_docs_typo_fix
  • dfd6d51 Fixed a little typo
  • b4dd608 Merge pull request #7874 from Fonger/update-connection
  • 283af24 Merge pull request #7873 from Fonger/fix-7852
  • bd5f955 chore: upgrade to latest marked re: security warning
  • 70d13ae chore: use self-hosted analytics and move off of KeenIO

There are 63 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 77 commits.

  • 473b126 chore: release 5.5.15
  • cb62f08 Merge pull request #7891 from jyrkive/master
  • ea283b7 fix(array): copy atomics from source array (#7889)
  • 276b8e2 test(document): repro #7889
  • d7ae2e3 fix(connection): reject initial connect promise even if there is an on('error') listener
  • d14f96d style: fix lint
  • fdfe3bc fix(update): use discriminator schema to cast update if discriminator key specified in filter
  • 51cc5a5 test(update): repro #7843
  • eb5078e fix(map): make of automatically convert POJOs to schemas unless typeKey is set
  • d03129c test(map): repro #7859
  • 08c348f Merge pull request #7887 from Mickael-van-der-Beek/fix-schema-add-this
  • 339504a fix(schema): return this when Schema.prototype.add is called with Schema instance as argument
  • bb219a9 fix(model): add numAffected and result to DocumentNotFoundError re: #7844
  • 63f1736 chore: now working on 5.5.15
  • 1be7ecd chore: release 5.5.14

There are 77 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 143 commits.

  • baa2066 chore: release 5.6.0
  • ba4d84f Merge pull request #7888 from Automattic/5.6
  • 86d5c1e Merge pull request #7899 from sharils/patch-1
  • 8d1aa36 Merge pull request #7900 from sharils/patch-2
  • 30e8cc8 Fix casing
  • 3957c5d Fix reference to example schema.js
  • 1f14d36 perf(model): add lean() to exists() query for performance re: #6872
  • 57b8c74 feat(model): add Model.exists() function to quickly check whether a document matching filter exists
  • ada35e5 Merge branch 'master' into 5.6
  • 939660e chore: now working on 5.5.16
  • 117501e Merge branch 'master' into 5.6
  • 5bbc4c4 Merge pull request #7897 from Fonger/coding-style
  • 4881673 chore: replace indexOf with includes, startsWith and endsWith for String
  • 310050c chore(schema): reuse mapPath variable
  • a59ee13 chore: replace charAt(0) with startsWith

There are 143 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 183 commits.

  • 8529a30 chore: release 5.6.1
  • cc1b5a5 docs: add getters/setters tutorial
  • 91b61a0 Merge pull request #7921 from kizmo04/master
  • 3588ddb docs(API): fix some href
  • 4c4973a fix(update): quick improvement for #7909
  • 0314b02 fix(update): skip setting defaults for single embedded subdocs underneath maps
  • ef79737 test(update): repro #7909
  • 35e9e6e fix(document): copy date objects correctly when strict = false
  • 41ad80a test(document): repro #7907
  • a7a6663 docs: fix some href
  • 5e7ab25 fix(document): copies virtuals from array subdocs when casting array of docs with same schema
  • 2cbf493 test(document): repro #7898
  • cba74b5 Merge branch 'master' of github.com:Automattic/mongoose
  • 2b94234 fix(schema): ensure clone() coppies single embedded discriminators correctly
  • 997de73 test(schema): repro #7894

There are 183 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 196 commits.

  • 62433bb chore: release 5.6.2
  • 983ec03 chore: add UltimateWP as sponsor, remove Marcus Hiles
  • df8ed53 fix(model): pass doc parameter to save() error handling middleware
  • c7446a4 test(model): repro #7832
  • 44d549c docs(connection): document useCache option for useDb()
  • 077e690 fix(mongoose): add applyPluginsToChildSchemas option to allow opting out of global plugins for child schemas
  • 1a0d9bc docs(History): correct issue number
  • e22746e fix(update): allow using update() with immutable createdAt
  • e1afb60 test(update): repro #7917
  • 3d0957a docs(document): clarify toJSON()s relationship with JSON.stringify()
  • 9ce3b27 chore: now working on 5.6.2
  • 653e629 Merge pull request #7925 from christophergeiger3/patch-1
  • 68b9f40 Fix visit it URL in FAQ
  • 8529a30 chore: release 5.6.1
  • cc1b5a5 docs: add getters/setters tutorial

There are 196 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 221 commits.

  • 20dbaad chore: release 5.6.3
  • 39eb53f chore: clean up opencollective sponsors
  • 1a03c14 chore: remove mixmax as sponsor
  • 3a6a0a7 fix(connection): bubble up 'attemptReconnect' event from MongoDB connection
  • 8db8e87 fix(ChangeStream): set closed if emitting close event
  • 6e3ac3c fix(schema): ensure Schema#pathType() returns correct path type given non-existent positional path
  • 3894581 test(schema): repro #7935
  • 3b59d8d Merge branch '4.x'
  • f51c4aa chore: release 4.13.19
  • 223a6b9 fix(document): respect projection when running getters
  • 4cc4c19 test(document): repro #7940
  • f77d555 Merge branch '4.x'
  • 77bb4c2 Merge pull request #7953 from rayhatfield/patch-1
  • 2aeeaa8 Merge pull request #7950 from cdimitroulas/backport-aggregate-options-bugfix
  • 5258b7f Fix link to Query.prototype.select

There are 221 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 238 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 238 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 263 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 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 285 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 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 306 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 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 328 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 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 347 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 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 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 years ago

Your tests are still failing with this version. Compare changes

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 4 years ago

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

Commits

The new version differs by 11 commits.

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

See the full diff

greenkeeper[bot] commented 4 years ago

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

Commits

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

See the full diff