webgme / webgme-engine

WebGME server and Client API without a GUI
MIT License
11 stars 7 forks source link

Bump mongodb from 3.7.3 to 4.0.0 #293

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps mongodb from 3.7.3 to 4.0.0.

Release notes

Sourced from mongodb's releases.

v4.0.0

The MongoDB Node.js team is delighted to announce the major version release 4.0.0 of the MongoDB Node.js Driver!

Release Highlights

We finally did it! The major version release of the MongoDB driver is now generally available! This release represents over a year's worth of effort that couldn't have been done without stellar contributions from the community and our Node.js DBX team. We hope you give it a try and are able to upgrade smoothly! :tada:

The biggest news is our migration to Typescript :partying_face: offering first class support of type definitions in the driver itself.

Some cool new MongoDB 5.0 features now supported in the driver are:

  • Native support for Time Series Collections
    • Time series collections efficiently store sequences of measurements over a period of time. Compared to normal collections, storing time series data in time series collections improves query efficiency and reduces the disk usage for time series data and secondary indexes
  • Snapshot reads on secondaries
    • Support for read concern level "snapshot" (non-speculative) for read commands outside of transactions, including on secondaries. The snapshot reads on secondaries feature allows users to perform analytics with snapshot isolation on dedicated secondaries, including long running snapshot reads.

Below are only the changes since our last beta release, for the full set of breaking changes look at the upgrade guide here and for the full set of new features, take a look here.

⚠ BREAKING CHANGES (since beta.6)

  • NODE-3427: remove md5 hashing from GridFS API (#2899) (a488d88)
  • NODE-1797: error when ChangeStream used as iterator and emitter concurrently (#2871) (e0b3afe)
  • AND MORE!

Features (since beta.6)

Bug Fixes

  • NODE-1797: error when ChangeStream used as iterator and emitter concurrently (#2871) (e0b3afe)
  • NODE-1843: bulk operations ignoring provided sessions (#2868) (70810d1)
  • NODE-3063: fix custom csfle test script (#2884) (d73c80c)
  • NODE-3279: use "hello" for monitoring if supported (#2895) (5a8842a)
  • NODE-3386: listCollections result type definition (#2866) (c12979a)
  • NODE-3413: accept tls=false in mongodb+srv connection strings (#2886) (526c73f)
  • NODE-3416: make change stream generic default to Document (#2882) (3d490dc)
  • NODE-3430: watch method types on MongoClient and Db (#2900) (17cc291)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

... (truncated)

Changelog

Sourced from mongodb's changelog.

4.0.0 (2021-07-13)

Features

  • NODE-3095: add timeseries options to db.createCollection (#2878) (c145c91)
  • NODE-3392: enable snapshot reads on secondaries (#2897) (523e05c)
  • NODE-3403: define MongoRuntimeError children (#2894) (cb0db49)
  • NODE-3410: added MongoRuntimeError (#2892) (ee903cb)

Bug Fixes

  • NODE-1797: error when ChangeStream used as iterator and emitter concurrently (#2871) (e0b3afe)
  • NODE-1843: bulk operations ignoring provided sessions (#2868) (70810d1)
  • NODE-3063: fix custom csfle test script (#2884) (d73c80c)
  • NODE-3279: use "hello" for monitoring if supported (#2895) (5a8842a)
  • NODE-3386: listCollections result type definition (#2866) (c12979a)
  • NODE-3413: accept tls=false in mongodb+srv connection strings (#2886) (526c73f)
  • NODE-3416: make change stream generic default to Document (#2882) (3d490dc)
  • NODE-3430: watch method types on MongoClient and Db (#2900) (17cc291)

4.0.0-beta.6 (2021-07-01)

⚠ BREAKING CHANGES

  • NODE-3291: Standardize error representation in the driver (#2824)
  • NODE-3272: emit correct event type when SRV Polling (#2825)
  • remove strict/callback mode from Db.collection helper (#2817)

Features

  • NODE-2751: add arrayFilters builder to bulk FindOperators (#2820) (d099622)
  • NODE-3274: add type hinting for UpdateFilter (#2842) (05035eb)
  • NODE-3325: support 'let' option for aggregate command (#2828) (e38838e)
  • NODE-3331: offer downleveled types for legacy typescript versions (#2859) (27cf1d2)
  • NODE-3333: support 'let' option for CRUD commands (#2829) (0d91da1)

Bug Fixes

  • NODE-1502: command monitoring objects hold internal state references (#2832) (a2887db)
  • NODE-2026: SERVICE_REALM kerberos mechanism property not attached (#2865) (5caa354)
  • NODE-2035: exceptions thrown from awaited cursor forEach do not propagate (#2835) (ac49df6)
  • NODE-2905: support SERVICE_NAME authentication mechanism property (#2857) (dfb91b8)
  • NODE-2944: Reintroduce bson-ext support (#2823) (8eb0081)
  • NODE-3150: allow retrieving PCRE-style RegExp (ca9e2dc)
  • NODE-3272: emit correct event type when SRV Polling (#2825) (579119f)
  • NODE-3305: beforeHandshake flag is always true (#2854) (079bd6c)

... (truncated)

Commits
  • ead7920 chore(release): 4.0.0
  • 17cc291 fix(NODE-3430): watch method types on MongoClient and Db (#2900)
  • a3aa060 docs(NODE-2329): write upgrade and migration guide (#2890)
  • 523e05c feat(NODE-3392): enable snapshot reads on secondaries (#2897)
  • 5a8842a fix(NODE-3279): use "hello" for monitoring if supported (#2895)
  • a488d88 refactor!(NODE-3427): remove md5 hashing from GridFS API (#2899)
  • cb0db49 feat(NODE-3403): define MongoRuntimeError children (#2894)
  • c12979a fix(NODE-3386): listCollections result type definition (#2866)
  • e0b3afe fix(NODE-1797): error when ChangeStream used as iterator and emitter concurre...
  • 70810d1 fix(NODE-1843): bulk operations ignoring provided sessions (#2868)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/webgme/webgme-engine/network/alerts).
dependabot[bot] commented 1 year ago

Looks like mongodb is up-to-date now, so this is no longer needed.