Skip to content

chore!: bump web-transport-trait to 0.5 and its implementors - #401

Merged
kixelated merged 2 commits into
mainfrom
chore/trait-0.5
Sep 27, 2026
Merged

kixelated merged 2 commits into
mainfrom
chore/trait-0.5

Conversation

@kixelated

@kixelated kixelated commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

#390 changed SendStream::set_priority (both the async and poll traits) from u8 to i32 but left web-transport-trait at 0.4.0, so it can't be released as is. The open release-plz PR (#363) proposes 0.4.1. This bumps the trait to 0.5.0 and gives a breaking bump to every crate whose public API implements or re-exports it:

crate from to why
web-transport-trait 0.4.0 0.5.0 set_priority signature
qmux 0.5.1 0.6.0 implements the trait
web-transport-quinn 0.12.1 0.13.0 implements the trait
web-transport-noq 0.3.0 0.4.0 implements the trait
web-transport-quiche 0.7.0 0.8.0 implements the trait
web-transport-iroh 0.7.0 0.8.0 implements the trait
web-transport-wasm 0.6.0 0.7.0 implements the trait
web-transport 0.12.0 0.13.0 re-exports quinn and wasm
web-transport-ffi 0.1.2 0.2.0 public Rust fns take web_transport_quinn types
web-transport-node 0.0.6 0.0.7 depends on quinn

web-transport-proto is unchanged. Internal dependency requirements and the qmux README follow. cargo check --workspace --all-targets passes.

Downstream: moq-dev/noq#13 moves web-transport-moq to trait 0.5. moq-dev/moq#4262 moves moq to it (on dev, since moq-net re-exports the trait).

#363 will need regenerating after this merges.

(Written by Opus 5.5)

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T01:26:32.415972Z 49873d9 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: e3caf347fc

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

tokio = { version = "1", features = ["sync"] }
url = "2"
web-transport-quinn = { path = "../web-transport-quinn", version = "0.12" }
web-transport-quinn = { path = "../web-transport-quinn", version = "0.13" }

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 Bump the npm package with the Node crate

When this reaches main, .github/workflows/release-js.yml will build new native modules because rs/web-transport-node/** changed, but js/web-transport/scripts/release.ts exits before publishing when the main npm version is already published. Since js/web-transport/package.json and its platform manifests remain at 0.1.4, the newly built 0.13-based binaries will be discarded and npm users will remain on the old native code; bump the main and platform npm versions and their optional-dependency pins together with this dependency change.

AGENTS.md reference: AGENTS.md:L40-L42

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Agreed. The native module has picked up fixes since 0.1.4 shipped in July, so without a bump release-js would rebuild and then drop the binaries. I bumped @moq/web-transport, its five platform packages, and the optional-dependency pins to 0.1.5. As in #320, the platform lockfile entries are removed until 0.1.5 is on npm.

(Written by Opus 5.5)

@coderabbitai

coderabbitai Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Caution

Review failed

An error occurred during the review process. Please try again later.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 6b94f297-4b6d-4767-986d-5253966e869c

📥 Commits

Reviewing files that changed from the base of the PR and between e3caf34 and 5872de3.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (6)
  • js/web-transport/npm/darwin-arm64/package.json
  • js/web-transport/npm/darwin-x64/package.json
  • js/web-transport/npm/linux-arm64-gnu/package.json
  • js/web-transport/npm/linux-x64-gnu/package.json
  • js/web-transport/npm/win32-x64-msvc/package.json
  • js/web-transport/package.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.


Walkthrough

The workspace dependency requirements for web-transport-quinn and web-transport-trait change to 0.13 and 0.5. Package versions change across qmux and the web-transport crates. The web-transport-node and web-transport manifests also update dependency requirements. The qmux installation example now uses version 0.6. The JavaScript package and its five platform-specific packages change from version 0.1.4 to 0.1.5.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 5872d

The Rust dependency and crate versions align, and the JavaScript wrapper and platform package versions are consistent. No actionable merge-blocking risk was identified in these release metadata changes.

Architecture Summary

Architecture risk: 🔵 Low · up to 5872d

The change affects 3 systems.

Changed systems: rs, js, Cargo.toml

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — rs (service) was modified; 11 changed files map to changed impact.
  • observed — js (service) was modified; 6 changed files map to changed impact.
  • observed — Cargo.toml (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in Cargo.toml: The workspace dependency versions change to 0.13 for web-transport-quinn and 0.5 for web-transport-trait; Quinn retains default-features = false.
  • observed — Modified behavior in rs/qmux/Cargo.toml: The package version changes from 0.5.1 to 0.6.0.
  • observed — Modified behavior in rs/qmux/README.md: The dependency version in the installation example changes from 0.5 to 0.6.
  • observed — Modified behavior in rs/web-transport-ffi/Cargo.toml: The package version changes from 0.1.2 to 0.2.0.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: bumping web-transport-trait to 0.5 and updating its implementors.
Description check ✅ Passed The description directly explains the trait change, affected crates, version bumps, dependency updates, validation, and downstream impact.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
✨ Simplify code
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

kixelated and others added 2 commits September 26, 2026 18:22
#390 changed SendStream::set_priority from u8 to i32 without bumping
the trait. Bump it to 0.5.0 and give every crate whose public API
implements or re-exports it a breaking bump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The node crate changed, so release-js rebuilds the native modules on merge,
but it skips publishing when the npm version is already released. Bump the
main and platform packages so the new binaries ship.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

Merge summary:

#363 needs regenerating after this lands.

(Written by Opus 5.5)

@kixelated
kixelated enabled auto-merge (squash) September 27, 2026 01:22

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

Copy link
Copy Markdown

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: 49873d9cbc

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

license = "MIT OR Apache-2.0"

version = "0.4.0"
version = "0.5.0"

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 Document the breaking releases in the changelogs

When 0.5.0 is published, rs/web-transport-trait/CHANGELOG.md will still jump from an empty Unreleased section to 0.4.0, so users have no release note explaining that SendStream::set_priority changed from u8 to i32; the corresponding implementor changelogs likewise omit their newly assigned versions. Add release entries for these version bumps and the breaking migration before publishing them.

AGENTS.md reference: AGENTS.md:L52-L53

Useful? React with 👍 / 👎.

@kixelated
kixelated merged commit f08994d into main Sep 27, 2026
16 checks passed
@kixelated
kixelated deleted the chore/trait-0.5 branch September 27, 2026 01:47
@moq-bot moq-bot Bot mentioned this pull request Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant