diff --git a/CHANGELOG.md b/CHANGELOG.md index 0faaa0cf..20d505f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,21 @@ Released YYYY-MM-DD. -------------------------------------------------------------------------------- +## 0.2.21 + +Released 2018-09-07 + +### Added + +* Added many more bindings for `WebAssembly` in the `js-sys` crate. + +### Fixed + +* The "names" section of the wasm binary is now correctly preserved by + wasm-bindgen. + +-------------------------------------------------------------------------------- + ## 0.2.20 Released 2018-09-06 diff --git a/Cargo.toml b/Cargo.toml index 35840d71..059f471e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" # 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"] [dependencies] -wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.20" } +wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.21" } serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -js-sys = { path = 'crates/js-sys', version = '0.2.5' } -wasm-bindgen-test = { path = 'crates/test', version = '=0.2.20' } +js-sys = { path = 'crates/js-sys', version = '0.2.6' } +wasm-bindgen-test = { path = 'crates/test', version = '=0.2.21' } serde_derive = "1.0" wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' } wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' } diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 72361b5f..d286e3d0 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-backend" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend" @@ -21,4 +21,4 @@ proc-macro2 = "0.4.8" quote = '0.6' serde_json = "1.0" syn = { version = '0.15', features = ['full', 'visit'] } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.20" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.21" } diff --git a/crates/cli-support/Cargo.toml b/crates/cli-support/Cargo.toml index 9240bec1..515f478f 100644 --- a/crates/cli-support/Cargo.toml +++ b/crates/cli-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli-support" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support" @@ -17,6 +17,6 @@ parity-wasm = "0.32" serde = "1.0" serde_json = "1.0" tempfile = "3.0" -wasm-bindgen-shared = { path = "../shared", version = '=0.2.20' } -wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.20' } +wasm-bindgen-shared = { path = "../shared", version = '=0.2.21' } +wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.21' } wasm-gc-api = "0.1.9" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 445e27c9..eafe72a9 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" 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_derive = "1.0" serde_json = "1.0" -wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.20" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.20" } +wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.21" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.21" } openssl = { version = '0.10.11', optional = true } [features] diff --git a/crates/futures/Cargo.toml b/crates/futures/Cargo.toml index eee21c54..b31cdad2 100644 --- a/crates/futures/Cargo.toml +++ b/crates/futures/Cargo.toml @@ -7,12 +7,12 @@ license = "MIT/Apache-2.0" name = "wasm-bindgen-futures" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures" readme = "./README.md" -version = "0.2.20" +version = "0.2.21" [dependencies] futures = "0.1.20" -js-sys = { path = "../js-sys", version = '0.2.5' } -wasm-bindgen = { path = "../..", version = '0.2.20' } +js-sys = { path = "../js-sys", version = '0.2.6' } +wasm-bindgen = { path = "../..", version = '0.2.21' } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen-test = { path = '../test', version = '0.2.20' } +wasm-bindgen-test = { path = '../test', version = '0.2.21' } diff --git a/crates/js-sys/Cargo.toml b/crates/js-sys/Cargo.toml index 3092f092..7c807edc 100644 --- a/crates/js-sys/Cargo.toml +++ b/crates/js-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "js-sys" -version = "0.2.5" +version = "0.2.6" authors = ["The wasm-bindgen Developers"] readme = "./README.md" categories = ["wasm"] @@ -18,9 +18,9 @@ test = false doctest = false [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.20" } +wasm-bindgen = { path = "../..", version = "0.2.21" } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.1.20" -wasm-bindgen-test = { path = '../test', version = '=0.2.20' } -wasm-bindgen-futures = { path = '../futures', version = '=0.2.20' } +wasm-bindgen-test = { path = '../test', version = '=0.2.21' } +wasm-bindgen-futures = { path = '../futures', version = '=0.2.21' } diff --git a/crates/macro-support/Cargo.toml b/crates/macro-support/Cargo.toml index 0073487d..d5c03b26 100644 --- a/crates/macro-support/Cargo.toml +++ b/crates/macro-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro-support" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support" @@ -18,5 +18,5 @@ extra-traits = ["syn/extra-traits"] syn = { version = '0.15.0', features = ['full'] } quote = '0.6' proc-macro2 = "0.4.9" -wasm-bindgen-backend = { path = "../backend", version = "=0.2.20" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.20" } +wasm-bindgen-backend = { path = "../backend", version = "=0.2.21" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.21" } diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index 3f48d0c1..d1946d0b 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" 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 = [] [dependencies] -wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.20" } +wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.21" } quote = "0.6" diff --git a/crates/shared/Cargo.toml b/crates/shared/Cargo.toml index dc4bd328..d038ad0f 100644 --- a/crates/shared/Cargo.toml +++ b/crates/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-shared" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared" diff --git a/crates/test-macro/Cargo.toml b/crates/test-macro/Cargo.toml index 913d2989..2f5a1f5b 100644 --- a/crates/test-macro/Cargo.toml +++ b/crates/test-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test-macro" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] description = "Internal testing macro for wasm-bindgen" license = "MIT/Apache-2.0" diff --git a/crates/test/Cargo.toml b/crates/test/Cargo.toml index 8f960bc0..6d5f9f82 100644 --- a/crates/test/Cargo.toml +++ b/crates/test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] description = "Internal testing crate for wasm-bindgen" license = "MIT/Apache-2.0" @@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen" [dependencies] console_error_panic_hook = '0.1' futures = "0.1" -js-sys = { path = '../js-sys', version = '0.2.5' } +js-sys = { path = '../js-sys', version = '0.2.6' } scoped-tls = "0.1" -wasm-bindgen = { path = '../..', version = '0.2.20' } -wasm-bindgen-futures = { path = '../futures', version = '0.2.20' } -wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.20' } +wasm-bindgen = { path = '../..', version = '0.2.21' } +wasm-bindgen-futures = { path = '../futures', version = '0.2.21' } +wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.21' } [lib] test = false diff --git a/crates/wasm-interpreter/Cargo.toml b/crates/wasm-interpreter/Cargo.toml index 2800d839..6dd0f9c5 100644 --- a/crates/wasm-interpreter/Cargo.toml +++ b/crates/wasm-interpreter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-wasm-interpreter" -version = "0.2.20" +version = "0.2.21" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter" diff --git a/crates/web-sys/Cargo.toml b/crates/web-sys/Cargo.toml index 63ec1689..5ad947b0 100644 --- a/crates/web-sys/Cargo.toml +++ b/crates/web-sys/Cargo.toml @@ -18,13 +18,13 @@ wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.17" } sourcefile = "0.1" [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.20" } -js-sys = { path = '../js-sys', version = '0.2.5' } +wasm-bindgen = { path = "../..", version = "0.2.21" } +js-sys = { path = '../js-sys', version = '0.2.6' } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.1" -wasm-bindgen-test = { path = '../test', version = '0.2.20' } -wasm-bindgen-futures = { path = '../futures', version = '0.2.20' } +wasm-bindgen-test = { path = '../test', version = '0.2.21' } +wasm-bindgen-futures = { path = '../futures', version = '0.2.21' } # 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 diff --git a/crates/webidl/Cargo.toml b/crates/webidl/Cargo.toml index 1a6451f7..c7203ca6 100644 --- a/crates/webidl/Cargo.toml +++ b/crates/webidl/Cargo.toml @@ -19,5 +19,5 @@ log = "0.4.1" proc-macro2 = "0.4.8" quote = '0.6' syn = { version = '0.15', features = ['full'] } -wasm-bindgen-backend = { version = "=0.2.20", path = "../backend" } +wasm-bindgen-backend = { version = "=0.2.21", path = "../backend" } weedle = "0.7"