Bump to 0.2.61 (#2113)

This commit is contained in:
Alex Crichton 2020-04-29 11:22:35 -05:00 committed by GitHub
parent e16f7e41bf
commit 6d61cd8b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
43 changed files with 140 additions and 90 deletions

View File

@ -2,6 +2,56 @@
--------------------------------------------------------------------------------
## 0.2.61
Released 2020-04-29.
### Added
* Exported Rust `enum` types can now be renamed with `js_name`.
[#2071](https://github.com/rustwasm/wasm-bindgen/pull/2071)
* More comments are copied to JS/TS files, and comments should no longer
accidentally have escape sequences in them.
[#2070](https://github.com/rustwasm/wasm-bindgen/pull/2070)
* Experimental bindings for the Clipboard browser APIs have been added.
[#2100](https://github.com/rustwasm/wasm-bindgen/pull/2100)
### Changed
* WebGPU bindings have been updated.
[#2080](https://github.com/rustwasm/wasm-bindgen/pull/2080)
* `setBindGroup` methods for WebIDL now take immutable slices instead of mutable
slices.
[#2087](https://github.com/rustwasm/wasm-bindgen/pull/2087)
* JS code generation for `catch` functions has been improved.
[#2098](https://github.com/rustwasm/wasm-bindgen/pull/2098)
* Usage of NPM dependencies with the `web` target is no longer an error.
[#2103](https://github.com/rustwasm/wasm-bindgen/pull/2103)
### Fixed
* Combining `js_name` with `getter` and `setter` has now been fixed.
[#2074](https://github.com/rustwasm/wasm-bindgen/pull/2074)
* Importing global names which conflict with other namespaces should now work
correctly.
[#2057](https://github.com/rustwasm/wasm-bindgen/pull/2057)
* Acquiring the global JS object has been fixed for Firefox extension content
scripts.
[#2099](https://github.com/rustwasm/wasm-bindgen/pull/2099)
* The output of `wasm-bindgen` is now compatible with Webpack 5 and the updated
version of the wasm ESM integration specification.
[#2110](https://github.com/rustwasm/wasm-bindgen/pull/2099)
--------------------------------------------------------------------------------
## 0.2.60
Released 2020-03-25.

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.60"
version = "0.2.61"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
@ -36,15 +36,15 @@ 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.60" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.61" }
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.37' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.3.10' }
wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.10' }
js-sys = { path = 'crates/js-sys', version = '0.3.38' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.3.11' }
wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.11' }
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.60"
version = "0.2.61"
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.60"
version = "0.2.61"
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 = "1.0"
quote = '1.0'
syn = { version = '1.0', features = ['full'] }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.60" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.61" }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli-support"
version = "0.2.60"
version = "0.2.61"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
@ -19,12 +19,12 @@ rustc-demangle = "0.1.13"
serde_json = "1.0"
tempfile = "3.0"
walrus = "0.14.0"
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.60' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.60' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.60' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.60' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.60' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.60' }
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.61' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.61' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.61' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.61' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.61' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.61' }
wit-text = "0.1.1"
wit-walrus = "0.1.0"
wit-validator = "0.1.0"

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli"
version = "0.2.60"
version = "0.2.61"
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 = { version = "0.14.0", features = ['parallel'] }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.60" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.60" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.61" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.61" }
[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.4.10"
version = "0.4.11"
edition = "2018"
[dependencies]
cfg-if = "0.1.9"
js-sys = { path = "../js-sys", version = '0.3.37' }
wasm-bindgen = { path = "../..", version = '0.2.60' }
js-sys = { path = "../js-sys", version = '0.3.38' }
wasm-bindgen = { path = "../..", version = '0.2.61' }
[target.'cfg(target_feature = "atomics")'.dependencies.web-sys]
path = "../web-sys"
@ -24,5 +24,5 @@ features = [
]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.3.10' }
wasm-bindgen-test = { path = '../test', version = '0.3.11' }
futures-channel-preview = { version = "0.3.0-alpha.18" }

View File

@ -1,6 +1,6 @@
[package]
name = "js-sys"
version = "0.3.37"
version = "0.3.38"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
@ -19,8 +19,8 @@ test = false
doctest = false
[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.60" }
wasm-bindgen = { path = "../..", version = "0.2.61" }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '=0.3.10' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.10' }
wasm-bindgen-test = { path = '../test', version = '=0.3.11' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.11' }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro-support"
version = "0.2.60"
version = "0.2.61"
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 = '1.0', features = ['visit'] }
quote = '1.0'
proc-macro2 = "1.0"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.60" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.60" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.61" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.61" }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro"
version = "0.2.60"
version = "0.2.61"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
@ -20,10 +20,10 @@ 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.60" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.61" }
quote = "1.0"
[dev-dependencies]
trybuild = "1.0"
wasm-bindgen = { path = "../..", version = "0.2.60", features = ['strict-macro'] }
wasm-bindgen-futures = { path = "../futures", version = "0.4.10" }
wasm-bindgen = { path = "../..", version = "0.2.61", features = ['strict-macro'] }
wasm-bindgen-futures = { path = "../futures", version = "0.4.11" }

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-shared"
version = "0.2.60"
version = "0.2.61"
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.3.10"
version = "0.3.11"
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.3.10"
version = "0.3.11"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
@ -9,11 +9,11 @@ edition = "2018"
[dependencies]
console_error_panic_hook = '0.1'
js-sys = { path = '../js-sys', version = '0.3.37' }
js-sys = { path = '../js-sys', version = '0.3.38' }
scoped-tls = "1.0"
wasm-bindgen = { path = '../..', version = '0.2.60' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.10' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.10' }
wasm-bindgen = { path = '../..', version = '0.2.61' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.11' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.11' }
[lib]
test = false

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-threads-xform"
version = "0.2.60"
version = "0.2.61"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"
@ -14,4 +14,4 @@ edition = "2018"
[dependencies]
anyhow = "1.0"
walrus = "0.14.0"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.60" }
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.61" }

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-wasm-interpreter"
version = "0.2.60"
version = "0.2.61"
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.37"
version = "0.3.38"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
@ -21,12 +21,12 @@ doctest = false
test = false
[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.60" }
js-sys = { path = '../js-sys', version = '0.3.37' }
wasm-bindgen = { path = "../..", version = "0.2.61" }
js-sys = { path = '../js-sys', version = '0.3.38' }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.3.10' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.10' }
wasm-bindgen-test = { path = '../test', version = '0.3.11' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.11' }
# This list is auto-generated by the wasm-bindgen-webidl program
[features]

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-webidl"
version = "0.2.60"
version = "0.2.61"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
categories = ["wasm"]
@ -20,7 +20,7 @@ log = "0.4.1"
proc-macro2 = "1.0"
quote = '1.0'
syn = { version = '1.0', features = ['full'] }
wasm-bindgen-backend = { version = "=0.2.60", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.61", path = "../backend" }
weedle = "0.11"
lazy_static = "1.0.0"
sourcefile = "0.1"

View File

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

View File

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.37"
wasm-bindgen = "0.2.60"
js-sys = "0.3.38"
wasm-bindgen = "0.2.61"
[dependencies.web-sys]
version = "0.3.4"

View File

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

View File

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.60"
js-sys = "0.3.37"
wasm-bindgen = "0.2.61"
js-sys = "0.3.38"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.60"
web-sys = { version = "0.3.37", features = ['console'] }
wasm-bindgen = "0.2.61"
web-sys = { version = "0.3.38", features = ['console'] }

View File

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

View File

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

View File

@ -8,9 +8,9 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = { version = "0.2.60", features = ["serde-serialize"] }
js-sys = "0.3.37"
wasm-bindgen-futures = "0.4.10"
wasm-bindgen = { version = "0.2.61", features = ["serde-serialize"] }
js-sys = "0.3.38"
wasm-bindgen-futures = "0.4.11"
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.60"
wasm-bindgen = "0.2.61"

View File

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

View File

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

View File

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

View File

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.37"
wasm-bindgen = "0.2.60"
js-sys = "0.3.38"
wasm-bindgen = "0.2.61"
[dependencies.web-sys]
version = "0.3.4"

View File

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

View File

@ -9,13 +9,13 @@ crate-type = ["cdylib"]
[dependencies]
console_error_panic_hook = "0.1"
js-sys = "0.3.37"
js-sys = "0.3.38"
rayon = "1.1.0"
rayon-core = "1.5.0"
raytracer = { git = 'https://github.com/alexcrichton/raytracer', branch = 'update-deps' }
futures-channel-preview = "0.3.0-alpha.18"
wasm-bindgen = { version = "0.2.60", features = ['serde-serialize'] }
wasm-bindgen-futures = "0.4.10"
wasm-bindgen = { version = "0.2.61", features = ['serde-serialize'] }
wasm-bindgen-futures = "0.4.11"
[dependencies.web-sys]
version = "0.3.23"

View File

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.60"
wasm-bindgen = "0.2.61"
[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.37"
wasm-bindgen = "0.2.60"
js-sys = "0.3.38"
wasm-bindgen = "0.2.61"
askama = "0.7.2"
console_error_panic_hook = "0.1.5"

View File

@ -8,6 +8,6 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.60"
js-sys = "0.3.37"
wasm-bindgen-futures = "0.4.10"
wasm-bindgen = "0.2.61"
js-sys = "0.3.38"
wasm-bindgen-futures = "0.4.11"

View File

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

View File

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

View File

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
js-sys = "0.3.37"
wasm-bindgen = "0.2.60"
js-sys = "0.3.38"
wasm-bindgen = "0.2.61"
[dependencies.web-sys]
version = "0.3.4"

View File

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.60"
wasm-bindgen = "0.2.61"
js-sys = "0.3"
[dependencies.web-sys]

View File

@ -9,9 +9,9 @@ crate-type = ["cdylib"]
[dependencies]
futures = "0.3.4"
js-sys = "0.3.37"
wasm-bindgen = {version = "0.2.60", features = ["serde-serialize"]}
wasm-bindgen-futures = "0.4.10"
js-sys = "0.3.38"
wasm-bindgen = {version = "0.2.61", features = ["serde-serialize"]}
wasm-bindgen-futures = "0.4.11"
serde = { version = "1.0.80", features = ["derive"] }
serde_derive = "^1.0.59"

View File

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