Merge pull request #1028 from alexcrichton/bump

Bump to 0.2.28
This commit is contained in:
Alex Crichton 2018-11-12 12:31:26 -06:00 committed by GitHub
commit c85f1b74e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
38 changed files with 139 additions and 77 deletions

View File

@ -32,6 +32,68 @@ Released YYYY-MM-DD.
--------------------------------------------------------------------------------
## 0.2.28
Released 2018-11-12.
### Added
* The `js_class` support is now supported on exported types to define a
different class in JS than is named in Rust
[#1012](https://github.com/rustwasm/wasm-bindgen/pull/1012)
* More WebIDL bindings are exposed with some internal restructuring to ignore
unimplemented types at a different location
[#1014](https://github.com/rustwasm/wasm-bindgen/pull/1014)
* All imported types now implement `Deref` to their first `extends` attribute
(or `JsValue` if one isn't listed). This is intended to greatly improve the
ergonomics of `web-sys` bindings by allowing easy access to parent class
methods
[#1019](https://github.com/rustwasm/wasm-bindgen/pull/1019)
* A new attribute, `final`, can be applied to JS imports. This attribute is
relatively nuanced and [best explained in documentation][final-dox], but is
added since `structural` is now the default
[#1019](https://github.com/rustwasm/wasm-bindgen/pull/1019)
[final-dox]: https://rustwasm.github.io/wasm-bindgen/reference/attributes/on-js-imports/final.html
* A new CLI flag, `--remove-name-section`, can be passed to remove the wasm
`name` section which contains the names of functions for debugging (typically
not needed in release mode)
[#1024](https://github.com/rustwasm/wasm-bindgen/pull/1024)
### Changed
* All imported functions are now `structural` by default. This shouldn't change
the semantics of imported functions, only how they're invoked in the JS
function shims that are generated by `wasm-bindgen`. More discussion can be
founed on [RFC 5] and the PR
[#1019](https://github.com/rustwasm/wasm-bindgen/pull/1019)
[RFC 5]: https://rustwasm.github.io/rfcs/005-structural-and-deref.html
* JS glue assertions for moved arguments are now only emitted in debug mode,
which is still off by default
[#1020](https://github.com/rustwasm/wasm-bindgen/pull/1020)
### Fixed
* Typescript generated bindings now correctly reflect `Option<T>` for more types
[#1008](https://github.com/rustwasm/wasm-bindgen/pull/1008)
* The JS shim code generation has been optimized for `structural` bindings (now
the default) to include fewer JS shims and more easily optimizable for JS
engines
[#1019](https://github.com/rustwasm/wasm-bindgen/pull/1019)
* Passing a `WebAssembly.Module` to the `--no-modules` constructor has been
fixed
[#1025](https://github.com/rustwasm/wasm-bindgen/pull/1025)
--------------------------------------------------------------------------------
## 0.2.27
Released 2018-10-29.

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
# Because only a single `wasm_bindgen` version can be used in a dependency
@ -35,13 +35,13 @@ nightly = []
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.27" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.28" }
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.4' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.27' }
js-sys = { path = 'crates/js-sys', version = '0.3.5' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.28' }
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' }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-backend"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
@ -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.27" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.28" }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli-support"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
@ -15,7 +15,7 @@ base64 = "0.9"
failure = "0.1.2"
parity-wasm = "0.35"
tempfile = "3.0"
wasm-bindgen-gc = { path = '../gc', version = '=0.2.27' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.27' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.27' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.27' }
wasm-bindgen-gc = { path = '../gc', version = '=0.2.28' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.28' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.28' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.28' }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
@ -23,8 +23,8 @@ rouille = { version = "2.1.0", default-features = false }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.27" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.27" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.28" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.28" }
openssl = { version = '0.10.11', optional = true }
[features]

View File

@ -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.4"
version = "0.3.5"
[dependencies]
futures = "0.1.20"
js-sys = { path = "../js-sys", version = '0.3.4' }
wasm-bindgen = { path = "../..", version = '0.2.27' }
js-sys = { path = "../js-sys", version = '0.3.5' }
wasm-bindgen = { path = "../..", version = '0.2.28' }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.2.27' }
wasm-bindgen-test = { path = '../test', version = '0.2.28' }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-gc"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/gc"

View File

@ -1,6 +1,6 @@
[package]
name = "js-sys"
version = "0.3.4"
version = "0.3.5"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
@ -18,9 +18,9 @@ test = false
doctest = false
[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.27" }
wasm-bindgen = { path = "../..", version = "0.2.28" }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1.20"
wasm-bindgen-test = { path = '../test', version = '=0.2.27' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.4' }
wasm-bindgen-test = { path = '../test', version = '=0.2.28' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.5' }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro-support"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
@ -18,5 +18,5 @@ extra-traits = ["syn/extra-traits"]
syn = { version = '0.15.0', features = ['visit'] }
quote = '0.6'
proc-macro2 = "0.4.9"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.27" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.27" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.28" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.28" }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
@ -18,5 +18,5 @@ spans = ["wasm-bindgen-macro-support/spans"]
xxx_debug_only_print_generated_code = []
[dependencies]
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.27" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.28" }
quote = "0.6"

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-shared"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test-macro"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing macro for wasm-bindgen"
license = "MIT/Apache-2.0"

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
@ -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.4' }
js-sys = { path = '../js-sys', version = '0.3.5' }
scoped-tls = "0.1"
wasm-bindgen = { path = '../..', version = '0.2.27' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.4' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.27' }
wasm-bindgen = { path = '../..', version = '0.2.28' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.5' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.28' }
[lib]
test = false

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-threads-xform"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-wasm-interpreter"
version = "0.2.27"
version = "0.2.28"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"

View File

@ -1,6 +1,6 @@
[package]
name = "web-sys"
version = "0.3.4"
version = "0.3.5"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
@ -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.21" }
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.22" }
sourcefile = "0.1"
[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.27" }
js-sys = { path = '../js-sys', version = '0.3.4' }
wasm-bindgen = { path = "../..", version = "0.2.28" }
js-sys = { path = '../js-sys', version = '0.3.5' }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1"
wasm-bindgen-test = { path = '../test', version = '0.2.27' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.4' }
wasm-bindgen-test = { path = '../test', version = '0.2.28' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.5' }
# 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

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-webidl"
version = "0.2.21"
version = "0.2.22"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
categories = ["wasm"]
@ -19,5 +19,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.27", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.28", path = "../backend" }
weedle = "0.8"

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"

View File

@ -7,8 +7,8 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.4"
wasm-bindgen = "0.2.27"
js-sys = "0.3.5"
wasm-bindgen = "0.2.28"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"

View File

@ -7,8 +7,8 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
js-sys = "0.3.4"
wasm-bindgen = "0.2.28"
js-sys = "0.3.5"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -7,5 +7,5 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
web-sys = { version = "0.3.4", features = ['console'] }
wasm-bindgen = "0.2.28"
web-sys = { version = "0.3.5", features = ['console'] }

View File

@ -7,7 +7,7 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"

View File

@ -8,9 +8,9 @@ crate-type = ["cdylib"]
[dependencies]
futures = "0.1.20"
wasm-bindgen = { version = "0.2.27", features = ["serde-serialize"] }
js-sys = "0.3.4"
wasm-bindgen-futures = "0.3.4"
wasm-bindgen = { version = "0.2.28", features = ["serde-serialize"] }
js-sys = "0.3.5"
wasm-bindgen-futures = "0.3.5"
serde = "^1.0.59"
serde_derive = "^1.0.59"

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"

View File

@ -7,7 +7,7 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"

View File

@ -7,8 +7,8 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.4"
wasm-bindgen = "0.2.27"
js-sys = "0.3.5"
wasm-bindgen = "0.2.28"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -7,7 +7,7 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"
humantime = "1"
[dependencies.web-sys]

View File

@ -9,10 +9,10 @@ crate-type = ["cdylib"]
[dependencies]
console_error_panic_hook = "0.1"
futures = "0.1"
js-sys = "0.3.4"
js-sys = "0.3.5"
raytracer = { git = 'https://github.com/alexcrichton/raytracer', branch = 'update-deps' }
wasm-bindgen = { version = "0.2.27", features = ['serde-serialize'] }
wasm-bindgen-futures = "0.3.4"
wasm-bindgen = { version = "0.2.28", features = ['serde-serialize'] }
wasm-bindgen-futures = "0.3.5"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -10,8 +10,8 @@ crate-type = ["cdylib"]
askama = "0.7.2"
[dependencies]
js-sys = "0.3.4"
wasm-bindgen = "0.2.27"
js-sys = "0.3.5"
wasm-bindgen = "0.2.28"
askama = "0.7.2"
[dependencies.web-sys]

View File

@ -7,5 +7,5 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
js-sys = "0.3.4"
wasm-bindgen = "0.2.28"
js-sys = "0.3.5"

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"

View File

@ -7,7 +7,7 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.27"
wasm-bindgen = "0.2.28"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -7,8 +7,8 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.4"
wasm-bindgen = "0.2.27"
js-sys = "0.3.5"
wasm-bindgen = "0.2.28"
[dependencies.web-sys]
version = "0.3.4"