Skip to content

Commit 8fc0a38

Browse files
committed
Bump to 0.2.46
1 parent 83a3f5d commit 8fc0a38

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

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
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.

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.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' }

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
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"

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.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"

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.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" }

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.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' }

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.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"

crates/futures/Cargo.toml

Lines changed: 4 additions & 4 deletions
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"]

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.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' }

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.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" }

0 commit comments

Comments
 (0)