chore(deps): update rust-wasm-bindgen monorepo #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.87
->0.2.88
0.4.37
->0.4.38
0.3.37
->0.3.38
0.3.64
->0.3.65
Release Notes
rustwasm/wasm-bindgen (wasm-bindgen)
v0.2.88
Compare Source
Released 2023-11-01
Added
Add bindings for
RTCRtpTransceiverInit.sendEncodings
.#3642
Add bindings for the Web Locks API to
web-sys
.#3604
Add bindings for
ViewTransition
toweb-sys
.#3598
Extend
AudioContext
with unstable features supporting audio sink configuration.#3433
Add bindings for
WebAssembly.Tag
andWebAssembly.Exception
.#3484
Re-export
wasm-bindgen
fromjs-sys
,web-sys
andwasm-bindgen-futures
.#3466
#3601
Re-export
js-sys
fromweb-sys
andwasm-bindgen-futures
.#3466
#3601
Add bindings for async variants of
Atomics.wait
.#3504
Add bindings for
WorkerGlobalScope.performance
.#3506
Add support for installing pre-built artifacts of
wasm-bindgen-cli
via
cargo binstall wasm-bindgen-cli
.#3544
Add bindings for
RTCDataChannel.id
.#3547
Add bindings for
HTMLElement.inert
.#3557
Add unstable bindings for the Prioritized Task Scheduling API.
#3566
Add bindings for
CssStyleSheet
constructor andreplace(_sync)
methods.#3573
Add bindings for
CanvasTransform.setTransform(DOMMatrix2DInit)
.#3580
Add a
crate
attribute to thewasm_bindgen_test
proc-macro to specify anon-default path to the
wasm-bindgen-test
crate.#3593
Add support for passing
Vec
s of exported Rust types and strings to/from JS.#3554
Implement
TryFrom<JsValue>
for exported Rust types and strings.#3554
Handle the
#[ignore = "reason"]
attribute with thewasm_bindgen_test
proc-macro and accept the
--include-ignored
flag withwasm-bindgen-test-runner
.#3644
Added missing additions to the Notification API.
#3667
Changed
Updated the WebGPU WebIDL.
The optional
message
argument ofGPUPipelineError
's constructor has been manually specified as a required argument,because required arguments occurring after optional arguments are currently not supported by the generator.
#3480
Replaced
curl
withureq
. By default we now use Rustls instead of OpenSSL.#3511
Changed mutability of the argument
buffer
inwrite
functions to immutable forFileSystemSyncAccessHandle
andFileSystemWritableFileStream
.It was also automatically changed for
IdbFileHandle
, which is deprecated.#3537
Changed behavior when compiling to
wasm32-wasi
to matchwasm32-emscripten
andnon-WASM targets, generating a stub that panics when called rather than a wasm-
bindgen placeholder.
#3233
Changed constructor implementation in generated JS bindings, it is now
possible to override methods from generated JS classes using inheritance.
When exported constructors return
Self
.#3562
Made
wasm-bindgen
forwards-compatible with the standard C ABI.#3595
Changed the design of the internal
WasmAbi
trait. Rather than marking a typewhich can be passed directly as a parameter/result to/from JS, it now lets
types specify how they can be split into / recreated from multiple primitive
types which are then passed to/from JS.
WasmPrimitive
now serves the old function ofWasmAbi
, minus allowing#[repr(C)]
types.#3595
Use
queueMicrotask
inwasm-bindgen-futures
for scheduling tasks on the next tick.If that is not available, use the previous
Promise.then
mechanism as a fallback.This should avoid quirks, like exceptions thrown get now properly reported
as normal exceptions rather than as rejected promises.
#3611
Improved TypeScript bindings to accurately reference Rust enum types in function signatures,
enhancing type safety and compatibility.
#3647
Throw an error on enum name collisions, previously only one enum would be emitted.
#3669
Fixed
Fixed
wasm_bindgen
macro to handle raw identifiers in field names.#3621
Fixed bindings and comments for
Atomics.wait
.#3509
Fixed
wasm_bindgen_test
macro to handle raw identifiers in test names.#3541
Fixed Cargo license field to follow the SPDX 2.1 license expression standard.
#3529
Use fully qualified paths in the
wasm_bindgen_test
macro.#3549
Fixed bug allowing JS primitives to be returned from exported constructors.
#3562
Fixed optional parameters in JSDoc.
#3577
Use re-exported
js-sys
fromwasm-bindgen-futures
to account fornon-default path specified by the
crate
attribute inwasm_bindgen_futures
proc-macro.
#3601
Fix bug with function arguments coming from
macro_rules!
.#3625
Fix some calls to
free()
missing alignment.#3639
Fix wrong ABI for raw pointers.
#3655
Removed
Removed
ReadableStreamByobReader::read_with_u8_array()
because it doesn't work with Wasm.#3582
Removed
GetNotificationOptions
,NotificationBehavior
andNotification.get()
becausethey don't exist anymore.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.