Skip to content

Bump wasm-bindgen from 0.2.91 to 0.2.127 - #422

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wasm-bindgen-0.2.127
Open

Bump wasm-bindgen from 0.2.91 to 0.2.127#422
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/wasm-bindgen-0.2.127

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 15, 2026

Copy link
Copy Markdown
Contributor

Bumps wasm-bindgen from 0.2.91 to 0.2.127.

Release notes

Sourced from wasm-bindgen's releases.

0.2.127

Added

  • Navigation API to web-sys #5247

  • Added riscv64gc-unknown-linux-gnu release artifacts. #5265

  • Added JsNullable<T>, modeling WebIDL nullable types (T | null). Both null and undefined are treated as absent, per WebIDL's ECMAScript conversion rules; the canonical empty value produced from Rust is null. web-sys now uses JsNullable<T> instead of JsOption<T> for nullable types nested inside generics (e.g. Promise<GpuError?> from GPUDevice.popErrorScope()), fixing spec-defined null resolutions being treated as present values under JsOption<T>'s strict undefined-only semantics. JsNullable<T> participates in the same upcast lattice as JsOption<T> (including contravariant closure argument casts), and additionally upcasts from Null and from JsOption<T> itself. Imported extern types now also upcast into JsOption<JsValue> and JsNullable<JsValue>, so catch-all nullable closures can be used where a typed callback is expected. #5234

Changed

  • Emscripten output now marks public exports (free functions, classes, enums, and namespace roots) with the __export: true and __force: true symbol attributes on their addToLibrary entries, instead of mutating EXPORTED_FUNCTIONS and pushing to extraLibraryFuncs at library-load time. The $initBindgen init closure is kept via __force: true, and private symbols (including namespace leaves) carry neither attribute — they remain reachable through __deps. Requires an emscripten with __export/__force symbol-attribute support.

  • Updated WebGPU bindings to the August 2026 spec, including the new GPUCommandEncoder::copy_buffer_to_buffer overloads and setImmediates. #5246

  • Unstable API overload names now elide name tokens shared by every overload variant: LockManager::request_with_callback is now request, and request_with_options_and_callback is now request_with_options. #5246

Fixed

  • The name property of the JS error thrown for panic=unwind is now set from a string literal instead of PanicError.name, so it survives minification. #5260

... (truncated)

Changelog

Sourced from wasm-bindgen's changelog.

0.2.127

Added

  • Navigation API to web-sys #5247

  • Added #[wasm_bindgen(generic_per_mono)] for imported functions, which binds a generic import once per monomorphisation instead of erasing its type parameters to JsValue. It can be applied to an individual import or to a whole extern "C" block, which every function in the block then inherits. Each instantiation gets its own descriptor, so arguments and return values are marshalled at their concrete types (a u32 crosses as a number, a String as a string) rather than being boxed. Trait bounds, where predicates (including higher-ranked ones), associated-type projections, lifetime parameters, async, catch, and slice_to_array are all supported; see the guide for the supported surface and the shapes that are rejected.

  • Added riscv64gc-unknown-linux-gnu release artifacts. #5265

  • Added JsNullable<T>, modeling WebIDL nullable types (T | null). Both null and undefined are treated as absent, per WebIDL's ECMAScript conversion rules; the canonical empty value produced from Rust is null. web-sys now uses JsNullable<T> instead of JsOption<T> for nullable types nested inside generics (e.g. Promise<GpuError?> from GPUDevice.popErrorScope()), fixing spec-defined null resolutions being treated as present values under JsOption<T>'s strict undefined-only semantics. JsNullable<T> participates in the same upcast lattice as JsOption<T> (including contravariant closure argument casts), and additionally upcasts from Null and from JsOption<T> itself. Imported extern types now also upcast into JsOption<JsValue> and JsNullable<JsValue>, so catch-all nullable closures can be used where a typed callback is expected. #5234

  • Added experimental JSPI (JS Promise Integration) support: using it emits a compiler warning noting the experimental status. Supports #[wasm_bindgen(jspi)] on exports (sync or async), within which a #[wasm_bindgen(suspending)] import call can suspend to the JS event loop until its Promise settles. js_sys::futures::jspi_block_on_promise also suspends on any Promise inside a synchronous function, while spawn_local is context-aware: tasks spawned from within a JSPI context support synchronous JSPI suspensions throughout their call trees. Compatible with catch (rejections as Err), async, and panic=unwind. #5193

Changed

... (truncated)

Commits

Dependabot compatibility score

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)

Bumps [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen) from 0.2.91 to 0.2.127.
- [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.127)

---
updated-dependencies:
- dependency-name: wasm-bindgen
  dependency-version: 0.2.127
  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 Aug 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through 907a88b

No changes.

Add a change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

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