Skip to content

Commit 688bc29

Browse files
authored
Merge pull request #1310 from alexcrichton/bump
Bump to 0.2.38
2 parents 1116af4 + 86c6331 commit 688bc29

File tree

40 files changed

+125
-79
lines changed

40 files changed

+125
-79
lines changed

CHANGELOG.md

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

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

35+
## 0.2.38
36+
37+
Released 2019-03-04.
38+
39+
### Added
40+
41+
* Support for `Option<RustStruct>` in `#[wasm_bindgen]` functions has now been
42+
added.
43+
[#1275](https://github.com/rustwasm/wasm-bindgen/pull/1275)
44+
45+
* Experimental support for the `anyref` type proposal in WebAssembly has now
46+
landed and is enabled with `WASM_BINDGEN_ANYREF=1`.
47+
[#1002](https://github.com/rustwasm/wasm-bindgen/pull/1002)
48+
49+
* Support fot the new browser `TextEncode#encodeInto` API has been added.
50+
[#1279](https://github.com/rustwasm/wasm-bindgen/pull/1279)
51+
52+
* JS doc comments are now added to TypeScript bindings in addition to the JS
53+
bindings generated.
54+
[#1302](https://github.com/rustwasm/wasm-bindgen/pull/1302)
55+
56+
* Initial support for `FnOnce` closures has been added to the `Closure` type.
57+
[#1281](https://github.com/rustwasm/wasm-bindgen/pull/1281)
58+
59+
### Fixed
60+
61+
* Fixed an internal assert tripping when some modules were compiled with LTO.
62+
[#1274](https://github.com/rustwasm/wasm-bindgen/pull/1274)
63+
64+
* The `Context` type in the `wasm-bindgen-test` crate had its JS name changed to
65+
avoid conflicts with other crates that have a `Context` type being exported.
66+
[#1280](https://github.com/rustwasm/wasm-bindgen/pull/1280)
67+
68+
* The headless test runner for Safari on macOS High Sierra has been fixed.
69+
[#1298](https://github.com/rustwasm/wasm-bindgen/pull/1298)
70+
71+
### Changed
72+
73+
* The `wasm-bindgen` CLI tool now emits the `producers` section again with
74+
relevant bugs having been fixed in the meantime. The
75+
`--remove-producers-section` flag can continue to be used to omit emission of
76+
this section.
77+
[#1263](https://github.com/rustwasm/wasm-bindgen/pull/1263)
78+
79+
--------------------------------------------------------------------------------
80+
3581
## 0.2.37
3682

3783
Released 2019-02-15.

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.37"
3+
version = "0.2.38"
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
@@ -38,13 +38,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
3838
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
3939

4040
[dependencies]
41-
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.37" }
41+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.38" }
4242
serde = { version = "1.0", optional = true }
4343
serde_json = { version = "1.0", optional = true }
4444

4545
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
46-
js-sys = { path = 'crates/js-sys', version = '0.3.14' }
47-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.37' }
46+
js-sys = { path = 'crates/js-sys', version = '0.3.15' }
47+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.38' }
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' }

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
- script: npm install
128128
- script: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
129129
- script: cargo build -p wasm-bindgen-cli
130-
- script: ln -snf target/debug/wasm-bindgen $HOME/.cargo/wasm-bindgen
130+
- script: ln -snf `pwd`/target/debug/wasm-bindgen $HOME/.cargo/bin/wasm-bindgen
131131
- script: |
132132
for dir in `ls examples | grep -v README | grep -v asm.js | grep -v raytrace | grep -v without-a-bundler`; do
133133
(cd examples/$dir &&

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.37"
3+
version = "0.2.38"
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.37"
3+
version = "0.2.38"
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.37" }
23+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" }

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.37"
3+
version = "0.2.38"
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.4.0"
21-
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.37' }
22-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.37' }
23-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.37' }
24-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.37' }
21+
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.38' }
22+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.38' }
23+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.38' }
24+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.38' }

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.37"
3+
version = "0.2.38"
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.4"
28-
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.37" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.37" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.38" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" }
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.14"
10+
version = "0.3.15"
1111

1212
[dependencies]
1313
futures = "0.1.20"
14-
js-sys = { path = "../js-sys", version = '0.3.14' }
15-
wasm-bindgen = { path = "../..", version = '0.2.37' }
14+
js-sys = { path = "../js-sys", version = '0.3.15' }
15+
wasm-bindgen = { path = "../..", version = '0.2.38' }
1616

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

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.14"
3+
version = "0.3.15"
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.37" }
21+
wasm-bindgen = { path = "../..", version = "0.2.38" }
2222

2323
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2424
futures = "0.1.20"
25-
wasm-bindgen-test = { path = '../test', version = '=0.2.37' }
26-
wasm-bindgen-futures = { path = '../futures', version = '=0.3.14' }
25+
wasm-bindgen-test = { path = '../test', version = '=0.2.38' }
26+
wasm-bindgen-futures = { path = '../futures', version = '=0.3.15' }

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.37"
3+
version = "0.2.38"
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.37" }
23-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.37" }
22+
wasm-bindgen-backend = { path = "../backend", version = "=0.2.38" }
23+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" }

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.37"
3+
version = "0.2.38"
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.37" }
22+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.38" }
2323
quote = "0.6"

crates/shared/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-shared"
3-
version = "0.2.37"
3+
version = "0.2.38"
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

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

crates/test/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-test"
3-
version = "0.2.37"
3+
version = "0.2.38"
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.14' }
12+
js-sys = { path = '../js-sys', version = '0.3.15' }
1313
scoped-tls = "1.0"
14-
wasm-bindgen = { path = '../..', version = '0.2.37' }
15-
wasm-bindgen-futures = { path = '../futures', version = '0.3.14' }
16-
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.37' }
14+
wasm-bindgen = { path = '../..', version = '0.2.38' }
15+
wasm-bindgen-futures = { path = '../futures', version = '0.3.15' }
16+
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.38' }
1717

1818
[lib]
1919
test = false

crates/threads-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-threads-xform"
3-
version = "0.2.37"
3+
version = "0.2.38"
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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "web-sys"
3-
version = "0.3.14"
3+
version = "0.3.15"
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.31" }
24+
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.32" }
2525
sourcefile = "0.1"
2626

2727
[dependencies]
28-
wasm-bindgen = { path = "../..", version = "0.2.37" }
29-
js-sys = { path = '../js-sys', version = '0.3.14' }
28+
wasm-bindgen = { path = "../..", version = "0.2.38" }
29+
js-sys = { path = '../js-sys', version = '0.3.15' }
3030

3131
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
3232
futures = "0.1"
33-
wasm-bindgen-test = { path = '../test', version = '0.2.37' }
34-
wasm-bindgen-futures = { path = '../futures', version = '0.3.14' }
33+
wasm-bindgen-test = { path = '../test', version = '0.2.38' }
34+
wasm-bindgen-futures = { path = '../futures', version = '0.3.15' }
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasm-bindgen-webidl"
3-
version = "0.2.31"
3+
version = "0.2.32"
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.37", path = "../backend" }
21+
wasm-bindgen-backend = { version = "=0.2.38", path = "../backend" }
2222
weedle = "0.8"

examples/add/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.37"
11+
wasm-bindgen = "0.2.38"

examples/canvas/Cargo.toml

Lines changed: 2 additions & 2 deletions
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.14"
12-
wasm-bindgen = "0.2.37"
11+
js-sys = "0.3.15"
12+
wasm-bindgen = "0.2.38"
1313

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

examples/char/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.37"
11+
wasm-bindgen = "0.2.38"

examples/closures/Cargo.toml

Lines changed: 2 additions & 2 deletions
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.37"
12-
js-sys = "0.3.14"
11+
wasm-bindgen = "0.2.38"
12+
js-sys = "0.3.15"
1313

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

examples/console_log/Cargo.toml

Lines changed: 2 additions & 2 deletions
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.37"
12-
web-sys = { version = "0.3.14", features = ['console'] }
11+
wasm-bindgen = "0.2.38"
12+
web-sys = { version = "0.3.15", features = ['console'] }

examples/dom/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.37"
11+
wasm-bindgen = "0.2.38"
1212

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

examples/duck-typed-interfaces/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.37"
11+
wasm-bindgen = "0.2.38"

examples/fetch/Cargo.toml

Lines changed: 3 additions & 3 deletions
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.37", features = ["serde-serialize"] }
13-
js-sys = "0.3.14"
14-
wasm-bindgen-futures = "0.3.14"
12+
wasm-bindgen = { version = "0.2.38", features = ["serde-serialize"] }
13+
js-sys = "0.3.15"
14+
wasm-bindgen-futures = "0.3.15"
1515
serde = { version = "1.0.80", features = ["derive"] }
1616
serde_derive = "^1.0.59"
1717

examples/guide-supported-types-examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.37"
11+
wasm-bindgen = "0.2.38"

0 commit comments

Comments
 (0)