Skip to content

dependabot npm(deps): bump mongodb from 4.8.1 to 4.9.0

Depen d'Abot requested to merge dependabot-npm_and_yarn-mongodb-4.9.0 into master

Bumps mongodb from 4.8.1 to 4.9.0.

Release notes

Sourced from mongodb's releases.

v4.9.0

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

Release Highlights

We have corrected an inconsistency with our writeConcern options in the type definitions where the MongoClient alleged to not support "writeConcern" as an option. In fact, it did support it at run time and now the types correctly reflect that, along with the corresponding deprecations we made to the nested writeConcern config settings.

Our index specification handling had a few peculiar edge cases that we have detailed below, we believe these are unlikely to affect a vast majority of users as the type definitions would have likely reported an error with the impacted usage. As a feature, the typescript definitions now support a javascript Map as a valid input for an index specification.

As per usual this release brings in the latest BSON release (v4.7.0) which added automatic UUID support. You can read more about that in the BSON release notes here!

Special thanks to the folks who contributed to this release!

Features

  • NODE-3517: improve index spec handling and type definitions (#3315) (0754bf9)
  • NODE-4336: deprecate old write concern options and add missing writeConcern to MongoClientOptions (#3340) (d2b6ad8)

Bug Fixes

  • NODE-4159,NODE-4512: remove servers with incorrect setName from topology and fix unix socket parsing (#3348) (00dcf2d)
  • NODE-4273: pass 'comment' option through to distinct command (#3339) (753ecfe)
  • NODE-4413: set maxTimeMS on getMores when maxAwaitTimeMS is specified (#3319) (dcbfd6e)
  • NODE-4429: select server sync for endSessions during close (#3363) (5086ead)
  • NODE-4467: Add back support for oplogReplay option as deprecated (#3337) (6c69b7d)
  • NODE-4496: counter values incorrectly compared when instance of Long (#3342) (d29eb8c)

... (truncated)

Changelog

Sourced from mongodb's changelog.

4.9.0 (2022-08-18)

Features

  • NODE-3517: improve index spec handling and type definitions (#3315) (0754bf9)
  • NODE-4336: deprecate old write concern options and add missing writeConcern to MongoClientOptions (#3340) (d2b6ad8)
  • NODE-4548: export ChangeStream class from top-level (#3357) (48f295a)

Bug Fixes

  • NODE-4159,NODE-4512: remove servers with incorrect setName from topology and fix unix socket parsing (#3348) (00dcf2d)
  • NODE-4273: pass 'comment' option through to distinct command (#3339) (753ecfe)
  • NODE-4413: set maxTimeMS on getMores when maxAwaitTimeMS is specified (#3319) (dcbfd6e)
  • NODE-4429: select server sync for endSessions during close (#3363) (5086ead)
  • NODE-4467: Add back support for oplogReplay option as deprecated (#3337) (6c69b7d)
  • NODE-4496: counter values incorrecly compared when instance of Long (#3342) (d29eb8c)
  • NODE-4513: type for nested objects in query & update (#3349) (ec1a68f)
  • NODE-4533: session support error message and unified test runner (#3355) (6a0e502)
  • NODE-4555: export BSON internally (#3367) (4ce6e4c)
Commits
  • 428bdeb chore(release): 4.9.0
  • b03dfa1 test: fix incorrect uuid construction (#3372)
  • ad8fb25 chore: update bson dependency to 4.7.0 (#3370)
  • 7f66afd docs: generate docs from latest main (#3368)
  • 48f295a feat(NODE-4548): export ChangeStream class from top-level (#3357)
  • 40d485c test(NODE-4553): move check test to action folder (#3366)
  • 4ce6e4c fix(NODE-4555): export BSON internally (#3367)
  • 5086ead fix(NODE-4429): select server sync for endSessions during close (#3363)
  • f28ba0d docs: generate docs from latest main (#3306)
  • 5644d3c docs(NODE-4230): update clustered collection reference link (#3364)
  • Additional commits viewable in compare view

Merge request reports

Loading