Skip to content

Commit 402e72e

Browse files
authored
Merge pull request #1495 from alexcrichton/bump
Bump to 0.2.43
2 parents 103da22 + f2429be commit 402e72e

File tree

40 files changed

+140
-78
lines changed

40 files changed

+140
-78
lines changed

Diff for: CHANGELOG.md

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

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

35+
## 0.2.43
36+
37+
Released 2019-04-29.
38+
39+
### Added
40+
41+
* Support for `isize` and `usize` arrays has been added.
42+
[#1448](https://github.com/rustwasm/wasm-bindgen/pull/1448)
43+
44+
* Support customizing `dyn_ref` and friends via a new `is_type_of` attribute.
45+
[#1405](https://github.com/rustwasm/wasm-bindgen/pull/1405)
46+
47+
* A new `skip` attribute to `#[wasm_bindgen]` has been added to skip fields and
48+
methods when generating bindings.
49+
[#1410](https://github.com/rustwasm/wasm-bindgen/pull/1410)
50+
51+
* More bindings have been added to `web-sys` for interfaces tagged with
52+
`[NoInterfaceObject]` in WebIDL. These types always fail `dyn_ref` and friends
53+
and must be manually casted into.
54+
[#1449](https://github.com/rustwasm/wasm-bindgen/pull/1449)
55+
56+
* Added `Debug for JsFuture`.
57+
[#1477](https://github.com/rustwasm/wasm-bindgen/pull/1477)
58+
59+
* Initial bindings for `Atomics` and `SharedArrayBuffer` have been added to
60+
`js_sys`.
61+
[#1463](https://github.com/rustwasm/wasm-bindgen/pull/1463)
62+
63+
* Bindings for `Object.fromEntries` has been added to `js_sys`.
64+
[#1456](https://github.com/rustwasm/wasm-bindgen/pull/1456)
65+
66+
* Tuple structs exported to JS now have indexed struct properties.
67+
[#1467](https://github.com/rustwasm/wasm-bindgen/pull/1467)
68+
69+
* Bindings for some variadic functions have been added to `js_sys`.
70+
[#1492](https://github.com/rustwasm/wasm-bindgen/pull/1492)
71+
[#1490](https://github.com/rustwasm/wasm-bindgen/pull/1490)
72+
73+
### Changed
74+
75+
* Many `js-sys` types have received various tweaks and improvements to ensure
76+
they're consistent and work similarly to native Rust types.
77+
[#1447](https://github.com/rustwasm/wasm-bindgen/pull/1447)
78+
[#1444](https://github.com/rustwasm/wasm-bindgen/pull/1444)
79+
[#1473](https://github.com/rustwasm/wasm-bindgen/pull/1473)
80+
81+
* Dummy types in `js-sys` only used to namespace methods were removed and now
82+
modules are used for namespacing instead.
83+
[#1451](https://github.com/rustwasm/wasm-bindgen/pull/1451)
84+
85+
* Bindings in `web-sys` are formatted by default for ease of usage in IDEs.
86+
[#1461](https://github.com/rustwasm/wasm-bindgen/pull/1461)
87+
88+
### Fixed
89+
90+
* Documentation for Rust methods now show up in TypeScript as well.
91+
[#1472](https://github.com/rustwasm/wasm-bindgen/pull/1472)
92+
93+
--------------------------------------------------------------------------------
94+
3595
## 0.2.42
3696

3797
Released 2019-04-11.

Diff for: 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.42"
3+
version = "0.2.43"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
@@ -35,13 +35,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
3535
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
3636

3737
[dependencies]
38-
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.42" }
38+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.43" }
3939
serde = { version = "1.0", optional = true }
4040
serde_json = { version = "1.0", optional = true }
4141

4242
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
43-
js-sys = { path = 'crates/js-sys', version = '0.3.19' }
44-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.42' }
43+
js-sys = { path = 'crates/js-sys', version = '0.3.20' }
44+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.43' }
4545
serde_derive = "1.0"
4646
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
4747
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }

Diff for: azure-pipelines.yml

+2
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ jobs:
269269
displayName: "Document js-sys"
270270
- script: cargo doc --no-deps --manifest-path crates/web-sys/Cargo.toml --all-features
271271
displayName: "Document web-sys"
272+
env:
273+
WEBIDL_RUSTFMT_BINDINGS: 0
272274
- script: cargo doc --no-deps --manifest-path crates/futures/Cargo.toml
273275
displayName: "Document wasm-bindgen-futures"
274276
- script: cargo doc --no-deps --manifest-path crates/futures/Cargo.toml

Diff for: 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.42"
3+
version = "0.2.43"
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"

Diff for: 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.42"
3+
version = "0.2.43"
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 = "0.4.8"
2323
quote = '0.6'
2424
syn = { version = '0.15', features = ['full'] }
25-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.42" }
25+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.43" }

Diff for: 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.42"
3+
version = "0.2.43"
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,7 +19,7 @@ rustc-demangle = "0.1.13"
1919
serde_json = "1.0"
2020
tempfile = "3.0"
2121
walrus = "0.5.0"
22-
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.42' }
23-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.42' }
24-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.42' }
25-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.42' }
22+
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.43' }
23+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.43' }
24+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.43' }
25+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.43' }

Diff for: 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.42"
3+
version = "0.2.43"
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.42" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.42" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.43" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.43" }
3030

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

Diff for: 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.3.19"
10+
version = "0.3.20"
1111
edition = "2018"
1212

1313
[dependencies]
1414
futures = "0.1.20"
15-
js-sys = { path = "../js-sys", version = '0.3.19' }
16-
wasm-bindgen = { path = "../..", version = '0.2.42' }
15+
js-sys = { path = "../js-sys", version = '0.3.20' }
16+
wasm-bindgen = { path = "../..", version = '0.2.43' }
1717

1818
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
19-
wasm-bindgen-test = { path = '../test', version = '0.2.42' }
19+
wasm-bindgen-test = { path = '../test', version = '0.2.43' }

Diff for: 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.19"
3+
version = "0.3.20"
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.42" }
22+
wasm-bindgen = { path = "../..", version = "0.2.43" }
2323

2424
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2525
futures = "0.1.20"
26-
wasm-bindgen-test = { path = '../test', version = '=0.2.42' }
27-
wasm-bindgen-futures = { path = '../futures', version = '=0.3.19' }
26+
wasm-bindgen-test = { path = '../test', version = '=0.2.43' }
27+
wasm-bindgen-futures = { path = '../futures', version = '=0.3.20' }

Diff for: 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.42"
3+
version = "0.2.43"
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.42" }
24-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.42" }
23+
wasm-bindgen-backend = { path = "../backend", version = "=0.2.43" }
24+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.43" }

Diff for: 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.42"
3+
version = "0.2.43"
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,5 +20,5 @@ 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.42" }
23+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.43" }
2424
quote = "0.6"

Diff for: 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.42"
3+
version = "0.2.43"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"

Diff for: 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.42"
3+
version = "0.2.43"
44
authors = ["The wasm-bindgen Developers"]
55
description = "Internal testing macro for wasm-bindgen"
66
license = "MIT/Apache-2.0"

Diff for: 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.42"
3+
version = "0.2.43"
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.19' }
13+
js-sys = { path = '../js-sys', version = '0.3.20' }
1414
scoped-tls = "1.0"
15-
wasm-bindgen = { path = '../..', version = '0.2.42' }
16-
wasm-bindgen-futures = { path = '../futures', version = '0.3.19' }
17-
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.42' }
15+
wasm-bindgen = { path = '../..', version = '0.2.43' }
16+
wasm-bindgen-futures = { path = '../futures', version = '0.3.20' }
17+
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.43' }
1818

1919
[lib]
2020
test = false

Diff for: 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.42"
3+
version = "0.2.43"
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"

Diff for: 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.42"
3+
version = "0.2.43"
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"

Diff for: 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.19"
3+
version = "0.3.20"
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 = "0.6.0"
2424
failure = "0.1.2"
25-
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.42" }
25+
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.43" }
2626
sourcefile = "0.1"
2727

2828
[dependencies]
29-
wasm-bindgen = { path = "../..", version = "0.2.42" }
30-
js-sys = { path = '../js-sys', version = '0.3.19' }
29+
wasm-bindgen = { path = "../..", version = "0.2.43" }
30+
js-sys = { path = '../js-sys', version = '0.3.20' }
3131

3232
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
3333
futures = "0.1"
34-
wasm-bindgen-test = { path = '../test', version = '0.2.42' }
35-
wasm-bindgen-futures = { path = '../futures', version = '0.3.19' }
34+
wasm-bindgen-test = { path = '../test', version = '0.2.43' }
35+
wasm-bindgen-futures = { path = '../futures', version = '0.3.20' }
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

Diff for: 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.42"
3+
version = "0.2.43"
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 = "0.4.8"
2020
quote = '0.6'
2121
syn = { version = '0.15', features = ['full'] }
22-
wasm-bindgen-backend = { version = "=0.2.42", path = "../backend" }
22+
wasm-bindgen-backend = { version = "=0.2.43", path = "../backend" }
2323
weedle = "0.8"

Diff for: 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.42"
11+
wasm-bindgen = "0.2.43"

Diff for: 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.19"
12-
wasm-bindgen = "0.2.42"
11+
js-sys = "0.3.20"
12+
wasm-bindgen = "0.2.43"
1313

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

Diff for: 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.42"
11+
wasm-bindgen = "0.2.43"

Diff for: 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.42"
12-
js-sys = "0.3.19"
11+
wasm-bindgen = "0.2.43"
12+
js-sys = "0.3.20"
1313

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

Diff for: 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.42"
12-
web-sys = { version = "0.3.19", features = ['console'] }
11+
wasm-bindgen = "0.2.43"
12+
web-sys = { version = "0.3.20", features = ['console'] }

Diff for: 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.42"
11+
wasm-bindgen = "0.2.43"
1212

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

Diff for: 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.42"
11+
wasm-bindgen = "0.2.43"

0 commit comments

Comments
 (0)