EuropeanRespiratorySociety / api-ers

ERS API
https://api.ersnet.org
MIT License
8 stars 0 forks source link

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

Open greenkeeper[bot] opened 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency mongoose was updated from 5.2.17 to 5.2.18.

🚨 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/EuropeanRespiratorySociety/api-ers/builds/434361825?utm_source=github_status&utm_medium=notification)).

Commits

The new version differs by 16 commits.

  • 3084fcb chore: release 5.2.18
  • b844bca style: fix lint re: #5704
  • 53c39fa fix(populate): handle multiple localFields + foreignFields using localField: function() {} syntax
  • 0e2d638 test(populate): repro #5704
  • 55ad233 docs(aggregate): fix syntax highlighting on allowDiskUse() docs
  • 7c2eb93 docs(migrating_to_5): add note about overwriting filter properties
  • 9975182 fix(document): retain user-defined key order on initial set with nested docs
  • fd8e227 test(document): repro #6944
  • 8fea4f8 fix(query): correctly handle select('+c') if c is not in schema
  • 5ec10b6 test(query): repro #7017
  • 477e8ca test(model): add coverage for #6972
  • 05aa04d fix(document): check path exists before checking for required
  • 2221d72 chore: hide home page ad on mobile
  • b54ce42 style fix some more lint warnings
  • eedfc03 chore: now working on 5.2.18

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

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 65 commits.

  • ab8a709 chore: release 5.3.0
  • d6de918 Merge pull request #7065 from Automattic/5.3
  • 9b61bb0 docs(query): add better docs for the mongooseOptions() function
  • 2ce5408 feat(aggregate): support for/await/of for Model.aggregate()
  • 638047d chore: ignore correct dir re: #6737
  • 57ecaf4 feat(query): support stage 3 async iterators if Symbol.asyncIterator is set
  • 2350c3c Merge branch 'master' into 5.3
  • 4f5ca54 style: fix all lint warnings
  • 87d873f chore: now working on 5.2.19
  • 7735212 feat(mongoose): add global now() function that you can stub for testing timestamps
  • b7ef43d Merge branch 'master' into 5.3
  • b68c992 feat(mongoose): add top-level mongoose.ObjectId, mongoose.Decimal128 for easier schema declarations
  • 86ec8d4 Merge branch '5.3' of github.com:Automattic/mongoose into 5.3
  • de761b5 Merge branch 'master' into 5.3
  • 07a1d22 Merge pull request #7033 from Automattic/gh4412

There are 65 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 84 commits.

  • 164ebad chore: release 5.3.1
  • bb020a7 fix(model): avoid printing warning if _id index is set to "hashed"
  • 50b9dae docs(schematypes+validation): clean up links from validation docs to schematypes docs
  • b3f9705 docs(populate): rewrite refPath docs to be simpler and more direct
  • b1e3725 test: fix tests re: #7068
  • da6eab3 Merge pull request #7068 from lineus/fix-7022
  • acc4783 docs(faq): explain why destructuring imports are not supported in FAQ
  • d2d9926 fix(populate): handle nested populate underneath lean array correctly
  • cd0ce5d test(populate): repro #7052
  • c30c31c fix(update): make timestamps not crash on a null or undefined update
  • 2e6a5a6 test(update): repro #7041
  • 479a2d9 fix(model): apply timestamps to nested docs in bulkWrite()
  • a2bc239 test(model): repro #7032
  • e9f8d9b style: fix lint
  • 217595b refactor: move bulkWrite casting into a helper

