Merge pull request #1434 from alexcrichton/bump

Bump to 0.2.41
This commit is contained in:
Alex Crichton 2019-04-10 16:11:34 -05:00 committed by GitHub
commit d3fbf707e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 138 additions and 78 deletions

View File

@ -32,6 +32,66 @@ Released YYYY-MM-DD.
--------------------------------------------------------------------------------
## 0.2.41
Released 2019-04-10.
### Added
* Initial support for transitive NPM dependencies has been added, although
support has not fully landed in `wasm-pack` yet so it's not 100% integrated.
[#1305](https://github.com/rustwasm/wasm-bindgen/pull/1305)
* The `constructor` property of `Object` is now bound in `js-sys`.
[#1403](https://github.com/rustwasm/wasm-bindgen/pull/1403)
* The `Closure` type now always implements `Debug`.
[#1408](https://github.com/rustwasm/wasm-bindgen/pull/1408)
* Closures which take one `&T` argument are now supported. More implementations
may be added in the future, but for now it's just one argument closures.
[#1417](https://github.com/rustwasm/wasm-bindgen/pull/1417)
* The TypeScript bindings for `--web` now expose the `init` function.
[#1412](https://github.com/rustwasm/wasm-bindgen/pull/1412)
* A `js_sys::JsString::is_valid_utf16` method has been added to handle unpaired
surrogates in JS strings. Surrounding documentation has also been updated to
document this potential pitfall.
[#1416](https://github.com/rustwasm/wasm-bindgen/pull/1416)
* A `wasm_bindgen::function_table()` function has been added to expose the
`WebAssembly.Table` and get access to it in wasm code.
[#1431](https://github.com/rustwasm/wasm-bindgen/pull/1431)
### Fixed
* Reexporting the `wasm_bindgen` macro in crates has been fixed.
[#1359](https://github.com/rustwasm/wasm-bindgen/pull/1359)
* Returning `u32` to JS has been fixed where large `u32` values would show up in
JS as large negative numbers.
[#1401](https://github.com/rustwasm/wasm-bindgen/pull/1401)
* Manual instantiation with `WebAssembly.Module` has been fixed.
[#1419](https://github.com/rustwasm/wasm-bindgen/pull/1419)
* Error message for non-`Copy` public struct fields has been improved.
[#1430](https://github.com/rustwasm/wasm-bindgen/pull/1430)
### Changed
* Performance of passing strings to Rust in Node.js has been improved.
[#1391](https://github.com/rustwasm/wasm-bindgen/pull/1391)
* Performance of `js_sys::try_iter` has been improved.
[#1393](https://github.com/rustwasm/wasm-bindgen/pull/1393)
* Performance of using `TextEncoder#encodeInto` has been improved.
[#1414](https://github.com/rustwasm/wasm-bindgen/pull/1414)
--------------------------------------------------------------------------------
## 0.2.40
Released 2019-03-21.

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.40"
version = "0.2.41"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
@ -35,13 +35,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.40" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.41" }
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.17' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.40' }
js-sys = { path = 'crates/js-sys', version = '0.3.18' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.41' }
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-anyref-xform"
version = "0.2.40"
version = "0.2.41"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform"

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli-support"
version = "0.2.40"
version = "0.2.41"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
@ -19,7 +19,7 @@ rustc-demangle = "0.1.13"
serde_json = "1.0"
tempfile = "3.0"
walrus = "0.5.0"
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.40' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.40' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.40' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.40' }
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.41' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.41' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.41' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.41' }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli"
version = "0.2.40"
version = "0.2.41"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
@ -25,8 +25,8 @@ serde = { version = "1.0", features = ['derive'] }
serde_derive = "1.0"
serde_json = "1.0"
walrus = "0.5"
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.40" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.40" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.41" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.41" }
[dev-dependencies]
assert_cmd = "0.11"

View File

@ -7,13 +7,13 @@ 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.17"
version = "0.3.18"
edition = "2018"
[dependencies]
futures = "0.1.20"
js-sys = { path = "../js-sys", version = '0.3.17' }
wasm-bindgen = { path = "../..", version = '0.2.40' }
js-sys = { path = "../js-sys", version = '0.3.18' }
wasm-bindgen = { path = "../..", version = '0.2.41' }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.2.40' }
wasm-bindgen-test = { path = '../test', version = '0.2.41' }

View File

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

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro"
version = "0.2.40"
version = "0.2.41"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
@ -20,5 +20,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.40" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.41" }
quote = "0.6"

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-shared"
version = "0.2.40"
version = "0.2.41"
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.40"
version = "0.2.41"
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.40"
version = "0.2.41"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
@ -10,11 +10,11 @@ edition = "2018"
[dependencies]
console_error_panic_hook = '0.1'
futures = "0.1"
js-sys = { path = '../js-sys', version = '0.3.17' }
js-sys = { path = '../js-sys', version = '0.3.18' }
scoped-tls = "1.0"
wasm-bindgen = { path = '../..', version = '0.2.40' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.17' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.40' }
wasm-bindgen = { path = '../..', version = '0.2.41' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.18' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.41' }
[lib]
test = false

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-threads-xform"
version = "0.2.40"
version = "0.2.41"
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.40"
version = "0.2.41"
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.17"
version = "0.3.18"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
@ -22,17 +22,17 @@ test = false
[build-dependencies]
env_logger = "0.6.0"
failure = "0.1.2"
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.40" }
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.41" }
sourcefile = "0.1"
[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.40" }
js-sys = { path = '../js-sys', version = '0.3.17' }
wasm-bindgen = { path = "../..", version = "0.2.41" }
js-sys = { path = '../js-sys', version = '0.3.18' }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1"
wasm-bindgen-test = { path = '../test', version = '0.2.40' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.17' }
wasm-bindgen-test = { path = '../test', version = '0.2.41' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.18' }
# 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.40"
version = "0.2.41"
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.40", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.41", path = "../backend" }
weedle = "0.8"

View File

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"

View File

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.17"
wasm-bindgen = "0.2.40"
js-sys = "0.3.18"
wasm-bindgen = "0.2.41"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"

View File

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
js-sys = "0.3.17"
wasm-bindgen = "0.2.41"
js-sys = "0.3.18"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
web-sys = { version = "0.3.17", features = ['console'] }
wasm-bindgen = "0.2.41"
web-sys = { version = "0.3.18", features = ['console'] }

View File

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"

View File

@ -9,9 +9,9 @@ crate-type = ["cdylib"]
[dependencies]
futures = "0.1.20"
wasm-bindgen = { version = "0.2.40", features = ["serde-serialize"] }
js-sys = "0.3.17"
wasm-bindgen-futures = "0.3.17"
wasm-bindgen = { version = "0.2.41", features = ["serde-serialize"] }
js-sys = "0.3.18"
wasm-bindgen-futures = "0.3.18"
serde = { version = "1.0.80", features = ["derive"] }
serde_derive = "^1.0.59"

View File

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"

View File

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"

View File

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"

View File

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.17"
wasm-bindgen = "0.2.40"
js-sys = "0.3.18"
wasm-bindgen = "0.2.41"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"
humantime = "1"
[dependencies.web-sys]

View File

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

View File

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -11,8 +11,8 @@ crate-type = ["cdylib"]
askama = "0.7.2"
[dependencies]
js-sys = "0.3.17"
wasm-bindgen = "0.2.40"
js-sys = "0.3.18"
wasm-bindgen = "0.2.41"
askama = "0.7.2"
console_error_panic_hook = "0.1.5"

View File

@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
js-sys = "0.3.17"
wasm-bindgen = "0.2.41"
js-sys = "0.3.18"

View File

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"

View File

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.17"
wasm-bindgen = "0.2.40"
js-sys = "0.3.18"
wasm-bindgen = "0.2.41"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.40"
wasm-bindgen = "0.2.41"
[dependencies.web-sys]
version = "0.3.4"