Skip to content

Commit e075d04

Browse files
authored
Merge pull request #1342 from alexcrichton/bump
Bump to 0.2.39
2 parents 4cda18f + 228f58d commit e075d04

File tree

40 files changed

+110
-78
lines changed

40 files changed

+110
-78
lines changed

CHANGELOG.md

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

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

35+
## 0.2.39
36+
37+
Released 2018-03-13.
38+
39+
### Added
40+
41+
* Crates can now import locally written JS snippets to get bundled into the
42+
final output. See [RFC 6] for more details as well as the PR.
43+
[#1295](https://github.com/rustwasm/wasm-bindgen/pull/1295)
44+
45+
[RFC 6]: https://github.com/rustwasm/rfcs/pull/6
46+
47+
### Changed
48+
49+
* A typo in the return value of `slice` methods on typed arrays in `js-sys` was
50+
corrected.
51+
[#1321](https://github.com/rustwasm/wasm-bindgen/pull/1321)
52+
53+
* The directory specified by `--out-dir` is now created if it doesn't exist
54+
already.
55+
[#1330](https://github.com/rustwasm/wasm-bindgen/pull/1330)
56+
57+
### Fixed
58+
59+
* A bug where if `nom` was in a crate graph and was compiled with the
60+
`verbose-errors` feature has been fixed. Previously the `wasm-bindgen-webidl`
61+
crate wouldn't compile, and now it will.
62+
[#1338](https://github.com/rustwasm/wasm-bindgen/pull/1338)
63+
64+
--------------------------------------------------------------------------------
65+
3566
## 0.2.38
3667

3768
Released 2019-03-04.

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.38"
3+
version = "0.2.39"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
# Because only a single `wasm_bindgen` version can be used in a dependency
@@ -38,13 +38,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
3838
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
3939

4040
[dependencies]
41-
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.38" }
41+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.39" }
4242
serde = { version = "1.0", optional = true }
4343
serde_json = { version = "1.0", optional = true }
4444

4545
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
46-
js-sys = { path = 'crates/js-sys', version = '0.3.15' }
47-
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.38' }
46+
js-sys = { path = 'crates/js-sys', version = '0.3.16' }
47+
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.39' }
4848
serde_derive = "1.0"
4949
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
5050
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.38"
3+
version = "0.2.39"
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.38"
3+
version = "0.2.39"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
@@ -21,4 +21,4 @@ log = "0.4"
2121
proc-macro2 = "0.4.8"
2222
quote = '0.6'
2323
syn = { version = '0.15', features = ['full'] }
24-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" }
24+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" }

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.38"
3+
version = "0.2.39"
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"
@@ -18,7 +18,7 @@ log = "0.4"
1818
rustc-demangle = "0.1.13"
1919
tempfile = "3.0"
2020
walrus = "0.5.0"
21-
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.38' }
22-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.38' }
23-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.38' }
24-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.38' }
21+
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.39' }
22+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.39' }
23+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.39' }
24+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.39' }

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.38"
3+
version = "0.2.39"
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.38" }
29-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" }
28+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.39" }
29+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" }
3030

3131
[features]
3232
vendored-openssl = ['openssl/vendored']

crates/futures/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ 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.15"
10+
version = "0.3.16"
1111

1212
[dependencies]
1313
futures = "0.1.20"
14-
js-sys = { path = "../js-sys", version = '0.3.15' }
15-
wasm-bindgen = { path = "../..", version = '0.2.38' }
14+
js-sys = { path = "../js-sys", version = '0.3.16' }
15+
wasm-bindgen = { path = "../..", version = '0.2.39' }
1616

1717
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
18-
wasm-bindgen-test = { path = '../test', version = '0.2.38' }
18+
wasm-bindgen-test = { path = '../test', version = '0.2.39' }

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.15"
3+
version = "0.3.16"
44
authors = ["The wasm-bindgen Developers"]
55
readme = "./README.md"
66
categories = ["wasm"]
@@ -18,9 +18,9 @@ test = false
1818
doctest = false
1919

2020
[dependencies]
21-
wasm-bindgen = { path = "../..", version = "0.2.38" }
21+
wasm-bindgen = { path = "../..", version = "0.2.39" }
2222

2323
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2424
futures = "0.1.20"
25-
wasm-bindgen-test = { path = '../test', version = '=0.2.38' }
26-
wasm-bindgen-futures = { path = '../futures', version = '=0.3.15' }
25+
wasm-bindgen-test = { path = '../test', version = '=0.2.39' }
26+
wasm-bindgen-futures = { path = '../futures', version = '=0.3.16' }

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

crates/macro/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-macro"
3-
version = "0.2.38"
3+
version = "0.2.39"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
@@ -19,5 +19,5 @@ xxx_debug_only_print_generated_code = []
1919
strict-macro = ["wasm-bindgen-macro-support/strict-macro"]
2020

2121
[dependencies]
22-
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.38" }
22+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.39" }
2323
quote = "0.6"

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

crates/test-macro/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-test-macro"
3-
version = "0.2.38"
3+
version = "0.2.39"
44
authors = ["The wasm-bindgen Developers"]
55
description = "Internal testing macro for wasm-bindgen"
66
license = "MIT/Apache-2.0"

crates/test/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-test"
3-
version = "0.2.38"
3+
version = "0.2.39"
44
authors = ["The wasm-bindgen Developers"]
55
description = "Internal testing crate for wasm-bindgen"
66
license = "MIT/Apache-2.0"
@@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen"
99
[dependencies]
1010
console_error_panic_hook = '0.1'
1111
futures = "0.1"
12-
js-sys = { path = '../js-sys', version = '0.3.15' }
12+
js-sys = { path = '../js-sys', version = '0.3.16' }
1313
scoped-tls = "1.0"
14-
wasm-bindgen = { path = '../..', version = '0.2.38' }
15-
wasm-bindgen-futures = { path = '../futures', version = '0.3.15' }
16-
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.38' }
14+
wasm-bindgen = { path = '../..', version = '0.2.39' }
15+
wasm-bindgen-futures = { path = '../futures', version = '0.3.16' }
16+
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.39' }
1717

1818
[lib]
1919
test = false

crates/threads-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-threads-xform"
3-
version = "0.2.38"
3+
version = "0.2.39"
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"

crates/wasm-interpreter/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-wasm-interpreter"
3-
version = "0.2.38"
3+
version = "0.2.39"
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"

crates/web-sys/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "web-sys"
3-
version = "0.3.15"
3+
version = "0.3.16"
44
authors = ["The wasm-bindgen Developers"]
55
readme = "./README.md"
66
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
@@ -21,17 +21,17 @@ test = false
2121
[build-dependencies]
2222
env_logger = "0.6.0"
2323
failure = "0.1.2"
24-
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.32" }
24+
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.39" }
2525
sourcefile = "0.1"
2626

2727
[dependencies]
28-
wasm-bindgen = { path = "../..", version = "0.2.38" }
29-
js-sys = { path = '../js-sys', version = '0.3.15' }
28+
wasm-bindgen = { path = "../..", version = "0.2.39" }
29+
js-sys = { path = '../js-sys', version = '0.3.16' }
3030

3131
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
3232
futures = "0.1"
33-
wasm-bindgen-test = { path = '../test', version = '0.2.38' }
34-
wasm-bindgen-futures = { path = '../futures', version = '0.3.15' }
33+
wasm-bindgen-test = { path = '../test', version = '0.2.39' }
34+
wasm-bindgen-futures = { path = '../futures', version = '0.3.16' }
3535

3636
# This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when
3737
# compiling this crate which dumps the total list of features to a file called

crates/webidl/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-webidl"
3-
version = "0.2.32"
3+
version = "0.2.39"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
66
categories = ["wasm"]
@@ -18,5 +18,5 @@ log = "0.4.1"
1818
proc-macro2 = "0.4.8"
1919
quote = '0.6'
2020
syn = { version = '0.15', features = ['full'] }
21-
wasm-bindgen-backend = { version = "=0.2.38", path = "../backend" }
21+
wasm-bindgen-backend = { version = "=0.2.39", path = "../backend" }
2222
weedle = "0.8"

examples/add/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.38"
11+
wasm-bindgen = "0.2.39"

examples/canvas/Cargo.toml

Lines changed: 2 additions & 2 deletions
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.15"
12-
wasm-bindgen = "0.2.38"
11+
js-sys = "0.3.16"
12+
wasm-bindgen = "0.2.39"
1313

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

examples/char/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.38"
11+
wasm-bindgen = "0.2.39"

examples/closures/Cargo.toml

Lines changed: 2 additions & 2 deletions
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.38"
12-
js-sys = "0.3.15"
11+
wasm-bindgen = "0.2.39"
12+
js-sys = "0.3.16"
1313

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

examples/console_log/Cargo.toml

Lines changed: 2 additions & 2 deletions
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.38"
12-
web-sys = { version = "0.3.15", features = ['console'] }
11+
wasm-bindgen = "0.2.39"
12+
web-sys = { version = "0.3.16", features = ['console'] }

examples/dom/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.38"
11+
wasm-bindgen = "0.2.39"
1212

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

examples/duck-typed-interfaces/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.38"
11+
wasm-bindgen = "0.2.39"

examples/fetch/Cargo.toml

Lines changed: 3 additions & 3 deletions
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.38", features = ["serde-serialize"] }
13-
js-sys = "0.3.15"
14-
wasm-bindgen-futures = "0.3.15"
12+
wasm-bindgen = { version = "0.2.39", features = ["serde-serialize"] }
13+
js-sys = "0.3.16"
14+
wasm-bindgen-futures = "0.3.16"
1515
serde = { version = "1.0.80", features = ["derive"] }
1616
serde_derive = "^1.0.59"
1717

examples/guide-supported-types-examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.38"
11+
wasm-bindgen = "0.2.39"

examples/hello_world/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.38"
11+
wasm-bindgen = "0.2.39"

examples/import_js/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.38"
11+
wasm-bindgen = "0.2.39"

examples/julia_set/Cargo.toml

Lines changed: 1 addition & 1 deletion
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.38"
11+
wasm-bindgen = "0.2.39"
1212

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

0 commit comments

Comments
 (0)