Skip to content

Commit d7695f4

Browse files
authored
Merge pull request #1536 from alexcrichton/bump
Bump to 0.2.44
2 parents 5d97b35 + 773c6ff commit d7695f4

File tree

39 files changed

+137
-79
lines changed

39 files changed

+137
-79
lines changed

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,64 @@ Released YYYY-MM-DD.
3434

3535
## 0.2.43
3636

37+
Released 2019-05-16.
38+
39+
### Added
40+
41+
* Support for exporting "fields" on JS objects wrapping Rust structs which are
42+
hooked up to getters/setters has been added. This is in addition to `pub`
43+
struct fields and allows performing more complicated computations in
44+
getters/setters.
45+
[#1440](https://github.com/rustwasm/wasm-bindgen/pull/1440)
46+
47+
* Support for futures 0.3 (and `async` / `await` syntax) has been added to the
48+
`wasm-bindgen-futures` crate.
49+
[#1507](https://github.com/rustwasm/wasm-bindgen/pull/1507)
50+
51+
* Stacks of imported JS functions that throw and aren't marked `catch` are now
52+
logged in debug mode.
53+
[#1466](https://github.com/rustwasm/wasm-bindgen/pull/1466)
54+
55+
* A utility for counting the size of the `anyref` heap has been added.
56+
[#1521](https://github.com/rustwasm/wasm-bindgen/pull/1521)
57+
58+
* Passing ASCII-only strings to WASM should now be significantly faster.
59+
[#1470](https://github.com/rustwasm/wasm-bindgen/pull/1470)
60+
61+
* The `selectionStart` and `selectionEnd` APIs of text areas have been enabled.
62+
[#1533](https://github.com/rustwasm/wasm-bindgen/pull/1533)
63+
64+
### Changed
65+
66+
* Some more methods in `web-sys` now take immutable slices instead of mutable
67+
ones.
68+
[#1508](https://github.com/rustwasm/wasm-bindgen/pull/1508)
69+
70+
* TypeScript bindings for `Option<T>` arguments now use `foo?` where possible.
71+
[#1483](https://github.com/rustwasm/wasm-bindgen/pull/1483)
72+
73+
### Fixed
74+
75+
* Unnecessary bindings to `__wbindgen_object_drop_ref` have been fixed.
76+
[#1504](https://github.com/rustwasm/wasm-bindgen/pull/1504)
77+
78+
* Some direct imports have been fixed for `--target web`.
79+
[#1503](https://github.com/rustwasm/wasm-bindgen/pull/1503)
80+
81+
* Both importing and exporting the same name has been fixed.
82+
[#1506](https://github.com/rustwasm/wasm-bindgen/pull/1506)
83+
84+
* TypeScript typings for `init` in `--target web` have been fixed.
85+
[#1520](https://github.com/rustwasm/wasm-bindgen/pull/1520)
86+
87+
* Calling a dropped `Closure` should no longer "segfault" but produce a clear
88+
error.
89+
[#1530](https://github.com/rustwasm/wasm-bindgen/pull/1530)
90+
91+
--------------------------------------------------------------------------------
92+
93+
## 0.2.43
94+
3795
Released 2019-04-29.
3896

3997
### Added

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.43"
3+
version = "0.2.44"
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.43" }
38+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.44" }
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.20' }
44-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.43' }
43+
js-sys = { path = 'crates/js-sys', version = '0.3.21' }
44+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.44' }
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' }

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

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

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.43"
3+
version = "0.2.44"
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.6"
28-
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.43" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.43" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.44" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.44" }
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.20"
10+
version = "0.3.21"
1111
edition = "2018"
1212

1313
[dependencies]
1414
futures = "0.1.20"
15-
js-sys = { path = "../js-sys", version = '0.3.20' }
16-
wasm-bindgen = { path = "../..", version = '0.2.43' }
15+
js-sys = { path = "../js-sys", version = '0.3.21' }
16+
wasm-bindgen = { path = "../..", version = '0.2.44' }
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.43' }
22+
wasm-bindgen-test = { path = '../test', version = '0.2.44' }
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.20"
3+
version = "0.3.21"
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.43" }
22+
wasm-bindgen = { path = "../..", version = "0.2.44" }
2323

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

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

crates/macro/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"
3-
version = "0.2.43"
3+
version = "0.2.44"
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.43" }
23+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.44" }
2424
quote = "0.6"
2525

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

0 commit comments

Comments
 (0)