Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mongoose to the latest version 🚀 #40

Closed
wants to merge 1 commit into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Feb 16, 2018

Version 5.0.6 of mongoose was just published.

Dependency mongoose
Current Version 4.10.4
Type devDependency

The version 5.0.6 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 1132 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 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 🌴

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

greenkeeper bot commented Apr 9, 2018

Version 5.0.14 just got published.

Update to this version instead 🚀

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

greenkeeper bot commented Apr 16, 2018

Version 5.0.15 just got published.

Update to this version instead 🚀

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

greenkeeper bot commented Apr 23, 2018

Version 5.0.16 just got published.

Update to this version instead 🚀

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

greenkeeper bot commented Apr 30, 2018

Version 5.0.17 just got published.

Update to this version instead 🚀

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

greenkeeper bot added a commit that referenced this pull request May 9, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 9, 2018

Version 5.0.18 just got published.

Update to this version instead 🚀

Commits

The new version differs by 27 commits.

  • 37146c2 chore: release 5.0.18
  • da198b0 Merge pull request #6441 from lineus/fix-6439
  • 13f6ed5 Merge pull request #6423 from ChristianMurphy/chore/update-bson-and-nsp
  • cfeb2dc Merge pull request #6430 from lineus/fix-6414
  • 20e9988 fixes #6439 - stop clobbering $in when casting doc in query
  • 2a1c44f fixing test, removing erroneous comment adding meaningful 2nd path
  • e238457 chore: update bson
  • 065f16d Merge pull request #6437 from simllll/patch-2
  • 63adc1a mongodb upgrade to 3.0.8 to fix #6357
  • c3b6588 fixes #6414 - populates array of objects with space separated paths
  • a4838e8 chore: fix missing strict mode
  • 19fb5a4 fix(document): avoid running default functions on init() if path has value
  • b4b8a60 test(document): repro #6410
  • 7deef1f Merge pull request #6421 from lineus/fix-6390
  • b0607f2 docs(faq+schematypes): highlight array defaults more prominently

There are 27 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request May 10, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 10, 2018

Version 5.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 87 commits.

  • 9b1fed5 chore: release 5.1.0
  • 2623702 Merge pull request #6442 from Automattic/5.1
  • 446bed5 test: fix tests on node 10
  • a7a0b5e chore: add node 10.x to build matrix
  • 920b134 docs(schematypes): correct comment
  • 238e30b Merge branch 'master' into 5.1
  • abc7ff7 chore: now working on 5.0.19
  • d680c7f test: refactor tests to pass with cloneSchemas on
  • 9ed9a96 feat(index): add cloneSchemas option to mongoose global
  • f25cb7a feat(document): add warning about calling save() on subdocs
  • 923a4bf feat(document): support $ignore() on single nested and array subdocs
  • 08b484f test(document): repro #6152
  • 841cf56 fix: fix tests re: #5860
  • 2af656e feat(schema): print warning if method conflicts with mongoose internals
  • af097e4 Merge branch 'master' into 5.1

There are 87 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request May 14, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 14, 2018

Version 5.1.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 24 commits.

  • 3ffe291 chore: release 5.1.1
  • fa32ea9 fix(populate): add retainNullValues option to avoid stripping out null keys
  • 653ef83 test(populate): repro #6432
  • 7ff8e3e Merge branch 'master' of github.com:Automattic/mongoose
  • 2de3280 fix: make debug output print null correctly
  • 3054e03 Merge pull request #6470 from lineus/docs-6440
  • b80fbf9 fix linter errors in types/buffer.js and schema.js
  • dbd7b1d add notes in api and guide about schema.methods object
  • edb3059 fix(discriminator): throw readable error when create() with a non-existent discriminator key
  • fd04db0 test(discriminator): repro #6434
  • 7a4a82a Merge pull request #6464 from HabitRPG/fix-6433
  • d2d45e6 docs(model): add change streams and ToC, make terminology more consistent
  • 2a6b69c remove .only from tests
  • 5b6eebd feat(error): add modified paths to VersionError
  • c09202f style: fix lint re: #6411

