Skip to content

chore(deps): bump wasm-bindgen from 0.2.111 to 0.2.114#69

Merged
LeoMcA merged 1 commit intomainfrom
dependabot/cargo/wasm-bindgen-0.2.114
Mar 4, 2026
Merged

chore(deps): bump wasm-bindgen from 0.2.111 to 0.2.114#69
LeoMcA merged 1 commit intomainfrom
dependabot/cargo/wasm-bindgen-0.2.114

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps wasm-bindgen from 0.2.111 to 0.2.114.

Release notes

Sourced from wasm-bindgen's releases.

0.2.114

Added

  • Added unchecked_optional_param_type attribute for marking exported function parameters as optional in TypeScript (?:) and JSDoc ([paramName]) output. Mutually exclusive with unchecked_param_type. Required parameters after optional parameters are rejected at compile time. #5002

  • Added termination detection for panic=unwind builds. When a non-JS exception (e.g. a Rust panic) escapes from Wasm, the instance is marked as terminated and subsequent calls from JS into Wasm will throw a Module terminated error instead of re-entering corrupted state. #5005

  • When --reset-state is combined with panic=unwind builds, the Wasm instance is automatically reset after a fatal termination, allowing subsequent calls to succeed instead of throwing a Module terminated error. #5013

Changed

  • Replaced runtime 0x80000000 vtable bit-flag for closure unwind safety with a compile-time const UNWIND_SAFE: bool generic on the invoke shim, OwnedClosure, and BorrowedClosure. Removes OwnedClosureUnwind and deduplicates internal closure helpers. The public API is unchanged. #5003

  • Removed unused IntoWasmClosureRef*::WithLifetime types, WasmClosure::to_wasm_slice, and a lifetime from IntoWasmClosureRef*; moved Static associated type into WasmClosure. #5003

Fixed

  • Fixed exported structs/enums/functions with the same js_name but different js_namespace values producing symbol collisions at compile time, by deriving internal wasm symbols from a qualified name that includes the namespace. #4977

  • Fixed soundness hole in ScopedClosure's UpcastFrom that allowed to extend the lifetime after the original ScopedClosure was dropped. #5006

0.2.113

Changed

  • Reduced usage of unsafe code: replaced transmute/transmute_copy with safe alternatives for Boolean/Null/Undefined constants and ArrayTuple conversions, unified duplicated AsRef/From impls for generic imported types, and removed the __wbindgen_object_is_undefined intrinsic in favor of a safe Rust-side equivalent. #4993

... (truncated)

Changelog

Sourced from wasm-bindgen's changelog.

0.2.114

Added

  • Added unchecked_optional_param_type attribute for marking exported function parameters as optional in TypeScript (?:) and JSDoc ([paramName]) output. Mutually exclusive with unchecked_param_type. Required parameters after optional parameters are rejected at compile time. #5002

  • Added termination detection for panic=unwind builds. When a non-JS exception (e.g. a Rust panic) escapes from Wasm, the instance is marked as terminated and subsequent calls from JS into Wasm will throw a Module terminated error instead of re-entering corrupted state. #5005

  • When --reset-state is combined with panic=unwind builds, the Wasm instance is automatically reset after a fatal termination, allowing subsequent calls to succeed instead of throwing a Module terminated error. #5013

Changed

  • Replaced runtime 0x80000000 vtable bit-flag for closure unwind safety with a compile-time const UNWIND_SAFE: bool generic on the invoke shim, OwnedClosure, and BorrowedClosure. Removes OwnedClosureUnwind and deduplicates internal closure helpers. The public API is unchanged. #5003

  • Removed unused IntoWasmClosureRef*::WithLifetime types, WasmClosure::to_wasm_slice, and a lifetime from IntoWasmClosureRef*; moved Static associated type into WasmClosure. #5003

Fixed

  • Fixed exported structs/enums/functions with the same js_name but different js_namespace values producing symbol collisions at compile time, by deriving internal wasm symbols from a qualified name that includes the namespace. #4977

  • Fixed soundness hole in ScopedClosure's UpcastFrom that allowed to extend the lifetime after the original ScopedClosure was dropped. #5006

0.2.113

Changed

  • Reduced usage of unsafe code: replaced transmute/transmute_copy with safe alternatives for Boolean/Null/Undefined constants and ArrayTuple conversions, unified duplicated AsRef/From impls for generic imported types, and removed the __wbindgen_object_is_undefined intrinsic in favor of a safe Rust-side equivalent.

... (truncated)

Commits
  • 22cfd55 0.2.114
  • a0c641a With reset_state + panic=unwind, auto reset after termination (#5013)
  • 8722bce Add termination detection for panic=unwind builds (#5005)
  • e6f7707 build(deps): bump the github-actions group with 2 updates (#5011)
  • baf83ed Update reqwest requirement from 0.12 to 0.13 (#4945)
  • eba6331 feat: add support for unchecked_optional_param_type (#5002)
  • 4850d19 fix: allow same js_name in different js_namespace for exports (#4977)
  • b7ca394 Schema cleanup: rename and remove legacy intrinsics (#4994)
  • e76135e Wrap JS exceptions whenever panic=unwind (#5001)
  • b071cd2 Fix soundness issue in ScopedClosure upcast (#5006)
  • 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 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)

Bumps [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) from 0.2.111 to 0.2.114.
- [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.111...0.2.114)

---
updated-dependencies:
- dependency-name: wasm-bindgen
  dependency-version: 0.2.114
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Mar 2, 2026
@dependabot dependabot bot requested review from a team and mdn-bot as code owners March 2, 2026 12:38
@dependabot dependabot bot requested a review from LeoMcA March 2, 2026 12:38
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 2, 2026
@LeoMcA LeoMcA merged commit dce0257 into main Mar 4, 2026
3 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/wasm-bindgen-0.2.114 branch March 4, 2026 11:38
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.

1 participant