Skip to content

chore(deps): bump the tokio group across 1 directory with 2 updates#25544

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/tokio-68dc25c658
Open

chore(deps): bump the tokio group across 1 directory with 2 updates#25544
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/tokio-68dc25c658

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Bumps the tokio group with 2 updates in the / directory: tokio and tokio-tungstenite.

Updates tokio from 1.52.2 to 1.52.3

Release notes

Sourced from tokio's releases.

Tokio v1.52.3

1.52.3 (May 8th, 2026)

Fixed

  • sync: fix underflow in mpsc channel len() (#8062)
  • sync: notify receivers in mpsc OwnedPermit::release() method (#8075)
  • sync: require that an RwLock has max_readers != 0 (#8076)
  • sync: return Empty from try_recv() when mpsc is closed with outstanding permits (#8074)

#8062: tokio-rs/tokio#8062 #8074: tokio-rs/tokio#8074 #8075: tokio-rs/tokio#8075 #8076: tokio-rs/tokio#8076

Commits

Updates tokio-tungstenite from 0.20.1 to 0.29.0

Changelog

Sourced from tokio-tungstenite's changelog.

0.29.0

0.28.0

0.27.0

0.26.2

0.26.1

  • Update tungstenite to address an issue that might cause UB in certain cases.

0.26.0

0.25.0

0.24.0

  • Update dependencies (TLS, tungstenite).
  • Return a runtime error when WSS URLs are used without a proper TLS feature enabled.

0.23.1

  • Introduce a url feature (proxies to tungstenite/url).

0.23.0

  • Update tungstenite to 0.23.0.
  • Disable default features on TLS crates.

0.22.0

  • Update TLS dependencies.
  • Update tungstenite to match 0.22.0.

0.21.0

  • Update TLS dependencies.

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the tokio group with 2 updates in the / directory: [tokio](https://github.com/tokio-rs/tokio) and [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite).


Updates `tokio` from 1.52.2 to 1.52.3
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.52.2...tokio-1.52.3)

Updates `tokio-tungstenite` from 0.20.1 to 0.29.0
- [Changelog](https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md)
- [Commits](snapview/tokio-tungstenite@v0.20.1...v0.29.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.52.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tokio
- dependency-name: tokio-tungstenite
  dependency-version: 0.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tokio
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the domain: deps Anything related to Vector's dependencies label Jun 1, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 1, 2026 07:18
@dependabot dependabot Bot added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Jun 1, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7b0cc526c5

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread Cargo.toml
tokio-stream = { version = "0.1.18", default-features = false }
tokio-test = "0.4.5"
tokio-tungstenite = { version = "0.20.1", default-features = false }
tokio-tungstenite = { version = "0.29.0", default-features = false }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve websocket buffer sizing

With this bump, every Vector websocket connection that uses tungstenite defaults now gets the newer WebSocketConfig::read_buffer_size default of 128 KiB, and that buffer is eagerly allocated. The websocket client path currently calls WebSocketConfig::default() in src/common/websocket.rs, and the websocket server path uses accept_hdr_async without passing a config, so deployments with many websocket source/server connections can see a large RSS increase compared with the old 0.20.x defaults unless we explicitly configure the previous smaller read buffer.

Useful? React with 👍 / 👎.

Comment thread Cargo.lock
Comment on lines 12485 to 12487
name = "tungstenite"
version = "0.20.1"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Regenerate the license inventory

Because this bump removes tungstenite's transitive utf-8 dependency from Cargo.lock but leaves LICENSE-3rdparty.csv unchanged, make check-licenses/CI will still see an inventory entry for a crate no longer in the resolved dependency graph. Regenerate the license inventory (e.g. make build-licenses) as part of this dependency update so the packaged third-party license list matches the lockfile.

Useful? React with 👍 / 👎.

Comment thread Cargo.toml
tokio-stream = { version = "0.1.18", default-features = false }
tokio-test = "0.4.5"
tokio-tungstenite = { version = "0.20.1", default-features = false }
tokio-tungstenite = { version = "0.29.0", default-features = false }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Migrate websocket handshakes to http 1

Upgrading to tokio-tungstenite 0.29 also moves tungstenite's handshake Request/Response types from http 0.2 to http 1, but the websocket paths still pass those values to helpers typed against this crate's http 0.2 API (auth.apply(&mut request) in the client connector, and auth.handle_auth(..., req.headers(), ...) plus StatusCode::UNAUTHORIZED in the server callback). Enabling sources-websocket or sinks-websocket-server will fail to build until these handshakes use http-1-compatible types or explicitly convert between versions.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: deps Anything related to Vector's dependencies no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants