marcus-sa / express-atlas

A simple routing wrapper for Express built on directory and file pattern recognition with easy import of mongoose models
https://npmjs.com/package/express-atlas
MIT License
1 stars 0 forks source link

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

Open greenkeeper[bot] opened 7 years ago

greenkeeper[bot] commented 7 years ago

Version 4.10.5 of mongoose just got published.

Branch Build failing 🚨
Dependency mongoose
Current Version 4.10.4
Type devDependency

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

As mongoose is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this :muscle:

Status Details - ❌ **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/marcus-sa/express-atlas/builds/240185814?utm_source=github_status&utm_medium=notification)

Commits

The new version differs by 15 commits.

  • e3c36a7 chore: release 4.10.5
  • 4c80f66 style: fix lint
  • 893b1bf fix(populate): handle init-ing nested virtuals properly
  • 1f538e3 Merge branch 'master' of github.com:Automattic/mongoose
  • e7d24a5 fix(update): report update validator error if required path under single nested doc not set
  • 9ede6be test(update): repro #5269
  • 2b29d2a chore: temporarily remove node 8 from travis
  • 8acce12 chore: add node 8 to travis
  • a66bf52 test(populate): repro #5311
  • 31165e6 fix(schema): remove default validate pre hook that was causing issues with jest
  • 1372151 chore: improve contrib guide for building docs
  • 5a22560 refactor: move querycursor under the cursor dir
  • e4a4002 chore: add keys in npmignore and gitignore
  • 8f02f26 chore: fix doc build in master
  • 9403bc7 chore: now working on 4.10.5

See the full diff

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 7 years ago

Version 4.10.7 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 42 commits.

  • 2eda0d9 chore: release 4.10.7
  • ba06058 fix(query): callback with cast error if remove and delete* args have a cast error
  • 659c80f test(query): repro #5323
  • 3bcf412 chore: remove sinon dep re: #5357
  • 6e40538 Merge pull request #5357 from igwejk/do_not_modify_user_passed_options_map
  • b4e3fc4 docs(validation): show overriding custom validator error with 2nd cb arg
  • 3319fd7 Removed dependency on external 'clone' module and used the one in 'lib/utils'
  • e65dd63 fix(populate): don't set populate virtual to ids when match fails
  • fe0a629 test(populate): repro #5336
  • a1d0ab6 Merge pull request #5356 from CalebAnderson2014/patch-1
  • 7d49b37 chore: bump bluebird dep to latest for test
  • 9507813 chore: get rid of old docs file
  • 586dc9f Fixed ESLINT errors
  • 27e82db Fix mutates user passed option map
  • 384bae6 Update guide.jade

There are 42 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 69 commits.

  • c703010 chore: release 4.11.0
  • 973fcac Merge pull request #5391 from Automattic/4.11
  • 5e855ea test: remove bad test
  • 664a631 test: fix query stream test
  • c27c201 Merge pull request #5372 from Automattic/5339
  • d5a49e2 Merge branch '4.11' into 5339
  • 97a2f9b Merge pull request #5373 from Automattic/4009
  • 5e4d0e6 Merge pull request #5355 from Automattic/5304
  • 1bb39b8 Merge pull request #5298 from Automattic/4244
  • bd0f957 test: fix tests
  • 85e7984 style: fix lint
  • 84d102a test: fix tests
  • 2aad9fa chore: rename useMongooseUri -> useMongoClient
  • ab6aad5 Merge branch '4.11' into 5304
  • 7715120 Merge branch '4.11' into 4244

There are 69 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 30 commits.

  • 98af8e8 chore: release 4.11.1
  • ca9c305 docs(connection): add links to MongoClient.connect()
  • 14c13cf Merge branch 'master' of github.com:Automattic/mongoose
  • 6c025c8 fix(connection): make sure to call onOpen in openUri()
  • b1e9917 docs(connection): add link to openUri deprecation
  • 586effe docs(connection): improve docs re: createConnection promise
  • fb3636d Merge pull request #5427 from fredericosilva/fix_doc
  • 3ff9bd0 Merge pull request #5402 from zbjornson/zb/justone
  • 8877a57 Merge pull request #5398 from pjo336/patch-1
  • f4551b9 fix(update): handle update with defaults and overwrite but no update validators
  • c868ee7 test(update): repro #5086
  • 81714c2 style: fix lint
  • 528f125 fix(populate): handle undefined refPath values in middle of array
  • a66f618 test(populate): repro #5377
  • d510152 Merge pull request #5426 from Automattic/5363

There are 30 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.2 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 29 commits.

  • 9155b02 chore: release 4.11.2
  • 9368df0 fix(document): reset down the nested subdocs when resetting parent doc
  • b695223 test(document): repro #5406
  • fd811b7 fix(document): don't crash if calling validateSync() after overwriting doc array index
  • 64689f8 test(document): repro #5389
  • 4495146 fix(connection): make openUri() return connection decorated with then() and catch()
  • e0b95b5 fix(document): don't double-validate deeply nested doc array elements
  • 56c8c12 test(document): repro #5411
  • 4387373 fix(connection): handle autoIndex with useMongoClient
  • ff71ece test(connection): repro #5423
  • 6750a7f fix(update): correctly cast document array in update validators with exec()
  • 7d75f28 test(update): repro #5430
  • 1613ef5 fix: enforce $set on an array must be an array
  • 26bbb76 test(update): repro #5403
  • 8711c29 fix(schema): handle type: [Array] in schemas

