Skip to content

Commit 56e4d7d

Browse files
authored
Bump to 0.2.57 (#1943)
1 parent 620212d commit 56e4d7d

File tree

42 files changed

+131
-88
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+131
-88
lines changed

CHANGELOG.md

+43
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,49 @@
22

33
--------------------------------------------------------------------------------
44

5+
## 0.2.57
6+
7+
Released 2020-01-06.
8+
9+
### Fixed
10+
11+
* The `js_sys::Promise` type is now marked as `#[must_use]`
12+
[#1927](https://github.com/rustwasm/wasm-bindgen/pull/1927)
13+
14+
* Duplicate imports of the same name are now handled correctly again.
15+
[#1942](https://github.com/rustwasm/wasm-bindgen/pull/1942)
16+
17+
--------------------------------------------------------------------------------
18+
19+
## 0.2.56
20+
21+
Released 2019-12-20.
22+
23+
### Added
24+
25+
* Added a `#[wasm_bindgen(inspectable)]` attribute for exported objects to
26+
generate `toJSON` and `toString` implementations.
27+
[#1876](https://github.com/rustwasm/wasm-bindgen/pull/1876)
28+
29+
* Support for the most recent interface types proposal has been implemented.
30+
[#1882](https://github.com/rustwasm/wasm-bindgen/pull/1882)
31+
32+
* Initial support for async iterators has been added.
33+
[#1895](https://github.com/rustwasm/wasm-bindgen/pull/1895)
34+
35+
* Support for an `async` start function was added.
36+
[#1905](https://github.com/rustwasm/wasm-bindgen/pull/1905)
37+
38+
* `Array::iter` and `Array::to_vec` methods were added to js-sys.
39+
[#1909](https://github.com/rustwasm/wasm-bindgen/pull/1909)
40+
41+
### Fixed
42+
43+
* Another webkit-specific WebIDL construct was fixed in web-sys.
44+
[#1865](https://github.com/rustwasm/wasm-bindgen/pull/1865)
45+
46+
--------------------------------------------------------------------------------
47+
548
## 0.2.55
649

750
Released 2019-11-19.

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
@@ -36,15 +36,15 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
3636
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
3737

3838
[dependencies]
39-
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.56" }
39+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.57" }
4040
serde = { version = "1.0", optional = true }
4141
serde_json = { version = "1.0", optional = true }
4242
cfg-if = "0.1.9"
4343

4444
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
45-
js-sys = { path = 'crates/js-sys', version = '0.3.33' }
46-
wasm-bindgen-test = { path = 'crates/test', version = '=0.3.6' }
47-
wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.6' }
45+
js-sys = { path = 'crates/js-sys', version = '0.3.34' }
46+
wasm-bindgen-test = { path = 'crates/test', version = '=0.3.7' }
47+
wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.7' }
4848
serde_derive = "1.0"
4949
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
5050
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }

crates/anyref-xform/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-anyref-xform"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform"

crates/backend/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-backend"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
@@ -22,4 +22,4 @@ log = "0.4"
2222
proc-macro2 = "1.0"
2323
quote = '1.0'
2424
syn = { version = '1.0', features = ['full'] }
25-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.56" }
25+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.57" }

crates/cli-support/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-cli-support"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
@@ -19,12 +19,12 @@ rustc-demangle = "0.1.13"
1919
serde_json = "1.0"
2020
tempfile = "3.0"
2121
walrus = "0.14.0"
22-
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.56' }
23-
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.56' }
24-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.56' }
25-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.56' }
26-
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.56' }
27-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.56' }
22+
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.57' }
23+
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.57' }
24+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.57' }
25+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.57' }
26+
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.57' }
27+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.57' }
2828
wit-text = "0.1.1"
2929
wit-walrus = "0.1.0"
3030
wit-validator = "0.1.0"

crates/cli/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-cli"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
@@ -25,8 +25,8 @@ serde = { version = "1.0", features = ['derive'] }
2525
serde_derive = "1.0"
2626
serde_json = "1.0"
2727
walrus = { version = "0.14.0", features = ['parallel'] }
28-
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.56" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.56" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.57" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.57" }
3030

3131
[dev-dependencies]
3232
assert_cmd = "0.11"

crates/futures/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ license = "MIT/Apache-2.0"
77
name = "wasm-bindgen-futures"
88
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures"
99
readme = "./README.md"
10-
version = "0.4.6"
10+
version = "0.4.7"
1111
edition = "2018"
1212

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

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

2626
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
27-
wasm-bindgen-test = { path = '../test', version = '0.3.6' }
27+
wasm-bindgen-test = { path = '../test', version = '0.3.7' }
2828
futures-channel-preview = { version = "0.3.0-alpha.18" }

crates/js-sys/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "js-sys"
3-
version = "0.3.33"
3+
version = "0.3.34"
44
authors = ["The wasm-bindgen Developers"]
55
readme = "./README.md"
66
categories = ["wasm"]
@@ -19,8 +19,8 @@ test = false
1919
doctest = false
2020

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

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

crates/macro-support/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-macro-support"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
@@ -20,5 +20,5 @@ strict-macro = []
2020
syn = { version = '1.0', features = ['visit'] }
2121
quote = '1.0'
2222
proc-macro2 = "1.0"
23-
wasm-bindgen-backend = { path = "../backend", version = "=0.2.56" }
24-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.56" }
23+
wasm-bindgen-backend = { path = "../backend", version = "=0.2.57" }
24+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.57" }

crates/macro/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-macro"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
@@ -20,10 +20,10 @@ xxx_debug_only_print_generated_code = []
2020
strict-macro = ["wasm-bindgen-macro-support/strict-macro"]
2121

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

2626
[dev-dependencies]
2727
trybuild = "1.0"
28-
wasm-bindgen = { path = "../..", version = "0.2.56", features = ['strict-macro'] }
29-
wasm-bindgen-futures = { path = "../futures", version = "0.4.6" }
28+
wasm-bindgen = { path = "../..", version = "0.2.57", features = ['strict-macro'] }
29+
wasm-bindgen-futures = { path = "../futures", version = "0.4.7" }

crates/multi-value-xform/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-multi-value-xform"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/multi-value-xform"

crates/shared/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-shared"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"

crates/test-macro/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-test-macro"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
authors = ["The wasm-bindgen Developers"]
55
description = "Internal testing macro for wasm-bindgen"
66
license = "MIT/Apache-2.0"

crates/test/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-test"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
authors = ["The wasm-bindgen Developers"]
55
description = "Internal testing crate for wasm-bindgen"
66
license = "MIT/Apache-2.0"
@@ -9,11 +9,11 @@ edition = "2018"
99

1010
[dependencies]
1111
console_error_panic_hook = '0.1'
12-
js-sys = { path = '../js-sys', version = '0.3.33' }
12+
js-sys = { path = '../js-sys', version = '0.3.34' }
1313
scoped-tls = "1.0"
14-
wasm-bindgen = { path = '../..', version = '0.2.56' }
15-
wasm-bindgen-futures = { path = '../futures', version = '0.4.6' }
16-
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.6' }
14+
wasm-bindgen = { path = '../..', version = '0.2.57' }
15+
wasm-bindgen-futures = { path = '../futures', version = '0.4.7' }
16+
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.7' }
1717

1818
[lib]
1919
test = false

crates/threads-xform/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-threads-xform"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"
@@ -14,4 +14,4 @@ edition = "2018"
1414
[dependencies]
1515
anyhow = "1.0"
1616
walrus = "0.14.0"
17-
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.56" }
17+
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.57" }

crates/wasm-conventions/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-wasm-conventions"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-conventions"

crates/wasm-interpreter/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-wasm-interpreter"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"

crates/web-sys/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "web-sys"
3-
version = "0.3.33"
3+
version = "0.3.34"
44
authors = ["The wasm-bindgen Developers"]
55
readme = "./README.md"
66
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
@@ -22,16 +22,16 @@ test = false
2222
[build-dependencies]
2323
env_logger = { version = "0.7.0", optional = true }
2424
anyhow = "1.0"
25-
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.56" }
25+
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.57" }
2626
sourcefile = "0.1"
2727

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

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

3636
# This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when
3737
# compiling this crate which dumps the total list of features to a file called

crates/webidl/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-webidl"
3-
version = "0.2.56"
3+
version = "0.2.57"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
categories = ["wasm"]
@@ -19,5 +19,5 @@ log = "0.4.1"
1919
proc-macro2 = "1.0"
2020
quote = '1.0'
2121
syn = { version = '1.0', features = ['full'] }
22-
wasm-bindgen-backend = { version = "=0.2.56", path = "../backend" }
22+
wasm-bindgen-backend = { version = "=0.2.57", path = "../backend" }
2323
weedle = "0.10"

examples/add/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ edition = "2018"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
wasm-bindgen = "0.2.56"
11+
wasm-bindgen = "0.2.57"

examples/canvas/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ edition = "2018"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
js-sys = "0.3.33"
12-
wasm-bindgen = "0.2.56"
11+
js-sys = "0.3.34"
12+
wasm-bindgen = "0.2.57"
1313

1414
[dependencies.web-sys]
1515
version = "0.3.4"

examples/char/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ edition = "2018"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
wasm-bindgen = "0.2.56"
11+
wasm-bindgen = "0.2.57"

examples/closures/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ edition = "2018"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
wasm-bindgen = "0.2.56"
12-
js-sys = "0.3.33"
11+
wasm-bindgen = "0.2.57"
12+
js-sys = "0.3.34"
1313

1414
[dependencies.web-sys]
1515
version = "0.3.4"

examples/console_log/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ edition = "2018"
88
crate-type = ["cdylib"]
99

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

0 commit comments

Comments
 (0)