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

chore(deps): bump mongodb from 4.6.0 to 6.4.0 in /ee/server/services #563

Open
wants to merge 389 commits into
base: better-7.0
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 2, 2024

Bumps mongodb from 4.6.0 to 6.4.0.

Release notes

Sourced from mongodb's releases.

v6.4.0

6.4.0 (2024-02-29)

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

Release Notes

Server selection will use a different Mongos on retry

When retrying reads or writes on a sharded cluster, the driver will attempt to select a different mongos for the retry if multiple are present. This should heuristically avoid encountering the original error that caused the need to retry the operation.

Caching AWS credentials provider per client

Instead of creating a new AWS provider for each authentication, we cache the AWS credentials provider per client to prevent overwhelming the auth endpoint and ensure that cached credentials are not shared with other clients.

BSON upgraded to ^6.4.0

BSON has had a number of performance increases in the last two releases (6.3.0 and 6.4.0). Small basic latin (ASCII) only strings, small memory allocations (ObjectId and Decimal128) and numeric parsing operations (int32, doubles, and longs) have all had optimizations applied to them.

For details check out the release notes here: BSON 6.3.0 and BSON 6.4.0 🐎

ExceededTimeLimit was made a retryable reads error

Read operations will be retried after receiving an error with the ExceededTimeLimit label.

Fixed unresolved request issue in KMS requester

Internal to the field-level encryption machinery is a helper that opens a TLS socket to the KMS provider endpoint and submits a KMS request. The code neglected to add a 'close' event listener to the socket, which had the potential to improperly leave the promise pending indefinitely if no error was encountered.

The base64 padding is now preserved in the saslContinue command

The authentication was rejected by the saslContinue command from mongosh due to missing "=" padding from the client. We fixed the way we parse payload to preserve trailing "="s.

countDocuments now types the filter using the collection Schema

Previously, countDocuments had a weakly typed Document type for the filter allowing any JS object as input. The filter is now typed as Filter<Schema> to enable autocompletion, and, hopefully, catch minor bugs.

Thank you to @​pashok88895 for contributing to this improvement.

The type error with $addToSet in bulkWrite was fixed

Previously the following code sample would show a type error:

interface IndexSingatureTestDocument extends Document {
    readonly myId: number;
    readonly mySet: number[];
  }
const indexSingatureCollection = undefined as unknown as Collection<IndexSingatureTestDocument>;
indexSingatureCollection.bulkWrite([
</tr></table> 

... (truncated)

Changelog

Sourced from mongodb's changelog.

6.4.0 (2024-02-29)

Features

  • NODE-3449: Add serverConnectionId to Command Monitoring Spec (735f7aa)
  • NODE-3470: retry selects another mongos (#3963) (84959ee)
  • NODE-3689: require hello command for connection handshake to use OP_MSG disallowing OP_QUERY (#3938) (ce7df0f)
  • NODE-4686: Add log messages to CLAM (#3955) (e3bfa30)
  • NODE-4687: Add logging to server selection (#3946) (7f3ce0b)
  • NODE-4719: add SDAM Logging Spec (#3940) (a3c0298)
  • NODE-4847: Add config error handling to logging (#3970) (8f7bb59)
  • NODE-5717: make ExceededTimeLimit retryable reads error (#3947) (106ab09)
  • NODE-5885: upgrade BSON to ^6.3.0 (#3983) (9401d09)
  • NODE-5939: Implement 6.x: cache the AWS credentials provider in the MONGODB-AWS auth logic (#3991) (e0a37e5)
  • NODE-5978: upgrade BSON to ^6.4.0 (#4007) (90f2f70)

Bug Fixes

  • NODE-5127: implement reject kmsRequest on server close (#3964) (568e05f)
  • NODE-5609: node driver omits base64 padding in sasl-continue command (#3975) (b7d28d3)
  • NODE-5765: change type for countDocuments (#3932) (22cae0f)
  • NODE-5791: type error with $addToSet in bulkWrite (#3953) (b93d405)
  • NODE-5818: Add feature flagging to server selection logging (#3974) (55203ef)
  • NODE-5839: support for multibyte code-points in stringifyWithMaxLen (#3979) (aed1cf0)
  • NODE-5840: heartbeat duration includes socket creation (#3973) (a42039b)
  • NODE-5901: propagate errors to transformed stream in cursor (#3985) (ecfc615)
  • NODE-5944: make AWS session token optional (#4002) (f26de76)

Performance Improvements

  • NODE-5771: improve new connection (#3948) (a4776cf)
  • NODE-5854: Conditional logger instantiation and precompute willLog perf fix (#3984) (a63fbc2)
  • NODE-5928: consolidate signal use and abort promise wrap (#3992) (38742c2)

6.3.0 (2023-11-15)

Features

  • NODE-3881: require hello command + OP_MSG when 'loadBalanced=True' (#3907) (fd58eec)
  • NODE-4849: Add Typescript support for log path in client options (#3886) (f495abb)
  • NODE-4878: Add remaining log configurable client options (#3908) (54adc9f)
  • NODE-5197: add server monitoring mode (#3899) (ae4c94a)
  • NODE-5452: Logging Cosmos Document DB Info Message (#3902) (bb5fa43)
  • NODE-5590: deprecate GridFS fields (#3905) (d2225da)

... (truncated)

Commits
  • 9ac2e38 chore(main): release 6.4.0 [skip-ci] (#3935)
  • 5f62f56 docs: generate docs from latest main [skip-ci] (#3977)
  • 90f2f70 feat(NODE-5978): upgrade BSON to ^6.4.0 (#4007)
  • 99a0059 test(NODE-5731): add serverless proxy testing (#4003)
  • 1ca6269 test(NODE-5929): convert txn legacy spec tests (#3987)
  • f26de76 fix(NODE-5944): make AWS session token optional (#4002)
  • 09c9b0b chore(NODE-5972): specify TS 5.0 in package.json and package-lock (#4004)
  • eb5e2ab chore(NODE-5829): update driver dependencies (#3994)
  • 233a2e0 refactor(NODE-5964): clean up prepareHandshakeDocument (#4001)
  • ff8b5f5 refactor(NODE-5912): make server.command an async function (#3986)
  • Additional commits viewable in compare view
Maintainer changes

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


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Tenet1Ai and others added 30 commits January 10, 2022 15:39
…rver/services/types/node-17.0.8

Bump @types/node from 16.11.11 to 17.0.8 in /ee/server/services
…rver/services/rocket.chat/emitter-0.31.1

Bump @rocket.chat/emitter from 0.30.1 to 0.31.1 in /ee/server/services
…tream-2.2.0

Bump tar-stream from 1.6.2 to 2.2.0
…rver/services/express-4.17.2

Bump express from 4.17.1 to 4.17.2 in /ee/server/services
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.10.1 to 5.14.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.14.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@rocket.chat/string-helpers](https://github.com/RocketChat/Rocket.Chat.Fuselage/tree/HEAD/packages/string-helpers) from 0.30.1 to 0.31.6.
- [Release notes](https://github.com/RocketChat/Rocket.Chat.Fuselage/releases)
- [Changelog](https://github.com/RocketChat/Rocket.Chat.Fuselage/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/RocketChat/Rocket.Chat.Fuselage/commits/v0.31.6/packages/string-helpers)

---
updated-dependencies:
- dependency-name: "@rocket.chat/string-helpers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [pino](https://github.com/pinojs/pino) from 7.5.1 to 7.8.1.
- [Release notes](https://github.com/pinojs/pino/releases)
- [Commits](pinojs/pino@v7.5.1...v7.8.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@rocket.chat/fuselage-tokens](https://github.com/RocketChat/Rocket.Chat.Fuselage/tree/HEAD/packages/fuselage-tokens) from 0.6.3-dev.362 to 0.31.6.
- [Release notes](https://github.com/RocketChat/Rocket.Chat.Fuselage/releases)
- [Changelog](https://github.com/RocketChat/Rocket.Chat.Fuselage/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/RocketChat/Rocket.Chat.Fuselage/commits/v0.31.6/packages/fuselage-tokens)

---
updated-dependencies:
- dependency-name: "@rocket.chat/fuselage-tokens"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…client-14.0.1

Bump prom-client from 12.0.0 to 14.0.1
…t.chat/fuselage-tokens-0.31.6

Bump @rocket.chat/fuselage-tokens from 0.6.3-dev.362 to 0.31.6
…rver/services/pino-7.8.1

Bump pino from 7.5.1 to 7.8.1 in /ee/server/services
…rver/services/rocket.chat/string-helpers-0.31.6

Bump @rocket.chat/string-helpers from 0.30.1 to 0.31.6 in /ee/server/services
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.8 to 17.0.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…cript-eslint/parser-5.14.0

Bump @typescript-eslint/parser from 3.10.1 to 5.14.0
Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.2...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…rver/services/express-4.17.3

Bump express from 4.17.2 to 4.17.3 in /ee/server/services
Bumps [underscore.string](https://github.com/epeli/underscore.string) from 3.3.5 to 3.3.6.
- [Release notes](https://github.com/epeli/underscore.string/releases)
- [Changelog](https://github.com/esamattis/underscore.string/blob/master/CHANGELOG.markdown)
- [Commits](esamattis/underscore.string@3.3.5...3.3.6)

---
updated-dependencies:
- dependency-name: underscore.string
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…rver/services/underscore.string-3.3.6

Bump underscore.string from 3.3.5 to 3.3.6 in /ee/server/services
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.2 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.5.2...v4.6.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…rver/services/types/node-17.0.21

Bump @types/node from 17.0.8 to 17.0.21 in /ee/server/services
…rver/services/typescript-4.6.2

Bump typescript from 4.5.2 to 4.6.2 in /ee/server/services
Bumps [mem](https://github.com/sindresorhus/mem) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/sindresorhus/mem/releases)
- [Commits](sindresorhus/memoize@v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: mem
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…ions/checkout-3

Bump actions/checkout from 2 to 3
…ions/setup-node-3

Bump actions/setup-node from 2 to 3
…rver/services/mem-9.0.2

Bump mem from 9.0.1 to 9.0.2 in /ee/server/services
Bumps [pm2](https://github.com/Unitech/pm2) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/Unitech/pm2/releases)
- [Changelog](https://github.com/Unitech/pm2/blob/master/CHANGELOG.md)
- [Commits](Unitech/pm2@5.1.2...5.2.0)

---
updated-dependencies:
- dependency-name: pm2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [nats](https://github.com/nats-io/nats.js) from 2.4.0 to 2.6.1.
- [Release notes](https://github.com/nats-io/nats.js/releases)
- [Commits](nats-io/nats.js@v2.4.0...v2.6.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [moleculer](https://github.com/moleculerjs/moleculer) from 0.14.18 to 0.14.19.
- [Release notes](https://github.com/moleculerjs/moleculer/releases)
- [Changelog](https://github.com/moleculerjs/moleculer/blob/master/CHANGELOG.md)
- [Commits](moleculerjs/moleculer@v0.14.18...v0.14.19)

---
updated-dependencies:
- dependency-name: moleculer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
dependabot bot and others added 27 commits December 1, 2022 06:36
Bumps [@rocket.chat/emitter](https://github.com/RocketChat/fuselage) from 0.31.11 to 0.31.21.
- [Release notes](https://github.com/RocketChat/fuselage/releases)
- [Changelog](https://github.com/RocketChat/fuselage/blob/develop/CHANGELOG.md)
- [Commits](RocketChat/fuselage@v0.31.11...v0.31.21)

---
updated-dependencies:
- dependency-name: "@rocket.chat/emitter"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…rver/services/rocket.chat/emitter-0.31.21

Chore(deps): Bump @rocket.chat/emitter from 0.31.11 to 0.31.21 in /ee/server/services
…hanimo/pr-title-checker-1.3.5

Chore(deps): Bump thehanimo/pr-title-checker from 1.3.4 to 1.3.5
…rver/services/moleculer-0.14.26

Chore(deps): Bump moleculer from 0.14.19 to 0.14.26 in /ee/server/services
…ercharge/mongodb-github-action-1.8.0

Chore(deps): Bump supercharge/mongodb-github-action from 1.7.0 to 1.8.0
…ions/download-artifact-3

Chore(deps): Bump actions/download-artifact from 2 to 3
…ions/stale-6

Chore(deps): Bump actions/stale from 5 to 6
…rver/services/ts-node-10.9.1

Chore(deps-dev): Bump ts-node from 10.7.0 to 10.9.1 in /ee/server/services
Bumps [ws](https://github.com/websockets/ws) from 8.5.0 to 8.11.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.5.0...8.11.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [bcrypt](https://github.com/kelektiv/node.bcrypt.js) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/kelektiv/node.bcrypt.js/releases)
- [Changelog](https://github.com/kelektiv/node.bcrypt.js/blob/master/CHANGELOG.md)
- [Commits](kelektiv/node.bcrypt.js@v5.0.1...v5.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.5.10 to 6.5.13.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.13/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.13/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…rver/services/ws-8.11.0

Chore(deps): Bump ws from 8.5.0 to 8.11.0 in /ee/server/services
…rver/services/bcrypt-5.1.0

Chore(deps): Bump bcrypt from 5.0.1 to 5.1.0 in /ee/server/services
…rver/services/ejson-2.2.3

Chore(deps): Bump ejson from 2.2.2 to 2.2.3 in /ee/server/services
…rver/services/pino-8.7.0

Chore(deps): Bump pino from 7.10.0 to 8.7.0 in /ee/server/services
Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 7.6.1 to 9.1.1.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](pinojs/pino-pretty@v7.6.1...v9.1.1)

---
updated-dependencies:
- dependency-name: pino-pretty
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…rver/services/pino-pretty-9.1.1

Chore(deps-dev): Bump pino-pretty from 7.6.1 to 9.1.1 in /ee/server/services
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 4.6.0 to 6.4.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.6.0...v6.4.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 2, 2024
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants