wilsto / smartNews

0 stars 0 forks source link

Update mongoose to the latest version πŸš€ #15

Open greenkeeper[bot] opened 6 years ago

greenkeeper[bot] commented 6 years ago

Version 5.1.0 of mongoose was just published.

Dependency mongoose
Current Version 5.0.18
Type dependency

The version 5.1.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 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

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 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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] commented 6 years ago

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

greenkeeper[bot] commented 6 years ago

Version 5.2.4 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 18 commits.

  • d166da6 chore: release 5.2.4
  • dcf99ae fix(document): report castError when setting single nested doc to primitive value
  • 7134b68 test(document): repro #6710
  • a4a3566 docs: remove keycdn from homepage
  • 563d31f Merge pull request #6722 from iagowp/patch-1
  • fc6ab73 Merge pull request #6724 from lineus/docs-insertMany
  • 8c3d45f Merge pull request #6719 from simllll/patch-3
  • ac73e67 docs: style fixes for #6719
  • 5ceff45 fix(model): throw readable error with better stack trace when non-cb passed to $wrapCallback()
  • 504b536 chore(tools): add shardsvr option to run sharded cluster on mongodb >= 3.4
  • 1abec98 fix(connection): throw helpful error if using new db.model(foo)(bar)
  • fbca106 fix rawresults option in api docs
  • f837762 Fix typo on migrating to 5 guide
  • fc76fe4 fix: ensure debug mode doesn't crash with sessions
  • cf1d72a docs(README): remove comma-based declaration

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.5 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 30 commits.

  • 04d5c03 chore: release 5.2.5
  • 9a53a2d Merge branch 'master' of github.com:Automattic/mongoose
  • 559ae4e docs(connections): add note about the family option for IPv4 vs IPv6 and add port to example URIs
  • 66a504a Merge pull request #6744 from lineus/docs-6742
  • 95e553f docs(schematypes): add note about what values are converted to booleans
  • a37fd2f fix(boolean): expose convertToTrue and convertToFalse for custom boolean casting
  • 0ff9359 test(document): repro #6758
  • 4a548af perf(model): create error rather than modifying stack for source map perf
  • ebec9d4 fix(document): fix(document): report castError when setting single nested doc to array
  • ce3e00b test(document): repro #6753
  • 58c51ba Merge pull request #6751 from sajadtorkamani/patch-1
  • e32f721 Prefix mongoose.Schema call with new operator
  • 971311e docs(query): add examples and links to schema writeConcern option for writeConcern helpers
  • 4514037 changed space to -
  • a06cda2 Merge branch 'master' of github.com:Automattic/mongoose

There are 30 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.6 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 43 commits.

  • d4f507f chore: release 5.2.6
  • 7eac18c style: fix lint
  • e47b669 fix(populate): make error reported when no localField specified catchable
  • 1e27f09 test(populate): repro #6767
  • 2b5e18a fix(query): upgrade mquery for readConcern() helper
  • 2bf81e7 test: try skipping in before()
  • d5b43da test: more test fixes re: #6754
  • e91d404 test(transactions): skip nested suite if parent suite skipped
  • 22c6c33 fix(query): propagate top-level session down to populate()
  • 0f24449 test(query): repro #6754
  • bc21555 fix(document): handle overwriting $session in execPopulate()
  • f3af885 docs(schematypes): add some examples of getters and warning about using map() getters with array paths
  • 4071de4 Merge pull request #6771 from Automattic/gh6750
  • 12e0d09 fix(document): don't double-call deeply nested custom getters when using get()
  • 695cb6f test(document): repro #6779

There are 43 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.7 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 55 commits.

  • 56ff8a4 chore: release 5.2.7
  • 95c65db Merge branch 'master' of github.com:Automattic/mongoose
  • 679279c Merge pull request #6816 from Fonger/improve-ci-test
  • feff9f2 Merge branch 'master' of github.com:Automattic/mongoose
  • 9970bb2 Merge pull request #6820 from christopherhex/syncindexes-check-ttl-option
  • 8f2272b chore: add cpc inline for query docs
  • dde0cd6 chore: add space to array
  • 6e36905 test(model): fix collection name conflict in model: querying test
  • 97c5a16 fix(model): syncIndexes - check for changed expireAfterSeconds option
  • b3346f9 test(model): refactor model: querying: with conditionals
  • 394f3c8 test(model): correct test pending value to prevent ci failure
  • 33add25 fix(populate): correctly get schema type when calling populate() on already populated path
  • 09f6178 test(populate): repro #6798
  • c8be4f0 test(cursor): fix eachAsync time check to prevent potential ci failure
  • 400b29f chore: skip running linter on node v4 and v5 because eslint no longer works for those versions

