Skip to content

Commit b04f60c

Browse files
committed
Bump to 0.2.31
1 parent f404182 commit b04f60c

File tree

39 files changed

+123
-78
lines changed

39 files changed

+123
-78
lines changed

CHANGELOG.md

+45
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,51 @@ Released YYYY-MM-DD.
3232

3333
--------------------------------------------------------------------------------
3434

35+
## 0.2.31
36+
37+
Released 2019-01-09.
38+
39+
### Added
40+
41+
* A new `spawn_local` function has been added to the `wasm-bindgen-futures`
42+
crate.
43+
[#1148](https://github.com/rustwasm/wasm-bindgen/pull/1148)
44+
45+
* Built-in conversions are now available from typed arrays and Rust arrays.
46+
[#1147](https://github.com/rustwasm/wasm-bindgen/pull/1147)
47+
48+
### Fixed
49+
50+
* Some casing of dictionary properties in WebIDL has been fixed.
51+
[#1155](https://github.com/rustwasm/wasm-bindgen/pull/1155)
52+
53+
--------------------------------------------------------------------------------
54+
55+
## 0.2.30
56+
57+
Released 2019-01-07.
58+
59+
### Added
60+
61+
* The `wasm-bindgen` CLI now has an `--out-name` argument to name the output
62+
module.
63+
[#1084](https://github.com/rustwasm/wasm-bindgen/pull/1084)
64+
65+
* Support for importing the `default` export has been added.
66+
[#1106](https://github.com/rustwasm/wasm-bindgen/pull/1106)
67+
68+
### Changed
69+
70+
* All `web-sys` methods are now flagged as `structural`, fixing a few bindings.
71+
[#1117](https://github.com/rustwasm/wasm-bindgen/pull/1117)
72+
73+
### Fixed
74+
75+
* A small bug with LTO and closures has been fixed.
76+
[#1145](https://github.com/rustwasm/wasm-bindgen/pull/1145)
77+
78+
--------------------------------------------------------------------------------
79+
3580
## 0.2.29
3681

3782
Released 2018-12-04.

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.30"
3+
version = "0.2.31"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
# Because only a single `wasm_bindgen` version can be used in a dependency
@@ -39,13 +39,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
3939
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
4040

4141
[dependencies]
42-
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.30" }
42+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.31" }
4343
serde = { version = "1.0", optional = true }
4444
serde_json = { version = "1.0", optional = true }
4545

4646
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
47-
js-sys = { path = 'crates/js-sys', version = '0.3.7' }
48-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.30' }
47+
js-sys = { path = 'crates/js-sys', version = '0.3.8' }
48+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.31' }
4949
serde_derive = "1.0"
5050
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
5151
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }

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.30"
3+
version = "0.2.31"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
@@ -20,4 +20,4 @@ log = "0.4"
2020
proc-macro2 = "0.4.8"
2121
quote = '0.6'
2222
syn = { version = '0.15', features = ['full'] }
23-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.30" }
23+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.31" }

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.30"
3+
version = "0.2.31"
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"
@@ -15,7 +15,7 @@ base64 = "0.9"
1515
failure = "0.1.2"
1616
parity-wasm = "0.35"
1717
tempfile = "3.0"
18-
wasm-bindgen-gc = { path = '../gc', version = '=0.2.30' }
19-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.30' }
20-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.30' }
21-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.30' }
18+
wasm-bindgen-gc = { path = '../gc', version = '=0.2.31' }
19+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.31' }
20+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.31' }
21+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.31' }

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.30"
3+
version = "0.2.31"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
@@ -23,8 +23,8 @@ rouille = { version = "3.0.0", default-features = false }
2323
serde = "1.0"
2424
serde_derive = "1.0"
2525
serde_json = "1.0"
26-
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.30" }
27-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.30" }
26+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.31" }
27+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.31" }
2828
openssl = { version = '0.10.11', optional = true }
2929

3030
[features]

crates/futures/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ 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.7"
10+
version = "0.3.8"
1111

1212
[dependencies]
1313
futures = "0.1.20"
14-
js-sys = { path = "../js-sys", version = '0.3.7' }
15-
wasm-bindgen = { path = "../..", version = '0.2.30' }
14+
js-sys = { path = "../js-sys", version = '0.3.8' }
15+
wasm-bindgen = { path = "../..", version = '0.2.31' }
1616

1717
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
18-
wasm-bindgen-test = { path = '../test', version = '0.2.30' }
18+
wasm-bindgen-test = { path = '../test', version = '0.2.31' }

crates/gc/Cargo.toml

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

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

2020
[dependencies]
21-
wasm-bindgen = { path = "../..", version = "0.2.30" }
21+
wasm-bindgen = { path = "../..", version = "0.2.31" }
2222

2323
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2424
futures = "0.1.20"
25-
wasm-bindgen-test = { path = '../test', version = '=0.2.30' }
26-
wasm-bindgen-futures = { path = '../futures', version = '=0.3.7' }
25+
wasm-bindgen-test = { path = '../test', version = '=0.2.31' }
26+
wasm-bindgen-futures = { path = '../futures', version = '=0.3.8' }

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.30"
3+
version = "0.2.31"
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"
@@ -19,5 +19,5 @@ strict-macro = []
1919
syn = { version = '0.15.0', features = ['visit'] }
2020
quote = '0.6'
2121
proc-macro2 = "0.4.9"
22-
wasm-bindgen-backend = { path = "../backend", version = "=0.2.30" }
23-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.30" }
22+
wasm-bindgen-backend = { path = "../backend", version = "=0.2.31" }
23+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.31" }

crates/macro/Cargo.toml

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

2121
[dependencies]
22-
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.30" }
22+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.31" }
2323
quote = "0.6"

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.30"
3+
version = "0.2.31"
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.30"
3+
version = "0.2.31"
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.30"
3+
version = "0.2.31"
44
authors = ["The wasm-bindgen Developers"]
55
description = "Internal testing crate for wasm-bindgen"
66
license = "MIT/Apache-2.0"
@@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen"
99
[dependencies]
1010
console_error_panic_hook = '0.1'
1111
futures = "0.1"
12-
js-sys = { path = '../js-sys', version = '0.3.7' }
12+
js-sys = { path = '../js-sys', version = '0.3.8' }
1313
scoped-tls = "0.1"
14-
wasm-bindgen = { path = '../..', version = '0.2.30' }
15-
wasm-bindgen-futures = { path = '../futures', version = '0.3.7' }
16-
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.30' }
14+
wasm-bindgen = { path = '../..', version = '0.2.31' }
15+
wasm-bindgen-futures = { path = '../futures', version = '0.3.8' }
16+
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.31' }
1717

1818
[lib]
1919
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.30"
3+
version = "0.2.31"
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.30"
3+
version = "0.2.31"
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.7"
3+
version = "0.3.8"
44
authors = ["The wasm-bindgen Developers"]
55
readme = "./README.md"
66
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
@@ -21,17 +21,17 @@ test = false
2121
[build-dependencies]
2222
env_logger = "0.6.0"
2323
failure = "0.1.2"
24-
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.24" }
24+
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.25" }
2525
sourcefile = "0.1"
2626

2727
[dependencies]
28-
wasm-bindgen = { path = "../..", version = "0.2.30" }
29-
js-sys = { path = '../js-sys', version = '0.3.7' }
28+
wasm-bindgen = { path = "../..", version = "0.2.31" }
29+
js-sys = { path = '../js-sys', version = '0.3.8' }
3030

3131
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
3232
futures = "0.1"
33-
wasm-bindgen-test = { path = '../test', version = '0.2.30' }
34-
wasm-bindgen-futures = { path = '../futures', version = '0.3.7' }
33+
wasm-bindgen-test = { path = '../test', version = '0.2.31' }
34+
wasm-bindgen-futures = { path = '../futures', version = '0.3.8' }
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.24"
3+
version = "0.2.25"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
categories = ["wasm"]
@@ -18,5 +18,5 @@ log = "0.4.1"
1818
proc-macro2 = "0.4.8"
1919
quote = '0.6'
2020
syn = { version = '0.15', features = ['full'] }
21-
wasm-bindgen-backend = { version = "=0.2.30", path = "../backend" }
21+
wasm-bindgen-backend = { version = "=0.2.31", path = "../backend" }
2222
weedle = "0.8"

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.30"
11+
wasm-bindgen = "0.2.31"

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.7"
12-
wasm-bindgen = "0.2.30"
11+
js-sys = "0.3.8"
12+
wasm-bindgen = "0.2.31"
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.30"
11+
wasm-bindgen = "0.2.31"

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.30"
12-
js-sys = "0.3.7"
11+
wasm-bindgen = "0.2.31"
12+
js-sys = "0.3.8"
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.30"
12-
web-sys = { version = "0.3.7", features = ['console'] }
11+
wasm-bindgen = "0.2.31"
12+
web-sys = { version = "0.3.8", 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.30"
11+
wasm-bindgen = "0.2.31"
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.30"
11+
wasm-bindgen = "0.2.31"

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.30", features = ["serde-serialize"] }
13-
js-sys = "0.3.7"
14-
wasm-bindgen-futures = "0.3.7"
12+
wasm-bindgen = { version = "0.2.31", features = ["serde-serialize"] }
13+
js-sys = "0.3.8"
14+
wasm-bindgen-futures = "0.3.8"
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.30"
11+
wasm-bindgen = "0.2.31"

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.30"
11+
wasm-bindgen = "0.2.31"

examples/import_js/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.30"
11+
wasm-bindgen = "0.2.31"

0 commit comments

Comments
 (0)