There are 84 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 110 commits.

  • 5c0e444 chore: release 5.3.2
  • cffd32d fix(query): make sure to return correct result from orFail()
  • 2045f0e test(schema): test setting updatedAt to createdAt: false
  • 8872a68 Merge pull request #7101 from gsandorx/patch-1
  • a7b8da4 Update query.js
  • 19d5a06 chore: add promise-debug for easier debugging unhandled rejections re: #6997
  • 1d9f52e Merge branch 'master' of github.com:Automattic/mongoose
  • 476c1b9 fix(mongoose): isolate Schema.Types between custom Mongoose instances
  • 88a4df8 test(mongoose): repro #6933
  • 817bbcc Merge pull request #7088 from lineus/fix-7074
  • b2cefc4 fix(mongoose): avoid unhandled rejection when mongoose.connect() errors with a callback
  • 7a81df4 test: repro #6997
  • 941a695 fix(document): dont mark single nested path as modified if setting to the same value
  • 5604f13 test(document): repro #7048
  • 419c5d4 fix(populate): use WeakMap to track lean populate models rather than leanPopulateSymbol

There are 110 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 134 commits.

  • 9ab9552 chore: release 5.3.3
  • 9af233a docs: re-add array type to API docs
  • e69b620 docs(connections): add note about members.host errors due to bad host names in replica set
  • 6e20941 docs(plugins): add list of officially supported plugins
  • 4d03c7e fix(document): enable storing mongoose validation error in MongoDB by removing $isValidatorError property
  • 455fc83 test(document): repro #7127
  • 74dbdc1 test(connection): add coverage for #7122
  • c7511fe docs(model): make #7126 consistent with rest of middleware docs
  • b1d01e7 Merge pull request #7126 from lineus/docs-7114
  • b62eccd Merge pull request #7122 from jesstelford/patch-1
  • e9a6ed4 Merge pull request #7080 from lineus/docs-7076
  • 831327d docs(schema): add examples of using regexps for middleware
  • dae722f aggregate triggers aggregate middleware
  • 0b89290 Correctly create collections within Model.createCollection
  • 0add6ca fix wonky wording in numbers/buffer

There are 134 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 160 commits.

  • 6e339de chore: release 5.3.4
  • 7475002 Merge branch 'master' of github.com:Automattic/mongoose
  • 40dab43 docs(schema): add example of add() with another schema
  • 1c15a48 Merge pull request #7110 from lineus/fix-7108
  • 61a05be docs(deprecations): add note about gridstore deprecation
  • a2fa94c fix(query): don't require passing model to cast()
  • 1601597 style: fix lint
  • b9ea793 fix(populate): handle plus path projection with virtual populate
  • 18f6389 test(populate): repro #7050
  • fb7e367 docs(guide): add storeSubdocValidationError option to guide
  • f111af2 fix(document): support storeSubdocValidationError document to opt out of duplicate validation errors for single nested docs
  • b7f0c2b test(document): repro #6802
  • e57949a docs(schematypes): elaborate on how schematypes relate to types
  • a093a62 fix(schema): allow using ObjectId type as schema path type
  • 8f360ba test(schema): repro #7049

There are 160 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 186 commits.

  • 3ecf749 chore: release 5.3.5
  • c1d3c64 fix(cursor): defer checking transform option until after hooks so hooks can set it
  • dc34561 fix(cursor): handle non-boolean lean option in eachAsync()
  • 5acf67b test(cursor): repro #7137
  • 7d46351 fix(document): handle setting single doc with refPath to document
  • fcf980a test(document): repro #7070
  • 5a6e295 fix(types): use core Node.js buffer prototype instead of safe-buffer because safe-buffer is broken for Node.js 4.x
  • a135e49 fix(document): make $session() propagate sessions to child docs
  • a2103c5 test(document): repro #7104
  • ff7f258 fix(update): correct cast update that overwrites a map
  • ab8282d test(update): repro #7111
  • afd77e0 fix(query): ensure context is correct for query casting with maps
  • 5f6bb9a fix(model): make sure versionKey on replaceOne() always gets set at top level to prevent cast errors
  • d38945d test(model): repro #7138
  • 97e2525 docs(guide): improve useNestedStrict docs

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

  • 06b899b chore: release 5.3.6
  • 5a856a7 fix(query): fix undefined transforms error
  • 3ecf749 chore: release 5.3.5
  • c1d3c64 fix(cursor): defer checking transform option until after hooks so hooks can set it
  • dc34561 fix(cursor): handle non-boolean lean option in eachAsync()
  • 5acf67b test(cursor): repro #7137
  • 7d46351 fix(document): handle setting single doc with refPath to document
  • fcf980a test(document): repro #7070
  • 5a6e295 fix(types): use core Node.js buffer prototype instead of safe-buffer because safe-buffer is broken for Node.js 4.x
  • a135e49 fix(document): make $session() propagate sessions to child docs
  • a2103c5 test(document): repro #7104
  • ff7f258 fix(update): correct cast update that overwrites a map
  • ab8282d test(update): repro #7111
  • afd77e0 fix(query): ensure context is correct for query casting with maps
  • 5f6bb9a fix(model): make sure versionKey on replaceOne() always gets set at top level to prevent cast errors

There are 188 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 20 commits.

  • 578a16d chore: release 5.3.7
  • 4fa41e8 Merge pull request #7180 from lineus/fix-6075
  • addc12a Merge pull request #7184 from lineus/fix-7173
  • 4d7d05f simplify declaration of NodeBuffer
  • 4f83211 fallback to safe-buffer in the browser
  • 35118dd change !includes to indexof === -1
  • a611926 fix(update): copy exact errors from array subdoc validation into top-level update validator error
  • b321e81 test(update): add one more case for #7135
  • e1a7ae5 fix(update): run update validators on nested doc when $set on an array
  • 460b703 test(update): repro #7135
  • 47d8fac docs(guide): add links to individual schema types from guide
  • dcac7bc docs(schematypes): add note about nested paths with type getting converted to mixed
  • ade298f make depopulate remove populated virtuals too
  • 1c1bda8 add test for depopulate on an unpopulated doc
  • d3eaec1 fix(document): support propsParameter for validateSync() and make validateSync() handle custom validators returning promise

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 36 commits.

  • a62895e chore: release 5.3.8
  • 4dbad82 fix: add unnecessary files to npmignore
  • baf17d1 chore: use latest express in example
  • fa865ee style: fix lint
  • 974465f fix(document): sets defaults correctly in child docs with projection
  • df53639 test(document): repro #7159
  • be563e9 style: fix lint
  • c7f216c fix(mongoose): handle setting custom type on a separate mongoose global
  • 9088623 test(mongoose): repro #7158
  • b698e4e test: fix tests re: #7104
  • 26f2c22 fix(model): set session when creating new subdoc
  • a9ac145 test(model): repro #7104
  • 316d6f6 chore: remove tbd dependency re: security warnings from github
  • ba9ce9b chore: now working on 5.3.8
  • 24b34d8 Merge pull request #7191 from lineus/fix-6881-part2

There are 36 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 84 commits.

  • c95c6f2 chore: release 5.3.10
  • 88e705a fix(document): avoid manual populate if ref not set
  • 41e42bb test(document): repro #7193
  • 437ad98 docs: add link to further_reading
  • 6489cc2 docs: add missing file
  • e4a5544 docs: finish up further_reading
  • 3e7ff87 Merge branch 'master' into docs-further-reading
  • 6df51d1 docs(schematypes): more improvements
  • d3cfdcb refactor(buffer): add a more robust workaround for feross/safe-buffer#23
  • 5869950 fix(schema): handle schema without .base for browser build
  • 808b536 test(browser): repro #7170
  • 16957a1 docs(further_reading): add course descriptions
  • b7522d0 docs: add additional course
  • ef604b3 docs: start working on further_reading
  • a4633fd fix(discriminator): support reusing a schema for multiple discriminators

There are 84 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 92 commits.

  • 300481f chore: release 5.3.11
  • 146643d docs(lambda): use async/await with lambda example
  • b6fce2e test(model): fix tests re: #7220
  • 29fda3a fix(model): make parent pointers non-enumerable so they don't crash JSON.stringify()
  • d869673 test(model): repro #7220
  • d22bd30 fix(document): allow saving docs with nested props with '.' using checkKeys: false
  • e68e789 test(document): repro #7144
  • 75da520 chore: now working on 5.3.11
  • c95c6f2 chore: release 5.3.10
  • 88e705a fix(document): avoid manual populate if ref not set
  • 41e42bb test(document): repro #7193
  • 437ad98 docs: add link to further_reading
  • 6489cc2 docs: add missing file
  • e4a5544 docs: finish up further_reading
  • 3e7ff87 Merge branch 'master' into docs-further-reading

There are 92 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 103 commits.

  • 8f4c350 chore: release 5.3.12
  • c67717a Merge pull request #7237 from ivanseidel/patch-1
  • 79bdca8 Merge pull request #7238 from a-harrison/patch-1
  • e509c37 Fixes hardcode instance of class comparation
  • 785f91c Removing ^4.11.0 as compatible with MongoDB 3.6
  • be66eb2 docs(api): link to bulk write result object in bulkWrite() docs
  • cc7c1f1 docs(migrating_to_5): add note about new bulkWrite result object structure re: #7225
  • 4a8ba0a docs: make individual options show up as nested lists
  • 00e33ec fix(document): don't mark array as modified on init if doc array has default
  • 99f73a0 test(document): repro #7227
  • de246f9 chore: now working on 5.3.12
  • 300481f chore: release 5.3.11
  • 146643d docs(lambda): use async/await with lambda example
  • b6fce2e test(model): fix tests re: #7220
  • 29fda3a fix(model): make parent pointers non-enumerable so they don't crash JSON.stringify()

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

  • a793a87 chore: release 5.3.13
  • 950e1c4 fix: bump mongodb driver -> 3.1.10
  • 6fa0b7c docs(schematype): add ref() function to document what is a valid ref path in a schematype
  • 50c1ffe fix(populate): support setting a model as a ref
  • 7bc5d6a test(populate): repro #7253
  • 140bf6d docs(index): add CodeFirst as a sponsor
  • a6bf670 fix(array): clean modified subpaths when calling splice()
  • 0eac31e test(array): repro #7249
  • df97da1 fix(document): report correct validation error if doc array set to primitive
  • 86565d5 test(document): repro #7242
  • 9bc6f00 Merge branch 'master' of github.com:Automattic/mongoose
  • 82ad031 fix(connection): wait before reporting connection as closed so MongoDB driver has time to flush
  • 7140699 Merge pull request #7248 from a-harrison/patch-2
  • c3d5f2f fix: only print jest warning if using jsdom environment re: #7240
  • 869fbcc style: fix lint

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

  • 0faeccb chore: release 5.3.14
  • d697b3a docs: add inline cpc
  • b24e80f fix(update): set timestamps on subdocs if not using $set with no overwrite
  • 91e0167 test(update): repro #7261
  • 788ea2a style: fix lint
  • 776b77a Merge pull request #7277 from artemjackson/patch-1
  • 3914e01 fix(document): don't mark date underneath single nested as modified if setting to string
  • 8fd2c05 test(document): repro #7264
  • f70dd43 docs(compatibility): add link to pluralsight course on upgrading to mongoose 4
  • 7b5b679 fix(document): use symbol instead of __parent so user code doesn't conflict
  • 4971fbf docs: Fixed connection description
  • afa9c23 fix(mongoose): allow using mongoose.model() without context, like import {model} from 'mongoose'
  • 0c4e508 test(mongoose): repro #3768
  • bfc8e35 chore: now working on 5.3.14

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.

  • d6ff8d2 chore: release 5.3.15
  • 8332e87 docs(jest): add further reading section
  • 48912de fix(query): throw helpful error if non-object passed to Query#setOptions()
  • 9ac9d48 Merge pull request #7297 from Automattic/gh7280
  • 27189c2 fix: handle orFail() with findOneAndUpdate()
  • 355e49f fix(query): run map() before post hooks
  • 9023a6e Revert "fix(query): handle findOneAndUpdate() and findOneAndDelete() with orFail()"
  • b8cfb34 style: fix lint
  • 956dd58 fix(document): continue running validateSync() for all elements in doc array after first error
  • a099d95 test(document): repro #6746
  • 628a278 chore: clean up api docs issue
  • d7be77f fix(query): handle findOneAndUpdate() and findOneAndDelete() with orFail()
  • fb94563 test(query): repro #7280
  • 553868c fix(populate): support populating individual subdoc path in document array
  • b36003f test(populate): repro #7273

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

  • a384a29 chore: release 5.3.16
  • d2446bd fix(mongoose): fix quick issue re: #5648, only apply logic for default Mongoose instance
  • 05356a7 fix(mongoose): avoid crash on import mongoose, {Schema} from 'mongoose'
  • 515ad81 test: add coverage for other ops re: #7290
  • 22ad62a fix(document): handle __proto__ in queries
  • 266b546 test(document): repro #7290 part 2
  • b0e29e4 docs(populate): add section about what happens when no document matches
  • 151b667 fix(document): use Array.isArray() instead of checking constructor name for arrays
  • c82bb15 test(document): repro #7290 part 1
  • 6c67424 chore: release 5.3.16

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

  • f50eaca chore: release 5.4.0
  • bd5c04d Merge pull request #7333 from Automattic/5.4
  • 95d55f8 Merge pull request #7335 from zcfan/patch-1
  • de48c16 Fix mistake in populate documentation
  • 3a18679 Merge pull request #7256 from Automattic/gh7045
  • 1a0d204 feat: add custom caster support for Decimal128
  • aede9d1 test: add coverage for inheritance re: #7045
  • 1d12a53 feat(schema): add custom caster support for dates
  • fbd1547 Merge branch '5.4' into gh7045
  • 0c38458 fix: quick fix for #7268 #7125
  • 0b3eb72 Merge pull request #7268 from Automattic/gh7125
  • 7af371e docs(model): add clone option to docs
  • 31bdd14 feat(populate): add clone option to ensure each result gets a separate copy of the populated doc
  • 455a052 Merge pull request #7327 from danielkesselberg/add-find-one-and-delete-to-docs
  • 3c686b4 test: rename test

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

  • 16ae93a chore: release 5.4.1
  • 33cce45 Merge pull request #7368 from JIBIN-P/patch-3
  • 10f6a3d fix(schema): allow using Schema.Types.Map as well as Map to declare a map type
  • 05ec6f8 docs(mongoose): clarify that passing same name+schema to mongoose.model() returns the model
  • 9dfe565 fix(mongoose): don't recompile model if same collection and schema passed in to mongoose.model()
  • 55c0d05 test(mongoose): repro #5767
  • c9e1bef style: fix lint
  • c28dfba Update index.jade
  • b6d6679 fix(map): make set after init mark correct path as modified
  • d95e847 test(map): repro #7321
  • 5dc91c7 Merge branch 'master' of github.com:Automattic/mongoose
  • 260d0df docs(schema): improve docs for string and boolean cast()
  • 88c98d4 Merge pull request #7362 from JIBIN-P/patch-2
  • 760a252 Update connections.jade
  • df88932 refactor: remove power-assert

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

  • cad5fc2 chore: release 5.4.2
  • f2bcc03 style: fix lint
  • 87d2bb2 docs(schematype): add cast() to API docs
  • a6dce84 fix(document): ensure Document#updateOne() returns a query but still calls hooks
  • c7ca0f8 test(schema): make timestamp tests independent
  • 91c1e31 test(document): repro #7366
  • 40328c0 fix(query): add _pre and _post re: #7366
  • ac9609f fix(query): allow explicitly projecting out populated paths that are automatically projected in
  • 150e91f test(query): repro #7383
  • 00ba945 docs: remove links to plugins.mongoosejs.com in favor of plugins.mongoosejs.io
  • d7169ae style: fix lint
  • 55e6f8f chore: add frontend masters to sponsors
  • abb7cb6 chore: remove lodash.get
  • 5d4b413 refactor: remove one more usage of lodash.get
  • 985d86e refactor(model): improve isDoc() function that doesn't actually check if something is a doc

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

  • 4146bf3 chore: release 5.4.4
  • d1085b1 docs(model): fix Model.events anchor
  • 5f172b8 docs: add datantify as a sponsor
  • d8ac587 Merge pull request #7406 from Automattic/gh7079
  • 5b5c728 test: fix tests
  • 58f8ff9 fix(query): run casting on arrayFilters option
  • c53a52a fix(castArrayFilters): handle casting multiple array filters
  • d483040 fix: revert changes to cast.js
  • 563da27 Merge branch 'master' into gh7079
  • 804e057 docs(model): document timestamps option for Document#save() re: #7357
  • 17819f1 fix(document): support skipping timestamps on save() with save({ timestamps: false })
  • 3d48a22 test(schema): repro #7357
  • a398809 docs(middleware): add deleteOne and deleteMany to query hooks list re: #7195
  • 33f6aa1 docs(mongoose): document mongoose.connections
  • 3c917e7 style: fix lint

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

  • 85909e1 chore: release 5.4.5
  • d5f76bc fix(array): allow opting out of converting non-arrays into arrays with castNonArrays option
  • ced6251 test(array): repro #7371
  • f424fe4 fix(populate): handle nested array foreignField with virtual populate
  • be881e7 test(populate): repro #7374
  • 818a694 docs(query): document what the resolved value for deleteOne(), deleteMany(), and remove() contains
  • f6db3ba fix(query): ensure updateOne() doesnt unintentionally double call Schema#post(regexp)
  • ded7dab test(query): repro #7418
  • 42d7aee Merge branch 'master' of github.com:Automattic/mongoose
  • 12be7a6 fix(query): support not passing any arguments to orFail()
  • 0348984 chore: now working on 5.4.5
  • 990d8bd chore: now working on 5.4.5
  • 9a546b1 docs(virtualtype): document count option
  • 60a68df docs(api): make VirtualType#_applyDefaultGetters() private, was public by mistake

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

  • 87f691e chore: release 5.4.10
  • 09dd3cf docs(jest): improve docs about fake timers
  • e778e0b chore: upgrade to mongodb driver 3.1.13
  • 42aa401 refactor: be slightly more defensive about setting document arrays
  • e5948b8 fix(document): copy atomics when setting document array to an existing document array
  • a4e33dd test(document): repro #7472
  • 704a5a4 docs: remove confusing references to executing a query immediately
  • bc95a22 docs(guides+schematypes): link to custom schematypes docs
  • ad71535 style: fix lint
  • bc5d96a Merge branch 'gh6706'
  • ab208b1 docs: hook up navbar search
  • 3fc3e2b docs: add basic search page re: #6706
  • a7ccba7 chore: add domainwheel.com as a sponsor
  • 91755fa Merge branch 'master' into gh6706
  • 3150958 docs(api): dont display type if method or function

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

  • 381a5f5 chore: release 5.4.11
  • 5303480 docs: add views guru as sponsor
  • 36cc375 Merge branch 'master' of github.com:Automattic/mongoose
  • e5fe5d5 refactor: use consolidated isPOJO() function instead of constructor checks
  • c3502ce Merge pull request #7499 from JulioJu/doc-validateSync
  • d4825f6 Merge pull request #7498 from JulioJu/correct-gitignore
  • 1b1acd5 fix(schema): handle _id: false in schema paths as a shortcut for setting the _id option to false
  • ebff7ba test(schema): repro #7480
  • 971e98b Documentation: Document.prototype.validateSync returns ValidationError
  • e615c97 gitignore correct syntax
  • bee1e1b style: fix lint
  • b0bfe4c fix(update): handle $addToSet and $push with ObjectIds and castNonArrays=false
  • 8dd71ae test(update): repro #7479
  • ed1b8b8 docs(model): document session option to save()
  • c937660 chore: bump lodash dev dep re: security

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 29 commits.

  • a8612e3 chore: release 5.4.12
  • 5b0d78a fix(schema): revert check for false schema paths
  • 4ca7417 style: fix lint
  • 1703e3d fix(connection): dont emit reconnected due to socketTimeoutMS
  • 16780af test(document): fix test
  • f157698 Merge branch 'master' of github.com:Automattic/mongoose
  • b140f15 fix(document): run single nested schematype validator if nested path has a default and subpath is modified
  • b58333e test(document): repro #7493
  • d487dd8 Merge pull request #7515 from JulioJu/doc-ValidationError
  • 063c719 docs: fix grammar
  • 40b8ba3 docs: improve ValidationError description
  • 361933c Merge pull request #7513 from JulioJu/doc-asterisk
  • 395ebda Doc: ValidationError precisions
  • 9fd0aef Doc: add an asterisk before comment, otherwise the comment line is not generated
  • 7365f75 chore: make search recompile when building docs

