mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-31 01:11:06 +00:00
commit
e67397ec27
31
CHANGELOG.md
31
CHANGELOG.md
@ -32,6 +32,37 @@ Released YYYY-MM-DD.
|
|||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
## 0.2.20
|
||||||
|
|
||||||
|
Released 2018-09-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* All of `wasm-bindgen` is configured to compile on stable Rust as of the
|
||||||
|
upcoming 1.30.0 release, scheduled for October 25, 2018.
|
||||||
|
* The underlying `JsValue` of a `Closure<T>` type can now be extracted at any
|
||||||
|
time.
|
||||||
|
* Initial and experimental support was added for modules that have shared memory
|
||||||
|
(use atomic instructions).
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
* The `--wasm2asm` flag of `wasm2es6js` was removed because the `wasm2asm` tool
|
||||||
|
has been removed from upstream Binaryen. This is replaced with the new
|
||||||
|
`wasm2js` tool from Binaryen.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* The "schema" version for wasm-bindgen now changes on all publishes, meaning we
|
||||||
|
can't forget to update it. This means that the crate version and CLI version
|
||||||
|
must exactly match.
|
||||||
|
* The `wasm-bindgen` crate now has a `links` key which forbids multiple versions
|
||||||
|
of `wasm-bindgen` from being linked into a dependency graph, fixing obscure
|
||||||
|
linking errors with a more first-class error message.
|
||||||
|
* Binary releases for Windows has been fixed.
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
## 0.2.19 (and 0.2.18)
|
## 0.2.19 (and 0.2.18)
|
||||||
|
|
||||||
Released 2018-08-27.
|
Released 2018-08-27.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen"
|
name = "wasm-bindgen"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
# Because only a single `wasm_bindgen` version can be used in a dependency
|
# Because only a single `wasm_bindgen` version can be used in a dependency
|
||||||
@ -35,13 +35,13 @@ nightly = []
|
|||||||
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
|
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.19" }
|
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.20" }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true }
|
||||||
serde_json = { version = "1.0", optional = true }
|
serde_json = { version = "1.0", optional = true }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||||
js-sys = { path = 'crates/js-sys', version = '0.2.4' }
|
js-sys = { path = 'crates/js-sys', version = '0.2.5' }
|
||||||
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.19' }
|
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.20' }
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
|
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
|
||||||
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }
|
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-backend"
|
name = "wasm-bindgen-backend"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
|
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
|
||||||
@ -21,4 +21,4 @@ proc-macro2 = "0.4.8"
|
|||||||
quote = '0.6'
|
quote = '0.6'
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
syn = { version = '0.14', features = ['full', 'visit'] }
|
syn = { version = '0.14', features = ['full', 'visit'] }
|
||||||
wasm-bindgen-shared = { path = "../shared", version = "=0.2.19" }
|
wasm-bindgen-shared = { path = "../shared", version = "=0.2.20" }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-cli-support"
|
name = "wasm-bindgen-cli-support"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
|
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
|
||||||
@ -17,6 +17,6 @@ parity-wasm = "0.32"
|
|||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
tempfile = "3.0"
|
tempfile = "3.0"
|
||||||
wasm-bindgen-shared = { path = "../shared", version = '=0.2.19' }
|
wasm-bindgen-shared = { path = "../shared", version = '=0.2.20' }
|
||||||
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.19' }
|
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.20' }
|
||||||
wasm-gc-api = "0.1.9"
|
wasm-gc-api = "0.1.9"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-cli"
|
name = "wasm-bindgen-cli"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
|
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
|
||||||
@ -23,8 +23,8 @@ rouille = { version = "2.1.0", default-features = false }
|
|||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.19" }
|
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.20" }
|
||||||
wasm-bindgen-shared = { path = "../shared", version = "=0.2.19" }
|
wasm-bindgen-shared = { path = "../shared", version = "=0.2.20" }
|
||||||
openssl = { version = '0.10.11', optional = true }
|
openssl = { version = '0.10.11', optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
@ -7,12 +7,12 @@ license = "MIT/Apache-2.0"
|
|||||||
name = "wasm-bindgen-futures"
|
name = "wasm-bindgen-futures"
|
||||||
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures"
|
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures"
|
||||||
readme = "./README.md"
|
readme = "./README.md"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures = "0.1.20"
|
futures = "0.1.20"
|
||||||
js-sys = { path = "../js-sys", version = '0.2.4' }
|
js-sys = { path = "../js-sys", version = '0.2.5' }
|
||||||
wasm-bindgen = { path = "../..", version = '0.2.19' }
|
wasm-bindgen = { path = "../..", version = '0.2.20' }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||||
wasm-bindgen-test = { path = '../test', version = '0.2.19' }
|
wasm-bindgen-test = { path = '../test', version = '0.2.20' }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "js-sys"
|
name = "js-sys"
|
||||||
version = "0.2.4"
|
version = "0.2.5"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
readme = "./README.md"
|
readme = "./README.md"
|
||||||
categories = ["wasm"]
|
categories = ["wasm"]
|
||||||
@ -18,9 +18,9 @@ test = false
|
|||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-bindgen = { path = "../..", version = "0.2.19" }
|
wasm-bindgen = { path = "../..", version = "0.2.20" }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||||
futures = "0.1.20"
|
futures = "0.1.20"
|
||||||
wasm-bindgen-test = { path = '../test', version = '=0.2.19' }
|
wasm-bindgen-test = { path = '../test', version = '=0.2.20' }
|
||||||
wasm-bindgen-futures = { path = '../futures', version = '=0.2.19' }
|
wasm-bindgen-futures = { path = '../futures', version = '=0.2.20' }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-macro-support"
|
name = "wasm-bindgen-macro-support"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
|
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
|
||||||
@ -18,5 +18,5 @@ extra-traits = ["syn/extra-traits"]
|
|||||||
syn = { version = '0.14', features = ['full'] }
|
syn = { version = '0.14', features = ['full'] }
|
||||||
quote = '0.6'
|
quote = '0.6'
|
||||||
proc-macro2 = "0.4.9"
|
proc-macro2 = "0.4.9"
|
||||||
wasm-bindgen-backend = { path = "../backend", version = "=0.2.19" }
|
wasm-bindgen-backend = { path = "../backend", version = "=0.2.20" }
|
||||||
wasm-bindgen-shared = { path = "../shared", version = "=0.2.19" }
|
wasm-bindgen-shared = { path = "../shared", version = "=0.2.20" }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-macro"
|
name = "wasm-bindgen-macro"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
|
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
|
||||||
@ -18,5 +18,5 @@ spans = ["wasm-bindgen-macro-support/spans"]
|
|||||||
xxx_debug_only_print_generated_code = []
|
xxx_debug_only_print_generated_code = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.19" }
|
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.20" }
|
||||||
quote = "0.6"
|
quote = "0.6"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-shared"
|
name = "wasm-bindgen-shared"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"
|
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-test-macro"
|
name = "wasm-bindgen-test-macro"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
description = "Internal testing macro for wasm-bindgen"
|
description = "Internal testing macro for wasm-bindgen"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-test"
|
name = "wasm-bindgen-test"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
description = "Internal testing crate for wasm-bindgen"
|
description = "Internal testing crate for wasm-bindgen"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
console_error_panic_hook = '0.1'
|
console_error_panic_hook = '0.1'
|
||||||
futures = "0.1"
|
futures = "0.1"
|
||||||
js-sys = { path = '../js-sys', version = '0.2.4' }
|
js-sys = { path = '../js-sys', version = '0.2.5' }
|
||||||
scoped-tls = "0.1"
|
scoped-tls = "0.1"
|
||||||
wasm-bindgen = { path = '../..', version = '0.2.19' }
|
wasm-bindgen = { path = '../..', version = '0.2.20' }
|
||||||
wasm-bindgen-futures = { path = '../futures', version = '0.2.19' }
|
wasm-bindgen-futures = { path = '../futures', version = '0.2.20' }
|
||||||
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.19' }
|
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.20' }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
test = false
|
test = false
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-bindgen-wasm-interpreter"
|
name = "wasm-bindgen-wasm-interpreter"
|
||||||
version = "0.2.19"
|
version = "0.2.20"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"
|
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"
|
||||||
|
@ -18,13 +18,13 @@ wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.17" }
|
|||||||
sourcefile = "0.1"
|
sourcefile = "0.1"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-bindgen = { path = "../..", version = "0.2.19" }
|
wasm-bindgen = { path = "../..", version = "0.2.20" }
|
||||||
js-sys = { path = '../js-sys', version = '0.2.4' }
|
js-sys = { path = '../js-sys', version = '0.2.5' }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||||
futures = "0.1"
|
futures = "0.1"
|
||||||
wasm-bindgen-test = { path = '../test', version = '0.2.19' }
|
wasm-bindgen-test = { path = '../test', version = '0.2.20' }
|
||||||
wasm-bindgen-futures = { path = '../futures', version = '0.2.19' }
|
wasm-bindgen-futures = { path = '../futures', version = '0.2.20' }
|
||||||
|
|
||||||
# This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when
|
# This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when
|
||||||
# compiling this crate which dumps the total list of features to a file called
|
# compiling this crate which dumps the total list of features to a file called
|
||||||
|
@ -19,5 +19,5 @@ log = "0.4.1"
|
|||||||
proc-macro2 = "0.4.8"
|
proc-macro2 = "0.4.8"
|
||||||
quote = '0.6'
|
quote = '0.6'
|
||||||
syn = { version = '0.14', features = ['full'] }
|
syn = { version = '0.14', features = ['full'] }
|
||||||
wasm-bindgen-backend = { version = "=0.2.19", path = "../backend" }
|
wasm-bindgen-backend = { version = "=0.2.20", path = "../backend" }
|
||||||
weedle = "0.7"
|
weedle = "0.7"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user