There are 29 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.3 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 9 commits.

  • 2b337dd chore: release 4.11.3
  • 465a231 Merge branch 'master' of github.com:Automattic/mongoose
  • 343b7a7 fix(connection): remove .then() before resolving to prevent infinite recursion
  • 4f2c023 Merge pull request #5443 from prototypeme/master
  • c89a36f Merge pull request #5454 from wookieb/master
  • fb8549e chore: now working on 4.11.3
  • 62aec9b Proper handling of 'strict' option per query
  • ca22cd8 Removing global.MONGOOSE_DRIVER_PATH double check
  • 7413cdb Load bundled driver first and then override

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.4 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 34 commits.

  • ee1987e chore: release 4.11.4
  • dcd3d96 fix(query): apply schema excluded paths if only projection is a $slice
  • 5ad4c9b test(query): repro #5450
  • 48da453 test: fix tests re: #5486
  • b64638f Merge pull request #5486 from lchenay/patch-1
  • 01ef8b1 Merge branch 'master' into patch-1
  • f6e4dce fix(cursor): call next() in series when parallel option used
  • 24fa1cc fix(query): ensure castConditions called for findOne and findOneAnd*
  • c2670a9 docs(aggregate): add useMongooseAggCursor docs
  • 0c2d99f fix(aggregate): don't rely on mongodb aggregate to put a cursor in the callback
  • b108182 test(aggregate): repro agg cursor issue #5394
  • fe3897b docs(middleware): clarify context for document, query, and model middleware
  • 77f4bc5 style: fix lint
  • af73f64 fix(schema): apply nested schema hooks when compiling parent so global plugin hooks work
  • 6c1bb55 test: repro #5437

There are 34 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.5 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 25 commits.

  • ee2f3ed chore: release 4.11.5
  • 1504d64 Merge pull request #5516 from TalhaAwan/patch-2
  • 7136c06 Merge pull request #5502 from lchenay/patch-2
  • 4a28e91 fix(populate): restore user-provided limit after mutating so cursor() works with populate limit
  • 3bace2d test(populate): repro #5468
  • b71e319 fix: wrong reference link to $lookup
  • 845aca3 docs(document): copy docs for save from model to doc
  • d16a7fa style: fix lint
  • 4603124 fix(populate): propagate readPreference from query to populate queries by default
  • 9e4fd1f test(populate): repro #5460
  • 20cce65 docs: warn not to use arrow functions for statics and methods
  • e659958 fix(error): allow overwriting DocumentNotFoundError message
  • 0f053f1 fix(model): make DocumentNotFoundError take precedence over VersionError
  • 2ede28b fix(document): handle dotted virtuals in toJSON output
  • 6e02dbb test(document): repro #5473

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.6 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 15 commits.

  • b6340c8 chore: release 4.11.6
  • 93e771c fix: upgrade mongodb -> 2.2.30
  • d1f6e27 refactor(model): dont hardcode 1000 re: #5529
  • 90b17ae Merge pull request #5529 from andresattler/master
  • 31a6390 fix(browserDocument): prevent stack overflow caused by double-wrapping embedded doc save() in jest
  • 729ad62 Update model.js
  • 71639e3 refactor(document): get rid of hacky usage of bind()
  • d39ba28 fix(document): clear single nested doc when setting to empty object
  • a364c1f test(document): repro #5506
  • 12126bf fix: limiting number of async operations per time in insertMany
  • 9db4fdb chore: add lock file
  • a8c7c05 fix(populate): ensure nested virtual populate gets set even if top-level property is null
  • 26bd8cf test(populate): repro #5431
  • a7df159 fix(connection): emit reconnected and disconnected events correctly with useMongoClient
  • 33ca169 chore: now working on 4.11.6

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.7 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 18 commits.

  • f09109a chore: release 4.11.7
  • 9da4b0d style: fix lint
  • ec13cca Merge branch 'master' of github.com:Automattic/mongoose
  • cded3f8 test(populate): repro #5542
  • 2f7fb10 Merge pull request #5544 from davidwu226/fix-virtual-populate-tojson
  • cb5b117 Merge pull request #5535 from et/patch-1
  • ee9b201 chore: use absolute paths for launchers
  • 708764c fix: upgrade mongodb -> 2.2.31 to support user/pass options
  • eae4fd3 Fix toJson() when apply to a virtual populate -- missing a clone() call.
  • c1de420 fix: add warning about running jest in jsdom environment
  • f42876a fix(document): ensure overwriting a doc array cleans out individual docs
  • 970c8b1 test(document): repro #5523
  • 2b816ea Fix property name
  • b382c24 fix(schema): handle creating arrays of single nested using type key
  • 1b98177 test(schema): repro #5521

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.8 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 29 commits.

  • 7d03378 Merge branch 'master' of github.com:Automattic/mongoose
  • a153d23 chore: release 4.11.8
  • 3561fa9 Merge pull request #5570 from Automattic/5548
  • b220e26 fix(model): defer idGetter until schema is compiled
  • 2a1ec43 Merge branch 'master' into 5548
  • 960fe1c Merge pull request #5571 from efkan/patch-1
  • 35d4dac Merge pull request #5547 from ndabAP/master
  • aeb6915 Adding warning regarding ObjectId usage
  • a2ec3b9 Merge branch 'master' of github.com:Automattic/mongoose
  • 97c9f40 fix(model): allow setting id property after schema was created
  • 0c3016f test(model): repro #5548
  • 719b2bc Merge pull request #5566 from Automattic/5524
  • c04f247 chore: bump lock file
  • 42c0cd1 Merge branch 'master' into 5524
  • 15e4fed test: remove deep equality check