There are 55 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.8 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 53 commits.

  • 77ee917 chore: release 5.2.8
  • 4c6257f Merge branch 'master' of github.com:Automattic/mongoose
  • e2a5733 fix(document): allow passing callback to execPopulate() re: #6851
  • df2c501 Merge pull request #6851 from WJakub/patch-1
  • 0a2dce2 Merge pull request #6848 from Fonger/gh-6845-fix
  • bf89f27 Update code example in Populate
  • 8c3ef94 docs(defaults): clarify that defaults only run on undefined
  • 8e342e2 fix(populate): populate with undefined fields without error
  • 987cd54 test(populate): repro #6845
  • e53c6bc fix(populate): throw helpful error if refPath excluded in query
  • 29fac01 test(populate): repro #6834
  • 36b4f13 docs(migrating_to_5): add note about removing runSettersOnQuery
  • fd070e0 docs(connections): note that you must specify port if using useNewUrlParser: true
  • f71c7d7 fix(document): ensure subdocs get set to init state after save() so validators can run again
  • aa40725 test(document): repro #6818

There are 53 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.9 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 43 commits.

  • 7875d53 Merge branch 'master' of github.com:Automattic/mongoose
  • 3a8d8cf chore: release 5.2.9
  • 9eb4dc6 chore: add cpc ads to more guides
  • 942a54d Merge pull request #6877 from Fonger/patch-write-concern
  • 4abdf8e chore: fix typo
  • fb447d0 fix(model): correctly propagate writeConcern options in save()
  • e7b6f0d test(model): repro #6862
  • 7e8e7f0 Merge pull request #6866 from Fonger/buffer-json-cast
  • c7e291f Merge pull request #6868 from Fonger/gh-6840-fix
  • dcbd790 test(connection): increase delay in reconnectFailed test
  • 068f584 docs(faq): add question about localhost being slow if no IPv6
  • 25196b2 Merge pull request #6869 from simllll/patch-4
  • d907dc2 test: work around mongodb/node-mongodb-native#1812
  • 0b5803b fix(query): get global runValidators option correctly
  • 24d1f6b test(mongoose): repro #6578

There are 43 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.10 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 55 commits.

  • a032281 chore: release 5.2.10
  • 1933d97 fix(document): ensure required cache gets cleared correctly between subsequent saves
  • f7382db test(document): repro #6892
  • 911851d Merge pull request #6920 from Fonger/patch-3
  • ae9fea3 chore: bump mongodb 3.1.4 and mongodb-core 3.1.3
  • 19a9601 style: clean up comma variable declarations
  • e778f36 fix(document): ensure array atomics get cleared after save()
  • f5102d1 test(document): repro #6900
  • 71e116c fix(model): track session option for save() as the document's $session()
  • 6bca4a1 test(model): repro #6909
  • 3b99dbd fix(geospatial): use correct context for castToNumber
  • 8b2a499 Merge pull request #6893 from ChristianMurphy/style/use-let-and-const
  • d387192 Merge branch 'master' into style/use-let-and-const
  • 2c2dbcd Merge pull request #6917 from Automattic/gh6880
  • eda0bb8 test: fix travis tests

There are 55 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.11 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 47 commits.

  • 73399e9 chore: release 5.2.11
  • 346d1f5 chore: add cpc
  • a9962c7 style: fix lint
  • 8565d4d Merge branch '4.x'
  • b33d8c2 style: fix lint
  • efcce8f Merge branch '4.x'
  • df93f5b chore: release 4.13.16
  • a3b98f6 fix(document): disallow setting proto if strict mode false
  • be72ee3 Merge pull request #6945 from Fonger/gh-6938-map-fix
  • 844dd7c Merge pull request #6943 from lineus/fix-6927
  • da856d3 Merge pull request #6942 from julescubtree/master
  • ffe607f test(model): fix flaky test for #6937
  • 1634c5f test(connection): increase delay in connection test
  • 0749d47 fix(map): reduce Map sub docs to make hooks work
  • edac58e test(map): repro #6938

There are 47 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.12 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 4 commits.

  • 36850b6 chore: release 5.2.12
  • 29fefa9 Merge branch '4.x'
  • 4545d44 chore: release 4.13.17
  • fb8b644 fix(document): disallow setting constructor and prototype if strict mode false

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.13 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 32 commits.

  • 223db52 chore: release 5.2.13
  • 5e02523 Merge pull request #6968 from Fonger/patch-1
  • 59d2c70 Merge branch 'gh6922'
  • 1ecd562 docs(deprecations): add note re: update() re: #6922
  • fa9b860 fix(map): throw TypeError if keys are not string
  • d20f33f docs(deprecations): add note re: useCreateIndex
  • ea1f1f7 Merge pull request #6957 from lineus/docs-6956
  • 95de37d Merge pull request #6959 from lineus/fix-6940
  • 92fcdac Merge pull request #6962 from lineus/fix-6952
  • a92574f Merge pull request #6965 from Fonger/patch-1
  • c689892 docs(transactions): update supporting OS of run-rs
  • 7119665 docs(deprecations): add detail about findAndModify deprecation re: #6922
  • 08b3163 docs: add deprecations page
  • 47ab80d make array op casting work with strict:false and {}
  • 083e488 test: fix tests re: #6889

There are 32 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.2.14 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 23 commits.

  • ad4bffd chore: release 5.2.14
  • d32f941 style: lint fixes
  • 7dd5619 fix(schematype): make ObjectIds handle refPaths when checking required
  • a2b91a2 test(populate): repro #6714
  • 31125cb style: fix some more lint warnings
  • 29085ed fix(populate): handle populating already-populated paths
  • c7a84f2 test(populate): repro #6839
  • 64552b7 style: fix some more lint warnings
  • f941025 chore: remove net geek pro from opencollective sponsors
  • fd0cf0a style: fix some lint warnings
  • 3dc681f chore: fix broken tests
  • 8abd4d0 fix(populate): avoid cast error if refPath points to localFields with 2 different types
  • e651925 test(populate): repro #6870
  • 8e7e678 Merge pull request #6983 from lineus/docs-6982
  • fb9f62b fix(model): set timestamps on bulkWrite() updates

There are 23 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead πŸš€

Commits

The new version differs by 26 commits.

  • c4a01ec chore: release 5.2.15
  • 1ba6ca7 fix(model): allow calling Model.init() again after calling dropDatabase()
  • 4108366 test(model): repro #6967
  • 8a178ad docs: add selectPopulatedPaths option
  • 950d223 fix(populate): add selectPopulatedPaths option to opt out of auto-adding populate()-ed fields to select()
  • c0fb363 test(populate): repro #6546
  • 6dd98c8 style: fix lint
  • 8840ffd chore: peg chalk version
  • bdd7432 docs(webpack): make webpack docs use es2015 preset for correct libs and use acorn to test output is valid ES5
  • 25c305d docs(model): add blog post link and example to syncIndexes() docs
  • 2d928b4 style: fix lint
  • dcfb894 fix(populate): handle virtual justOne correctly if it isn't set
  • 0bff408 test(populate): repro #6988
  • a01b827 fix(populate): find connect justOne when double-populating underneath an array
  • b5841c2 test(populate): repro #6798

There are 26 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

The new version differs by 29 commits.

  • a8f8c7a chore: release 5.2.16
  • b4c372e chore: add async/await banner to promises docs
  • d7e91ef style: fix lint re: #6915
  • b41f93c fix(schema): throw a helpful error if setting ref to an invalid value
  • 3f1bb2c test(schema): repro #6915
  • 8c81c7f style: more lint fixes
  • 4c16b14 style: fix lint
  • e93c8b5 docs(model+schematype): improve docs about background indexes and init()
  • 53572a8 Merge branch 'master' of github.com:Automattic/mongoose
  • 6790d2f fix(query): add option to skip adding timestamps to an update
  • 99ce6c7 test(query): repro #6980
  • 31860bf Merge pull request #7023 from lineus/fix-6881
  • 4aa22a1 fix(connection): allow specifying useCreateIndex at the connection level, overrides global-level
  • 2af6e05 bump mongodb and mongodb-core versions
  • 97171e3 docs(index): fix link to tidelift

There are 29 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

The new version differs by 13 commits.

  • ee17056 chore: release 5.2.17
  • a9db83e docs(model+query): explain which operators count() supports that countDocumnts() doesn't
  • 53f7a24 docs(guide): clarify that Mongoose only increments versionKey on save() and add a workaround for findOneAndUpdate()
  • c1bdbcf fix(update): find top-level version key even if there are $ operators in the update
  • abe4545 test(model): repro #7003
  • f3bda5e Merge pull request #7024 from lineus/feat-query.setUpdate
  • 8be1dbf Merge branch 'master' into feat-query.setUpdate
  • f88cfdf Merge pull request #7034 from lineus/docs-7018
  • ff0f2dc Merge pull request #7036 from lineus/fix-6922
  • 0e9d6d3 fix typo in model.js
  • e7f9ed0 add debug output stream change to migration doc
  • b30edd1 chore: now working on 5.2.17
  • 89b57c5 add setUpdate to Query.prototype

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

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

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

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

Update to this version instead πŸš€

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

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

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

The new version differs by 2 commits.

  • 06b899b chore: release 5.3.6
  • 5a856a7 fix(query): fix undefined transforms error

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

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

Update to this version instead πŸš€

Commits

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

See the full diff