2018-06-19 21:55:04 +03:00
|
|
|
# `wasm-bindgen` Change Log
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2018-07-19 22:57:04 +03:00
|
|
|
## 0.2.12
|
2018-06-19 21:55:04 +03:00
|
|
|
|
2018-07-19 22:57:04 +03:00
|
|
|
Released 2018/07/19.
|
2018-06-19 21:55:04 +03:00
|
|
|
|
2018-07-19 22:57:04 +03:00
|
|
|
This release is mostly internal refactorings and minor improvements to the
|
|
|
|
existing crates and functionality, but the bigs news is an upcoming `js-sys` and
|
|
|
|
`web-sys` set of crates. The `js-sys` crate will expose [all global JS
|
|
|
|
bindings][js-all] and the `web-sys` crate will be generated from WebIDL to
|
|
|
|
expose all APIs browsers have. More info on this soon!
|
2018-06-19 21:55:04 +03:00
|
|
|
|
2018-07-19 22:57:04 +03:00
|
|
|
[js-all]: https://github.com/rustwasm/wasm-bindgen/issues/275
|
2018-06-19 21:55:04 +03:00
|
|
|
|
2018-07-19 22:57:04 +03:00
|
|
|
### Added
|
2018-06-19 21:55:04 +03:00
|
|
|
|
2018-07-19 22:57:04 +03:00
|
|
|
* Support for `Option<T>` was added where `T` can be a number of slices or
|
|
|
|
imported types.
|
|
|
|
* Comments in Rust are now preserved in generated JS bindings, as well as
|
|
|
|
comments being generated to indicate the types of arguments/return values.
|
|
|
|
* The online documentation has been reorganized [into a book][book].
|
|
|
|
* The generated JS is now formatted better by default for readability.
|
|
|
|
* A `--keep-debug` flag has been added to the CLI to retain debug sections by
|
|
|
|
default. This happens by default when `--debug` is passed.
|
2018-06-19 21:55:04 +03:00
|
|
|
|
2018-07-19 22:57:04 +03:00
|
|
|
[book]: https://rustwasm.github.io/wasm-bindgen/
|
2018-06-19 21:55:04 +03:00
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
2018-07-19 22:57:04 +03:00
|
|
|
* Compilation with the latest nightly compiler has been fixed (nightlies on and
|
|
|
|
after 2018-07-19)
|
|
|
|
* Declarations of an imported function in multiple crates have been fixed to not
|
|
|
|
conflict.
|
|
|
|
* Compilation with `#![deny(missing_docs)]` has been fixed.
|
2018-06-19 21:55:04 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
## 0.2.11
|
|
|
|
|
|
|
|
Released 2018/05/24.
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
## 0.2.10
|
|
|
|
|
|
|
|
Released 2018/05/17.
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
## 0.2.9
|
|
|
|
|
|
|
|
Released 2018/05/11.
|