Skip to content

Commit 6803c61

Browse files
committed
Bump to 0.2.40
1 parent a8c5fa4 commit 6803c61

File tree

39 files changed

+119
-78
lines changed

39 files changed

+119
-78
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,47 @@ Released YYYY-MM-DD.
3232

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

35+
## 0.2.40
36+
37+
Released 2019-03-21.
38+
39+
### Added
40+
41+
* TypeScript and JS generation will now attempt to preserve argument names in
42+
the generated JS where possible.
43+
[#1344](https://github.com/rustwasm/wasm-bindgen/pull/1344)
44+
45+
* Enable `Option<T>` support for enums defined in WebIDL.
46+
[#1350](https://github.com/rustwasm/wasm-bindgen/pull/1350)
47+
48+
* Add a `raw_module` attribute to `#[wasm_bindgen]` which is the same as
49+
`module` except doesn't attempt to recognize `./`, `../`, `or `/` prefixed
50+
paths.
51+
[#1353](https://github.com/rustwasm/wasm-bindgen/pull/1353)
52+
53+
* The `wasm-bindgen` CLI flags have now all been renamed under a `--target`
54+
flag. Instead of `--web` you'll now pass `--target web`, for example. This
55+
increases consistency between the `wasm-bindgen` and `wasm-pack` CLI.
56+
[#1369](https://github.com/rustwasm/wasm-bindgen/pull/1369)
57+
58+
### Fixed
59+
60+
* Definitions for `TypedArray` imports of `js-sys` have been unified with a
61+
macro to improve consistency and fix future bugs.
62+
[#1371](https://github.com/rustwasm/wasm-bindgen/pull/1371)
63+
64+
* Usage of `--no-modules` in CloudFlare workers should now work by default.
65+
[#1384](https://github.com/rustwasm/wasm-bindgen/pull/1384)
66+
67+
* A use-after-free when a closure is reinvoked after being destroyed on the Rust
68+
die has been fixed.
69+
[#1385](https://github.com/rustwasm/wasm-bindgen/pull/1385)
70+
71+
* A bug causing nondeterministic generation of JS bindings has been fixed.
72+
[#1383](https://github.com/rustwasm/wasm-bindgen/pull/1383)
73+
74+
--------------------------------------------------------------------------------
75+
3576
## 0.2.39
3677

3778
Released 2018-03-13.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen"
3-
version = "0.2.39"
3+
version = "0.2.40"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
@@ -34,13 +34,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
3434
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
3535

3636
[dependencies]
37-
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.39" }
37+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.40" }
3838
serde = { version = "1.0", optional = true }
3939
serde_json = { version = "1.0", optional = true }
4040

4141
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
42-
js-sys = { path = 'crates/js-sys', version = '0.3.16' }
43-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.39' }
42+
js-sys = { path = 'crates/js-sys', version = '0.3.17' }
43+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.40' }
4444
serde_derive = "1.0"
4545
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
4646
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }

crates/anyref-xform/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-anyref-xform"
3-
version = "0.2.39"
3+
version = "0.2.40"
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-backend"
3-
version = "0.2.39"
3+
version = "0.2.40"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
@@ -21,4 +21,4 @@ log = "0.4"
2121
proc-macro2 = "0.4.8"
2222
quote = '0.6'
2323
syn = { version = '0.15', features = ['full'] }
24-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" }
24+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.40" }

crates/cli-support/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-cli-support"
3-
version = "0.2.39"
3+
version = "0.2.40"
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"
@@ -18,7 +18,7 @@ log = "0.4"
1818
rustc-demangle = "0.1.13"
1919
tempfile = "3.0"
2020
walrus = "0.5.0"
21-
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.39' }
22-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.39' }
23-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.39' }
24-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.39' }
21+
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.40' }
22+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.40' }
23+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.40' }
24+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.40' }

crates/cli/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-cli"
3-
version = "0.2.39"
3+
version = "0.2.40"
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 = "0.5"
28-
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.39" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.40" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.40" }
3030

3131
[features]
3232
vendored-openssl = ['openssl/vendored']

crates/futures/Cargo.toml

Lines changed: 4 additions & 4 deletions
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.16"
10+
version = "0.3.17"
1111

1212
[dependencies]
1313
futures = "0.1.20"
14-
js-sys = { path = "../js-sys", version = '0.3.16' }
15-
wasm-bindgen = { path = "../..", version = '0.2.39' }
14+
js-sys = { path = "../js-sys", version = '0.3.17' }
15+
wasm-bindgen = { path = "../..", version = '0.2.40' }
1616

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

crates/js-sys/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "js-sys"
3-
version = "0.3.16"
3+
version = "0.3.17"
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.39" }
21+
wasm-bindgen = { path = "../..", version = "0.2.40" }
2222

2323
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2424
futures = "0.1.20"
25-
wasm-bindgen-test = { path = '../test', version = '=0.2.39' }
26-
wasm-bindgen-futures = { path = '../futures', version = '=0.3.16' }
25+
wasm-bindgen-test = { path = '../test', version = '=0.2.40' }
26+
wasm-bindgen-futures = { path = '../futures', version = '=0.3.17' }

crates/macro-support/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-macro-support"
3-
version = "0.2.39"
3+
version = "0.2.40"
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 = '0.15.0', features = ['visit'] }
2121
quote = '0.6'
2222
proc-macro2 = "0.4.9"
23-
wasm-bindgen-backend = { path = "../backend", version = "=0.2.39" }
24-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" }
23+
wasm-bindgen-backend = { path = "../backend", version = "=0.2.40" }
24+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.40" }

crates/macro/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-macro"
3-
version = "0.2.39"
3+
version = "0.2.40"
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.39" }
22+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.40" }
2323
quote = "0.6"

0 commit comments

Comments
 (0)