Skip to content

Comments

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

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

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

Conversation

@dependabot
Copy link
Contributor

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

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

Release notes

Sourced from wasm-bindgen's releases.

0.2.112

Removed

  • Removed ImmediateClosure type introduced in 0.2.109. Stack-borrowed &dyn Fn / &mut dyn FnMut closures are now treated as unwind safe by default (panics are caught and converted to JS exceptions with proper unwinding). A unified ScopedClosure::immediate approach may be revisited in a future release. #4986
Changelog

Sourced from wasm-bindgen's changelog.

0.2.112

Removed

  • Removed ImmediateClosure type introduced in 0.2.109. Stack-borrowed &dyn Fn / &mut dyn FnMut closures are now treated as unwind safe by default (panics are caught and converted to JS exceptions with proper unwinding). A unified ScopedClosure::immediate approach may be revisited in a future release. #4986

0.2.111

Fixed

  • Restored backwards compatibility for breaking changes introduced in 0.2.110: re-added deprecated Promise::then2 binding, reverted Promise::all_settled stable signature to take &JsValue instead of owned Object, and added default type parameters (= JsValue) to ArrayIntoIter, ArrayIter, and Iter structs. #4979

0.2.110

Changed

  • Refactor new closure methods - ensures that all closure constructor functions have the variants Closure::foo(), Closure::foo_aborting() and Closure::foo_assert_unwind_safe() this then fully allows switching from the UnwindSafe bound now being applies on foo() to use one of the alternatives, given these limitations of AssertUnwindSafe. The same applies to ImmediateClosure. In addition, mutable reentrancy guards are added for ImmediateClosure, and it is updated to be pass-by-value as well. #4975

Fixed

  • Fixed a regression where Array.of1,... variants using generic Array<T> broke inference. Reverted to use non-generic JsValue arguments. In addition extends generic class hoisting to for constructors to also include static_method_of methods returning the own type, to allow Array::of generic to now be on the Array<T> impl block. #4974

0.2.109

Added

  • Added support for erasable generic type parameters on imported JavaScript types, using sound type erasure in JS bindgen boundary. Includes updated js-sys bindings with generic implementations for many standard JS types and functions including Array<T>, Promise<T>, Map<K, V>, Iterator<T>, and more. #4876

  • Added ScopedClosure<'a, T> as a unified closure type with lifetime parameter. ScopedClosure::borrow(&f) (for immutable Fn) and ScopedClosure::borrow_mut(&mut f) (for mutable FnMut) create borrowed closures that can capture non-'static references, ideal for immediate/synchronous JS callbacks. Closure<T> is now a type alias for ScopedClosure<'static, T>, maintaining backwards compatibility. Also added IntoWasmAbi implementation for Closure<T> enabling pass-by-value ownership transfer to JavaScript.

... (truncated)

Commits

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

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

codspeed-hq bot commented Feb 24, 2026

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.112 (0519a9f) with master (10fa6ad)

Open in CodSpeed

@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.52%. Comparing base (10fa6ad) to head (0519a9f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #661   +/-   ##
=======================================
  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.

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