Skip to content

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

Merged
Stranger6667 merged 1 commit intomasterfrom
dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.109
Feb 20, 2026
Merged

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

Conversation

@dependabot
Copy link
Contributor

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

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

Release notes

Sourced from wasm-bindgen's releases.

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 WebAssembly.JSTag when Wasm exception handling is available. This generates smaller and faster code by avoiding JavaScript handleError wrapper functions. #4942

  • Add Node.js worker_threads support for atomics builds. When targeting Node.js with atomics enabled, wasm-bindgen now generates initSync({ module, memory, thread_stack_size }) and __wbg_get_imports(memory) functions that allow worker threads to initialize with a shared WebAssembly.Memory and pre-compiled module. Auto-initialization occurs only on the main thread for backwards compatibility.

  • Added a panic message when a getter has more than one argument. #4936

  • Added support for WebIDL namespace attributes in wasm-bindgen-webidl. This enables APIs like the CSS Custom Highlight API which adds the highlights attribute to the CSS namespace. #4930

  • Added stable ShowPopoverOptions dictionary and show_popover_with_options() method to HtmlElement, and unstable TogglePopoverOptions dictionary per the WHATWG HTML spec. #4968

  • Added unstable Geolocation API types per the latest W3C spec: GeolocationCoordinates, GeolocationPosition, and GeolocationPositionError. The Geolocation interface now has both stable methods (using the old Position/PositionError types with [Throws]) and unstable methods (using the new types without [Throws]}, matching actual browser behavior). #2578

  • Added matrixTransform() method to DOMPointReadOnly in web-sys. #4962

  • Added the web and node targets to the --experimental-reset-state-function flag. #4909

... (truncated)

Changelog

Sourced from wasm-bindgen's changelog.

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 WebAssembly.JSTag when Wasm exception handling is available. This generates smaller and faster code by avoiding JavaScript handleError wrapper functions. #4942

  • Add Node.js worker_threads support for atomics builds. When targeting Node.js with atomics enabled, wasm-bindgen now generates initSync({ module, memory, thread_stack_size }) and __wbg_get_imports(memory) functions that allow worker threads to initialize with a shared WebAssembly.Memory and pre-compiled module. Auto-initialization occurs only on the main thread for backwards compatibility.

  • Added a panic message when a getter has more than one argument. #4936

  • Added support for WebIDL namespace attributes in wasm-bindgen-webidl. This enables APIs like the CSS Custom Highlight API which adds the highlights attribute to the CSS namespace. #4930

  • Added stable ShowPopoverOptions dictionary and show_popover_with_options() method to HtmlElement, and unstable TogglePopoverOptions dictionary per the WHATWG HTML spec. #4968

  • Added unstable Geolocation API types per the latest W3C spec: GeolocationCoordinates, GeolocationPosition, and GeolocationPositionError. The Geolocation interface now has both stable methods (using the old Position/PositionError types with [Throws]) and unstable methods (using the new types without [Throws]}, matching actual browser behavior). #2578

  • Added matrixTransform() method to DOMPointReadOnly in web-sys. #4962

  • Added the web and node targets to the --experimental-reset-state-function flag. #4909

... (truncated)

Commits
  • 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)
  • f20c013 Update WebGPU to 2026-02-12 (#4955)
  • 3ebac53 feat(web-sys): add matrixTransform method to DOMPointReadOnly (#4962)
  • 9e9aaab Fix aliased exports (#4947)
  • 138c9b9 Fix incorrect Closure adapter deduplication after wasm-ld ICF (#4954)
  • 464f845 CanvasRenderingContext2d.get_image_data argument is float (#1920)
  • 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.108...0.2.109)

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

codspeed-hq bot commented Feb 20, 2026

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.109 (bd25551) with master (606294d)

Open in CodSpeed

@Stranger6667 Stranger6667 merged commit 10fa6ad into master Feb 20, 2026
84 checks passed
@Stranger6667 Stranger6667 deleted the dependabot/cargo/bindings/javascript/wasm-bindgen-eq-0.2.109 branch February 20, 2026 22:45
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

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

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

1 participant