Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Update mongoose to the latest version 🚀 #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Jan 17, 2018

Version 5.0.0 of mongoose was just published.

Dependency mongoose
Current Version 4.13.9
Type dependency

The version 5.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of mongoose.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Commits

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

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@coveralls
Copy link

coveralls commented Jan 17, 2018

Coverage Status

Coverage remained the same at 82.028% when pulling 1e0b409 on greenkeeper/mongoose-5.0.0 into 391d03a on master.

greenkeeper bot added a commit that referenced this pull request Jan 20, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 20, 2018

Version 5.0.1 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Jan 28, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 28, 2018

Version 5.0.2 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Feb 1, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 1, 2018

Version 5.0.3 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Feb 8, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 8, 2018

Version 5.0.4 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Feb 13, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 13, 2018

Version 5.0.5 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Feb 16, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 16, 2018

Version 5.0.6 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Feb 23, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 23, 2018

Version 5.0.7 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Mar 3, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 3, 2018

Version 5.0.8 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Mar 5, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 5, 2018

Version 5.0.9 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Mar 13, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 13, 2018

Version 5.0.10 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Mar 19, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 19, 2018

Version 5.0.11 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Mar 27, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 27, 2018

Version 5.0.12 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Apr 5, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 5, 2018

Version 5.0.13 just got published.

Update to this version instead 🚀

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 added a commit that referenced this pull request Apr 9, 2018
greenkeeper bot added a commit that referenced this pull request Dec 26, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 26, 2018

  • The dependency mongoose was updated from 4.13.17 to 5.4.1.

Update to this version instead 🚀

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 added a commit that referenced this pull request Jan 3, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 3, 2019

  • The dependency mongoose was updated from 4.13.17 to 5.4.2.

Update to this version instead 🚀

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 added a commit that referenced this pull request Jan 9, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 9, 2019

  • The dependency mongoose was updated from 4.13.17 to 5.4.3.

Update to this version instead 🚀

Commits

The new version differs by 18 commits.

  • 42f118e chore: release 5.4.3
  • e2361d4 fix(query): remove multiple execution warning for now
  • 9fe35e9 refactor: only print out multiple execution warning once per process run
  • a057217 fix(plugins): ensure sharding plugin works even if ObjectId has a valueOf()
  • 591c66e test: fix node 4+5 tests
  • a0164d4 fix(document): make modifiedPaths() return nested paths 1 level down on initial set
  • bae9100 test(document): repro #7313
  • b8ce685 fix(query): add warning if query is executed multiple times
  • 2176150 style: fix lint
  • 924493f fix(connection): set connection state to DISCONNECTED if replica set has no primary
  • 1f1bf6a refactor(query): add internal _executionCount property so we know how many times a query is executed
  • cb00f23 fix(populate): handle count option when using Document#populate() on a virtual
  • d8c0dfb test(populate): repro #7380
  • 1c14200 fix(mongoose): apply global plugins to schemas nested underneath embedded discriminators
  • a70bb59 test(mongoose): repro #7370

There are 18 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 14, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 14, 2019

  • The dependency mongoose was updated from 4.13.17 to 5.4.4.

Update to this version instead 🚀

Commits

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

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 18, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 18, 2019

  • The dependency mongoose was updated from 4.13.17 to 5.4.5.

Update to this version instead 🚀

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 added a commit that referenced this pull request Jan 22, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 22, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.6.

Update to this version instead 🚀

Commits

The new version differs by 19 commits.

  • 507df5e chore: release 5.4.6
  • a65258f Merge branch '4.x'
  • 75daf18 chore: release 4.13.18
  • 126a0af docs: add migrating to 5 guide to docs
  • 7662354 docs(middleware): add description and example for aggregate hooks
  • eaa15c1 Merge branch '4.x'
  • 8c75e9b chore: dont run nsp
  • c8b8720 style: fix lint
  • b60d5c8 Merge branch '4.x'
  • edf70e4 fix(cast): backport fix from #7290 to 4.x
  • 29f6709 fix(model): handle setting populated path set via Document#populate()
  • 0e1772f test(document): repro #7302
  • 2370f97 chore: now working on 4.13.18
  • d60ff93 fix(document): support passing {document, query} options to Schema#pre(regex) and Schema#post(regex)
  • a048413 test(document): repro #7423