There are 29 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 39 commits.

  • b9d34f1 chore: release 5.4.13
  • 3a95d07 chore: add gameserverkings.com as sponsor
  • 2b7ab3c docs(connections): add list of connection events
  • aff5ed8 fix(query): throw handy error when using updateOne() with overwrite: true and no dollar keys
  • 16e1364 test(query): repro #7475
  • 5f6b7df fix(schema): handle SchemaType.cast() when using Node's util.inherits()
  • 2e5dc00 fix(schema): support inheriting existing schema types using Node.js util.inherits()
  • e82a14c test(schema): repro #7486
  • 7070106 chore: now working on 5.4.13
  • ebe3ad0 chore: make search script exit when done
  • a8612e3 chore: release 5.4.12
  • 5b0d78a fix(schema): revert check for false schema paths
  • 4ca7417 style: fix lint
  • 1703e3d fix(connection): dont emit reconnected due to socketTimeoutMS
  • 16780af test(document): fix test

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

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

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

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

See the full diff

greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Commits

The new version differs by 21 commits.

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

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

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

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

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

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

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

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

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

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

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

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

  • 6fc2991 chore: release 5.4.23
  • bb4a49c test: fix tests
  • 51e0160 fix(document): report cast error when string path in schema is an array in MongoDB
  • 46c319e test(document): repro #7619
  • 8df00fb docs(subdocs): add note about parent() and ownerDocument() to subdocument docs
  • 76d8ca5 fix(query): set deletedCount on result of remove()
  • d101c68 test(query): repro #7629
  • a9fcf85 chore: now working on 5.4.23

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

  • c04e01b chore: release 5.5.0
  • 2cd939e Merge pull request #7691 from Automattic/5.5
  • 618f19a feat(document): add getters option to Document#get()
  • b7e9277 test: fix tests re: #7447
  • 8b72173 fix(document): set full validator path on validatorProperties if propsParameter set on validator
  • af21703 style: fix lint
  • 84e9884 feat(document): add Document#isEmpty() and corresponding helpers for nested paths
  • 1e244e0 feat(document): add Document#directModifiedPaths()
  • d4a9f9e feat(connection): add plugin() for connection-scoped plugins
  • 569b82f refactor(connection): use applyPlugins() helper re: #7378
  • 82dbb5c Merge branch 'master' into 5.5
  • 203bfe3 docs(populate): add match to populate options lists re: #7397
  • 7bea11e test: fix tests re: #7397
  • cfc005c feat(populate): support specifying a function as match
  • e321d1a test: fix tests re: #7397

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

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

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

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

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

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

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

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

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

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

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 19 commits.

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

There are 19 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 34 commits.

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

There are 34 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 56 commits.

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

There are 56 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 73 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 73 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 17 commits.

  • 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 24 commits.

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

There are 24 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 17 commits.

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

There are 17 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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

Commits

The new version differs by 36 commits.

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

There are 36 commits in total.

See the full diff