chore(deps): update rust-wasm-bindgen monorepo
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| 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 |
Release Notes
rustwasm/wasm-bindgen (wasm-bindgen-test)
v0.2.50
Released 2019-08-19.
Added
- Experimental support with a
WASM_INTERFACE_TYPES=1environment variable has been added to emit a Wasm Interface Types custom section, making the output ofwasm-bindgena single standalone WebAssembly file. #1725
Fixed
- Unrelated errors are now no longer accidentally swallowed by the
instantiateStreamingfallback. #1723
v0.2.49
Released 2019-08-14.
Added
-
Add binding for
Element.getElementsByClassName. #1665 -
PartialEqandEqare now implemented for allweb-systypes. #1673 -
The
wasm-bindgen-futurescrate now has support for futures when the experimental WebAssembly threading feature is enabled. #1514 -
A new
enable-interningfeature is available to intern strings and reduce the cost of transferring strings across the JS/Rust boundary. #1612 -
The
wasm-bindgenCLI has experimental support for reading nativewebidl-bindingscustom sections and generating JS glue. This support is in addition to Rust's own custom sections and allows usingwasm-bindgenwith binaries produced by other than rustc possibly. #1690 -
New environment variables have been added to configure webdriver startup arguments. #1703
-
New
JsValue::{is_truthy,is_falsy}methods are now available. #1638
Changed
-
JS import shims are now skipped again when they are unnecessary. #1654
-
WebAssembly output files now directly embed the module/name for imports if supported for the target and the import, reducing JS shims even further. #1689
Fixed
-
Support for threads have been updated for LLVM 9 and nightly Rust. #1675 #1688
-
The
anyrefpasses inwasm-bindgenhave seen a number of fixes to improve their correctness and get the full test suite running. #1692 #1704 -
Support for
futures-preview 0.3.0-alpha.18has been added towasm-bindgen-futures. #1716
v0.2.48
Released 2019-07-11.
Added
-
All typed arrays now implement
Fromfor the corresponding Rust slice type, providing a safe way to create an instance which copies the data. #1620 -
Function::bind{2,3,4}are now available injs-sys. #1633
Changed
-
More WebGL methods have been updated to use shared slices instead of mutable slices. #1639
-
When using the
bundlertarget the import of the wasm file now uses the.wasmextension to ensure a wasm file is loaded. #1646 -
The old internal
Stacktrait has been removed since it is no longer used. #1624
Fixed
-
The
js_sys::global()accessor now attempts other strategies before falling back to aFunctionconstructor which can violate some strict CSP settings. #1650 -
Dropping a
JsFutureno longer logs a benign error to the console. #1649 -
Fixed an assertion which could happen in some modules when generating bindings. #1617
v0.2.47
Released 2019-06-19.
Changed
-
The
HtmlHyperlinkElementshould now include more native methods after a small edit to the WebIDL. #1604 -
Duplicate names for getters/setters now have a first-class
wasm-bindgenerror. #1605
Fixed
-
TypeScript definition of
initwith--target webnow reflects that the first argument is optional. #1599 -
A panic with the futures 0.3 support has been fixed. #1598
-
More slice types are recognized as becoming immutable in some WebIDL methods. #1602
-
The function table is now no longer too aggressively removed. #1606
v0.2.46
Released 2019-06-14.
Added
-
Bindings for
Array#flatandArray#flatMaphave been added. #1573 -
All
#[wasm_bindgen]types nowAsRefto themselves. #1583 -
When using
--target webthe path passed toinitis no longer required. #1579
Fixed
-
Some diagnostics related to compiler errors in
#[wasm_bindgen]have been improved. #1550 -
The support for weak references has been updated to the current JS proposal. #1557
-
Documentation and feature gating for web-sys dictionaries has improved. #1572
-
Getter and setter TypeScript has been fixed. #1577
-
The
env_loggercrate and its tree of dependencies is no longer required to buildweb-sys. #1586
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 Renovate Bot.
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