Skip to content

Bump wasm-bindgen from 0.2.127 to 0.2.128 in the rust group - #145

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust-efafac8716
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust-efafac8716

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the rust group with 1 update: wasm-bindgen.

Updates wasm-bindgen from 0.2.127 to 0.2.128

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 compatibility score

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 rust group with 1 update: [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen).


Updates `wasm-bindgen` from 0.2.127 to 0.2.128
- [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
  update-type: version-update:semver-patch
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added lang: rust PRs or issues related to Rust part: dependencies PRs or issues related to dependencies labels Oct 1, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Looks like wasm-bindgen is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 1, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/rust-efafac8716 branch October 1, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang: rust PRs or issues related to Rust part: dependencies PRs or issues related to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants