deps: update dependencies across the workspace - #1046
Merged
Conversation
Updates wasm-bindgen to 0.2.127 (submodule + aligned crate pins),
js-sys/web-sys 0.3.104, and major bumps: syn 3, strum 0.28,
wit-parser 0.256, prettyplease 0.3, convert_case 0.11,
cargo_metadata 0.23, toml 1.1, rand 0.10, getrandom 0.4, md5 0.8,
tungstenite 0.30, mail-builder 0.5, num-bigint 0.5. JS deps:
workers-types 5, vitest 4, typescript 7, miniflare 4.20260730.
matchit is intentionally held at 0.7: matchit 0.8+ changed route
param syntax from ':param' to '{param}', which is a breaking change
to the worker Router public API.
cargo-platform is pinned to 0.3.1 and time to 0.3.48 in the
lockfile to preserve rustc 1.87 compatibility.
wasm-bindgen is version-locked against the submodule and updated separately. miniflare now requires namespace_id on ratelimits.
binaryen 132 includes compact-imports in --all-features, but workerd does not yet support the encoding (import kind 0x7f).
…ures --all-features lets each new binaryen release emit encodings before workerd supports them (binaryen 132 emitted compact imports, which workerd rejects). Enable exactly the rustc wasm32 defaults plus exception-handling for wasm-bindgen catch wrappers, so unsupported proposals fail loudly at build time instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates workspace dependencies as far as currently practical, including a full lockfile refresh and major version bumps.
wasm-bindgen (and js-sys/web-sys/futures/test) is deliberately not touched — it is version-locked against the submodule and updated separately.
ItemFndestructuring now uses..; worker-codegen:syn::Filegainedfrontmatter)Function::result: Option<Type>replacingResults, andVec<Param>params)random_rangemoved toRngExt), getrandom 0.4, md5 0.8, tungstenite 0.30namespace_idon ratelimit configs — test fixed), changesets majorsDeliberate holds:
matchitstays at 0.7: matchit 0.8+ changed route param syntax from:paramto{param}, which would silently break theRouterpublic API for all users. Bumping it is a semver-major decision for workers-rs itself.timestays at 0.3.48 (main's current version) in the lockfile: newer releases use edition-2024 let-chains (rustc 1.88+), and 0.3.48 cannot be re-resolved fresh since its exact-pinnedtime-macros0.2.28 is yanked.cargo-platformpinned to 0.3.1 in the lockfile (0.3.2+ declares rust-version above the repo's 1.87 CI toolchain).The lockfile was resolved with a 1.87 toolchain (MSRV-aware fallback) to match CI. Verified locally: workspace check, both clippy configurations, rustfmt, worker-build wasm build of the test crate, and the full vitest suite (137 passed).