Skip to content

build(deps): update wasm-bindgen requirement from =0.2.129 to =0.2.130 - #877

Merged
Stranger6667 merged 1 commit into
masterfrom
dependabot/cargo/wasm-bindgen-eq-0.2.130
Nov 4, 2026
Merged

Stranger6667 merged 1 commit into
masterfrom
dependabot/cargo/wasm-bindgen-eq-0.2.130

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

Sourced from wasm-bindgen's releases.

0.2.130

Added

  • A borrowed number, bool, char or borrowed string crosses by copy, so &f64, &Option<T>, &Nullable<T>, Option<&f64> and Option<&Nullable<T>> are argument types, and an experimental_generic_mono import taking &T accepts T = f64, Option<f64> or Nullable<String>, as std's contains(&T) does. #5436

  • Added a rejection type parameter to js_sys::Promise<T, E = JsValue>, mirrored on JsFuture<T, E>, PromiseState<T, E> and PromiseWithResolvers<T, E>. Awaiting a Promise<T, E> yields Result<T, E>, converting the rejection reason as an E the same unchecked way the fulfilled value is converted as a T. Both parameters are covariant under Upcast; catch, then_with_reject and the withResolvers reject function receive an E; all_tuple / all_settled_tuple carry a shared E through; and under js_sys_unstable_apis, Promise::new, Promise::reject and Promise::any are typed on the rejection too, any as AggregateError. The default keeps existing Promise<T> code unchanged. PromiseWithResolvers<T, E> is invariant in both, since its resolve and reject functions take them, and JsFuture<T, E> is UnwindSafe whenever T and E are. #5426

  • Added the --js-string-builtins CLI flag, importing static_string constants as JS String Builtins string constants from wasm:js/string-constants instead of defining them in the JS glue. With reference types, static_string constants now occupy fixed externref table slots filled in when the module is instantiated, so cloning and dropping them is free and never calls into JS. #5401

  • Added Nullable<T>, re-exported as js_sys::Nullable, for a T | null value at the JS boundary, as Option<T> is for T | undefined, with Option<Nullable<T>> for T | null | undefined. Both are accepted wherever Option<T> is, for every T and in every position: JS null is Nullable::Null and is sent back as null, while undefined into a plain Nullable<T> goes to T's own conversion. A plain Option<T> still reads both undefined and null as None and writes None as undefined; the Option layer of Option<Nullable<T>> treats only undefined as None, since null has to reach the Nullable layer. Option<T> converts from and into Nullable<T>, and JsNullable<T> converts from both and into Option<Nullable<T>> for T: JsGeneric. The API follows Option's, including ok_or, and_then, filter, as_deref, take, replace and IntoIterator, and --cfg wasm_bindgen_unstable_try_trait enables ? on nightly. NullableIntoWasmAbi / NullableFromWasmAbi carry Nullable<T>'s null for every T, and are supertraits of JsStringLike and the js-sys

... (truncated)

Changelog

Sourced from wasm-bindgen's changelog.

0.2.130

Added

  • A borrowed number, bool, char or borrowed string crosses by copy, so &f64, &Option<T>, &Nullable<T>, Option<&f64> and Option<&Nullable<T>> are argument types, and an experimental_generic_mono import taking &T accepts T = f64, Option<f64> or Nullable<String>, as std's contains(&T) does. #5436

  • Added a rejection type parameter to js_sys::Promise<T, E = JsValue>, mirrored on JsFuture<T, E>, PromiseState<T, E> and PromiseWithResolvers<T, E>. Awaiting a Promise<T, E> yields Result<T, E>, converting the rejection reason as an E the same unchecked way the fulfilled value is converted as a T. Both parameters are covariant under Upcast; catch, then_with_reject and the withResolvers reject function receive an E; all_tuple / all_settled_tuple carry a shared E through; and under js_sys_unstable_apis, Promise::new, Promise::reject and Promise::any are typed on the rejection too, any as AggregateError. The default keeps existing Promise<T> code unchanged. PromiseWithResolvers<T, E> is invariant in both, since its resolve and reject functions take them, and JsFuture<T, E> is UnwindSafe whenever T and E are. #5426

  • Added the --js-string-builtins CLI flag, importing static_string constants as JS String Builtins string constants from wasm:js/string-constants instead of defining them in the JS glue. With reference types, static_string constants now occupy fixed externref table slots filled in when the module is instantiated, so cloning and dropping them is free and never calls into JS. #5401

  • Added Nullable<T>, re-exported as js_sys::Nullable, for a T | null value at the JS boundary, as Option<T> is for T | undefined, with Option<Nullable<T>> for T | null | undefined. Both are accepted wherever Option<T> is, for every T and in every position: JS null is Nullable::Null and is sent back as null, while undefined into a plain Nullable<T> goes to T's own conversion. A plain Option<T> still reads both undefined and null as None and writes None as undefined; the Option layer of Option<Nullable<T>> treats only undefined as None, since null has to reach the Nullable layer. Option<T> converts from and into Nullable<T>, and JsNullable<T> converts from both and into Option<Nullable<T>> for T: JsGeneric. The API follows Option's, including ok_or, and_then, filter, as_deref, take, replace and IntoIterator, and --cfg wasm_bindgen_unstable_try_trait enables ? on nightly. NullableIntoWasmAbi / NullableFromWasmAbi carry Nullable<T>'s null

... (truncated)

Commits
  • c93b8ae Release 0.2.130 (#5418)
  • f4f4d33 Rework the js-sys Temporal bindings against the final specification (#5402)
  • 7e9536a Fill in the upcasts between Rust carriers, optional carriers and JS values (#...
  • 50dd6a0 Fix UpcastFrom soundness via lifetime-faithful ErasableGeneric repr (#5178)
  • 5a9fbdf Borrowed scalars and optionals cross by copy, so a mono &T import takes any e...
  • 4bc5371 Check wasm-bindgen-bot auto-merge when do not land is removed (#5430)
  • edc57f8 Loosen the JsGeneric bounds on js-sys Function slots and type-level positions...
  • b2e142f Share one in-flight initialization across concurrent __wbg_init calls (#5429)
  • 1859ca8 Add a rejection type parameter to js_sys::Promise<T, E> (#5426)
  • bc6df41 Remove the strict Option cfg so Option<T> reads null as None again (#5428)
  • 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.129...0.2.130)

---
updated-dependencies:
- dependency-name: wasm-bindgen
  dependency-version: 0.2.130
  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 Nov 2, 2026
@codspeed

codspeed Bot commented Nov 2, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 26 untouched benchmarks


Comparing dependabot/cargo/wasm-bindgen-eq-0.2.130 (a1d5e8f) with master (794bbd9)

Open in CodSpeed

@codecov

codecov Bot commented Nov 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.60%. Comparing base (794bbd9) to head (a1d5e8f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #877   +/-   ##
=======================================
  Coverage   95.60%   95.60%           
=======================================
  Files          18       18           
  Lines        4141     4141           
=======================================
  Hits         3959     3959           
  Misses        182      182           

☔ View full report in Codecov by Harness.
📢 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 049bcf4 into master Nov 4, 2026
92 of 93 checks passed
@Stranger6667
Stranger6667 deleted the dependabot/cargo/wasm-bindgen-eq-0.2.130 branch November 4, 2026 00:08
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