Skip to content

build(deps): update wasm-bindgen requirement from =0.2.127 to =0.2.128 in /bindings/javascript - #783

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.128
Open

build(deps): update wasm-bindgen requirement from =0.2.127 to =0.2.128 in /bindings/javascript#783
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.128

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 8, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

Sourced from wasm-bindgen's releases.

0.2.128

Added

  • Added OffscreenCanvas overloads for the WebGL texImage2D, texSubImage2D, texImage3D and texSubImage3D functions, matching the TexImageSource typedef in the WebGL specification. #5312

  • Added --split-debug-info to the CLI. This option extracts the DWARF debug info to a separate *_bg.debug.wasm file. Use --debug-info-url to set the recorded URL for the debug info. #5279

  • Added #[wasm_bindgen(experimental_generic_mono)] for imported functions, which binds a generic import once per monomorphisation instead of erasing its type parameters to JsValue. It can be applied to an individual import or to a whole extern "C" block, which every generic function in the block then inherits. Each instantiation gets its own descriptor, so arguments and return values are marshalled at their concrete types (a u32 crosses as a number, a String as a string) rather than being boxed. Trait bounds, where predicates (including higher-ranked ones), associated-type projections, lifetime parameters, argument-position impl Trait, raw callbacks with owned generic inputs and returns, async, catch, and slice_to_array are all supported; see the guide for the supported surface and the shapes that are rejected. The attribute is experimental and may change as it stabilizes. #5230 #5272 #5314

  • #[wasm_bindgen(experimental_generic_mono)] now supports class-level generic parameters: an imported type that is itself generic (type Holder<T>), used as a method receiver (this: &Holder<T>), or as the return type of a constructor or self-returning static method (fn new<T>(value: T) -> Holder<T>). See Class-level generics in the guide. #5290

  • A generic imported type used as a method receiver or a constructor's return type may now carry concrete generic arguments (this: &Holder<u32>, this: &Holder<u32, T>). The arguments are re-emitted as written, so the generated method hangs off impl Holder<u32> rather than the class's own parameter defaults. #5290

  • Added experimental JSPI (JS Promise Integration) support: using it emits a compiler warning noting the experimental status. Supports #[wasm_bindgen(jspi)] on exports (sync or async), within which a #[wasm_bindgen(suspending)] import call can suspend to the JS event loop until its Promise settles. js_sys::futures::jspi_block_on_promise

... (truncated)

Changelog

Sourced from wasm-bindgen's changelog.

0.2.128

Added

  • Added OffscreenCanvas overloads for the WebGL texImage2D, texSubImage2D, texImage3D and texSubImage3D functions, matching the TexImageSource typedef in the WebGL specification. #5312

  • Added --split-debug-info to the CLI. This option extracts the DWARF debug info to a separate *_bg.debug.wasm file. Use --debug-info-url to set the recorded URL for the debug info. #5279

  • Added #[wasm_bindgen(experimental_generic_mono)] for imported functions, which binds a generic import once per monomorphisation instead of erasing its type parameters to JsValue. It can be applied to an individual import or to a whole extern "C" block, which every generic function in the block then inherits. Each instantiation gets its own descriptor, so arguments and return values are marshalled at their concrete types (a u32 crosses as a number, a String as a string) rather than being boxed. Trait bounds, where predicates (including higher-ranked ones), associated-type projections, lifetime parameters, argument-position impl Trait, raw callbacks with owned generic inputs and returns, async, catch, and slice_to_array are all supported; see the guide for the supported surface and the shapes that are rejected. The attribute is experimental and may change as it stabilizes. #5230 #5272 #5314

  • Added the experimental, sealed JsStringLike marker trait — implemented for String/&str (and js_sys::JsString/&js_sys::JsString in js-sys) — as a bound for experimental_generic_mono imports that accept any string shape at its native wire format.

  • #[wasm_bindgen(experimental_generic_mono)] now supports class-level generic parameters: an imported type that is itself generic (type Holder<T>), used as a method receiver (this: &Holder<T>), or as the return type of a constructor or self-returning static method (fn new<T>(value: T) -> Holder<T>). See Class-level generics in the guide. #5290

  • A generic imported type used as a method receiver or a constructor's return type may now carry concrete generic arguments (this: &Holder<u32>, this: &Holder<u32, T>). The arguments are re-emitted as written, so the generated method hangs off impl Holder<u32> rather than the class's own parameter defaults. #5290

... (truncated)

Commits
  • 246946f Release 0.2.128 (#5319)
  • 81c701d Generate correct type for vec of c-style enum (#5321)
  • 6e8b940 js-sys: fix compilation failure with no_std and futures-core-03-stream (#...
  • bd07ee8 Add JsStringLike marker trait (#5316)
  • f2effca Revert "cli-support: --experimental-memory-discard trampoline generation (#52...
  • a3244b4 Whitelist unstable Bluetooth and WebUSB write APIs as immutable slices (#5309)
  • a94c1ed Skip the thread-bootstrap transform in Emscripten mode (#5315)
  • 25ebcae web-sys: include OffscreenCanvas in WebGL texImage* functions (#5312)
  • e689172 Per-monomorphization generic callbacks (#5314)
  • 0643142 Update main branch in URLs (#5313)
  • 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.127...0.2.128)

---
updated-dependencies:
- dependency-name: wasm-bindgen
  dependency-version: 0.2.128
  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 Sep 8, 2026
@codspeed-hq

codspeed-hq Bot commented Sep 8, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.128 (5137f57) with master (6881d9b)

Open in CodSpeed

@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.04%. Comparing base (6881d9b) to head (5137f57).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #783   +/-   ##
=======================================
  Coverage   92.04%   92.04%           
=======================================
  Files          17       17           
  Lines        2603     2603           
=======================================
  Hits         2396     2396           
  Misses        207      207           

☔ View full report in Codecov by Harness.
📢 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.

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