Skip to content

Commit 9cac16f

Browse files
authored
Merge pull request #1596 from alexcrichton/bump
Bump to 0.2.46
2 parents 83a3f5d + 8fc0a38 commit 9cac16f

File tree

41 files changed

+117
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+117
-81
lines changed

Diff for: CHANGELOG.md

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

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

35+
## 0.2.46
36+
37+
Released 2019-06-14.
38+
39+
### Added
40+
41+
* Bindings for `Array#flat` and `Array#flatMap` have been added.
42+
[#1573](https://github.com/rustwasm/wasm-bindgen/pull/1573)
43+
44+
* All `#[wasm_bindgen]` types now `AsRef` to themslves.
45+
[#1583](https://github.com/rustwasm/wasm-bindgen/pull/1583)
46+
47+
* When using `--target web` the path passed to `init` is no longer required.
48+
[#1579](https://github.com/rustwasm/wasm-bindgen/pull/1579)
49+
50+
### Fixed
51+
52+
* Some diagnostics related to compiler errors in `#[wasm_bindgen]` have been
53+
improved.
54+
[#1550](https://github.com/rustwasm/wasm-bindgen/pull/1550)
55+
56+
* The support for weak references has been updated to the current JS proposal.
57+
[#1557](https://github.com/rustwasm/wasm-bindgen/pull/1557)
58+
59+
* Documentation and feature gating for web-sys dictionaries has improved.
60+
[#1572](https://github.com/rustwasm/wasm-bindgen/pull/1572)
61+
62+
* Getter and setter TypeScript has been fixed.
63+
[#1577](https://github.com/rustwasm/wasm-bindgen/pull/1577)
64+
65+
* The `env_logger` crate and its tree of dependencies is no longer required to
66+
build `web-sys`.
67+
[#1586](https://github.com/rustwasm/wasm-bindgen/pull/1586)
68+
69+
--------------------------------------------------------------------------------
70+
3571
## 0.2.45
3672

3773
Released 2019-05-20.

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.45"
3+
version = "0.2.46"
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.45" }
38+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.46" }
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.22' }
44-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.45' }
43+
js-sys = { path = 'crates/js-sys', version = '0.3.23' }
44+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.46' }
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
steps:
165165
- template: ci/azure-install-rust.yml
166166
parameters:
167-
toolchain: nightly
167+
toolchain: nightly-2019-06-13
168168
- template: ci/azure-install-sccache.yml
169169
- script: rustup component add rust-src
170170
displayName: "install rust-src"

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.45"
3+
version = "0.2.46"
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.45"
3+
version = "0.2.46"
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.45" }
25+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.46" }

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.45"
3+
version = "0.2.46"
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.8.0"
22-
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.45' }
23-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.45' }
24-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.45' }
25-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.45' }
22+
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.46' }
23+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.46' }
24+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.46' }
25+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.46' }

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.45"
3+
version = "0.2.46"
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.8.0"
28-
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.45" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.45" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.46" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.46" }
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,19 +7,19 @@ 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.22"
10+
version = "0.3.23"
1111
edition = "2018"
1212

1313
[dependencies]
1414
futures = "0.1.20"
15-
js-sys = { path = "../js-sys", version = '0.3.22' }
16-
wasm-bindgen = { path = "../..", version = '0.2.45' }
15+
js-sys = { path = "../js-sys", version = '0.3.23' }
16+
wasm-bindgen = { path = "../..", version = '0.2.46' }
1717
futures-util-preview = { version = "0.3.0-alpha.15", optional = true }
1818
futures-channel-preview = { version = "0.3.0-alpha.15", optional = true }
1919
lazy_static = { version = "1.3.0", optional = true }
2020

2121
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
22-
wasm-bindgen-test = { path = '../test', version = '0.2.45' }
22+
wasm-bindgen-test = { path = '../test', version = '0.2.46' }
2323

2424
[features]
2525
futures_0_3 = ["futures-util-preview", "futures-channel-preview", "lazy_static"]

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.22"
3+
version = "0.3.23"
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.45" }
22+
wasm-bindgen = { path = "../..", version = "0.2.46" }
2323

2424
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2525
futures = "0.1.20"
26-
wasm-bindgen-test = { path = '../test', version = '=0.2.45' }
27-
wasm-bindgen-futures = { path = '../futures', version = '=0.3.22' }
26+
wasm-bindgen-test = { path = '../test', version = '=0.2.46' }
27+
wasm-bindgen-futures = { path = '../futures', version = '=0.3.23' }

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

Diff for: 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.45"
3+
version = "0.2.46"
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.45" }
23+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.46" }
2424
quote = "0.6"
2525

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

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.45"
3+
version = "0.2.46"
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.45"
3+
version = "0.2.46"
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.45"
3+
version = "0.2.46"
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.22' }
13+
js-sys = { path = '../js-sys', version = '0.3.23' }
1414
scoped-tls = "1.0"
15-
wasm-bindgen = { path = '../..', version = '0.2.45' }
16-
wasm-bindgen-futures = { path = '../futures', version = '0.3.22' }
17-
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.45' }
15+
wasm-bindgen = { path = '../..', version = '0.2.46' }
16+
wasm-bindgen-futures = { path = '../futures', version = '0.3.23' }
17+
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.46' }
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.45"
3+
version = "0.2.46"
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.45"
3+
version = "0.2.46"
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.22"
3+
version = "0.3.23"
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.45" }
25+
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.46" }
2626
sourcefile = "0.1"
2727

2828
[dependencies]
29-
wasm-bindgen = { path = "../..", version = "0.2.45" }
30-
js-sys = { path = '../js-sys', version = '0.3.22' }
29+
wasm-bindgen = { path = "../..", version = "0.2.46" }
30+
js-sys = { path = '../js-sys', version = '0.3.23' }
3131

3232
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
3333
futures = "0.1"
34-
wasm-bindgen-test = { path = '../test', version = '0.2.45' }
35-
wasm-bindgen-futures = { path = '../futures', version = '0.3.22' }
34+
wasm-bindgen-test = { path = '../test', version = '0.2.46' }
35+
wasm-bindgen-futures = { path = '../futures', version = '0.3.23' }
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.45"
3+
version = "0.2.46"
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.45", path = "../backend" }
22+
wasm-bindgen-backend = { version = "=0.2.46", path = "../backend" }
2323
weedle = "0.9"

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.45"
11+
wasm-bindgen = "0.2.46"

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.22"
12-
wasm-bindgen = "0.2.45"
11+
js-sys = "0.3.23"
12+
wasm-bindgen = "0.2.46"
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.45"
11+
wasm-bindgen = "0.2.46"

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.45"
12-
js-sys = "0.3.22"
11+
wasm-bindgen = "0.2.46"
12+
js-sys = "0.3.23"
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.45"
12-
web-sys = { version = "0.3.22", features = ['console'] }
11+
wasm-bindgen = "0.2.46"
12+
web-sys = { version = "0.3.23", 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.45"
11+
wasm-bindgen = "0.2.46"
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.45"
11+
wasm-bindgen = "0.2.46"

Diff for: 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.45", features = ["serde-serialize"] }
13-
js-sys = "0.3.22"
14-
wasm-bindgen-futures = "0.3.22"
12+
wasm-bindgen = { version = "0.2.46", features = ["serde-serialize"] }
13+
js-sys = "0.3.23"
14+
wasm-bindgen-futures = "0.3.23"
1515
serde = { version = "1.0.80", features = ["derive"] }
1616
serde_derive = "^1.0.59"
1717

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

0 commit comments

Comments
 (0)