Skip to content

Commit

Permalink
Bump to 0.2.57 (#1943)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton authored Jan 6, 2020
1 parent 620212d commit 56e4d7d
Show file tree
Hide file tree
Showing 42 changed files with 131 additions and 88 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,49 @@

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

## 0.2.57

Released 2020-01-06.

### Fixed

* The `js_sys::Promise` type is now marked as `#[must_use]`
[#1927](https://github.com/rustwasm/wasm-bindgen/pull/1927)

* Duplicate imports of the same name are now handled correctly again.
[#1942](https://github.com/rustwasm/wasm-bindgen/pull/1942)

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

## 0.2.56

Released 2019-12-20.

### Added

* Added a `#[wasm_bindgen(inspectable)]` attribute for exported objects to
generate `toJSON` and `toString` implementations.
[#1876](https://github.com/rustwasm/wasm-bindgen/pull/1876)

* Support for the most recent interface types proposal has been implemented.
[#1882](https://github.com/rustwasm/wasm-bindgen/pull/1882)

* Initial support for async iterators has been added.
[#1895](https://github.com/rustwasm/wasm-bindgen/pull/1895)

* Support for an `async` start function was added.
[#1905](https://github.com/rustwasm/wasm-bindgen/pull/1905)

* `Array::iter` and `Array::to_vec` methods were added to js-sys.
[#1909](https://github.com/rustwasm/wasm-bindgen/pull/1909)

### Fixed

* Another webkit-specific WebIDL construct was fixed in web-sys.
[#1865](https://github.com/rustwasm/wasm-bindgen/pull/1865)

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

## 0.2.55

Released 2019-11-19.
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -36,15 +36,15 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
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.56" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.57" }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
cfg-if = "0.1.9"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
js-sys = { path = 'crates/js-sys', version = '0.3.33' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.3.6' }
wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.6' }
js-sys = { path = 'crates/js-sys', version = '0.3.34' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.3.7' }
wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.7' }
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
2 changes: 1 addition & 1 deletion crates/anyref-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-anyref-xform"
version = "0.2.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform"
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.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
Expand All @@ -22,4 +22,4 @@ log = "0.4"
proc-macro2 = "1.0"
quote = '1.0'
syn = { version = '1.0', features = ['full'] }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.56" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.57" }
14 changes: 7 additions & 7 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.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
Expand All @@ -19,12 +19,12 @@ rustc-demangle = "0.1.13"
serde_json = "1.0"
tempfile = "3.0"
walrus = "0.14.0"
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.56' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.56' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.56' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.56' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.56' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.56' }
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.57' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.57' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.57' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.57' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.57' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.57' }
wit-text = "0.1.1"
wit-walrus = "0.1.0"
wit-validator = "0.1.0"
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.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
Expand All @@ -25,8 +25,8 @@ serde = { version = "1.0", features = ['derive'] }
serde_derive = "1.0"
serde_json = "1.0"
walrus = { version = "0.14.0", features = ['parallel'] }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.56" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.56" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.57" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.57" }

[dev-dependencies]
assert_cmd = "0.11"
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,13 +7,13 @@ 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.4.6"
version = "0.4.7"
edition = "2018"

[dependencies]
cfg-if = "0.1.9"
js-sys = { path = "../js-sys", version = '0.3.33' }
wasm-bindgen = { path = "../..", version = '0.2.56' }
js-sys = { path = "../js-sys", version = '0.3.34' }
wasm-bindgen = { path = "../..", version = '0.2.57' }

[target.'cfg(target_feature = "atomics")'.dependencies.web-sys]
path = "../web-sys"
Expand All @@ -24,5 +24,5 @@ features = [
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.3.6' }
wasm-bindgen-test = { path = '../test', version = '0.3.7' }
futures-channel-preview = { version = "0.3.0-alpha.18" }
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.3.33"
version = "0.3.34"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
Expand All @@ -19,8 +19,8 @@ test = false
doctest = false

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.56" }
wasm-bindgen = { path = "../..", version = "0.2.57" }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '=0.3.6' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.6' }
wasm-bindgen-test = { path = '../test', version = '=0.3.7' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.7' }
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.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
Expand All @@ -20,5 +20,5 @@ strict-macro = []
syn = { version = '1.0', features = ['visit'] }
quote = '1.0'
proc-macro2 = "1.0"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.56" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.56" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.57" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.57" }
8 changes: 4 additions & 4 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.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
Expand All @@ -20,10 +20,10 @@ xxx_debug_only_print_generated_code = []
strict-macro = ["wasm-bindgen-macro-support/strict-macro"]

[dependencies]
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.56" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.57" }
quote = "1.0"

[dev-dependencies]
trybuild = "1.0"
wasm-bindgen = { path = "../..", version = "0.2.56", features = ['strict-macro'] }
wasm-bindgen-futures = { path = "../futures", version = "0.4.6" }
wasm-bindgen = { path = "../..", version = "0.2.57", features = ['strict-macro'] }
wasm-bindgen-futures = { path = "../futures", version = "0.4.7" }
2 changes: 1 addition & 1 deletion crates/multi-value-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-multi-value-xform"
version = "0.2.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/multi-value-xform"
Expand Down
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.56"
version = "0.2.57"
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.3.6"
version = "0.3.7"
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.3.6"
version = "0.3.7"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand All @@ -9,11 +9,11 @@ edition = "2018"

[dependencies]
console_error_panic_hook = '0.1'
js-sys = { path = '../js-sys', version = '0.3.33' }
js-sys = { path = '../js-sys', version = '0.3.34' }
scoped-tls = "1.0"
wasm-bindgen = { path = '../..', version = '0.2.56' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.6' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.6' }
wasm-bindgen = { path = '../..', version = '0.2.57' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.7' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.7' }

[lib]
test = false
4 changes: 2 additions & 2 deletions crates/threads-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-threads-xform"
version = "0.2.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"
Expand All @@ -14,4 +14,4 @@ edition = "2018"
[dependencies]
anyhow = "1.0"
walrus = "0.14.0"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.56" }
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.57" }
2 changes: 1 addition & 1 deletion crates/wasm-conventions/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-wasm-conventions"
version = "0.2.56"
version = "0.2.57"
authors = ["The wasm-bindgen developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-conventions"
Expand Down
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.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"
Expand Down
12 changes: 6 additions & 6 deletions crates/web-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "web-sys"
version = "0.3.33"
version = "0.3.34"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
Expand All @@ -22,16 +22,16 @@ test = false
[build-dependencies]
env_logger = { version = "0.7.0", optional = true }
anyhow = "1.0"
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.56" }
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.57" }
sourcefile = "0.1"

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.56" }
js-sys = { path = '../js-sys', version = '0.3.33' }
wasm-bindgen = { path = "../..", version = "0.2.57" }
js-sys = { path = '../js-sys', version = '0.3.34' }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.3.6' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.6' }
wasm-bindgen-test = { path = '../test', version = '0.3.7' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.7' }

# 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
4 changes: 2 additions & 2 deletions crates/webidl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-webidl"
version = "0.2.56"
version = "0.2.57"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
categories = ["wasm"]
Expand All @@ -19,5 +19,5 @@ log = "0.4.1"
proc-macro2 = "1.0"
quote = '1.0'
syn = { version = '1.0', features = ['full'] }
wasm-bindgen-backend = { version = "=0.2.56", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.57", path = "../backend" }
weedle = "0.10"
2 changes: 1 addition & 1 deletion examples/add/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.56"
wasm-bindgen = "0.2.57"
4 changes: 2 additions & 2 deletions examples/canvas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
js-sys = "0.3.33"
wasm-bindgen = "0.2.56"
js-sys = "0.3.34"
wasm-bindgen = "0.2.57"

[dependencies.web-sys]
version = "0.3.4"
Expand Down
2 changes: 1 addition & 1 deletion examples/char/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.56"
wasm-bindgen = "0.2.57"
4 changes: 2 additions & 2 deletions examples/closures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.56"
js-sys = "0.3.33"
wasm-bindgen = "0.2.57"
js-sys = "0.3.34"

[dependencies.web-sys]
version = "0.3.4"
Expand Down
4 changes: 2 additions & 2 deletions examples/console_log/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.56"
web-sys = { version = "0.3.33", features = ['console'] }
wasm-bindgen = "0.2.57"
web-sys = { version = "0.3.34", features = ['console'] }
Loading

0 comments on commit 56e4d7d

Please sign in to comment.