There are 24 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request May 21, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 21, 2018

Version 5.1.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 60 commits.

  • a8352e9 Merge branch 'master' of github.com:Automattic/mongoose
  • 5fbff00 chore: release 5.1.2
  • 30b9432 Merge pull request #6490 from distancesprinter/patch-1
  • cfdb51e chore: add carbon cpc ads
  • 476d466 chore: add todo re: concat()
  • 6ee94e1 fix(array): use push() instead of concat() because of array subclassing quirks in node v4 and v5
  • 91c49fb Updated guide.jade to include new SchemaTypes
  • 7af1221 Merge branch 'master' of github.com:Automattic/mongoose
  • 7edfede fix(array): use custom array class to avoid clobbered property names
  • 04132c3 test(document): repro #6431
  • 7cd160e Merge pull request #6486 from lineus/fix-6478
  • 8b2eaa3 make MongooseMap.toJSON return a serialized object
  • 7b009a1 chore: bump to latest acquit
  • f24868f docs(connection): document useDb()
  • e4efcf8 style: fix lint re: #6435

There are 60 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request May 29, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 29, 2018

Version 5.1.3 just got published.

Update to this version instead 🚀

Commits

The new version differs by 44 commits.

  • c1a6fc6 chore: release 5.1.3
  • 8e4337d fix(document): support set() on path underneath array embedded discriminator
  • 3d433a2 test(document): repro #6526
  • 9ece1f8 fix(document): handle set() on path under embedded discriminator with object syntax
  • 3228dc8 test(document): repro #6482
  • 4030aeb Merge pull request #6511 from lineus/feature-6456
  • 36a8ffc style: add space
  • 4904e96 Merge branch 'master' of github.com:Automattic/mongoose
  • a3352f6 fix(populate): handle virtual populate under single nested doc under embedded discriminator
  • 2a2f9c8 test(populate): repro #6488
  • 84141c6 Merge pull request #6527 from lineus/fix-6517
  • 4160f19 createConnection should take an extended model too
  • e083aa1 fix(document): handle doc.set() underneath embedded discriminator
  • 742ef81 test(document): repro #6482
  • 3c15f47 Merge pull request #6514 from ChristianMurphy/update-dependencies

There are 44 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 4, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 4, 2018

Version 5.1.4 just got published.

Update to this version instead 🚀

Commits

The new version differs by 27 commits.

  • 38d4aa7 chore: release 5.1.4
  • 48ac62b docs(lambda): add info on what happens if database does down between lambda function calls
  • ab26fea Merge pull request #6550 from lineus/docs-yeahIbrokethat
  • 86c0488 fix: bump mongodb -> 3.0.9 for handling multiple mongos disconnects
  • 793ecc0 adding hr tags for parallel save error and add something
  • 2648773 fix(update): allow updating embedded discriminator path if discriminator key is in filter
  • a528c89 test(model): repro #5841
  • b0e3893 test(populate): add coverage for remaining cases for #6498
  • 39c5fbd Merge pull request #6537 from lineus/fix-6509
  • aec8136 Merge pull request #6545 from iblamefish/patch-1
  • 5654683 Merge pull request #6539 from lineus/fix-6528
  • 10836b6 Fix broken Connection pools anchor
  • 0b21110 fix(populate): propagate lean() down to subpopulate
  • d25403c test(populate): repro part 1 of #6498
  • 131030b dont use full argument signature when subpopulating with options

There are 27 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 11, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 11, 2018

Version 5.1.5 just got published.

Update to this version instead 🚀

Commits

The new version differs by 35 commits.

  • 374c117 chore: release 5.1.5
  • 2803b0f test: skip webpack on older node versions and bump timeout
  • b6e11c2 style: fix lint
  • 5c217c9 test(webpack): add missing file
  • 0f681dd docs(browser): create new browser docs page
  • c85a282 chore: bump lockfile
  • 6049f4c chore: bump acquit -> 1.0.0
  • d4b18d1 Merge branch 'master' of github.com:Automattic/mongoose
  • 6909d30 fix(populate): handle virtual populate with embedded discriminator under single nested subdoc
  • 512e090 test(populate): repro #6571
  • 689e0e1 Merge pull request #6575 from lineus/docs-6567
  • 9ed16ed style: fix lint
  • 335e09f Merge pull request #6563 from lineus/docs-find-projection
  • d156188 Merge pull request #6560 from l33ds/patch-1
  • 1545313 Merge pull request #6559 from lineus/fix-6554

There are 35 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 19, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 19, 2018

Version 5.1.6 just got published.

Update to this version instead 🚀

Commits

The new version differs by 34 commits.

  • 144fd69 chore: release 5.1.6
  • e4a90bf docs: make guides.jade title for browser lib more concise
  • 9c715c3 chore: add cpm to guides.jade
  • 76f14c1 fix: bump mongodb -> 3.0.10 for better retries support
  • 280e658 Merge pull request #6604 from lineus/docs-6603
  • 1f30880 make the messages the same for doc/model
  • 9821432 add undefined return to {model,doc}.save
  • 3fed6f0 Merge branch 'master' of github.com:Automattic/mongoose
  • ddf9641 docs: add note about the applyPluginsToDiscriminators option
  • 021640e Merge pull request #6552 from profbiss/master
  • 9a4fad6 Merge branch 'master' of github.com:Automattic/mongoose
  • bdddd11 fix(schema): apply alias when adding fields with .add()
  • d188e4c test(schema): repro #6593
  • 133d05e docs: add schema as an item on navbar
  • a646ce9 Merge pull request #6590 from lineus/docs-6589

There are 34 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 26, 2018

Version 5.1.7 just got published.

Update to this version instead 🚀

Commits

The new version differs by 21 commits.

  • d578f91 chore: release 5.1.7
  • 6ab0941 Merge branch 'master' of github.com:Automattic/mongoose
  • 999eaad docs(populate): quick typesetting fix
  • 8e281f3 Merge pull request #6623 from VFedyk/patch-2
  • 1122cb7 Merge pull request #6577 from joeytwiddle/patch-1
  • 506a87b docs(middleware): clean up error handling middleware docs a bit
  • 2c262a8 Added NPM badge
  • 36fc46c docs(document): add more info on includedChildren option
  • c9a430f fix(document): handle document arrays in modifiedPaths() with includeChildren option
  • 237a931 test(document): repro #5904
  • 4b6f7cb Rename sections, split paragraphs
  • d37182d Merge pull request #6613 from jimmytsao/fix-6612
  • e140663 Merge pull request #6614 from lineus/fix-6611
  • 492c3fb docs: add basic geojson guide
  • 0e0056e set saving to undefined before emitting save

There are 21 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 2, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 2, 2018

Version 5.1.8 just got published.

Update to this version instead 🚀

Commits

The new version differs by 13 commits.

  • 48b089a chore: release 5.1.8
  • 647b1e1 Merge pull request #6638 from evanhenke/master
  • 5715c28 test: fix tests
  • f298e1e docs(geojson): add geojson docs
  • e540a2c docs(geojson): add querying example re: #6607
  • 15f5e16 change to test
  • ff23bdb fix for TypeError being thrown when calling save() more than once if the object being saved has atomics
  • c2fe031 fix: bump mongodb -> 3.0.11 to avoid cyclic dependency error with retryWrites
  • ae2a9ae style: fix lint re: #6625
  • d0218c4 fix(query): add explain() helper and don't hydrate explain output
  • ea3332d test(query): repro #6625
  • 801ba20 docs(query): fix setOptions() lists
  • 0eeebd2 chore: now working on 5.1.8

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 3, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 3, 2018

