Skip to content

Commit

Permalink
Merge pull request rustwasm#1310 from alexcrichton/bump
Browse files Browse the repository at this point in the history
Bump to 0.2.38
  • Loading branch information
alexcrichton authored Mar 4, 2019
2 parents 1116af4 + 86c6331 commit 688bc29
Show file tree
Hide file tree
Showing 40 changed files with 125 additions and 79 deletions.
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,52 @@ Released YYYY-MM-DD.

--------------------------------------------------------------------------------

## 0.2.38

Released 2019-03-04.

### Added

* Support for `Option<RustStruct>` in `#[wasm_bindgen]` functions has now been
added.
[#1275](https://github.com/rustwasm/wasm-bindgen/pull/1275)

* Experimental support for the `anyref` type proposal in WebAssembly has now
landed and is enabled with `WASM_BINDGEN_ANYREF=1`.
[#1002](https://github.com/rustwasm/wasm-bindgen/pull/1002)

* Support fot the new browser `TextEncode#encodeInto` API has been added.
[#1279](https://github.com/rustwasm/wasm-bindgen/pull/1279)

* JS doc comments are now added to TypeScript bindings in addition to the JS
bindings generated.
[#1302](https://github.com/rustwasm/wasm-bindgen/pull/1302)

* Initial support for `FnOnce` closures has been added to the `Closure` type.
[#1281](https://github.com/rustwasm/wasm-bindgen/pull/1281)

### Fixed

* Fixed an internal assert tripping when some modules were compiled with LTO.
[#1274](https://github.com/rustwasm/wasm-bindgen/pull/1274)

* The `Context` type in the `wasm-bindgen-test` crate had its JS name changed to
avoid conflicts with other crates that have a `Context` type being exported.
[#1280](https://github.com/rustwasm/wasm-bindgen/pull/1280)

* The headless test runner for Safari on macOS High Sierra has been fixed.
[#1298](https://github.com/rustwasm/wasm-bindgen/pull/1298)

### Changed

* The `wasm-bindgen` CLI tool now emits the `producers` section again with
relevant bugs having been fixed in the meantime. The
`--remove-producers-section` flag can continue to be used to omit emission of
this section.
[#1263](https://github.com/rustwasm/wasm-bindgen/pull/1263)

--------------------------------------------------------------------------------

## 0.2.37

Released 2019-02-15.
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
# Because only a single `wasm_bindgen` version can be used in a dependency
Expand Down Expand Up @@ -38,13 +38,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]

[dependencies]
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.37" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.38" }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
js-sys = { path = 'crates/js-sys', version = '0.3.14' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.37' }
js-sys = { path = 'crates/js-sys', version = '0.3.15' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.38' }
serde_derive = "1.0"
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
- script: npm install
- script: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
- script: cargo build -p wasm-bindgen-cli
- script: ln -snf target/debug/wasm-bindgen $HOME/.cargo/wasm-bindgen
- script: ln -snf `pwd`/target/debug/wasm-bindgen $HOME/.cargo/bin/wasm-bindgen
- script: |
for dir in `ls examples | grep -v README | grep -v asm.js | grep -v raytrace | grep -v without-a-bundler`; do
(cd examples/$dir &&
Expand Down
2 changes: 1 addition & 1 deletion crates/anyref-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-anyref-xform"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform"
Expand Down
4 changes: 2 additions & 2 deletions crates/backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-backend"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
Expand All @@ -20,4 +20,4 @@ log = "0.4"
proc-macro2 = "0.4.8"
quote = '0.6'
syn = { version = '0.15', features = ['full'] }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.37" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" }
10 changes: 5 additions & 5 deletions crates/cli-support/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli-support"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
Expand All @@ -18,7 +18,7 @@ log = "0.4"
rustc-demangle = "0.1.13"
tempfile = "3.0"
walrus = "0.4.0"
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.37' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.37' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.37' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.37' }
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.38' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.38' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.38' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.38' }
6 changes: 3 additions & 3 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
Expand All @@ -25,8 +25,8 @@ serde = { version = "1.0", features = ['derive'] }
serde_derive = "1.0"
serde_json = "1.0"
walrus = "0.4"
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.37" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.37" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.38" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" }

[features]
vendored-openssl = ['openssl/vendored']
8 changes: 4 additions & 4 deletions crates/futures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ license = "MIT/Apache-2.0"
name = "wasm-bindgen-futures"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures"
readme = "./README.md"
version = "0.3.14"
version = "0.3.15"

[dependencies]
futures = "0.1.20"
js-sys = { path = "../js-sys", version = '0.3.14' }
wasm-bindgen = { path = "../..", version = '0.2.37' }
js-sys = { path = "../js-sys", version = '0.3.15' }
wasm-bindgen = { path = "../..", version = '0.2.38' }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.2.37' }
wasm-bindgen-test = { path = '../test', version = '0.2.38' }
8 changes: 4 additions & 4 deletions crates/js-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "js-sys"
version = "0.3.14"
version = "0.3.15"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
Expand All @@ -18,9 +18,9 @@ test = false
doctest = false

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.37" }
wasm-bindgen = { path = "../..", version = "0.2.38" }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1.20"
wasm-bindgen-test = { path = '../test', version = '=0.2.37' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.14' }
wasm-bindgen-test = { path = '../test', version = '=0.2.38' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.15' }
6 changes: 3 additions & 3 deletions crates/macro-support/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro-support"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
Expand All @@ -19,5 +19,5 @@ strict-macro = []
syn = { version = '0.15.0', features = ['visit'] }
quote = '0.6'
proc-macro2 = "0.4.9"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.37" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.37" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.38" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" }
4 changes: 2 additions & 2 deletions crates/macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
Expand All @@ -19,5 +19,5 @@ xxx_debug_only_print_generated_code = []
strict-macro = ["wasm-bindgen-macro-support/strict-macro"]

[dependencies]
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.37" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.38" }
quote = "0.6"
2 changes: 1 addition & 1 deletion crates/shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-shared"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"
Expand Down
2 changes: 1 addition & 1 deletion crates/test-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test-macro"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing macro for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand Down
10 changes: 5 additions & 5 deletions crates/test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand All @@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen"
[dependencies]
console_error_panic_hook = '0.1'
futures = "0.1"
js-sys = { path = '../js-sys', version = '0.3.14' }
js-sys = { path = '../js-sys', version = '0.3.15' }
scoped-tls = "1.0"
wasm-bindgen = { path = '../..', version = '0.2.37' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.14' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.37' }
wasm-bindgen = { path = '../..', version = '0.2.38' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.15' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.38' }

[lib]
test = false
2 changes: 1 addition & 1 deletion crates/threads-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-threads-xform"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm-interpreter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-wasm-interpreter"
version = "0.2.37"
version = "0.2.38"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"
Expand Down
12 changes: 6 additions & 6 deletions crates/web-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "web-sys"
version = "0.3.14"
version = "0.3.15"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
Expand All @@ -21,17 +21,17 @@ test = false
[build-dependencies]
env_logger = "0.6.0"
failure = "0.1.2"
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.31" }
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.32" }
sourcefile = "0.1"

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.37" }
js-sys = { path = '../js-sys', version = '0.3.14' }
wasm-bindgen = { path = "../..", version = "0.2.38" }
js-sys = { path = '../js-sys', version = '0.3.15' }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1"
wasm-bindgen-test = { path = '../test', version = '0.2.37' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.14' }
wasm-bindgen-test = { path = '../test', version = '0.2.38' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.15' }

# This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when
# compiling this crate which dumps the total list of features to a file called
Expand Down
4 changes: 2 additions & 2 deletions crates/webidl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-webidl"
version = "0.2.31"
version = "0.2.32"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
categories = ["wasm"]
Expand All @@ -18,5 +18,5 @@ log = "0.4.1"
proc-macro2 = "0.4.8"
quote = '0.6'
syn = { version = '0.15', features = ['full'] }
wasm-bindgen-backend = { version = "=0.2.37", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.38", path = "../backend" }
weedle = "0.8"
2 changes: 1 addition & 1 deletion examples/add/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.37"
wasm-bindgen = "0.2.38"
4 changes: 2 additions & 2 deletions examples/canvas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
js-sys = "0.3.14"
wasm-bindgen = "0.2.37"
js-sys = "0.3.15"
wasm-bindgen = "0.2.38"

[dependencies.web-sys]
version = "0.3.4"
Expand Down
2 changes: 1 addition & 1 deletion examples/char/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.37"
wasm-bindgen = "0.2.38"
4 changes: 2 additions & 2 deletions examples/closures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.37"
js-sys = "0.3.14"
wasm-bindgen = "0.2.38"
js-sys = "0.3.15"

[dependencies.web-sys]
version = "0.3.4"
Expand Down
4 changes: 2 additions & 2 deletions examples/console_log/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.37"
web-sys = { version = "0.3.14", features = ['console'] }
wasm-bindgen = "0.2.38"
web-sys = { version = "0.3.15", features = ['console'] }
2 changes: 1 addition & 1 deletion examples/dom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.37"
wasm-bindgen = "0.2.38"

[dependencies.web-sys]
version = "0.3.4"
Expand Down
2 changes: 1 addition & 1 deletion examples/duck-typed-interfaces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.37"
wasm-bindgen = "0.2.38"
6 changes: 3 additions & 3 deletions examples/fetch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ crate-type = ["cdylib"]

[dependencies]
futures = "0.1.20"
wasm-bindgen = { version = "0.2.37", features = ["serde-serialize"] }
js-sys = "0.3.14"
wasm-bindgen-futures = "0.3.14"
wasm-bindgen = { version = "0.2.38", features = ["serde-serialize"] }
js-sys = "0.3.15"
wasm-bindgen-futures = "0.3.15"
serde = { version = "1.0.80", features = ["derive"] }
serde_derive = "^1.0.59"

Expand Down
2 changes: 1 addition & 1 deletion examples/guide-supported-types-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.37"
wasm-bindgen = "0.2.38"
Loading

0 comments on commit 688bc29

Please sign in to comment.