chore(deps): update rust-wasm-bindgen monorepo
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| js-sys (source) | dev-dependencies | patch | 0.3.22 -> 0.3.50 |
| wasm-bindgen (source) | dependencies | patch | 0.2.45 -> 0.2.73 |
| wasm-bindgen-futures (source) | dev-dependencies | minor | 0.3.22 -> 0.4.0 |
| wasm-bindgen-test | dev-dependencies | minor | 0.2.45 -> 0.3.0 |
| web-sys (source) | dependencies | patch | 0.3.22 -> 0.3.50 |
Release Notes
rustwasm/wasm-bindgen (wasm-bindgen)
v0.2.90
Released 2024-01-06
Fixed
- Fix JS shim default path detection for the no-modules target. #3748
Added
-
Add bindings for
HTMLFormElement.requestSubmit(). #3747 -
Add bindings for
RTCRtpSender.getCapabilities(DOMString)method,RTCRtpCapabilities,RTCRtpCodecCapabilityandRTCRtpHeaderExtensionCapability. #3737 -
Add bindings for
UserActivation. #3719 -
Add unstable bindings for the Compression Streams API. #3752
Changed
Fixed
- Fixed a compiler error when using
#[wasm_bindgen]insidemacro_rules!. #3725
Removed
- Removed Gecko-only
InstallTriggerDataand Gecko-internalFlexLineGrowthState,GridDeclaration,GridTrackState,RtcLifecycleEventandWebrtcGlobalStatisticsReportfeatures. #3723
v0.2.89
Released 2023-11-27.
Added
-
Add additional constructor to
DataViewforSharedArrayBuffer. #3695 -
Stabilize
wasm_bindgen::module(). #3690
Fixed
-
The DWARF section is now correctly modified instead of leaving it in a broken state. #3483
-
Fixed an issue where
#[wasm_bindgen]automatically derived theTryFromtrait for any struct, preventing customTryFrom<JsValue>implementations. It has been updated to utilize a newTryFromJsValuetrait instead. #3709 -
Update the TypeScript signature of
__wbindgen_thread_destroyto indicate that it's parameters are optional. #3703
Removed
- Removed Gecko-internal dictionary bindings
Csp,CspPolicies,CspReportandCspReportProperties. #3721
v0.2.88
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
ViewTransitiontoweb-sys. #3598 -
Extend
AudioContextwith unstable features supporting audio sink configuration. #3433 -
Add bindings for
WebAssembly.TagandWebAssembly.Exception. #3484 -
Re-export
wasm-bindgenfromjs-sys,web-sysandwasm-bindgen-futures. #3466 #3601 -
Re-export
js-sysfromweb-sysandwasm-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-cliviacargo 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
CssStyleSheetconstructor andreplace(_sync)methods. #3573 -
Add bindings for
CanvasTransform.setTransform(DOMMatrix2DInit). #3580 -
Add a
crateattribute to thewasm_bindgen_testproc-macro to specify a non-default path to thewasm-bindgen-testcrate. #3593 -
Add support for passing
Vecs 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_testproc-macro and accept the--include-ignoredflag withwasm-bindgen-test-runner. #3644 -
Added missing additions to the Notification API. #3667
Changed
-
Updated the WebGPU WebIDL. The optional
messageargument 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
curlwithureq. By default we now use Rustls instead of OpenSSL. #3511 -
Changed mutability of the argument
bufferinwritefunctions to immutable forFileSystemSyncAccessHandleandFileSystemWritableFileStream. It was also automatically changed forIdbFileHandle, which is deprecated. #3537 -
Changed behavior when compiling to
wasm32-wasito matchwasm32-emscriptenand non-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-bindgenforwards-compatible with the standard C ABI. #3595 -
Changed the design of the internal
WasmAbitrait. Rather than marking a type which 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.WasmPrimitivenow serves the old function ofWasmAbi, minus allowing#[repr(C)]types. #3595 -
Use
queueMicrotaskinwasm-bindgen-futuresfor scheduling tasks on the next tick. If that is not available, use the previousPromise.thenmechanism 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_bindgenmacro to handle raw identifiers in field names. #3621 -
Fixed bindings and comments for
Atomics.wait. #3509 -
Fixed
wasm_bindgen_testmacro 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_testmacro. #3549 -
Fixed bug allowing JS primitives to be returned from exported constructors. #3562
-
Fixed optional parameters in JSDoc. #3577
-
Use re-exported
js-sysfromwasm-bindgen-futuresto account for non-default path specified by thecrateattribute inwasm_bindgen_futuresproc-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,NotificationBehaviorandNotification.get()because they don't exist anymore.
v0.2.87
Released 2023-06-12.
Added
- Implemented
IntoIteratorforArray. #3477
Changed
Fixed
- Take alignment into consideration during (de/re)allocation. #3463
v0.2.86
Released 2023-05-16.
v0.2.85
Released 2023-05-09.
v0.2.84
Released 2023-02-01.
v0.2.83
Released 2022-09-12.
v0.2.82
Released 2022-07-25.
v0.2.81
Released 2022-06-14.
v0.2.80
Released 2022-04-04.
v0.2.79
Released 2022-01-19.
v0.2.78
Released 2021-09-15.
v0.2.77
Released 2021-09-08.
v0.2.76
Released 2021-08-19.
v0.2.75
Released 2021-08-02.
v0.2.74
Released 2021-05-10.
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Workflow status is failure ❌ Unfortunately test report wasn't generated, it can be if no workspaces changed. Please check the workflow run below. Link to GitHub workflow: Github Workflow Link