Skip to content

Commit 5c56c02

Browse files
authored
Merge pull request #1726 from alexcrichton/bump
Bump to 0.2.50
2 parents 487289c + c2daa4f commit 5c56c02

File tree

40 files changed

+99
-80
lines changed

40 files changed

+99
-80
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

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

5+
## 0.2.50
6+
7+
Released 2019-08-19.
8+
9+
### Added
10+
11+
* Experimental support with a `WASM_INTERFACE_TYPES=1` environment variable has
12+
been added to emit a Wasm Interface Types custom section, making the output of
13+
`wasm-bindgen` a single standalone WebAssembly file.
14+
[#1725](https://github.com/rustwasm/wasm-bindgen/pull/1725)
15+
16+
### Fixed
17+
18+
* Unrelated errors are now no longer accidentally swallowed by the
19+
`instantiateStreaming` fallback.
20+
[#1723](https://github.com/rustwasm/wasm-bindgen/pull/1723)
21+
22+
--------------------------------------------------------------------------------
23+
524
## 0.2.49
625

726
Released 2019-08-14.

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen"
3-
version = "0.2.49"
3+
version = "0.2.50"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
@@ -36,14 +36,14 @@ 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.49" }
39+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.50" }
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.26' }
46-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.49' }
45+
js-sys = { path = 'crates/js-sys', version = '0.3.27' }
46+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.50' }
4747
serde_derive = "1.0"
4848
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
4949
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.49"
3+
version = "0.2.50"
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.49"
3+
version = "0.2.50"
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.49" }
25+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.50" }

crates/cli-support/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-cli-support"
3-
version = "0.2.49"
3+
version = "0.2.50"
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,8 +19,8 @@ rustc-demangle = "0.1.13"
1919
serde_json = "1.0"
2020
tempfile = "3.0"
2121
walrus = "0.11.0"
22-
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.49' }
23-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.49' }
24-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.49' }
25-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.49' }
22+
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.50' }
23+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.50' }
24+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.50' }
25+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.50' }
2626
wasm-webidl-bindings = "0.4.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.49"
3+
version = "0.2.50"
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.11.0", features = ['parallel'] }
28-
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.49" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.49" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.50" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.50" }
3030

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

crates/futures/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ 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.3.26"
10+
version = "0.3.27"
1111
edition = "2018"
1212

1313
[dependencies]
1414
cfg-if = "0.1.9"
1515
futures = "0.1.20"
16-
js-sys = { path = "../js-sys", version = '0.3.26' }
17-
wasm-bindgen = { path = "../..", version = '0.2.49' }
16+
js-sys = { path = "../js-sys", version = '0.3.27' }
17+
wasm-bindgen = { path = "../..", version = '0.2.50' }
1818
futures-util-preview = { version = "0.3.0-alpha.18", optional = true }
1919
futures-channel-preview = { version = "0.3.0-alpha.18", optional = true }
2020
lazy_static = { version = "1.3.0", optional = true }
@@ -28,7 +28,7 @@ features = [
2828
]
2929

3030
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
31-
wasm-bindgen-test = { path = '../test', version = '0.2.49' }
31+
wasm-bindgen-test = { path = '../test', version = '0.2.50' }
3232

3333
[features]
3434
futures_0_3 = ["futures-util-preview", "futures-channel-preview", "lazy_static"]

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.26"
3+
version = "0.3.27"
44
authors = ["The wasm-bindgen Developers"]
55
readme = "./README.md"
66
categories = ["wasm"]
@@ -19,9 +19,9 @@ test = false
1919
doctest = false
2020

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

2424
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2525
futures = "0.1.20"
26-
wasm-bindgen-test = { path = '../test', version = '=0.2.49' }
27-
wasm-bindgen-futures = { path = '../futures', version = '=0.3.26' }
26+
wasm-bindgen-test = { path = '../test', version = '=0.2.50' }
27+
wasm-bindgen-futures = { path = '../futures', version = '=0.3.27' }

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.49"
3+
version = "0.2.50"
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.49" }
24-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.49" }
23+
wasm-bindgen-backend = { path = "../backend", version = "=0.2.50" }
24+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.50" }

crates/macro/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-macro"
3-
version = "0.2.49"
3+
version = "0.2.50"
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,9 +20,9 @@ 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.49" }
23+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.50" }
2424
quote = "1.0"
2525

2626
[dev-dependencies]
2727
trybuild = "1.0"
28-
wasm-bindgen = { path = "../..", version = "0.2.49", features = ['strict-macro'] }
28+
wasm-bindgen = { path = "../..", version = "0.2.50", features = ['strict-macro'] }

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.49"
3+
version = "0.2.50"
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.2.49"
3+
version = "0.2.50"
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.2.49"
3+
version = "0.2.50"
44
authors = ["The wasm-bindgen Developers"]
55
description = "Internal testing crate for wasm-bindgen"
66
license = "MIT/Apache-2.0"
@@ -10,11 +10,11 @@ edition = "2018"
1010
[dependencies]
1111
console_error_panic_hook = '0.1'
1212
futures = "0.1"
13-
js-sys = { path = '../js-sys', version = '0.3.26' }
13+
js-sys = { path = '../js-sys', version = '0.3.27' }
1414
scoped-tls = "1.0"
15-
wasm-bindgen = { path = '../..', version = '0.2.49' }
16-
wasm-bindgen-futures = { path = '../futures', version = '0.3.26' }
17-
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.49' }
15+
wasm-bindgen = { path = '../..', version = '0.2.50' }
16+
wasm-bindgen-futures = { path = '../futures', version = '0.3.27' }
17+
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.50' }
1818

1919
[lib]
2020
test = false

crates/threads-xform/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-threads-xform"
3-
version = "0.2.49"
3+
version = "0.2.50"
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"

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.49"
3+
version = "0.2.50"
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.26"
3+
version = "0.3.27"
44
authors = ["The wasm-bindgen Developers"]
55
readme = "./README.md"
66
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
@@ -22,17 +22,17 @@ test = false
2222
[build-dependencies]
2323
env_logger = { version = "0.6.0", optional = true }
2424
failure = "0.1.2"
25-
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.49" }
25+
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.50" }
2626
sourcefile = "0.1"
2727

2828
[dependencies]
29-
wasm-bindgen = { path = "../..", version = "0.2.49" }
30-
js-sys = { path = '../js-sys', version = '0.3.26' }
29+
wasm-bindgen = { path = "../..", version = "0.2.50" }
30+
js-sys = { path = '../js-sys', version = '0.3.27' }
3131

3232
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
3333
futures = "0.1"
34-
wasm-bindgen-test = { path = '../test', version = '0.2.49' }
35-
wasm-bindgen-futures = { path = '../futures', version = '0.3.26' }
34+
wasm-bindgen-test = { path = '../test', version = '0.2.50' }
35+
wasm-bindgen-futures = { path = '../futures', version = '0.3.27' }
3636

3737
# This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when
3838
# 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.49"
3+
version = "0.2.50"
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.49", path = "../backend" }
22+
wasm-bindgen-backend = { version = "=0.2.50", 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.49"
11+
wasm-bindgen = "0.2.50"

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.26"
12-
wasm-bindgen = "0.2.49"
11+
js-sys = "0.3.27"
12+
wasm-bindgen = "0.2.50"
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.49"
11+
wasm-bindgen = "0.2.50"

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.49"
12-
js-sys = "0.3.26"
11+
wasm-bindgen = "0.2.50"
12+
js-sys = "0.3.27"
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.49"
12-
web-sys = { version = "0.3.26", features = ['console'] }
11+
wasm-bindgen = "0.2.50"
12+
web-sys = { version = "0.3.27", features = ['console'] }

examples/dom/Cargo.toml

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

1010
[dependencies]
11-
wasm-bindgen = "0.2.49"
11+
wasm-bindgen = "0.2.50"
1212

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

examples/duck-typed-interfaces/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.49"
11+
wasm-bindgen = "0.2.50"

examples/fetch/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ crate-type = ["cdylib"]
99

1010
[dependencies]
1111
futures = "0.1.20"
12-
wasm-bindgen = { version = "0.2.49", features = ["serde-serialize"] }
13-
js-sys = "0.3.26"
14-
wasm-bindgen-futures = "0.3.26"
12+
wasm-bindgen = { version = "0.2.50", features = ["serde-serialize"] }
13+
js-sys = "0.3.27"
14+
wasm-bindgen-futures = "0.3.27"
1515
serde = { version = "1.0.80", features = ["derive"] }
1616
serde_derive = "^1.0.59"
1717

examples/guide-supported-types-examples/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.49"
11+
wasm-bindgen = "0.2.50"

examples/hello_world/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.49"
11+
wasm-bindgen = "0.2.50"

examples/import_js/crate/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.49"
11+
wasm-bindgen = "0.2.50"

examples/julia_set/Cargo.toml

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

1010
[dependencies]
11-
wasm-bindgen = "0.2.49"
11+
wasm-bindgen = "0.2.50"
1212

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

0 commit comments

Comments
 (0)