the-road-to-graphql / fullstack-apollo-express-mongodb-boilerplate

💥A sophisticated GraphQL with Apollo, Express and MongoDB boilerplate project.
https://www.robinwieruch.de
MIT License
337 stars 104 forks source link

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

Open greenkeeper[bot] opened 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency mongoose was updated from 5.5.8 to 5.5.9.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details - ❌ **continuous-integration/travis-ci/push:** The Travis CI build could not complete due to an error ([Details](https://travis-ci.org/the-road-to-graphql/fullstack-apollo-express-mongodb-boilerplate/builds/533454085?utm_source=github_status&utm_medium=notification)).

Commits

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

After pinning to 5.5.8 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 still failing with this version. Compare changes

Commits

The new version differs by 17 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 17 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 7 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
  • 10e8961 chore: add node 12 to travis

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 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 still failing with this version. Compare changes

Commits

The new version differs by 19 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 19 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 147 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 147 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 13 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

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 25 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 25 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 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

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

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 still failing with this version. Compare changes

Commits

The new version differs by 22 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 22 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 21 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 21 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 22 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 22 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 19 commits.

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

There are 19 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 25 commits.

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

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 18 commits.

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

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

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

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 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 still failing with this version. Compare changes

Commits

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

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

There are 36 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 18 commits.

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

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 20 commits.

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

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 37 commits.

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

There are 37 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 18 commits.

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

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 14 commits.

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

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 11 commits.

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

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 11 commits.

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

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 31 commits.

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

There are 31 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 18 commits.

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

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 16 commits.

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

There are 16 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 61 commits.

  • 9ce1375 chore: release 5.8.0
  • ee892b9 Merge pull request #8415 from Automattic/5.8
  • 8a7aefe docs(model+query): add session option to docs for findOneAndX() methods
  • edd8277 chore: now working on 5.7.15
  • c2cda8a Merge branch 'master' into 5.8
  • ddb9d15 Merge pull request #8350 from captaincaius/feature-precompile-browser
  • 456f195 Merge branch '5.8' into feature-precompile-browser
  • 2cbe7fb Merge branch 'master' into 5.8
  • 340a77e Merge branch '5.8' of github.com:Automattic/mongoose into 5.8
  • 127d687 chore: remove debug code thats causing tests to break
  • 79ecd67 Merge pull request #8185 from unusualbob/bug-all-indexes-skipped-on-failure
  • a155b8d Merge pull request #8228 from captaincaius/feat-nested-schemas-declarative-syntax
  • 4a212e1 feat: capture original stack trace when reporting server selection timeout error
  • b481179 feat(schema): add ability to change CastError message using cast
  • aeb2c42 feat(update): add minimal casting of update pipelines

There are 61 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 8 commits.

  • 83b44ae chore: release 5.8.1
  • 084605e chore: add edubirdie as a sponsor
  • bbabfee fix(document): update single nested subdoc parent when setting to existing single nested doc
  • 2c2f98b fix(schema): add $embeddedSchemaType property to arrays for consistency with document arrays
  • 14e1c34 fix(documentarray): dont attempt to cast when modifying array returned from map() re: #8399
  • d37758a fix(documentarray): set schema on the array that map() returns to support casting
  • 3a6fc70 test(documentarray): repro #8399
  • c5c725a chore: now working on 5.8.1

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 24 commits.

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

There are 24 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 15 commits.

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

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 60 commits.

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

There are 60 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 25 commits.

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

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 39 commits.

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

There are 39 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 24 commits.

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

There are 24 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version 🚀

Commits

The new version differs by 16 commits.

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

There are 16 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 21 commits.

  • 849afd2 chore: release 5.8.13
  • 55a3464 fix(populate): use safe get to avoid crash if schematype doesn't have options
  • b90dbe9 Merge pull request #8584 from hugosenari/decouple-clone
  • 18ea0a8 style(tests) remove comment
  • ff41b74 refactor(utils): moving clone to helpers/clone
  • ca52ead chore: release 5.8.12
  • 989bff5 fix(populate): handle populating when some embedded discriminator schemas have refPath but none of the subdocs have refPath
  • ae2f58d test(populate): repro #8553
  • e93d459 style: fix lint
  • 2c6546d fix(query): correctly cast dbref $id with $elemMatch
  • 2cad4aa Merge pull request #8573 from hugosenari/decouple
  • a746435 refactor(applyHooks): fix poping last arg from args remove from args
  • 3f0473a refactor(eachAsync): removing trailing space
  • 4a627a8 refactor(utils): fix eslint coma
  • a30c8fa docs(populate): clean up typos re: #8572

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