Skip to content

deps: bump wasm-bindgen from 0.2.91 to 0.2.111#506

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/wasm-bindgen-0.2.111
Open

deps: bump wasm-bindgen from 0.2.91 to 0.2.111#506
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/wasm-bindgen-0.2.111

Conversation

@dependabot
Copy link

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

Bumps wasm-bindgen from 0.2.91 to 0.2.111.

Release notes

Sourced from wasm-bindgen's releases.

0.2.111

Fixed

  • Restored backwards compatibility for breaking changes introduced in 0.2.109: 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

0.2.109

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.

  • Added ImmediateClosure<'a, T> as a lightweight, unwind-safe replacement for &dyn FnMut in immediate/synchronous callbacks. Unlike ScopedClosure, it has no JS call on creation, no JS call on drop, and no GC overhead—the same ABI as &dyn FnMut but with panic safety. Use ImmediateClosure::new(&f) for immutable Fn closures (easier to satisfy unwind safety) or ImmediateClosure::new_mut(&mut f) for mutable FnMut closures. Closure parameter types are automatically inferred from context. Also implements From<&ImmediateClosure<T>> for ScopedClosure<T> for API migration. #4950

  • Implement #[wasm_bindgen(catch)] exception handling directly in Wasm using

... (truncated)

Changelog

Sourced from wasm-bindgen's changelog.

wasm-bindgen Change Log


Unreleased

Added

Changed

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

Removed

0.2.109

Added

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

... (truncated)

Commits
  • 693c543 Release 0.2.111 (#4980)
  • ce651fd fix(js-sys): restore backwards compatibility for breaking changes in 0.2.110 ...
  • 39bad71 0.2.110
  • c6ff3e8 fix: refactor closure abort handlers (#4975)
  • dfea5d7 fix: static_method_of generics support, and reverting Array.of1.. generics (#...
  • 815e98d Release 0.2.109 (#4972)
  • 7182a2e fix(web-sys): improve dictionary union expansion and constructor variants (#4...
  • 79bf846 feat(js-sys): add SharedArrayBuffer.grow() binding (#4971)
  • f4234af fix(web-sys): correct scrollTop/scrollLeft types to f64 per CSSOM View spec (...
  • 7449f45 feat(web-sys): add ShowPopoverOptions and TogglePopoverOptions (#4968)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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.91 to 0.2.111.
- [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.91...0.2.111)

---
updated-dependencies:
- dependency-name: wasm-bindgen
  dependency-version: 0.2.111
  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 Feb 23, 2026
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