There are 29 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.9 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 10 commits.

  • e5c9a6d chore: release 4.11.9
  • c0eb6ff fix(query): only skip castForQuery for mongoose arrays
  • 3c59840 docs(schematypes): fix spacing re: #5567
  • 7569dd4 test: fix tests on 0.x
  • 402462e style: fix lint
  • c434ca9 fix(query): enforce binary subtype always propagates to mongodb
  • 26d9602 test(query): repro #5551
  • e2790f6 fix(browser): rely on browser entrypoint to decide whether to use BrowserDocument or NodeDocument
  • 3e70194 fix(error): avoid using arguments.callee because that breaks strict mode
  • 45e36ab chore: now working on 4.11.9

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.10 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 30 commits.

  • 00d10d7 chore: release 4.11.10
  • de065e7 chore: pass all options to populated() re: #5564
  • 8f2f5b6 test: make connection tests more robust
  • 6c2e00d docs: add back 3.x docs
  • 129ba3a fix(populate): don't mark path as populated until populate() is done
  • 529df28 test(populate): repro #5564
  • 4d7e976 test: extend timeout for connection stop/start tests
  • d000ea9 style: fix lint
  • 714357b fix(connection): emit timeout event on socket timeout
  • c120ab5 test(connection): repro #4513
  • 71cd410 Merge branch 'master' of github.com:Automattic/mongoose
  • ce586e4 docs: add KeenIO for tracking
  • f2aca69 Merge pull request #5594 from kevinburke/fix-typo
  • 8bbf8a9 style: fix lint
  • 6033179 fix(document): make push()-ing a doc onto an empty array act as manual population

There are 30 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.11 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 21 commits.

  • 9b388b8 chore: release 4.11.11
  • 66c41e4 style: fix lint
  • 55716cc fix(connection): properly set ready state in response to driver 'close' and 'reconnect' events
  • 1cd36a8 test(connection): repro #5604
  • 2aa4d84 chore: bump lock file
  • 3f5908c fix(query): ensure find callback only gets called once when post init hook throws error
  • a6eb59a test(query): repro #5592
  • afa0a4d style: fix lint
  • 0947633 fix(document): ensure single embedded doc setters only get called once, with correct value
  • f097931 test(document): repro #5601
  • 2e942e5 style: remove comma-separated vars
  • f9f4986 chore: remove debug print
  • 501e0e8 Merge pull request #5625 from Automattic/test-unique-validator
  • 2121efb chore: use small pool size for test re: #5595
  • 691fd63 chore: enable debug mode for test

There are 21 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.12 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 13 commits.

  • 5379221 Merge branch 'master' of github.com:Automattic/mongoose
  • b69abe5 chore: release 4.11.12
  • 84ef964 Merge pull request #5644 from timkinnane/patch-1
  • 1fe4fbc fix(document): add graceful fallback for setting a doc array value and pull()-ing a doc
  • 7b08618 test(document): repro #3511
  • 84695a1 refactor(document): move compile and defineKey into separate file
  • df89263 Merge pull request #5627 from GabrielNicolasAvellaneda/patch-1
  • 7c006f6 Asterisk should not render as markdown bullet
  • c232c2e fix(query): apply select correctly if a given nested schema is used for 2 different paths
  • 57e7bea test(query): repro #5603
  • e0e0aa6 fix(connection): call callback when initial connection failed
  • d8639d5 chore: now working on 4.11.12
  • de6c406 Fixed example to work with current stable version

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.13 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 27 commits.

  • cc32e59 Merge branch 'master' of github.com:Automattic/mongoose
  • 96e06b7 chore: release 4.11.13
  • cc52ec0 Merge pull request #5665 from sime1/master
  • ab9ba7c test: add coverage for #5656
  • 52ed14f Merge pull request #5656 from zipp3r/master
  • a872591 fix(query): avoid throwing cast error for strict: throw with nested id in query
  • 2831006 test(query): repro #5640
  • 6cf6c61 fix replaceOne with validators
  • 6fa6055 fix(types): handle manual population consistently for unshift() and splice()
  • e666f11 test(document): repro #5504
  • 12a08af refactor(types): create helper function for logic from #5504
  • 545bd39 fix(document): handle setting doc array to array of top-level docs
  • bc40e45 test(document): repro #5632
  • 9f6e79b fix(schema) code ftyle
  • 7b13e3b fix(schema): turn back checks for null value for timestamp paths in Schema.prototype.setupTimestamp

There are 27 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.11.14 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 18 commits.

  • c86ef79 chore: release 4.11.14
  • 0165e5f chore: bump lockfile and add back nsp re: #5658
  • 07e62be fix(populate): automatically select() populated()-ed fields
  • cc6e489 test(populate): repro #5669
  • 4be7d79 chore: remove nsp for now
  • 5ab6726 chore: run nsp after test
  • 2b4435d Merge pull request #5679 from hairyhenderson/add-nsp-check-in-ci
  • bf6ef00 Merge pull request #5675 from jonathanprl/patch-1
  • 5332ab6 chore: use ~
  • 48ca046 Adding nsp check to the CI build
  • f9e0525 fix(connection): make force close work as expected
  • 0e5fc39 test(connection): repro #5664
  • e8f0055 Update mquery dependency
  • 4875dbe fix(model): make init() public and return a promise that resolves when indexes are done building
  • 3f17393 fix(document): treat $elemMatch as inclusive projection

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.12.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 40 commits.

  • 2a26a92 chore: release 4.12.0
  • ec2a391 Merge pull request #5682 from Automattic/4.12
  • 6760e19 Merge pull request #5546 from Automattic/5470
  • 1a2432d chore: fix merge conflicts
  • 9f31d63 Merge branch '4.12' into 5470
  • b9cda3d feat(query): run update validators on $pull and $pullAll
  • 8f958f4 refactor: bring selectedInclusively() back
  • d6f65e7 docs(validation): add docs coverage for ValidatorError.reason
  • a072f83 feat(types): add discriminator() function for single nested subdocs
  • 97397cc refactor: create _createConstructor helper for embedded schemas re: #5244
  • 7880a77 style: fix lint
  • 25a1566 docs(query): clarify relationship between custom query errors and cast errors
  • 1ee73ce chore: fix merge conflict
  • fb68f68 Merge branch 'master' into 4.12
  • abe39a6 chore: now working on 4.11.15

There are 40 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.12.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 13 commits.

  • fbfe283 chore: release 4.12.1
  • 140402c fix(document): create new doc when setting single nested, no more set() on copy of priorVal
  • f472f5e test(document): repro #5693
  • a318435 fix(model): recursively call applyMethods on child schemas for global plugins
  • 7f1bfd2 test(model): repro #5690
  • 1150338 fix(query): handle false when checking for inclusive/exclusive projection
  • 2276254 test(populate): repro #5685
  • 59f2378 fix: make addToSet() on empty array with subdoc trigger manual population
  • a8a9a2a test: repro #5504
  • b8ebf88 docs: fix bad promise lib example on home page
  • a517f14 fix(discriminator): allow reusing child schema
  • aa3c732 test(discriminator): repro #5684
  • bbe2022 chore: now working on 4.12.1

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.12.2 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 10 commits.

  • f2170ee chore: release 4.12.2
  • aca06b1 docs(faq): add warnings about using arrow functions for getters/setters, virtuals, and methods
  • e063211 fix: bump mongodb -> 2.2.33
  • ccae0a9 fix(query): don't project in populated field if parent field is already projected in
  • 4594c5d test(query): repro #5669
  • 6df4782 docs(schema): document the childSchemas property and add to public API
  • 23967d7 test(schema): add coverage for childSchemas re: #5695
  • 053a118 fix: upgrade muri for more detailed error messages
  • c5ec9a9 docs(connection): clarify that poolSize is max
  • 4bb72dd chore: now working on 4.12.2

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.12.3 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 17 commits.

  • 12b2087 chore: release 4.12.3
  • dfab80c fix(connection): emit 'reconnect' event as well as 'reconnected' for consistency with driver
  • d9dce1b fix: correctly bubble up left/joined events for replica set
  • fa6bce3 refactor(error): move error.js -> error/index.js for sanity
  • 1452950 fix(model): handle setDefaultsOnInsert option for bulkWrite updateOne and updateMany
  • 23da8c9 test(model): repro #5708
  • 76d8ffe refactor(query): make setDefaultsOnInsert take a filter as opposed to a query
  • 7c45e7e chore: correct 4.12.2 release date
  • 480098d test: fix 0.10+0.12 const issue
  • 69e4480 docs(connection): improve docs regarding reconnectTries, autoReconnect, and bufferMaxEntries
  • 2410add fix(connection): allow passing in autoIndex as top-level option rather than requiring config.autoIndex
  • b7ac49b fix(query): handle null with addToSet/push/pull/pullAll update validators
  • 16475f3 test(query): repro #5710
  • 191ff1d style: fix lint
  • 1088266 chore: now working on 4.12.3

There are 17 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.12.4 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 14 commits.

  • 30394cd chore: release 4.12.4
  • 2445ca4 fix(connection): ensure connection promise helpers are removed before emitting 'connected'
  • 8e7dfb0 test(connection): repro #5714
  • 90f4782 docs(schema): add notes about runSettersOnQuery to schema setters
  • d95d433 Merge pull request #5730 from wlingke/master
  • a38203c style: fix lint
  • 720aace Merge pull request #5726 from sheyooo/patch-1
  • c6fac06 clean up comments
  • aac3bd2 idGetter plugin tests - confirms #5713 has been solved
  • 006cb71 Fixes typo in schematypes.jade
  • 2e326f0 fix(collection): ensure queued operations run on the next tick
  • d2a4904 fix(model): avoid copying recursive $$context object when creating discriminator after querying
  • db63ef5 test(model): repro #5721
  • 1aa4390 chore: now working on 4.12.4

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.12.5 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 17 commits.

  • ae78242 chore: release 4.12.5
  • 4d9d71b test(discriminator): fix tests re: #5757
  • ee01370 Merge pull request #5766 from wlingke/master
  • 411db61 fix: remove typo that was breaking tests
  • 9c709e1 refactor: reduce number of array accesses
  • 85821d9 fix(query): correctly handle $in and required for $pull and update validators
  • 3b4211e test(query): repro #5744
  • b9ab446 refactor(test): remove unnecessary code
  • 9e3427a fix(document): catch sync errors in document pre hooks and report as error
  • 1d87987 fix(populate): handle slice projections correctly when automatically selecting populated fields
  • f02641c test(populate): repro #5737
  • f008895 chore: bump lockfile
  • b73af8d Merge branch 'master' of https://github.com/wlingke/mongoose
  • 8d09a20 Added test cases for #5706
  • 174ad6c Fixes #5706. Separately also adds length check for ObjectId hex string checker.

There are 17 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.12.6 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 9 commits.

  • 9153ae4 chore: release 4.12.6
  • 65df02e style: fix lint
  • 64fd968 fix: undeprecate ensureIndex() and use it by default
  • 5ec995c chore: disable travis email spam
  • f43a984 fix(schema): make clone() copy query helpers correctly
  • 43fb086 test(schema): repro #5752
  • 4138ce5 chore: bump lockfile
  • 65cc909 chore: now working on 4.12.6
  • c83b416 chore: fix date

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 42 commits.

  • ca7e915 chore: release 4.13.0
  • 06f260b Merge pull request #5771 from Automattic/4.13
  • 4348fa1 Merge branch 'master' into 4.13
  • a48219b chore: now working on 4.12.7
  • a980af8 Merge pull request #5748 from Automattic/5337
  • 01bf209 feat(schema): allow using set as a schema path
  • 2068a4b refactor: get rid of weird setFunction, just use $set internally re: #1939
  • 9b0525b Merge branch '4.13' into 1939
  • b9c2d3a Merge branch 'master' into 4.13
  • a51e1f5 fix(connection): handle no cb correctly for connection helpers
  • 8632e79 feat(model): report validation errors from insertMany() if using ordered: false and rawResult: true
  • 62e2ff6 Merge pull request #5740 from AyushG3112/addFields-aggregate-feature
  • cc41aa2 Merge branch '4.13' into addFields-aggregate-feature
  • 06f39e8 Merge branch 'master' into 4.13
  • 541fb36 (lint): fix trailing spaces

There are 42 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 20 commits.

  • a7eeab1 chore: release 4.13.1
  • bb6a64e docs(discriminator): add warning to always attach hooks before calling discriminator()
  • b4cf78f fix(hooks): defer applying embedded discriminator hooks until top-level model is compiled
  • 54d9189 Merge pull request #5798 from adamreisnz/patch-1
  • 060fcdf fix(model): increment version when $set-ing it in a save() that requires a version bump
  • ab668da test(model): repro #5779
  • 3b07c00 Use old school ES5 just in case
  • 77c543d Accept multiple paths or array of paths to depopulate
  • 3771f49 refactor(query): move selectedInclusively() into separate helper
  • c93fdae fix(query): don't treat projection with just $slice as inclusive
  • c40b313 test(query): repro #5737
  • 2adf1f3 fix(query): don't explicitly project in discriminator key if user projected in parent path
  • a12d282 test(query): repro #5775
  • d284104 refactor(test): remove duplicate 2.4 checks re: #5765
  • 9665a04 style: fix lint re: #5765

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.2 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 10 commits.

  • 3e7497f chore: release 4.13.2
  • 836decf Merge pull request #5808 from superheri/update-markdown
  • 89d2f3d feat(buffer): add support for subtype prop
  • 910e8b2 chore: bump lockfile
  • 68b1d2a test(document): repro #5530
  • a43d6dc update markdown
  • 83abbad docs: update release-items.md
  • 22befbb docs: fix capitalization issue
  • d6e1458 chore: now working on 4.13.2
  • 2b61adf chore: add missing comment for docs build

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.3 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 6 commits.

  • 8e5bd8b chore: now working on 4.13.3
  • 9bb9fe4 Merge pull request #5818 from superheri/travis
  • 20fc0ab fix(document): don't apply transforms to nested docs when updating already saved doc
  • dce067b test(document): repro #5807
  • 95e548e chore: now working on 4.13.3
  • e67d1f3 Add a check for node js 8

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.4 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 15 commits.

  • aa675e7 chore: release 4.13.4
  • bb840f5 fix(aggregate): add chainable .option() helper for setting arbitrary options
  • 22d4657 fix(aggregate): add .pipeline() helper to get the current pipeline
  • 001f98b Merge pull request #5822 from superheri/travis_node9
  • f6960da Merge pull request #5823 from mfluehr/patch-1
  • a813dd2 Merge pull request #5821 from Faibk/master
  • 2f2782e Grammar fixes to unique FAQ
  • a0ee8d8 chore: now working on 4.13.4
  • 62d09b0 Add node 9 in travis allowing failures
  • 76da92e added subevent test
  • 484e32b another typo
  • 3c9a5c1 fixed variables in test
  • d5fd152 fixed typo in test
  • 93eb3aa added test for recursive embedded discriminators
  • 2ed278a fixed applyHooks for recursive embedded discriminators

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.5 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 26 commits.

  • e318882 chore: release 4.13.5
  • edca051 style: fix lint
  • 38131d4 Merge pull request #5344 from c0d0g3n/master
  • fe0d1c5 docs(query): add more detailed docs re: options
  • dc19eac Merge pull request #5845 from Michael77/master
  • d5d7c1e Merge pull request #5844 from ralphite/master
  • e061881 docs(faq): add faq re: typeKey
  • 48aeccc Merge branch '4.13'
  • 1ffc38d fix "TypeError: Cannot read property 'options' of undefined" error that stops actual error from being thrown
  • 6e6a845 Merge pull request #1 from ralphite/guide-link-patch
  • d1f6691 Add link to bufferCommands
  • ad69054 Merge pull request #5834 from brunohcastro/fix/virtual-ref
  • 82c615c fix(document): if setting unselected nested path, don't overwrite nested path
  • 93ea193 test(document): repro #5800
  • 80731fd fix(query): don't throw uncaught error if query filter too big

