Skip to content

Commit a3ddd09

Browse files
authored
Merge pull request #1660 from alexcrichton/bump
Bump to 0.2.48
2 parents 5c97559 + e596ef5 commit a3ddd09

File tree

40 files changed

+122
-81
lines changed

40 files changed

+122
-81
lines changed

CHANGELOG.md

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

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

35+
## 0.2.48
36+
37+
Released 2019-07-11.
38+
39+
### Added
40+
41+
* All typed arrays now implement `From` for the corresponding Rust slice type,
42+
providing a safe way to create an instance which copies the data.
43+
[#1620](https://github.com/rustwasm/wasm-bindgen/pull/1620)
44+
45+
* `Function::bind{2,3,4}` are now available in `js-sys`.
46+
[#1633](https://github.com/rustwasm/wasm-bindgen/pull/1633)
47+
48+
### Changed
49+
50+
* More WebGL methods have been updated to use shared slices instead of mutable
51+
slices.
52+
[#1639](https://github.com/rustwasm/wasm-bindgen/pull/1639)
53+
54+
* When using the `bundler` target the import of the wasm file now uses the
55+
`.wasm` extension to ensure a wasm file is loaded.
56+
[#1646](https://github.com/rustwasm/wasm-bindgen/pull/1646)
57+
58+
* The old internal `Stack` trait has been removed since it is no longer used.
59+
[#1624](https://github.com/rustwasm/wasm-bindgen/pull/1624)
60+
61+
### Fixed
62+
63+
* The `js_sys::global()` accessor now attempts other strategies before falling
64+
back to a `Function` constructor which can violate some strict CSP settings.
65+
[#1650](https://github.com/rustwasm/wasm-bindgen/pull/1649)
66+
67+
* Dropping a `JsFuture` no longer logs a benign error to the console.
68+
[#1649](https://github.com/rustwasm/wasm-bindgen/pull/1649)
69+
70+
* Fixed an assertion which could happen in some modules when generating
71+
bindings.
72+
[#1617](https://github.com/rustwasm/wasm-bindgen/pull/1617)
73+
74+
--------------------------------------------------------------------------------
75+
3576
## 0.2.47
3677

3778
Released 2019-06-19.

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.47"
3+
version = "0.2.48"
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.47" }
38+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.48" }
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.24' }
44-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.47' }
43+
js-sys = { path = 'crates/js-sys', version = '0.3.25' }
44+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.48' }
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.47"
3+
version = "0.2.48"
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.47"
3+
version = "0.2.48"
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.47" }
25+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.48" }

crates/cli-support/Cargo.toml

Lines changed: 6 additions & 6 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.47"
3+
version = "0.2.48"
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,8 +19,8 @@ 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.47' }
23-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.47' }
24-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.47' }
25-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.47' }
26-
wasm-webidl-bindings = { git = 'https://github.com/rustwasm/wasm-webidl-bindings' }
22+
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.48' }
23+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.48' }
24+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.48' }
25+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.48' }
26+
wasm-webidl-bindings = "0.1.0"

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.47"
3+
version = "0.2.48"
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.47" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.47" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.48" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.48" }
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.24"
10+
version = "0.3.25"
1111
edition = "2018"
1212

1313
[dependencies]
1414
futures = "0.1.20"
15-
js-sys = { path = "../js-sys", version = '0.3.24' }
16-
wasm-bindgen = { path = "../..", version = '0.2.47' }
15+
js-sys = { path = "../js-sys", version = '0.3.25' }
16+
wasm-bindgen = { path = "../..", version = '0.2.48' }
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.47' }
22+
wasm-bindgen-test = { path = '../test', version = '0.2.48' }
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.24"
3+
version = "0.3.25"
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.47" }
22+
wasm-bindgen = { path = "../..", version = "0.2.48" }
2323

2424
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2525
futures = "0.1.20"
26-
wasm-bindgen-test = { path = '../test', version = '=0.2.47' }
27-
wasm-bindgen-futures = { path = '../futures', version = '=0.3.24' }
26+
wasm-bindgen-test = { path = '../test', version = '=0.2.48' }
27+
wasm-bindgen-futures = { path = '../futures', version = '=0.3.25' }

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

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

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

0 commit comments

Comments
 (0)