Skip to content

chore(deps-dev): bump mongodb from 4.10.0 to 4.12.0 #3038

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps mongodb from 4.10.0 to 4.12.0.

Release notes

Sourced from mongodb's releases.

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

Version 4.7.0 of the Node driver released an improvement to our server monitoring in FAAS environments by allowing the driver to skip monitoring events if there were more than one monitoring events in the queue when the monitoring code restarted. When skipping monitoring events that contained a topology change, the driver would incorrectly fail to update its view of the topology.

Version 4.12.0 fixes this issue by ensuring that the topology is always updated when monitoring events are processed.

Performance Improvements with Buffering

This release also modifies the data structures used internally in the driver to use linked lists in places where random access is not required and constant time insertion and deletion is beneficial.

External Contributions

Many thanks to @​ImRodry for helping us fix the documentation for our deprecated callback overloads in this release!

Features

  • NODE-4683: make ChangeStream an async iterable (#3454) (df8d9a4)

Deprecations

... (truncated)

Changelog

Sourced from mongodb's changelog.

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)
Commits
  • 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)
  • 9958879 docs: generate docs from latest main (#3462)
  • 8320315 docs(NODE-4823): fix broken links in 4.11 documentation (#3467)
  • 199dcaf fix(NODE-4753): remove erroneous deprecation of geoNear (#3465)
  • 1eea4f0 feat(NODE-4809): deprecate the existing logger (#3464)
  • b70cc7c types: move deprecated overloads to the bottom (#3461)
  • 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)

Bumps [mongodb](https://github.com./mongodb/node-mongodb-native) from 4.10.0 to 4.12.0.
- [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@v4.10.0...v4.12.0)

---
updated-dependencies:
- dependency-name: 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 21, 2022
@dependabot dependabot bot requested a review from a team November 21, 2022 00:03
@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label Nov 21, 2022
@apmmachine
Copy link
Contributor

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-11-21T00:03:46.792+0000

  • Duration: 28 min 23 sec

Test stats 🧪

Test Results
Failed 0
Passed 205651
Skipped 0
Total 205651

Steps errors 36

Expand to view the steps failures

Show only the first 10 steps failures

Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2022-11-21T00:22:31.023Z] Archiving artifacts script returned exit code 1
Archive the artifacts
  • Took 0 min 1 sec . View more details here
  • Description: [2022-11-21T00:22:35.814Z] Archiving artifacts script returned exit code 1
Run Tests
  • Took 4 min 15 sec . View more details here
  • Description: .ci/scripts/test.sh -b "release" -t "" "12"
Run Tests
  • Took 2 min 24 sec . View more details here
  • Description: .ci/scripts/test.sh -b "release" -t "" "12"
Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2022-11-21T00:21:59.398Z] Archiving artifacts script returned exit code 1
Archive the artifacts
  • Took 0 min 1 sec . View more details here
  • Description: [2022-11-21T00:22:03.124Z] Archiving artifacts script returned exit code 1
Run Tests
  • Took 4 min 4 sec . View more details here
  • Description: .ci/scripts/test.sh -b "release" -t "" "12.0"
Run Tests
  • Took 2 min 20 sec . View more details here
  • Description: .ci/scripts/test.sh -b "release" -t "" "12.0"
Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2022-11-21T00:21:45.164Z] Archiving artifacts script returned exit code 1
Archive the artifacts
  • Took 0 min 1 sec . View more details here
  • Description: [2022-11-21T00:21:48.776Z] Archiving artifacts script returned exit code 1

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run module tests for <modules> : Run TAV tests for one or more modules, where <modules> can be either a comma separated list of modules (e.g. memcached,redis) or the string literal ALL to test all modules

  • run benchmark tests : Run the benchmark test only.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@trentm
Copy link
Member

trentm commented Nov 21, 2022

See comment here: #2998 (comment)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 28, 2022

Superseded by #3047.

@dependabot dependabot bot closed this Nov 28, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongodb-4.12.0 branch November 28, 2022 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-nodejs Make available for APM Agents project planning. dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants