chore(deps): update rust crate wasm-bindgen to v0.2.95 #12

Open
kjuulh wants to merge 1 commits from renovate/rust-wasm-bindgen-monorepo into main
Owner

This PR contains the following updates:

Package Type Update Change
wasm-bindgen (source) workspace.dependencies patch =0.2.93 -> =0.2.95

Release Notes

rustwasm/wasm-bindgen (wasm-bindgen)

v0.2.95

Compare Source

Released 2024-10-10

Added
  • Added support for implicit discriminants in enums.
    #​4152

  • Added support for Self in complex type expressions in methods.
    #​4155

Changed
  • String enums are no longer generate TypeScript types.
    #​4174
Fixed
  • Fixed generated setters from WebIDL interface attributes binding to wrong JS method names.
    #​4170

  • Fix string enums showing up in JS documentation and TypeScript bindings without corresponding types.
    #​4175


v0.2.94

Compare Source

Released 2024-10-09

Added
  • Added support for the WebAssembly Tail Call proposal.
    #​4111

  • Add bindings for RTCPeerConnection.setConfiguration(RTCConfiguration) method.
    #​4105

  • Add bindings to RTCRtpTransceiverDirection.stopped.
    #​4102

  • Added experimental support for Symbol.dispose via WASM_BINDGEN_EXPERIMENTAL_SYMBOL_DISPOSE.
    #​4118

  • Added bindings for the draft WebRTC Encoded Transform spec.
    #​4125

  • Added Debug implementation to JsError.
    #​4136

  • Added support for js_name and skip_typescript attributes for string enums.
    #​4147

  • Added unsupported crate to wasm_bindgen_test(unsupported = test) as a way of running tests on non-Wasm targets as well.
    #​4150

  • Added additional bindings for methods taking buffer view types (e.g. &[u8]) with corresponding JS types (e.g. Uint8Array).
    #​4156

  • Added additional bindings for setters from WebIDL interface attributes with applicaple parameter types of just JsValue.
    #​4156

Changed
  • Implicitly enable reference type and multivalue transformations if the module already makes use of the corresponding target features.
    #​4133

  • Updated Gamepad API.
    #​4134

  • Deprecated Gamepad::display_id and GamepadHapticActuator::type_.
    #​4134

  • Removed GamepadAxisMoveEvent, GamepadAxisMoveEventInit, GamepadButtonEvent, GamepadButtonEventInit and GamepadServiceTest, which were seemingly never implemented by any JS environment.
    #​4134

  • Changed TextDecoder.decode() input parameter type from &mut [u8] to &[u8].
    #​4141

  • Updated the WebGPU API to the current draft as of 2024-10-07.
    #​4145

  • Deprecated generated setters from WebIDL interface attribute taking JsValue in favor of newer bindings with specific parameter types.
    #​4156

Fixed
  • Fixed linked modules emitting snippet files when not using --split-linked-modules.
    #​4066

  • Fixed incorrect deprecation warning when passing no parameter into default() (init()) or initSync().
    #​4074

  • Fixed many proc-macro generated impl blocks missing #[automatically_derived], affecting test coverage.
    #​4078

  • Fixed negative BigInt values being incorrectly formatted with two minus signs.
    #​4082
    #​4088

  • Fixed emitted package.json structure to correctly specify its dependencies
    #​4091

  • Fixed returning Option<Enum> now correctly has the | undefined type in TS bindings.
    #​4137

  • Fixed enum variant name collisions with object prototype fields.
    #​4137

  • Fixed multiline doc comment alignment and remove empty ones entirely.
    #​4135

  • Fixed experimental-nodejs-module target when used with #[wasm_bindgen(start)].
    #​4093

  • Fixed error when importing very large JS files.
    #​4146

  • Specify "type": "module" when deploying to nodejs-module
    #​4092

  • Fixed string enums not generating TypeScript types.
    #​4147

  • Bindings that take buffer view types (e.g. &[u8]) as parameters will now correctly return a Result when they might not support a backing SharedArrayBuffer. This only applies to new and unstable APIs, which won't cause a breaking in the API.
    #​4156



Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [wasm-bindgen](https://rustwasm.github.io/) ([source](https://github.com/rustwasm/wasm-bindgen)) | workspace.dependencies | patch | `=0.2.93` -> `=0.2.95` | --- ### Release Notes <details> <summary>rustwasm/wasm-bindgen (wasm-bindgen)</summary> ### [`v0.2.95`](https://github.com/rustwasm/wasm-bindgen/blob/HEAD/CHANGELOG.md#0295) [Compare Source](https://github.com/rustwasm/wasm-bindgen/compare/0.2.94...0.2.95) Released 2024-10-10 ##### Added - Added support for implicit discriminants in enums. [#&#8203;4152](https://github.com/rustwasm/wasm-bindgen/pull/4152) - Added support for `Self` in complex type expressions in methods. [#&#8203;4155](https://github.com/rustwasm/wasm-bindgen/pull/4155) ##### Changed - String enums are no longer generate TypeScript types. [#&#8203;4174](https://github.com/rustwasm/wasm-bindgen/pull/4174) ##### Fixed - Fixed generated setters from WebIDL interface attributes binding to wrong JS method names. [#&#8203;4170](https://github.com/rustwasm/wasm-bindgen/pull/4170) - Fix string enums showing up in JS documentation and TypeScript bindings without corresponding types. [#&#8203;4175](https://github.com/rustwasm/wasm-bindgen/pull/4175) *** ### [`v0.2.94`](https://github.com/rustwasm/wasm-bindgen/blob/HEAD/CHANGELOG.md#0294-YANKED) [Compare Source](https://github.com/rustwasm/wasm-bindgen/compare/0.2.93...0.2.94) Released 2024-10-09 ##### Added - Added support for the WebAssembly `Tail Call` proposal. [#&#8203;4111](https://github.com/rustwasm/wasm-bindgen/pull/4111) - Add bindings for `RTCPeerConnection.setConfiguration(RTCConfiguration)` method. [#&#8203;4105](https://github.com/rustwasm/wasm-bindgen/pull/4105) - Add bindings to `RTCRtpTransceiverDirection.stopped`. [#&#8203;4102](https://github.com/rustwasm/wasm-bindgen/pull/4102) - Added experimental support for `Symbol.dispose` via `WASM_BINDGEN_EXPERIMENTAL_SYMBOL_DISPOSE`. [#&#8203;4118](https://github.com/rustwasm/wasm-bindgen/pull/4118) - Added bindings for the draft [WebRTC Encoded Transform](https://www.w3.org/TR/webrtc-encoded-transform) spec. [#&#8203;4125](https://github.com/rustwasm/wasm-bindgen/pull/4125) - Added `Debug` implementation to `JsError`. [#&#8203;4136](https://github.com/rustwasm/wasm-bindgen/pull/4136) - Added support for `js_name` and `skip_typescript` attributes for string enums. [#&#8203;4147](https://github.com/rustwasm/wasm-bindgen/pull/4147) - Added `unsupported` crate to `wasm_bindgen_test(unsupported = test)` as a way of running tests on non-Wasm targets as well. [#&#8203;4150](https://github.com/rustwasm/wasm-bindgen/pull/4150) - Added additional bindings for methods taking buffer view types (e.g. `&[u8]`) with corresponding JS types (e.g. `Uint8Array`). [#&#8203;4156](https://github.com/rustwasm/wasm-bindgen/pull/4156) - Added additional bindings for setters from WebIDL interface attributes with applicaple parameter types of just `JsValue`. [#&#8203;4156](https://github.com/rustwasm/wasm-bindgen/pull/4156) ##### Changed - Implicitly enable reference type and multivalue transformations if the module already makes use of the corresponding target features. [#&#8203;4133](https://github.com/rustwasm/wasm-bindgen/pull/4133) - Updated Gamepad API. [#&#8203;4134](https://github.com/rustwasm/wasm-bindgen/pull/4134) - Deprecated `Gamepad::display_id` and `GamepadHapticActuator::type_`. [#&#8203;4134](https://github.com/rustwasm/wasm-bindgen/pull/4134) - Removed `GamepadAxisMoveEvent`, `GamepadAxisMoveEventInit`, `GamepadButtonEvent`, `GamepadButtonEventInit` and `GamepadServiceTest`, which were seemingly never implemented by any JS environment. [#&#8203;4134](https://github.com/rustwasm/wasm-bindgen/pull/4134) - Changed `TextDecoder.decode()` `input` parameter type from `&mut [u8]` to `&[u8]`. [#&#8203;4141](https://github.com/rustwasm/wasm-bindgen/pull/4141) - Updated the WebGPU API to the current draft as of 2024-10-07. [#&#8203;4145](https://github.com/rustwasm/wasm-bindgen/pull/4145) - Deprecated generated setters from WebIDL interface attribute taking `JsValue` in favor of newer bindings with specific parameter types. [#&#8203;4156](https://github.com/rustwasm/wasm-bindgen/pull/4156) ##### Fixed - Fixed linked modules emitting snippet files when not using `--split-linked-modules`. [#&#8203;4066](https://github.com/rustwasm/wasm-bindgen/pull/4066) - Fixed incorrect deprecation warning when passing no parameter into `default()` (`init()`) or `initSync()`. [#&#8203;4074](https://github.com/rustwasm/wasm-bindgen/pull/4074) - Fixed many proc-macro generated `impl` blocks missing `#[automatically_derived]`, affecting test coverage. [#&#8203;4078](https://github.com/rustwasm/wasm-bindgen/pull/4078) - Fixed negative `BigInt` values being incorrectly formatted with two minus signs. [#&#8203;4082](https://github.com/rustwasm/wasm-bindgen/pull/4082) [#&#8203;4088](https://github.com/rustwasm/wasm-bindgen/pull/4088) - Fixed emitted `package.json` structure to correctly specify its dependencies [#&#8203;4091](https://github.com/rustwasm/wasm-bindgen/pull/4091) - Fixed returning `Option<Enum>` now correctly has the `| undefined` type in TS bindings. [#&#8203;4137](https://github.com/rustwasm/wasm-bindgen/pull/4137) - Fixed enum variant name collisions with object prototype fields. [#&#8203;4137](https://github.com/rustwasm/wasm-bindgen/pull/4137) - Fixed multiline doc comment alignment and remove empty ones entirely. [#&#8203;4135](https://github.com/rustwasm/wasm-bindgen/pull/4135) - Fixed `experimental-nodejs-module` target when used with `#[wasm_bindgen(start)]`. [#&#8203;4093](https://github.com/rustwasm/wasm-bindgen/pull/4093) - Fixed error when importing very large JS files. [#&#8203;4146](https://github.com/rustwasm/wasm-bindgen/pull/4146) - Specify `"type": "module"` when deploying to nodejs-module [#&#8203;4092](https://github.com/rustwasm/wasm-bindgen/pull/4092) - Fixed string enums not generating TypeScript types. [#&#8203;4147](https://github.com/rustwasm/wasm-bindgen/pull/4147) - Bindings that take buffer view types (e.g. `&[u8]`) as parameters will now correctly return a `Result` when they might not support a backing `SharedArrayBuffer`. This only applies to new and unstable APIs, which won't cause a breaking in the API. [#&#8203;4156](https://github.com/rustwasm/wasm-bindgen/pull/4156) *** </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2024-10-10 02:26:59 +02:00
chore(deps): update rust crate wasm-bindgen to v0.2.94
Some checks failed
renovate/artifacts Artifact file update failure
1a48597b4a
Author
Owner

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: cuddle-leptos/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path cuddle-leptos/Cargo.toml --workspace
error: invalid character `%` in package name: `%%name%%`, the first character must be a Unicode XID start character (most letters or `_`)
 --> cuddle-leptos/crates/%%name%%/Cargo.toml:2:8
  |
2 | name = "%%name%%"
  |        ^^^^^^^^^^
  |
error: failed to load manifest for workspace member `/tmp/renovate/repos/gitea/kjuulh/cuddle-templates/cuddle-leptos/crates/%%name%%`
referenced by workspace at `/tmp/renovate/repos/gitea/kjuulh/cuddle-templates/cuddle-leptos/Cargo.toml`

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: cuddle-leptos/Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path cuddle-leptos/Cargo.toml --workspace error: invalid character `%` in package name: `%%name%%`, the first character must be a Unicode XID start character (most letters or `_`) --> cuddle-leptos/crates/%%name%%/Cargo.toml:2:8 | 2 | name = "%%name%%" | ^^^^^^^^^^ | error: failed to load manifest for workspace member `/tmp/renovate/repos/gitea/kjuulh/cuddle-templates/cuddle-leptos/crates/%%name%%` referenced by workspace at `/tmp/renovate/repos/gitea/kjuulh/cuddle-templates/cuddle-leptos/Cargo.toml` ```
kjuulh force-pushed renovate/rust-wasm-bindgen-monorepo from 1a48597b4a to 7c59ca6634 2024-10-11 02:25:20 +02:00 Compare
kjuulh changed title from chore(deps): update rust crate wasm-bindgen to v0.2.94 to chore(deps): update rust crate wasm-bindgen to v0.2.95 2024-10-11 02:25:21 +02:00
kjuulh force-pushed renovate/rust-wasm-bindgen-monorepo from 7c59ca6634 to 1073979d2e 2024-10-17 02:28:12 +02:00 Compare
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/rust-wasm-bindgen-monorepo:renovate/rust-wasm-bindgen-monorepo
git checkout renovate/rust-wasm-bindgen-monorepo
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/cuddle-templates#12
No description provided.