Skip to content

build(deps): update wasm-bindgen requirement from =0.2.117 to =0.2.120 in /bindings/javascript#716

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.120
Open

build(deps): update wasm-bindgen requirement from =0.2.117 to =0.2.120 in /bindings/javascript#716
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.120

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 28, 2026

Updates the requirements on wasm-bindgen to permit the latest version.

Changelog

Sourced from wasm-bindgen's changelog.

wasm-bindgen Change Log


0.2.119

Added

  • Added support for the wasm64-unknown-unknown target (memory64 / wasm64). usize / isize and raw pointers are now lowered through an f64 JS number ABI on wasm64 (matching the existing convention used for Option<u32> etc. on wasm32), with the CLI inspecting the module's memory type to pick the right codegen path. Includes a dedicated wasm64 CI job and test suite covering the new ABI paths. #5004

  • Promise ergonomics: Promise::all_tuple and Promise::all_settled_tuple for heterogeneous concurrent awaits (arity 1..=8, destructure via .into_tuple()), and a new wasm_bindgen::IntoJsGeneric trait underpinning typed-Array inference (with codegen-emitted identity impls and a #[wasm_bindgen(no_into_js_generic)] opt-out for types like JsClosure). Also re-exports JsGeneric from the prelude. Typed collection on js_sys::Array<T> is exposed as the inherent constructor Array::<T>::from_iter_typed (and companion extend_typed), inferring T from the iterator item via IntoJsGeneric. The stable FromIterator / Extend impls on Array (= Array<JsValue>) bound by AsRef<JsValue> are preserved, so existing .collect::<Array>() call sites keep compiling unchanged. Fixes #5042. #5121, #5125

  • Added wasm_bindgen::instance() to return the current WebAssembly.Instance. The generated JS glue retains the instantiated WebAssembly.Instance. #5118

  • Added a --cfg=wasm_bindgen_use_js_sys opt-in that makes async macro codegen use js_sys::futures instead of wasm_bindgen_futures, dropping the need for wasm-bindgen-futures when the crate already depends on js-sys. A cfg is used rather than a Cargo feature so the choice stays scoped to the crate that opts in. #5112 #5127

Changed

  • Simplified generated web-sys bindings by omitting redundant #[wasm_bindgen] attributes when they match wasm-bindgen defaults, including structural method annotations and matching js_name entries. The #[wasm_bindgen] attribute parser now also accepts string-literal forms for extends, static_method_of, and vendor_prefix (alongside the existing

... (truncated)

Commits
  • 3c5043f Release 0.2.120 (#5131)
  • c68c40f release: 0.2.119 - schema bump (#5129)
  • a9f3fb6 Release 0.2.119 (#5126)
  • 17d783e Switch js-sys macro codegen opt-in from Cargo feature to cfg (#5127)
  • 33b1244 Restore stable AsRef<JsValue>-based FromIterator/Extend for Array; expose typ...
  • 208e874 Simplify web-sys generated bindings (#5122)
  • 3455345 Add wasm64/memory64 support for wasm64-unknown-unknown target (#5004)
  • 4c8fd1f Use js_sys::futures instead of wasm_bindgen_futures in codegen (#5112)
  • e82e693 Use Publish Environment (#5124)
  • 5727923 feat: Promise ergonomics for typed concurrent awaits (#5121)
  • Additional commits viewable in compare view

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 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)

Updates the requirements on [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) to permit the latest version.
- [Release notes](https://github.com/wasm-bindgen/wasm-bindgen/releases)
- [Changelog](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](wasm-bindgen/wasm-bindgen@0.2.117...0.2.120)

---
updated-dependencies:
- dependency-name: wasm-bindgen
  dependency-version: 0.2.120
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 28, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.95%. Comparing base (d75bdfb) to head (a41b8f6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #716      +/-   ##
==========================================
- Coverage   91.99%   91.95%   -0.04%     
==========================================
  Files          17       17              
  Lines        2562     2562              
==========================================
- Hits         2357     2356       -1     
- Misses        205      206       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 28, 2026

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.120 (a41b8f6) with master (d75bdfb)

Open in CodSpeed

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 rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants