Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 13, 2022

Bumps mongodb from 4.7.0 to 4.8.0.

Release notes

Sourced from mongodb's releases.

v4.8.0

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

Release Highlights

UpdateFilter nested fields

In this release you will now get auto-complete and type safety for nested keys in an update filter. See the example below: image1

Optional client.connect() fixup

In our last release we made explicitly calling client.connect() before performing operations optional with some caveats. In this release client.startSession() can now be called before connecting to MongoDB.

NOTES:

  • The only APIs that need the client to be connected before using are the legacy collection.initializeUnorderedBulkOp() / collection.initializeOrderedBulkOp() builder methods. However, the preferred collection.bulkWrite() API can be used without calling connect explicitly.
  • While executing operations without explicitly connecting may be streamlined and convenient, depending on your use case client.connect() could still be useful to find out early if there is some easily detectable issue (ex. networking) that prevents you from accessing your database.

Features

  • NODE-4078: allow comment with estimated doc count (#3301) (bed1fe3)
  • NODE-4267: support nested fields in type completion for UpdateFilter (#3259) (1a9a44c)

Bug Fixes

  • NODE-4125: change stream resumability (#3289) (aa5f97e)
  • NODE-4262: make startSession work without a connection (#3286) (89ad7c3)

Documentation

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

Changelog

Sourced from mongodb's changelog.

4.8.0 (2022-07-13)

Features

  • NODE-4078: allow comment with estimated doc count (#3301) (bed1fe3)
  • NODE-4267: support nested fields in type completion for UpdateFilter (#3259) (1a9a44c)
  • NODE-4294: mark queryable encryption options beta (#3300) (4c07bbb)
  • NODE-4301: remove shared lib experimental tags (#3298) (3976783)

Bug Fixes

  • NODE-4125: change stream resumability (#3289) (aa5f97e)
  • NODE-4262: make startSession work without a connection (#3286) (89ad7c3)
  • sync showExpandedEvents spec tests (#3288) (cfe18f9)
Commits
  • be34a94 chore(release): 4.8.0
  • 07cb5b7 test(NODE-4363): Add support for ClientEncryption in the unified test runner ...
  • 3c5bcb9 test(NODE-4282): sync fle2 payload spec test updates (#3309)
  • bb31ef4 chore: update to latest bson patch (#3316)
  • 13158be test(NODE-4347): add coverage for auto connecting operations (#3299)
  • c9083db chore(NODE-4358): move legacy tests to legacy folder (#3307)
  • 761f853 test(NODE-4382): update fle setup in test readme (#3302)
  • de35a62 test(NODE-4260): add test for csfle bulk write error (#3305)
  • 7797b73 docs(NODE-4380): fix grammar issue in documentation (#3312)
  • 3545698 chore: remove unusued eslint directives (#3310)
  • 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.7.0 to 4.8.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.7.0...v4.8.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from Syjalo as a code owner July 13, 2022 16:19
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 13, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 27, 2022

Superseded by #224.

@dependabot dependabot bot closed this Jul 27, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongodb-4.8.0 branch July 27, 2022 16:26
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