There are 26 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.6 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 13 commits.

  • 5c159d7 chore: release 4.13.6
  • 7dc384c Merge pull request #5856 from ekulabuhov/master
  • 5c547ad fix(query): report ObjectParameterError when passing non-object as filter to find() and findOne()
  • 0de9867 test(query): repro #1698
  • a3fd08c Added check for missing model parameter
  • f46e033 refactor: remove unnecessary constructor check
  • a9be7dc docs: make Document $markValid() public re: #5826
  • cbab4ca Added strictBool option to schema
  • 4d4dfa1 fix(update): make upsert option consistently handle truthy values, not just booleans, for updateOne()
  • 5e279f4 test(update): repro #5839
  • 3a88543 docs(query): correct function signature for .mod() helper
  • 16a41e5 chore: bump lockfile
  • a122191 chore: now working on 4.13.6

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.7 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 25 commits.

  • e5fbd01 chore: release 4.13.7
  • 8de8c84 Merge pull request #5889 from gokaygurcan/patch-1
  • e044fde Update schematypes.jade
  • 2ecf938 Merge pull request #5875 from ZacharyRSmith/fix/eachAsync
  • 580b2d5 chore: more consistent copy
  • e2e38e5 Merge pull request #5871 from jinasonlin/master
  • eb2c337 fix(document): run validate hooks on array subdocs even if not directly modified
  • 5025a4e test(document): repro #5861
  • 1c3e210 test: fix tests re: #5881
  • 4f1e1a0 refactor(document): use isDefiningProjection() helper instead of checking for $meta and $slice everywhere
  • 107b838 fix(discriminator): don't treat $meta as defining projection when querying
  • 7c355b0 test(discriminator): repro #5859
  • cc84026 refactor: add isDefiningProjection helper re: #5881
  • 83d9a98 docs(connection): improve connection string query param docs
  • a11c05e docs(middleware): some cleanup re: #5866

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.13.8 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 13 commits.

  • 96cfbb8 chore: release 4.13.8
  • 3b6eec3 docs(guide): use more up-to-date syntax for autoIndex example
  • e179034 docs(README): add recommended import syntax
  • fb21c07 Revert "chore: bump nsp"
  • 41ff691 chore: bump nsp
  • 6da0c52 Merge pull request #5927 from abagh0703/patch-1
  • f59defb refactor: fix a few tests re: #5891
  • a159115 Grammar change: it's --> its
  • ccec46f fix: propagate lean options to child schemas
  • 4e64596 fix(populate): use correct model with discriminators + nested populate
  • ed8e874 test(populate): repro #5858
  • 1996a06 chore: bump lockfile
  • 722d0ab chore: now working on 4.13.8

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 264 commits.

  • 64061d5 chore: release 5.0.0
  • 69f3e07 Merge pull request #6007 from Automattic/docs
  • f229164 chore: fix up home page re: #5976
  • 4e04aa2 style: use version dropdown
  • 26ed5c1 refactor: move API css to its own file re: #5976
  • 35f2dbf refactor: move css re: #5976
  • 049a04b docs: add last 2 guides into new build system
  • 7cef30d chore: add populate docs to new build system
  • 67fd7f8 chore: finish up API docs re: #5976
  • 387d807 chore: add query and aggregate to API docs and fix acquit docs
  • eab78a1 Merge branch 'master' into docs
  • 950ebe2 docs: clean up lean() docs
  • 46b390d Merge pull request #5985 from fenanquin/master
  • df3c9db style: fix more lint issues
  • 3c314d0 style: fix lint

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 15 commits.

  • 22fe268 chore: release 5.0.1
  • 5d09823 chore: fix typo
  • b413e8a chore: add missing strict mode
  • 859c317 fix(document): fix test failures re: #6014
  • 4af760b fix(document): make validate() not resolve to document
  • 2111b9b Merge branch 'master' of github.com:Automattic/mongoose
  • bb347b3 fix(model): make save() not return DocumentNotFoundError if using fire-and-forget writes
  • b32a85c Merge pull request #6011 from spederiva/master
  • f145c40 chore: recompile site
  • e7cf8d1 docs(queries): fix code samples
  • 30c86e9 chore: new carbon css
  • 187dc3d rename aggregation option test
  • 133c5f4 fix bug: Using options in aggregates doesn't set anything
  • 38e4720 chore: now working on 5.0.1
  • 9130c75 chore: fix docs syntax error

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.2 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 42 commits.

  • c345112 chore: release 5.0.2
  • e80acb2 chore: add release script that uses --tag for npm publish for 4.x releases
  • 9900bf4 Merge branch '4.x'
  • 82ea3e8 chore: release 4.13.10
  • 6cb4333 Merge pull request #6058 from lineus/6038_fix_docs
  • b716e73 style: fix lint
  • b3863cf Merge branch '4.x'
  • 940ccc8 style: fix lint
  • 79887ab style: fix lint
  • 9c31fe2 chore: bump lockfile
  • 5d7d731 Merge branch 'mongoose4'
  • c8dea3b style: fix lint
  • fd1741c updating jade files to fix #6038
  • 3e394a9 Merge pull request #6055 from Automattic/4.x
  • 775d7c4 Merge branch 'master' into 4.x

There are 42 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.3 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 20 commits.

  • ae7f9d9 chore: release 5.0.3
  • 4d3a2e1 Merge branch 'master' of github.com:Automattic/mongoose
  • ab59f86 fix: consistently use process.nextTick() to avoid sinon.useFakeTimers() causing ops to hang
  • 27bc3e5 Merge pull request #6072 from adursun/patch-1
  • 938b9d8 Fix typo
  • a33649c fix(document): depopulate push()-ed docs when saving
  • 3e01987 test(document): repro #6048
  • 147a621 fix: upgrade mongodb -> 3.0.2
  • eaba640 Merge pull request #6068 from bryant1410/patch-1
  • 37e30bc docs(index): fix old refs to LearnBoost
  • c6646a0 Fix typo
  • f552b7d Add return type in mongose.model docs
  • ce455bd docs(middleware): add missing header links
  • 8827835 chore: bump mongoose-legacy-pluralize
  • 4e8e205 chore: now working on 5.0.3

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.4 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 29 commits.

  • ebe5b2f chore: release 5.0.4
  • 9b85723 fix(connection): add dbName option to work around mongodb+srv not supporting db name in URI
  • b150fba chore: bump kareem -> 2.0.4
  • 9b4dfa6 Merge pull request #6092 from tarun1793/tarun1793/modified-path-opt
  • 14061e0 Merge branch '4.x'
  • 617fb47 chore: use legacy instead of 4.x
  • f86ddcf chore: release 4.13.11
  • 3f2babd docs: add lambda guide
  • 37b4a48 Merge branch '4.x'
  • 3660092 docs: fix links in 4.x docs
  • 182cb5b docs(validation): clean up runValidators and isAsync options docs for 5.x
  • 9855680 Merge branch 'master' of github.com:Automattic/mongoose
  • b0bee96 chore: apply select OpenCollective changes from #6046
  • 97bd014 Merge pull request #6088 from yuristsepaniuk/master
  • 43a3c82 Merge pull request #6098 from JoshuaWise/patch-1

There are 29 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.5 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 22 commits.

  • e9cb88c chore: release 5.0.5
  • 1a8dafb fix(utils): respect valueOf() when merging object for update
  • 148e292 test(utils): repro #6059
  • bb256f2 docs(validation): fix typo 'maxLength'
  • 6cfe0d2 fix(query): support where() overwriting primitive with object
  • 9049fc8 test(query): repro #6097
  • 062034e Merge pull request #6119 from Automattic/3781
  • b6cc87f Merge branch '4.x'
  • 1ed41ab chore: now working on 4.x
  • 36b2f3f fix(discriminator): don't copy discriminators property from base schema
  • 813b5fd fix(discriminator): don't copy discriminators property from base schema
  • f90244f docs: make > show up correctly in API docs
  • b19ed22 refactor(document): move isExclusive into separate helper
  • 1ef7561 perf(document): only call hasIncludedChildren and isExclusiveProjection once
  • d4a8e25 fix(document): apply defaults after setting initial value so default functions don't see empty doc

