Skip to content

chore(deps): bump the rust-dependencies group with 2 updates#29

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust-dependencies-315722b978
Closed

chore(deps): bump the rust-dependencies group with 2 updates#29
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust-dependencies-315722b978

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Copy link
Copy Markdown
Contributor

Bumps the rust-dependencies group with 2 updates: js-sys and wasm-bindgen.

Updates js-sys from 0.3.98 to 0.3.99

Commits

Updates wasm-bindgen from 0.2.121 to 0.2.122

Release notes

Sourced from wasm-bindgen's releases.

0.2.122

Notices

  • Threading support now requires -Clink-arg=--export=__heap_base to be set in RUSTFLAGS for nightly toolchains from 2026-05-06 onward, after rust-lang/rust#156174 removed the implicit __heap_base/__data_end exports on wasm* targets. Atomics CI, CLI reference tests, and the nodejs-threads, raytrace-parallel, and wasm-audio-worklet examples have been updated to pass --export=__heap_base explicitly. The flag is backward-compatible with older nightlies.

  • -Cpanic=unwind on wasm targets now emits modern (exnref) exception handling by default after rust-lang/rust#156061, and requires Node.js 22.22.3+ (for WebAssembly.JSTag). Legacy EH wasm can still be produced on current nightlies by adding -Cllvm-args=-wasm-use-legacy-eh to RUSTFLAGS; Node.js 20 may be supported with legacy exception handling, with a tracking issue in #5151.

Added

  • Implemented TryFromJsValue for Vec<T> where T: TryFromJsValue. A JS value converts when it is a real Array (per Array.isArray) and every element converts via T::try_from_js_value. This composes recursively (Vec<Vec<String>>, Vec<Option<T>>) and works for any T with a TryFromJsValue impl, including primitives, String, JsValue, and JsCast types. Array-likes (objects with length and numeric indices) are intentionally rejected to mirror the static ABI representation used by js_value_vector_from_abi.

  • New extends_js_class and extends_js_namespace attributes on exported structs to allow defining the parent js_class name when it has been customized by js_name and the parent's own js_namespace as well in turn. New validation is added at code generation time that will now catch these cases instead of emitting invalid code. Example:

    #[wasm_bindgen(js_name = "Animal", js_namespace = zoo)]
    pub struct AnimalImpl { /* ... */ }
    #[wasm_bindgen(
    extends = AnimalImpl,
    extends_js_class = "Animal",
    extends_js_namespace = zoo,
    )]
    pub struct DogImpl { /* ... */ }

    #5154

... (truncated)

Changelog

Sourced from wasm-bindgen's changelog.

0.2.122

Notices

  • Threading support now requires -Clink-arg=--export=__heap_base to be set in RUSTFLAGS for nightly toolchains from 2026-05-06 onward, after rust-lang/rust#156174 removed the implicit __heap_base/__data_end exports on wasm* targets. Atomics CI, CLI reference tests, and the nodejs-threads, raytrace-parallel, and wasm-audio-worklet examples have been updated to pass --export=__heap_base explicitly. The flag is backward-compatible with older nightlies.

  • -Cpanic=unwind on wasm targets now emits modern (exnref) exception handling by default after rust-lang/rust#156061, and requires Node.js 22.22.3+ (for WebAssembly.JSTag). Legacy EH wasm can still be produced on current nightlies by adding -Cllvm-args=-wasm-use-legacy-eh to RUSTFLAGS; Node.js 20 may be supported with legacy exception handling, with a tracking issue in #5151.

Added

  • Implemented TryFromJsValue for Vec<T> where T: TryFromJsValue. A JS value converts when it is a real Array (per Array.isArray) and every element converts via T::try_from_js_value. This composes recursively (Vec<Vec<String>>, Vec<Option<T>>) and works for any T with a TryFromJsValue impl, including primitives, String, JsValue, and JsCast types. Array-likes (objects with length and numeric indices) are intentionally rejected to mirror the static ABI representation used by js_value_vector_from_abi.

  • New extends_js_class and extends_js_namespace attributes on exported structs to allow defining the parent js_class name when it has been customized by js_name and the parent's own js_namespace as well in turn. New validation is added at code generation time that will now catch these cases instead of emitting invalid code. Example:

    #[wasm_bindgen(js_name = "Animal", js_namespace = zoo)]
    pub struct AnimalImpl { /* ... */ }
    #[wasm_bindgen(
    extends = AnimalImpl,
    extends_js_class = "Animal",
    extends_js_namespace = zoo,
    )]
    pub struct DogImpl { /* ... */ }

... (truncated)

Commits
  • ddd3225 release: 0.2.122 - schema bump (#5162)
  • a64603e Fix emscripten output: dep graph, HEAP_DATA_VIEW, function declarations (#5156)
  • 2c543af Implement TryFromJsValue for Vec<T> (#5150)
  • fabc617 fix: key WrapInExportedClass/UnwrapExportedClass by qualified_name (renamed-s...
  • 32d8df2 drop codspeed runner (#5161)
  • f5bf1c8 fix: Handle Br and BrIf instructions in the descriptor interpreter (#5158)
  • bbcdb9c fix: route methods to the right class when js_name + js_namespace + js_class ...
  • 8b5d213 Enforce unwind safety on #[wasm_bindgen] exports under panic=unwind (#5128)
  • e4fdb2c ci: pin legacy EH job to nightly-2026-05-12 (#5155)
  • 14b86ad Add --export=__heap_base for threading after rust-lang/rust#156174 (#5152)
  • See full diff 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the rust-dependencies group with 2 updates: [js-sys](https://github.com/wasm-bindgen/wasm-bindgen) and [wasm-bindgen](https://github.com/wasm-bindgen/wasm-bindgen).


Updates `js-sys` from 0.3.98 to 0.3.99
- [Release notes](https://github.com/wasm-bindgen/wasm-bindgen/releases)
- [Changelog](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wasm-bindgen/wasm-bindgen/commits)

Updates `wasm-bindgen` from 0.2.121 to 0.2.122
- [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.121...0.2.122)

---
updated-dependencies:
- dependency-name: js-sys
  dependency-version: 0.3.99
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: wasm-bindgen
  dependency-version: 0.2.122
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
...

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 May 25, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 1, 2026
@dependabot dependabot Bot deleted the dependabot/cargo/rust-dependencies-315722b978 branch June 1, 2026 01:23
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