Wasmbind

Latest version: v0.4

Safety actively analyzes 626604 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 10

0.2.49

Released 2019-08-14.

Added

* Add binding for `Element.getElementsByClassName`.
[1665](https://github.com/rustwasm/wasm-bindgen/pull/1665)

* `PartialEq` and `Eq` are now implementd for all `web-sys` types.
[1673](https://github.com/rustwasm/wasm-bindgen/pull/1673)

* The `wasm-bindgen-futures` crate now has support for futures when the
experimental WebAssembly threading feature is enabled.
[1514](https://github.com/rustwasm/wasm-bindgen/pull/1514)

* A new `enable-interning` feature is available to intern strings and reduce the
cost of transferring strings across the JS/Rust boundary.
[1612](https://github.com/rustwasm/wasm-bindgen/pull/1612)

* The `wasm-bindgen` CLI has experimental support for reading native
`webidl-bindings` custom sections and generating JS glue. This support is in
addition to Rust's own custom sections and allows using `wasm-bindgen` with
binaries produced by other than rustc possibly.
[1690](https://github.com/rustwasm/wasm-bindgen/pull/1690)

* New environment variables have been added to configure webdriver startup
arguments.
[1703](https://github.com/rustwasm/wasm-bindgen/pull/1703)

* New `JsValue::{is_truthy,is_falsy}` methods are now available.
[1638](https://github.com/rustwasm/wasm-bindgen/pull/1638)

Changed

* JS import shims are now skipped again when they are unnecessary.
[1654](https://github.com/rustwasm/wasm-bindgen/pull/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](https://github.com/rustwasm/wasm-bindgen/pull/1689)

Fixed

* Support for threads have been updated for LLVM 9 and nightly Rust.
[1675](https://github.com/rustwasm/wasm-bindgen/pull/1675)
[1688](https://github.com/rustwasm/wasm-bindgen/pull/1688)

* The `anyref` passes in `wasm-bindgen` have seen a number of fixes to improve
their correctness and get the full test suite running.
[1692](https://github.com/rustwasm/wasm-bindgen/pull/1692)
[1704](https://github.com/rustwasm/wasm-bindgen/pull/1704)

* Support for `futures-preview 0.3.0-alpha.18` has been added to
`wasm-bindgen-futures`.
[1716](https://github.com/rustwasm/wasm-bindgen/pull/1716)

--------------------------------------------------------------------------------

0.2.48

Released 2019-07-11.

Added

* All typed arrays now implement `From` for the corresponding Rust slice type,
providing a safe way to create an instance which copies the data.
[1620](https://github.com/rustwasm/wasm-bindgen/pull/1620)

* `Function::bind{2,3,4}` are now available in `js-sys`.
[1633](https://github.com/rustwasm/wasm-bindgen/pull/1633)

Changed

* More WebGL methods have been updated to use shared slices instead of mutable
slices.
[1639](https://github.com/rustwasm/wasm-bindgen/pull/1639)

* When using the `bundler` target the import of the wasm file now uses the
`.wasm` extension to ensure a wasm file is loaded.
[1646](https://github.com/rustwasm/wasm-bindgen/pull/1646)

* The old internal `Stack` trait has been removed since it is no longer used.
[1624](https://github.com/rustwasm/wasm-bindgen/pull/1624)

Fixed

* The `js_sys::global()` accessor now attempts other strategies before falling
back to a `Function` constructor which can violate some strict CSP settings.
[1650](https://github.com/rustwasm/wasm-bindgen/pull/1649)

* Dropping a `JsFuture` no longer logs a benign error to the console.
[1649](https://github.com/rustwasm/wasm-bindgen/pull/1649)

* Fixed an assertion which could happen in some modules when generating
bindings.
[1617](https://github.com/rustwasm/wasm-bindgen/pull/1617)

--------------------------------------------------------------------------------

0.2.47

Released 2019-06-19.

Changed

* The `HtmlHyperlinkElement` should now include more native methods after a
small edit to the WebIDL.
[1604](https://github.com/rustwasm/wasm-bindgen/pull/1604)

* Duplicate names for getters/setters now have a first-class `wasm-bindgen`
error.
[1605](https://github.com/rustwasm/wasm-bindgen/pull/1605)

Fixed

* TypeScript definition of `init` with `--target web` now reflects that the
first argument is optional.
[1599](https://github.com/rustwasm/wasm-bindgen/pull/1599)

* A panic with the futures 0.3 support has been fixed.
[1598](https://github.com/rustwasm/wasm-bindgen/pull/1598)

* More slice types are recognized as becoming immutable in some WebIDL methods.
[1602](https://github.com/rustwasm/wasm-bindgen/pull/1602)

* The function table is now no longer too aggressively removed.
[1606](https://github.com/rustwasm/wasm-bindgen/pull/1606)

--------------------------------------------------------------------------------

0.2.46

Released 2019-06-14.

Added

* Bindings for `Arrayflat` and `ArrayflatMap` have been added.
[1573](https://github.com/rustwasm/wasm-bindgen/pull/1573)

* All `[wasm_bindgen]` types now `AsRef` to themslves.
[1583](https://github.com/rustwasm/wasm-bindgen/pull/1583)

* When using `--target web` the path passed to `init` is no longer required.
[1579](https://github.com/rustwasm/wasm-bindgen/pull/1579)

Fixed

* Some diagnostics related to compiler errors in `[wasm_bindgen]` have been
improved.
[1550](https://github.com/rustwasm/wasm-bindgen/pull/1550)

* The support for weak references has been updated to the current JS proposal.
[1557](https://github.com/rustwasm/wasm-bindgen/pull/1557)

* Documentation and feature gating for web-sys dictionaries has improved.
[1572](https://github.com/rustwasm/wasm-bindgen/pull/1572)

* Getter and setter TypeScript has been fixed.
[1577](https://github.com/rustwasm/wasm-bindgen/pull/1577)

* The `env_logger` crate and its tree of dependencies is no longer required to
build `web-sys`.
[1586](https://github.com/rustwasm/wasm-bindgen/pull/1586)

--------------------------------------------------------------------------------

0.2.45

Released 2019-05-20.

Fixed

* Using `__wbindgen_cb_forget` on `--target web` has been fixed.
[1544](https://github.com/rustwasm/wasm-bindgen/pull/1544)

Changed

* More whitelists have been added for `web-sys` to use shared slices instead of
mutable slices.
[1539](https://github.com/rustwasm/wasm-bindgen/pull/1539)

--------------------------------------------------------------------------------

0.2.44

Released 2019-05-16.

Added

* Support for exporting "fields" on JS objects wrapping Rust structs which are
hooked up to getters/setters has been added. This is in addition to `pub`
struct fields and allows performing more complicated computations in
getters/setters.
[1440](https://github.com/rustwasm/wasm-bindgen/pull/1440)

* Support for futures 0.3 (and `async` / `await` syntax) has been added to the
`wasm-bindgen-futures` crate.
[1507](https://github.com/rustwasm/wasm-bindgen/pull/1507)

* Stacks of imported JS functions that throw and aren't marked `catch` are now
logged in debug mode.
[1466](https://github.com/rustwasm/wasm-bindgen/pull/1466)

* A utility for counting the size of the `anyref` heap has been added.
[1521](https://github.com/rustwasm/wasm-bindgen/pull/1521)

* Passing ASCII-only strings to WASM should now be significantly faster.
[1470](https://github.com/rustwasm/wasm-bindgen/pull/1470)

* The `selectionStart` and `selectionEnd` APIs of text areas have been enabled.
[1533](https://github.com/rustwasm/wasm-bindgen/pull/1533)

Changed

* Some more methods in `web-sys` now take immutable slices instead of mutable
ones.
[1508](https://github.com/rustwasm/wasm-bindgen/pull/1508)

* TypeScript bindings for `Option<T>` arguments now use `foo?` where possible.
[1483](https://github.com/rustwasm/wasm-bindgen/pull/1483)

Fixed

* Unnecessary bindings to `__wbindgen_object_drop_ref` have been fixed.
[1504](https://github.com/rustwasm/wasm-bindgen/pull/1504)

* Some direct imports have been fixed for `--target web`.
[1503](https://github.com/rustwasm/wasm-bindgen/pull/1503)

* Both importing and exporting the same name has been fixed.
[1506](https://github.com/rustwasm/wasm-bindgen/pull/1506)

* TypeScript typings for `init` in `--target web` have been fixed.
[1520](https://github.com/rustwasm/wasm-bindgen/pull/1520)

* Calling a dropped `Closure` should no longer "segfault" but produce a clear
error.
[1530](https://github.com/rustwasm/wasm-bindgen/pull/1530)

--------------------------------------------------------------------------------

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.