There are 22 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.6 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 16 commits.

  • 22c37c8 chore: release 5.0.6
  • 7af52df docs: fix missing space
  • 0432642 fix(update): avoid digging into buffers with upsert and replaceOne
  • 73854f5 test(update): repro #6124
  • 8525c3f refactor(query.castUpdate): avoid creating error until necessary
  • 41360db fix(schema): copy virtuals when using clone()
  • 23594e6 test(schema): repro #6133
  • 085fd29 refactor: use let/const in schema tests
  • c3273a5 fix(schema): support enum on arrays of strings
  • 7f9dda9 test(schema): repro #6102
  • e07152d Merge pull request #6136 from lineus/master
  • c9b2378 removing comments from docs/source/api.js to restore the api docs
  • 8b5bc94 fix(update): better fix for #6086
  • b5b8e58 fix(update): cast $addToSet: [1, 2] -> $addToSet: { $each: [1, 2] }
  • cc90a3f test(update): repro #6086

There are 16 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.7 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 37 commits.

  • 1ead0e6 chore: release 5.0.7
  • 0f776ce Merge pull request #6169 from vichle/master
  • b4d9ae7 chore: remove unused file
  • 445e83c chore: add txt and png files to npmignore
  • 4a9f701 Update documentation
  • 4d96f34 Fix lint errors. Sorry.
  • b19d494 AggregationCursor.eachAsync behaves like QueryCursor.eachAsync (#6168)
  • 6a2ed04 perf: don't create wrapper function if no hooks specified
  • 360dac5 Merge pull request #6162 from br0p0p/patch-1
  • 10dc14c Merge pull request #6165 from Automattic/5616
  • f4b6001 feat(mongoose): add support for useFindAndModify option on singleton
  • ef1deaf Merge branch 'master' into 5616
  • e1730b0 Update link to MongoDB's "Compound Indexes" docs
  • 9fb725e Merge pull request #6160 from simllll/patch-1
  • 7d1aa84 Merge pull request #6158 from pradel/hotfix/fix-benchmark

There are 37 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.8 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 20 commits.

  • 7b6a906 chore: release 5.0.8
  • 349b267 Merge branch 'master' of github.com:Automattic/mongoose
  • 64ee3de Merge pull request #6036 from rocketspacer/feature/cache-useDb
  • 5cb2fd7 docs(readme): add link to migration guide on github to readme
  • 3866d58 Merge pull request #6186 from isaackwan/issue-6181-emitIndexErrors-doc-issue
  • 23478d6 docs(readme): use const instead of var
  • af530b8 Closes #6181, reflecting changes in the emitIndexError flag
  • d9c2a46 fix: upgrade mongodb -> 3.0.3 for reconnectTries: 0 blocking process exit fix
  • cd8fdec Add options to cache connection in useDb
  • b9a406d Merge branch 'master' of github.com:Automattic/mongoose
  • 660a60a feat: add top-level browser.js file so you can do const mongoose = require('mongoose/browser')
  • cb7ba62 fix: remove document_provider.web.js file
  • b6e60ca docs: elaborate on boolean casting changes in 5.x
  • 715f320 feat(query): add omitUndefined option so setDefaultsOnInsert can kick in on undefined
  • 277e4ef test(update): repro #6034

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.9 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 3 commits.

  • 9244c74 chore: release 5.0.9
  • 21cbd43 perf: bump mongodb -> 3.0.4 to fix SSL perf issue
  • 74d33e1 chore: now working on 5.0.9

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.10 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 32 commits.

  • 285dcbd chore: release 5.0.10
  • 425456c docs(schematype): add notes re: running setters on queries
  • 6ca5663 fix(query): handle single embedded embedded discriminators in castForQuery
  • aca2614 test(query): repro #6027
  • e9566b6 fix(query): cast dotted embedded discriminator paths if discriminator key set in query
  • 8c4f5d7 test(query): repro #6027 part 1
  • 30a1615 test(query): add coverage re: #6203 for findOneAndRemove
  • 2d44f74 chore: rename test file re: #6203
  • 174cc5b test(query): add coverage for #6203 with useFindAndModify
  • 270a072 fix(query): only call setters once on query filter props for findOneAndUpdate and findOneAndRemove
  • 621b338 test(query): repro #6203
  • 88ca66e docs(schematypes): add Decimal128 to schematype docs
  • 5f4ef80 docs: fix schematypes docs
  • 52cca5e Merge pull request #6225 from lineus/docs-6217_part_deux
  • f804cd3 add index.js to api docs

There are 32 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.11 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 20 commits.

  • 299cc02 chore: release 5.0.11
  • ccf18dc style: fix lint
  • 4d47235 fix(update): handle $pull with $in in update validators
  • a98894c test(update): repro #6240
  • 98c6cb9 docs(connections): document dbName option for Atlas connections
  • b666797 style: fix lint re: #6234
  • 0655b65 fix(populate): apply justOne option before completeMany() so it works with lean()
  • fb9575c test(populate): repro #6234
  • d86be54 fix(discriminator): make child schema nested paths overwrite parent schema paths
  • 974bf17 test(discriminator): repro #6076
  • 2d45bb0 docs(middleware): add example of using async/await with middleware
  • 5e81d29 fix(query): ensure errors in user callbacks aren't caught in init
  • ec8d9ad test(query): repro #6178 #6195
  • ea7915f Merge branch '4.x'
  • cd2a15a chore: release 4.13.12

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.12 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 25 commits.

  • 95dd7bc chore: release 5.0.12
  • 30a3db2 fix: apply #4797 to updateMany()
  • a0bfe7c Merge pull request #6282 from gualopezb/master
  • bb0f8e8 Set timestamps automatically by using updateOne method
  • dc001ba Merge pull request #6275 from styler/patch-1
  • 29d7a0a Merge pull request #6280 from lineus/docs-6266
  • 8aa5fec updating model name in query api docs example
  • 9570a1b fix(populate): ensure populated array not set to null if it isn't set
  • 9a8fa2a test(populate): repro #6245
  • 31196f1 Fixed typo in aggregate.test.js
  • e86aeb5 docs(CONTTIBUTING): clarify guideline for posting JS, not TS
  • be60fb3 Merge pull request #6272 from lineus/6251-hint
  • 367261e adding .hint to aggregate for 6251
  • 8778e7a docs(api): add headers to each API docs section for easer nav
  • d40f9de fix(query): ensure hooked query functions always run on next tick for chaining

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.13 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 36 commits.

  • 56ea1b3 chore: release 5.0.13
  • e2e28d2 docs(schema): add example to loadClass() docs
  • 5405810 Merge pull request #6309 from lineus/docs-6302
  • b79f512 fix(query): consistently return query from deleteOne() and findOneAndUpdate() if cb specified
  • 99848d2 test(query): repro #6271
  • 327f385 adding links for middleware, getters, and setters
  • 604fab5 fix(document): apply virtuals when calling toJSON() on a nested path
  • 313b8ef test(document): repro #6294
  • de138eb Merge branch 'master' of github.com:Automattic/mongoose
  • 10efec3 docs(discriminator): clarify 3rd argument to Model.discriminator()
  • 22c846d adding middleware to faq arrow function warning
  • 0f280d2 Merge pull request #6304 from sfrieson/documentation-copy-edits
  • 39fc878 chore: undo URL change
  • fda8029 chore: undo URL change
  • c2d3194 style: clean up if statement

There are 36 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.14 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 20 commits.

  • 07aa376 chore: release 5.0.14
  • 0e853ab fix(populate): support basic virtual populate underneath embedded discriminators
  • 60be0f9 test(populate): repro #6273
  • 3c9026d Merge pull request #6296 from lineus/feature-6284
  • b9cfc58 Merge pull request #6318 from lineus/docs-6314
  • 894462b Merge pull request #6325 from lineus/fix-6323
  • 40c9e70 Merge pull request #6320 from BorntraegerMarc/patch-1
  • 0abb1cb docs(populate): fix header and add link to mongoose-autopopulate
  • a2f9e41 docs: flesh out populate() with middleware a bit more
  • 11603e4 Merge pull request #6319 from lacivert/patch-1
  • 6693446 call utils.toObject in query.count ala query.find
  • 0558156 fix(schema): clone aliases and alternative option syntax correctly
  • 030f7e6 test(schema): repro option copying issue re: #6274
  • 8b47533 Update populate.jade
  • 7b4b609 fix link of compatibility table

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.15 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 22 commits.

  • 7237444 chore: release 5.0.15
  • 9b57123 fix(document): add toHexString() function so you don't need to check whether a path is populated to get an id
  • 3baf5df test(document): repro #6115
  • 6219dde fix(versioning): don't require matching version when using array.pull()
  • 170fa71 test(versioning): repro #6190
  • 8bf8b4c docs(model): fix typo re: #6221
  • 10e93a3 Merge pull request #6336 from lineus/fix-6331
  • be61da3 docs(middleware): enumerate the ways to error out in a hook
  • f968a28 adding test file decimal128.js and conversion from number test
  • a403d4a chore(document): fix test failures re: #6313
  • 557f012 fix(document): respect schema-level depopulate option for toObject()
  • 228ec2c test(document): repro #6313
  • 61a8172 Merge pull request #6306 from lineus/feature-6299
  • 5b29924 adding hack for converting from number to decimal128
  • 27a987c fix(query): run array setters on query if input value is an array

There are 22 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.16 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 25 commits.

  • 4703df3 chore: release 5.0.16
  • a275a41 docs: fix typo re #6192
  • 7bd9cba fix(update): handle required array with update validators and $pull
  • 39c8368 test(update): repro #6341
  • dfce9df docs(model): fix aggregate function re: #6346
  • 61d0c33 Merge pull request #6374 from lineus/order-api-methods
  • 00fdfce sort api method links based on their string
  • dc7eff4 Merge pull request #6353 from lineus/docs-6344
  • 99a471a Merge pull request #6370 from mattc41190/master
  • 8426730 Merge pull request #6367 from ekulabuhov/patch-1
  • 1456d6e Merge pull request #6366 from dhritzkiv/patch-3
  • 2da664c docs(guide): add further reading link
  • ef64d9e Change docs for create collection
  • 0693937 Merge pull request #6365 from treble-snake/patch-2
  • eb6357e fix(update): avoid setting __v in findOneAndUpdate if it is $set

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.17 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Commits

The new version differs by 19 commits.

  • e270b9e chore: release 5.0.17
  • 54c6c76 fix(document): don't throw when push() on a nested doc array
  • 2672e0a test(document): repro #6398
  • 0fe5f2a Merge branch 'master' of github.com:Automattic/mongoose
  • 20b9a24 chore: bump kareem re: #6385
  • c1911e4 fix(model): apply hooks to custom methods if specified
  • 621ff38 test(document): repro #6385
  • 83014c1 fix(model+query): use _.get() to get schema options in updates
  • 97c62ec Merge pull request #6401 from markstos/document-uri-encoding-in-migration-notes
  • b07fb8a docs(migration): certain in passwords may cause connection failures
  • c8df284 fix(schema): support opting out of one timestamp field but not the other for insertMany()
  • cff9f80 test(schema): repro #6381
  • 829ff0a test(documentarray): improve test for #6364
  • 3fdef7e fix(documentarray): handle required: true within documentarray definition
  • 352726f test(documentarray): repro #6364

There are 19 commits in total.

See the full diff