Version 5.2.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 41 commits.

  • d457cbe chore: release 5.2.0
  • 5d730d4 Merge pull request #6600 from Automattic/5.2
  • 985a845 feat(model): make ensureIndexes() fail if specifying an index on _id
  • 93d06a4 feat(model): add countDocuments()
  • cb2a9a8 Merge branch 'master' into 5.2
  • 44928ef test: fix tests
  • dd3ee74 fix(model): ignore sparse indexes when using decorateDiscriminatorIndexOptions()
  • 8d775f1 feat(model): decorate unique discriminator indexes with partialFilterExpressions
  • 678692e test(model): repro #6347
  • b5f928d chore: add missing strict mode
  • 7839a0d feat(discriminator): support discriminators on nested doc arrays
  • 91980e4 feat(model): add syncIndexes(), drops indexes that aren't in schema
  • e6a30b9 chore: depend on mongodb-core for require() with node v4
  • f39595e feat(model): add listIndexes() helper
  • 0a2d255 fix: avoid using Object.values() for old node versions

There are 41 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 4, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 4, 2018

Version 5.2.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 7 commits.

  • f7f55b0 chore: release 5.2.1
  • ff08b9c fix(model): only warn on custom _id index if index only has _id key
  • 2decc5b fix(connection): allow setting the mongodb driver's useNewUrlParser option, default to false
  • b2c1c6d chore: now working on 5.2.1
  • d90ef00 Merge pull request #6652 from lineus/temp-fix-conn-issues
  • a016a2f docs(model): add session to startSession() example
  • 727eda4 dont use newUrlParser until next driver update

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 9, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 9, 2018

Version 5.2.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 22 commits.

  • a596859 chore: release 5.2.2
  • 30e2e95 Merge pull request #6695 from lineus/docs-6691
  • 672d459 docs: add rudimentary transactions guide
  • 888d376 fix(model+query): add missing estimatedDocumentCount() function
  • 516199b add syntax highlighting on 2nd answer
  • 7ccee4d fix existing faq for array-defaults void 0 doesnt return null, add an example for initializing to a null value
  • 8671d27 docs(middleware): remove unnecessary version reference re: #6679
  • bea998d Merge pull request #6681 from AbdelrahmanHafez/master
  • 667143b Merge branch 'master' of github.com:Automattic/mongoose
  • edb91b2 docs(model): fix countDocuments() docs, bad copy/paste from count() docs
  • 2fce5f2 Merge pull request #6683 from lineus/enhance-6669
  • 7d7e9ab fix(connection): add startSession() helper to connection and mongoose global
  • 41ec904 fix: upgrade mongodb driver -> 3.1.1 for countDocuments() fix
  • 7511d8d docs(compatibility): add MongoDB 4 range
  • 26a1a97 chore: use latest acquit-ignore to handle examples that start with acquit:ignore:start

There are 22 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 11, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 11, 2018

Version 5.2.3 just got published.

Update to this version instead 🚀

Commits

The new version differs by 12 commits.

  • 81e248d chore: release 5.2.3
  • 3398f31 docs(schema): add example of nested aliases
  • 50e66a2 Merge pull request #6702 from lineus/fix-6618
  • 05f0323 use applyGetters instead of calling just the first getter directly
  • f21245a docs(transactions): use new session() helper to make positional args less confusing
  • 5aa62cb fix(query): add session() function to queries to avoid positional argument mistakes
  • 290a28a docs(schema): fix broken API links
  • 3ba8306 docs(guide): add writeConcern option and re-add description for safe option
  • 4e16fa0 fix(query+model+schema): add support for writeConcern option and writeConcern helpers
  • bad4be8 docs(connections): add information re: socketTimeoutMS and connectTimeoutMS
  • a962675 chore: now working on 5.2.3
  • 8b7b0d1 if a getter is defined on the localField, use it when populating

See the full diff

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

Successfully merging this pull request may close these issues.

1 participant