There are 19 commits in total.

See the full diff

@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 26, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.7.

Update to this version instead 🚀

Commits

The new version differs by 24 commits.

  • cc7dc31 chore: release 5.4.7
  • 1d87636 fix(schema): report correct pathtype underneath map so setting dotted paths underneath maps works
  • 9bdbe28 test(schema): repro #7448
  • 4ab2120 fix(document): make depopulate() handle the fix for #7440
  • 3a248a7 chore: add dontpayfull.com as sponsor
  • 59227e8 chore: add topvet to sponsors list
  • 0b77ddd chore: add cpc to subdocs and migration
  • 5173a44 style: fix lint
  • fdfcaec fix(populate): set populated() when using virtual populate
  • bac12cb test(populate): repro #7440
  • b767ac0 Merge branch 'master' of github.com:Automattic/mongoose
  • bb384bd fix(discriminator): defer applying plugins to embedded discriminators until model compilation so global plugins work
  • f884056 fix: add mostly working fix for #7435, one test still failing
  • a6564b1 Merge pull request #7451 from LucGranato/fix-debug-at-nativeCollection
  • fe20339 fix: get debug from options using the get helper

There are 24 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 26, 2019
greenkeeper bot added a commit that referenced this pull request Jan 30, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 30, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.8.

Update to this version instead 🚀

Commits

The new version differs by 8 commits.

  • e117e59 chore: release 5.4.8
  • a04dcfa docs: add ToC to all guides
  • 65fcf3d chore(eslint): prevent eslint from thinking context is a global variable
  • c466335 fix(query): fix unhandled error when casting object in array filters
  • b8beb97 test(query): repro #7431
  • 6e67c9a fix(query): cast query $elemMatch to discriminator schema if discriminator key set
  • 9336233 test(query): repro #7449
  • 6aeb10d chore: now working on 5.4.8

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 1, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 1, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.9.

Update to this version instead 🚀

Commits

The new version differs by 16 commits.

  • 316936f chore: release 5.4.9
  • 1bfdafd Merge pull request #7474 from arniu/fix-doc
  • f67e30c docs: add Marcus Hiles and monovm as sponsors
  • f08a4bd docs(documents): improve explanation of documents and use more modern syntax
  • b24f6ac fix(document): make remove(), updateOne(), and update() use the document's associated session
  • c588341 test: repro #7455
  • 9202b87 fix(discriminator): handle global plugins modifying top-level discriminator options with applyPluginsToDiscriminators: true
  • 99b687e test(discriminator): repro #7458
  • e91dbfe Fix plugin doc
  • c2f2b6c Fix doc. doc
  • 3ae9cf0 fix(document): avoid double calling single nested getters on toObject()
  • e7dba62 test(document): repro #7442
  • 029844d style: fix lint
  • f180b08 fix(document): support passing args to hooked custom methods
  • 8eab31c test(document): repro #7456

There are 16 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 5, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 5, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.10.

Update to this version instead 🚀

Commits

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

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 9, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 9, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.11.

Update to this version instead 🚀

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 added a commit that referenced this pull request Feb 13, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 13, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.12.

Update to this version instead 🚀

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 added a commit that referenced this pull request Feb 15, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 15, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.13.

Update to this version instead 🚀

Commits

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

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 19, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 19, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.14.

Update to this version instead 🚀

Commits

The new version differs by 18 commits.

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

There are 18 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 23, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 23, 2019

  • The dependency mongoose was updated from 4.13.18 to 5.4.15.

Update to this version instead 🚀

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant