Skip to content

build(deps): update wasm-bindgen requirement from =0.2.109 to =0.2.114 in /bindings/javascript#663

Merged
Stranger6667 merged 1 commit intomasterfrom
dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.114
Mar 1, 2026
Merged

build(deps): update wasm-bindgen requirement from =0.2.109 to =0.2.114 in /bindings/javascript#663
Stranger6667 merged 1 commit intomasterfrom
dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.114

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 27, 2026

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

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

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 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.109...0.2.114)

---
updated-dependencies:
- dependency-name: wasm-bindgen
  dependency-version: 0.2.114
  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 Feb 27, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 27, 2026

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.114 (6ba1daa) with master (10fa6ad)

Open in CodSpeed

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.52%. Comparing base (10fa6ad) to head (6ba1daa).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #663   +/-   ##
=======================================
  Coverage   91.52%   91.52%           
=======================================
  Files          17       17           
  Lines        2524     2524           
=======================================
  Hits         2310     2310           
  Misses        214      214           

☔ 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.

@Stranger6667 Stranger6667 merged commit 79be618 into master Mar 1, 2026
83 of 86 checks passed
@Stranger6667 Stranger6667 deleted the dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.114 branch March 1, 2026 11:22
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