Skip to content

Bump to 0.2.66 #2256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

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

## 0.2.66

Released 2020-07-28.

### Added

* Reverse mappings from value to name are now available in JS bindings of enums.
[#2240](https://github.com/rustwasm/wasm-bindgen/pull/2240)

### Fixed

* Functions using a return pointer in threaded programs now correctly load and
store return values in a way that doesn't interfere with other threads.
[#2249](https://github.com/rustwasm/wasm-bindgen/pull/2249)

* Support for weak references has been updated and a `--weak-refs` flag is now
available in the CLI for enabling weak references.
[#2248](https://github.com/rustwasm/wasm-bindgen/pull/2248)

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

## 0.2.65

Released 2020-07-15.
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.65"
version = "0.2.66"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -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.65" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.66" }
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.42' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.3.15' }
wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.15' }
js-sys = { path = 'crates/js-sys', version = '0.3.43' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.3.16' }
wasm-bindgen-futures = { path = 'crates/futures', version = '=0.4.16' }
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
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.65"
version = "0.2.66"
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.65" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.66" }
14 changes: 7 additions & 7 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.65"
version = "0.2.66"
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,12 +19,12 @@ rustc-demangle = "0.1.13"
serde_json = "1.0"
tempfile = "3.0"
walrus = "0.18.0"
wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.65' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.65' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.65' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.65' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.65' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.65' }
wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.66' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.66' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.66' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.66' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.66' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.66' }
wit-text = "0.8.0"
wit-walrus = "0.5.0"
wit-validator = "0.2.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.65"
version = "0.2.66"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
Expand All @@ -26,8 +26,8 @@ serde = { version = "1.0", features = ['derive'] }
serde_derive = "1.0"
serde_json = "1.0"
walrus = { version = "0.18.0", features = ['parallel'] }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.65" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.65" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.66" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.66" }

[dev-dependencies]
assert_cmd = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/bin/wasm-bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fn rmain(args: &Args) -> Result<(), Error> {
.remove_producers_section(args.flag_remove_producers_section)
.typescript(typescript)
.omit_imports(args.flag_omit_imports);
if flags.flag_weak_refs {
if let Some(true) = args.flag_weak_refs {
b.weak_refs(true);
}
if let Some(ref name) = args.flag_no_modules_global {
Expand Down
2 changes: 1 addition & 1 deletion crates/externref-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-externref-xform"
version = "0.2.65"
version = "0.2.66"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/externref-xform"
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,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.15"
version = "0.4.16"
edition = "2018"

[dependencies]
cfg-if = "0.1.9"
js-sys = { path = "../js-sys", version = '0.3.42' }
wasm-bindgen = { path = "../..", version = '0.2.65' }
js-sys = { path = "../js-sys", version = '0.3.43' }
wasm-bindgen = { path = "../..", version = '0.2.66' }

[target.'cfg(target_feature = "atomics")'.dependencies.web-sys]
path = "../web-sys"
Expand All @@ -24,5 +24,5 @@ features = [
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.3.15' }
wasm-bindgen-test = { path = '../test', version = '0.3.16' }
futures-channel-preview = { version = "0.3.0-alpha.18" }
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.42"
version = "0.3.43"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
Expand All @@ -19,8 +19,8 @@ test = false
doctest = false

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.65" }
wasm-bindgen = { path = "../..", version = "0.2.66" }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '=0.3.15' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.15' }
wasm-bindgen-test = { path = '../test', version = '=0.3.16' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.16' }
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.65"
version = "0.2.66"
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.27', features = ['visit', 'full'] }
quote = '1.0'
proc-macro2 = "1.0"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.65" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.65" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.66" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.66" }
8 changes: 4 additions & 4 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.65"
version = "0.2.66"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
Expand All @@ -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.65" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.66" }
quote = "1.0"

[dev-dependencies]
trybuild = "1.0"
wasm-bindgen = { path = "../..", version = "0.2.65", features = ['strict-macro'] }
wasm-bindgen-futures = { path = "../futures", version = "0.4.15" }
wasm-bindgen = { path = "../..", version = "0.2.66", features = ['strict-macro'] }
wasm-bindgen-futures = { path = "../futures", version = "0.4.16" }
2 changes: 1 addition & 1 deletion crates/multi-value-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-multi-value-xform"
version = "0.2.65"
version = "0.2.66"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/multi-value-xform"
Expand Down
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.65"
version = "0.2.66"
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.3.15"
version = "0.3.16"
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.3.15"
version = "0.3.16"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand All @@ -9,11 +9,11 @@ edition = "2018"

[dependencies]
console_error_panic_hook = '0.1'
js-sys = { path = '../js-sys', version = '0.3.42' }
js-sys = { path = '../js-sys', version = '0.3.43' }
scoped-tls = "1.0"
wasm-bindgen = { path = '../..', version = '0.2.65' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.15' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.15' }
wasm-bindgen = { path = '../..', version = '0.2.66' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.16' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.16' }

[lib]
test = false
4 changes: 2 additions & 2 deletions 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.65"
version = "0.2.66"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"
Expand All @@ -14,4 +14,4 @@ edition = "2018"
[dependencies]
anyhow = "1.0"
walrus = "0.18.0"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.65" }
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.66" }
2 changes: 1 addition & 1 deletion crates/wasm-conventions/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-wasm-conventions"
version = "0.2.65"
version = "0.2.66"
authors = ["The wasm-bindgen developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-conventions"
Expand Down
4 changes: 2 additions & 2 deletions 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.65"
version = "0.2.66"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"
Expand All @@ -15,7 +15,7 @@ edition = '2018'
anyhow = "1.0"
log = "0.4"
walrus = "0.18.0"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.65" }
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.66" }

[dev-dependencies]
tempfile = "3"
Expand Down
10 changes: 5 additions & 5 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.42"
version = "0.3.43"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
Expand All @@ -21,12 +21,12 @@ doctest = false
test = false

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.65" }
js-sys = { path = '../js-sys', version = '0.3.42' }
wasm-bindgen = { path = "../..", version = "0.2.66" }
js-sys = { path = '../js-sys', version = '0.3.43' }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.3.15' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.15' }
wasm-bindgen-test = { path = '../test', version = '0.3.16' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.16' }

# This list is auto-generated by the wasm-bindgen-webidl program
[features]
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.65"
version = "0.2.66"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
categories = ["wasm"]
Expand All @@ -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.65", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.66", path = "../backend" }
weedle = "0.11"
lazy_static = "1.0.0"
sourcefile = "0.1"
Expand Down
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.65"
wasm-bindgen = "0.2.66"
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.42"
wasm-bindgen = "0.2.65"
js-sys = "0.3.43"
wasm-bindgen = "0.2.66"

[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.65"
wasm-bindgen = "0.2.66"
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.65"
js-sys = "0.3.42"
wasm-bindgen = "0.2.66"
js-sys = "0.3.43"

[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.65"
web-sys = { version = "0.3.42", features = ['console'] }
wasm-bindgen = "0.2.66"
web-sys = { version = "0.3.43", features = ['console'] }
2 changes: 1 addition & 1 deletion examples/deno/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.65"
wasm-bindgen = "0.2.66"
Loading