Skip to content

Commit

Permalink
Merge pull request #1722 from alexcrichton/bump
Browse files Browse the repository at this point in the history
Bump to 0.2.49
  • Loading branch information
alexcrichton authored Aug 14, 2019
2 parents 603d574 + e08ea46 commit 906ac15
Show file tree
Hide file tree
Showing 41 changed files with 122 additions and 93 deletions.
53 changes: 41 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,62 @@

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

## Unreleased
## 0.2.49

Released YYYY-MM-DD.
Released 2019-08-14.

### Added

* TODO (or remove section if none)
* Add binding for `Element.getElementsByClassName`.
[#1665](https://github.com/rustwasm/wasm-bindgen/pull/1665)

### Changed
* `PartialEq` and `Eq` are now implementd for all `web-sys` types.
[#1673](https://github.com/rustwasm/wasm-bindgen/pull/1673)

* TODO (or remove section if none)
* The `wasm-bindgen-futures` crate now has support for futures when the
experimental WebAssembly threading feature is enabled.
[#1514](https://github.com/rustwasm/wasm-bindgen/pull/1514)

### Deprecated
* A new `enable-interning` feature is available to intern strings and reduce the
cost of transferring strings across the JS/Rust boundary.
[#1612](https://github.com/rustwasm/wasm-bindgen/pull/1612)

* TODO (or remove section if none)
* The `wasm-bindgen` CLI has experimental support for reading native
`webidl-bindings` custom sections and generating JS glue. This support is in
addition to Rust's own custom sections and allows using `wasm-bindgen` with
binaries produced by other than rustc possibly.
[#1690](https://github.com/rustwasm/wasm-bindgen/pull/1690)

### Removed
* New environment variables have been added to configure webdriver startup
arguments.
[#1703](https://github.com/rustwasm/wasm-bindgen/pull/1703)

* New `JsValue::{is_truthy,is_falsy}` methods are now available.
[#1638](https://github.com/rustwasm/wasm-bindgen/pull/1638)

### Changed

* JS import shims are now skipped again when they are unnecessary.
[#1654](https://github.com/rustwasm/wasm-bindgen/pull/1654)

* TODO (or remove section if none)
* WebAssembly output files now directly embed the module/name for imports if
supported for the target and the import, reducing JS shims even further.
[#1689](https://github.com/rustwasm/wasm-bindgen/pull/1689)

### Fixed

* TODO (or remove section if none)
* Support for threads have been updated for LLVM 9 and nightly Rust.
[#1675](https://github.com/rustwasm/wasm-bindgen/pull/1675)
[#1688](https://github.com/rustwasm/wasm-bindgen/pull/1688)

### Security
* The `anyref` passes in `wasm-bindgen` have seen a number of fixes to improve
their correctness and get the full test suite running.
[#1692](https://github.com/rustwasm/wasm-bindgen/pull/1692)
[#1704](https://github.com/rustwasm/wasm-bindgen/pull/1704)

* TODO (or remove section if none)
* Support for `futures-preview 0.3.0-alpha.18` has been added to
`wasm-bindgen-futures`.
[#1716](https://github.com/rustwasm/wasm-bindgen/pull/1716)

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

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.48"
version = "0.2.49"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -36,14 +36,14 @@ 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.48" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.49" }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
cfg-if = "0.1.9"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
js-sys = { path = 'crates/js-sys', version = '0.3.25' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.48' }
js-sys = { path = 'crates/js-sys', version = '0.3.26' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.49' }
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 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.48"
version = "0.2.49"
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.48"
version = "0.2.49"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
Expand All @@ -22,4 +22,4 @@ log = "0.4"
proc-macro2 = "1.0"
quote = '1.0'
syn = { version = '1.0', features = ['full'] }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.48" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.49" }
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.48"
version = "0.2.49"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
Expand All @@ -19,8 +19,8 @@ rustc-demangle = "0.1.13"
serde_json = "1.0"
tempfile = "3.0"
walrus = "0.11.0"
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.48' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.48' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.48' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.48' }
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.49' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.49' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.49' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.49' }
wasm-webidl-bindings = "0.4.0"
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.48"
version = "0.2.49"
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 = { version = "0.11.0", features = ['parallel'] }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.48" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.48" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.49" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.49" }

[dev-dependencies]
assert_cmd = "0.11"
Expand Down
8 changes: 4 additions & 4 deletions crates/futures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ 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.25"
version = "0.3.26"
edition = "2018"

[dependencies]
cfg-if = "0.1.9"
futures = "0.1.20"
js-sys = { path = "../js-sys", version = '0.3.25' }
wasm-bindgen = { path = "../..", version = '0.2.48' }
js-sys = { path = "../js-sys", version = '0.3.26' }
wasm-bindgen = { path = "../..", version = '0.2.49' }
futures-util-preview = { version = "0.3.0-alpha.18", optional = true }
futures-channel-preview = { version = "0.3.0-alpha.18", optional = true }
lazy_static = { version = "1.3.0", optional = true }
Expand All @@ -28,7 +28,7 @@ features = [
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.2.48' }
wasm-bindgen-test = { path = '../test', version = '0.2.49' }

[features]
futures_0_3 = ["futures-util-preview", "futures-channel-preview", "lazy_static"]
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.25"
version = "0.3.26"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
Expand All @@ -19,9 +19,9 @@ test = false
doctest = false

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.48" }
wasm-bindgen = { path = "../..", version = "0.2.49" }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1.20"
wasm-bindgen-test = { path = '../test', version = '=0.2.48' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.25' }
wasm-bindgen-test = { path = '../test', version = '=0.2.49' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.26' }
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.48"
version = "0.2.49"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
Expand All @@ -20,5 +20,5 @@ strict-macro = []
syn = { version = '1.0', features = ['visit'] }
quote = '1.0'
proc-macro2 = "1.0"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.48" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.48" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.49" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.49" }
6 changes: 3 additions & 3 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.48"
version = "0.2.49"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
Expand All @@ -20,9 +20,9 @@ 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.48" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.49" }
quote = "1.0"

[dev-dependencies]
trybuild = "1.0"
wasm-bindgen = { path = "../..", version = "0.2.48", features = ['strict-macro'] }
wasm-bindgen = { path = "../..", version = "0.2.49", features = ['strict-macro'] }
2 changes: 1 addition & 1 deletion crates/macro/ui-tests/invalid-methods.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ warning: unused macro definition
26 | macro_rules! x { () => () }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_macros)] on by default
= note: `#[warn(unused_macros)]` on by default
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.48"
version = "0.2.49"
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.48"
version = "0.2.49"
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.48"
version = "0.2.49"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand All @@ -10,11 +10,11 @@ edition = "2018"
[dependencies]
console_error_panic_hook = '0.1'
futures = "0.1"
js-sys = { path = '../js-sys', version = '0.3.25' }
js-sys = { path = '../js-sys', version = '0.3.26' }
scoped-tls = "1.0"
wasm-bindgen = { path = '../..', version = '0.2.48' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.25' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.48' }
wasm-bindgen = { path = '../..', version = '0.2.49' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.26' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.49' }

[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.48"
version = "0.2.49"
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.48"
version = "0.2.49"
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.25"
version = "0.3.26"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
Expand All @@ -22,17 +22,17 @@ test = false
[build-dependencies]
env_logger = { version = "0.6.0", optional = true }
failure = "0.1.2"
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.48" }
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.49" }
sourcefile = "0.1"

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.48" }
js-sys = { path = '../js-sys', version = '0.3.25' }
wasm-bindgen = { path = "../..", version = "0.2.49" }
js-sys = { path = '../js-sys', version = '0.3.26' }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1"
wasm-bindgen-test = { path = '../test', version = '0.2.48' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.25' }
wasm-bindgen-test = { path = '../test', version = '0.2.49' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.26' }

# 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.48"
version = "0.2.49"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
categories = ["wasm"]
Expand All @@ -19,5 +19,5 @@ log = "0.4.1"
proc-macro2 = "1.0"
quote = '1.0'
syn = { version = '1.0', features = ['full'] }
wasm-bindgen-backend = { version = "=0.2.48", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.49", path = "../backend" }
weedle = "0.10"
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.48"
wasm-bindgen = "0.2.49"
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.25"
wasm-bindgen = "0.2.48"
js-sys = "0.3.26"
wasm-bindgen = "0.2.49"

[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.48"
wasm-bindgen = "0.2.49"
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.48"
js-sys = "0.3.25"
wasm-bindgen = "0.2.49"
js-sys = "0.3.26"

[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.48"
web-sys = { version = "0.3.25", features = ['console'] }
wasm-bindgen = "0.2.49"
web-sys = { version = "0.3.26", features = ['console'] }
Loading

0 comments on commit 906ac15

Please sign in to comment.