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

Bump mongodb and @shelf/jest-mongodb in /eq-author-api #2828

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2022

Bumps mongodb and @shelf/jest-mongodb. These dependencies needed to be updated together.
Updates mongodb from 3.7.3 to 4.12.1

Release notes

Sourced from mongodb's releases.

v4.12.1

The MongoDB Node.js team is pleased to announce version 4.12.1 of the mongodb package!

Release Highlights

This version includes a fix to a regression in our monitoring logic that could cause process crashing errors that was introduced in v4.12.0.

If you are using v4.12.0 of the Node driver, we strongly encourage you to upgrade.

Bug Fixes

Documentation

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

4.12.0

The MongoDB Node.js team is pleased to announce version 4.12.0 of the mongodb package!

Release Highlights

ChangeStreams are now AsyncIterators

ChangeStreams are now async iterables and can be used anywhere that expects an async iterable. Notably, change streams can now be used in Javascript for-await loops:

const changeStream = collection.watch();
for await (const change of changeStream) {
  console.log(“Received change: , change);
}

Some users may have been using change streams in for-await loops manually by using a for-await loop with the ChangeStream’s internal cursor. For example:

const changeStream = collection.watch();
for await (const change of changeStream.cursor) {
  console.log(“Received change: , change);
}

The change stream cursor has no support for resumabilty and consequently the change stream will never attempt to resume on any errors. We strongly caution against using a change stream cursor as an async iterable and strongly recommend using the change stream directly.

Server Monitoring Fix When Monitoring Events are Skipped

... (truncated)

Changelog

Sourced from mongodb's changelog.

4.12.1 (2022-11-23)

Bug Fixes

4.12.0 (2022-11-16)

Features

Bug Fixes

  • NODE-4609: allow mapping to falsey non-null values in cursors (#3452) (1bf6ef1)
  • NODE-4735: fix change stream consecutive resumabilty (#3453) (89b27e9)
  • NODE-4753: remove erroneous deprecation of geoNear (#3465) (199dcaf)
  • NODE-4783: handle orphaned operation descriptions (#3463) (4c9b4d8)

4.11.0 (2022-10-19)

Features

  • NODE-3255: add minPoolSizeCheckIntervalMS option to connection pool (#3429) (5f34ad0)
  • NODE-3651: add hashed index type (#3432) (f6b56a1)
  • NODE-3875: support recursive schema types (#3433) (26bce4a)
  • NODE-4503: throw original error when server attaches NoWritesPerformed label (#3441) (a7dab96)
  • NODE-4650: handle handshake errors with SDAM (#3426) (cbe7533)
  • NODE-4721: add aws-sdk as optional dependency (#3446) (b879cb5)

Bug Fixes

  • NODE-3712,NODE-4546: electionId should be ordered before setVersion (#3174) (ca51fec)
  • NODE-3921: error on invalid TLS option combinations (#3405) (1a550df)
  • NODE-4186: accept ReadPreferenceLike in TransactionOptions type (#3425) (dc62bcb)
  • NODE-4475: make interrupted message more specific (#3437) (5f37cb6)
  • NODE-4608: prevent parallel monitor checks (#3404) (78bcfe4)
  • NODE-4647: improve error message (#3409) (0d3c02e)
  • NODE-4649: use SDAM handling for errors from min pool size population (#3424) (ef3b55d)

... (truncated)

Commits
  • 73e92ce chore(release): 4.12.1
  • 9795cdb fix(NODE-4831): check map value is not undefined (#3477)
  • ff375e9 fix(NODE-4830): lazily import aws module (#3476)
  • c4c560c chore(NODE-4824): add check to confirm docs generation and release only runs ...
  • fda7d25 test(NODE-4790): retryable handshake errors spec sync (#3472)
  • 8254575 chore(release): 4.12.0
  • bcc33c8 docs: generate docs from latest main (#3469)
  • 4c9b4d8 fix(NODE-4783): handle orphaned operation descriptions (#3463)
  • 04203c7 docs(NODE-4755): clarify deprecation docs for autoIndexId (#3470)
  • 1a5e619 feat(NODE-4757): deprecate unused PipeOptions (#3466)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by pearsb1, a new releaser for mongodb since your current version.


Updates @shelf/jest-mongodb from 2.0.1 to 2.2.1

Release notes

Sourced from @​shelf/jest-mongodb's releases.

v2.2.1

v2.2.0

v2.1.1

v2.1.0

  • Support useSharedDBForAllJestWorkers: false config option (Thanks to @​Siloss) If you're going to use this option, use global.__MONGO_URI__ to reference mongo URL, instead of process.env.MONGO_URL

v2.0.3

  • Allow mongodb 4.x in peer deps
Commits
  • 1d833dd v2.2.1
  • 2379a0d Merge pull request #331 from noseworthy/prep-for-jest-28
  • b30747c Use default export of jest-environment if present
  • a94d84e Merge pull request #328 from shelfio/renovate/jest-monorepo
  • e683a1b Merge pull request #329 from shelfio/renovate/eslint-8.x
  • 816baf0 chore(deps): update dependency jest to v27.5.1
  • b0087a3 Merge pull request #327 from shelfio/renovate/lint-staged-12.x
  • 64a7787 chore(deps): update dependency lint-staged to v12.3.5
  • b8eed6a chore(deps): update dependency eslint to v8.10.0
  • d6bcc3c Merge pull request #308 from shelfio/renovate/eslint-8.x
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by vladgolubev, a new releaser for @​shelf/jest-mongodb since your current version.


You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) and [@shelf/jest-mongodb](https://github.com/shelfio/jest-mongodb). These dependencies needed to be updated together.

Updates `mongodb` from 3.7.3 to 4.12.1
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v3.7.3...v4.12.1)

Updates `@shelf/jest-mongodb` from 2.0.1 to 2.2.1
- [Release notes](https://github.com/shelfio/jest-mongodb/releases)
- [Commits](shelfio/jest-mongodb@v2.0.1...v2.2.1)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@shelf/jest-mongodb"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants