Skip to content

Commit

Permalink
Merge pull request #868 from alexcrichton/bump
Browse files Browse the repository at this point in the history
Bump to 0.2.22
  • Loading branch information
alexcrichton authored Sep 21, 2018
2 parents ebe73a5 + 51ec485 commit 727cfc3
Show file tree
Hide file tree
Showing 15 changed files with 59 additions and 38 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,27 @@ Released YYYY-MM-DD.

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

## 0.2.22

Released 2018-09-21

### Added

* The `IntoIterator` trait is now implemented for JS `Iterator` types
* A number of variadic methods in `js-sys` have had explicit arities added.
* The guide has been improved quite a bit as well as enhanced with more examples
* The `js-sys` crate is now complete! Thanks so much to everyone involved to
help fill out all the APIs.
* Exported Rust functions with `#[wasm_bindgen]` can now return a `Result` where
the `Err` payload is raised as an exception in JS.

### Fixed

* An issue with running `wasm-bindgen` on crates that have been compiled with
LTO has been resolved.

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

## 0.2.21

Released 2018-09-07
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
# Because only a single `wasm_bindgen` version can be used in a dependency
Expand Down Expand Up @@ -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.21" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.22" }
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.6' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.21' }
js-sys = { path = 'crates/js-sys', version = '0.2.7' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.22' }
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' }
Expand Down
4 changes: 2 additions & 2 deletions crates/backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-backend"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
Expand All @@ -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.21" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.22" }
6 changes: 3 additions & 3 deletions crates/cli-support/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli-support"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
Expand All @@ -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.21' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.21' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.22' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.22' }
wasm-gc-api = "0.1.9"
6 changes: 3 additions & 3 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
Expand All @@ -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.21" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.21" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.22" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.22" }
openssl = { version = '0.10.11', optional = true }

[features]
Expand Down
8 changes: 4 additions & 4 deletions crates/futures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.21"
version = "0.2.22"

[dependencies]
futures = "0.1.20"
js-sys = { path = "../js-sys", version = '0.2.6' }
wasm-bindgen = { path = "../..", version = '0.2.21' }
js-sys = { path = "../js-sys", version = '0.2.7' }
wasm-bindgen = { path = "../..", version = '0.2.22' }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.2.21' }
wasm-bindgen-test = { path = '../test', version = '0.2.22' }
8 changes: 4 additions & 4 deletions crates/js-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "js-sys"
version = "0.2.6"
version = "0.2.7"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
Expand All @@ -18,9 +18,9 @@ test = false
doctest = false

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.21" }
wasm-bindgen = { path = "../..", version = "0.2.22" }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1.20"
wasm-bindgen-test = { path = '../test', version = '=0.2.21' }
wasm-bindgen-futures = { path = '../futures', version = '=0.2.21' }
wasm-bindgen-test = { path = '../test', version = '=0.2.22' }
wasm-bindgen-futures = { path = '../futures', version = '=0.2.22' }
6 changes: 3 additions & 3 deletions crates/macro-support/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro-support"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
Expand All @@ -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.21" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.21" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.22" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.22" }
4 changes: 2 additions & 2 deletions crates/macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
Expand All @@ -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.21" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.22" }
quote = "0.6"
2 changes: 1 addition & 1 deletion crates/shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-shared"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"
Expand Down
2 changes: 1 addition & 1 deletion crates/test-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test-macro"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing macro for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand Down
10 changes: 5 additions & 5 deletions crates/test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand All @@ -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.6' }
js-sys = { path = '../js-sys', version = '0.2.7' }
scoped-tls = "0.1"
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' }
wasm-bindgen = { path = '../..', version = '0.2.22' }
wasm-bindgen-futures = { path = '../futures', version = '0.2.22' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.22' }

[lib]
test = false
2 changes: 1 addition & 1 deletion crates/wasm-interpreter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-wasm-interpreter"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"
Expand Down
8 changes: 4 additions & 4 deletions crates/web-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.17" }
sourcefile = "0.1"

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.21" }
js-sys = { path = '../js-sys', version = '0.2.6' }
wasm-bindgen = { path = "../..", version = "0.2.22" }
js-sys = { path = '../js-sys', version = '0.2.7' }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1"
wasm-bindgen-test = { path = '../test', version = '0.2.21' }
wasm-bindgen-futures = { path = '../futures', version = '0.2.21' }
wasm-bindgen-test = { path = '../test', version = '0.2.22' }
wasm-bindgen-futures = { path = '../futures', version = '0.2.22' }

# 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
Expand Down
2 changes: 1 addition & 1 deletion crates/webidl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.21", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.22", path = "../backend" }
weedle = "0.8"

0 comments on commit 727cfc3

Please sign in to comment.