From 2405ec2b4bcd1cc4e3bd1562c373e9d5f0cbdcb5 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Sun, 12 Jan 2025 23:46:06 +0100 Subject: [PATCH] Prepare v0.2.100 release (#4404) --- CHANGELOG.md | 4 +++- Cargo.toml | 4 ++-- crates/backend/Cargo.toml | 4 ++-- crates/cli-support/Cargo.toml | 14 +++++++------- crates/cli/Cargo.toml | 6 +++--- crates/cli/tests/reference/web-sys.js | 2 +- crates/externref-xform/Cargo.toml | 4 ++-- crates/futures/Cargo.toml | 8 ++++---- crates/js-sys/Cargo.toml | 4 ++-- crates/macro-support/Cargo.toml | 6 +++--- crates/macro/Cargo.toml | 4 ++-- crates/multi-value-xform/Cargo.toml | 4 ++-- crates/shared/Cargo.toml | 2 +- crates/shared/src/lib.rs | 2 +- crates/shared/src/schema_hash_approval.rs | 2 +- crates/test-macro/Cargo.toml | 2 +- crates/test/Cargo.toml | 10 +++++----- crates/threads-xform/Cargo.toml | 4 ++-- crates/wasm-conventions/Cargo.toml | 2 +- crates/wasm-interpreter/Cargo.toml | 4 ++-- crates/web-sys/Cargo.toml | 6 +++--- 21 files changed, 50 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 273d92f07c6..08dcd104a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ # `wasm-bindgen` Change Log -------------------------------------------------------------------------------- -## Unreleased +## [0.2.100](https://github.com/rustwasm/wasm-bindgen/compare/0.2.99...0.2.100) + +Released 2025-01-12 ### Added diff --git a/Cargo.toml b/Cargo.toml index 57536ab1ce9..cb97505b650 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ name = "wasm-bindgen" readme = "README.md" repository = "https://github.com/rustwasm/wasm-bindgen" rust-version = "1.57" -version = "0.2.99" +version = "0.2.100" [package.metadata.docs.rs] features = ["serde-serialize"] @@ -53,7 +53,7 @@ once_cell = { version = "1.12", default-features = false } rustversion = { version = "1.0", optional = true } serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } -wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.99" } +wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.100" } [dev-dependencies] once_cell = "1" diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index ab964ab8ec1..cc7566ffa1d 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-backend" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend" rust-version = "1.57" -version = "0.2.99" +version = "0.2.100" [features] extra-traits = ["syn/extra-traits"] @@ -22,7 +22,7 @@ log = "0.4" proc-macro2 = "1.0" quote = '1.0' syn = { version = '2.0', features = ['full'] } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.99" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.100" } [lints] workspace = true diff --git a/crates/cli-support/Cargo.toml b/crates/cli-support/Cargo.toml index 60e3e6fe6f0..bb4ba82842e 100644 --- a/crates/cli-support/Cargo.toml +++ b/crates/cli-support/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-cli-support" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support" rust-version = "1.76" -version = "0.2.99" +version = "0.2.100" [dependencies] anyhow = "1.0" @@ -22,12 +22,12 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tempfile = "3.0" walrus = { version = "0.23", features = ['parallel'] } -wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.99' } -wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.99' } -wasm-bindgen-shared = { path = "../shared", version = '=0.2.99' } -wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.99' } -wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.99' } -wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.99' } +wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.100' } +wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.100' } +wasm-bindgen-shared = { path = "../shared", version = '=0.2.100' } +wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.100' } +wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.100' } +wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.100' } [lints] workspace = true diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 870ca4ef325..2e9b8a28019 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-cli" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli" rust-version = "1.76" -version = "0.2.99" +version = "0.2.100" [package.metadata.binstall] bin-dir = "wasm-bindgen-{ version }-{ target }/{ bin }{ binary-ext }" @@ -33,8 +33,8 @@ serde_json = "1.0" tempfile = "3.0" ureq = { version = "2.7", default-features = false, features = ["brotli", "gzip"] } walrus = "0.23" -wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.99" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.99" } +wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.100" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.100" } [dev-dependencies] assert_cmd = "2" diff --git a/crates/cli/tests/reference/web-sys.js b/crates/cli/tests/reference/web-sys.js index b8d534c9658..37300cfdcaa 100644 --- a/crates/cli/tests/reference/web-sys.js +++ b/crates/cli/tests/reference/web-sys.js @@ -188,7 +188,7 @@ export function get_media_source() { const __wbindgen_enum_MediaSourceEnum = ["camera", "screen", "application", "window", "browser", "microphone", "audioCapture", "other"]; -export function __wbg_new_17f755666e48d1d8() { return handleError(function (arg0, arg1) { +export function __wbg_new_9ffbe0a71eff35e3() { return handleError(function (arg0, arg1) { const ret = new URL(getStringFromWasm0(arg0, arg1)); return ret; }, arguments) }; diff --git a/crates/externref-xform/Cargo.toml b/crates/externref-xform/Cargo.toml index 3da53a4d66d..22ba0977336 100644 --- a/crates/externref-xform/Cargo.toml +++ b/crates/externref-xform/Cargo.toml @@ -11,12 +11,12 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-externref-xform" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/externref-xform" rust-version = "1.76" -version = "0.2.99" +version = "0.2.100" [dependencies] anyhow = "1.0" walrus = "0.23" -wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.99" } +wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.100" } [dev-dependencies] rayon = "1.0" diff --git a/crates/futures/Cargo.toml b/crates/futures/Cargo.toml index b2b3be932da..caf381c899b 100644 --- a/crates/futures/Cargo.toml +++ b/crates/futures/Cargo.toml @@ -10,7 +10,7 @@ name = "wasm-bindgen-futures" readme = "./README.md" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures" rust-version = "1.57" -version = "0.4.49" +version = "0.4.50" [package.metadata.docs.rs] all-features = true @@ -19,9 +19,9 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] cfg-if = "1.0.0" futures-core = { version = '0.3.8', default-features = false, optional = true } -js-sys = { path = "../js-sys", version = '=0.3.76', default-features = false } +js-sys = { path = "../js-sys", version = '=0.3.77', default-features = false } once_cell = { version = "1.12", default-features = false } -wasm-bindgen = { path = "../..", version = '=0.2.99', default-features = false } +wasm-bindgen = { path = "../..", version = '=0.2.100', default-features = false } [features] default = ["std"] @@ -29,7 +29,7 @@ futures-core-03-stream = ['futures-core'] std = ["wasm-bindgen/std", "js-sys/std", "web-sys/std"] [target.'cfg(target_feature = "atomics")'.dependencies] -web-sys = { path = "../web-sys", version = "=0.3.76", default-features = false, features = [ +web-sys = { path = "../web-sys", version = "=0.3.77", default-features = false, features = [ "MessageEvent", "Worker", ] } diff --git a/crates/js-sys/Cargo.toml b/crates/js-sys/Cargo.toml index 9fdb05f6c8f..57471e4e3b1 100644 --- a/crates/js-sys/Cargo.toml +++ b/crates/js-sys/Cargo.toml @@ -14,7 +14,7 @@ name = "js-sys" readme = "./README.md" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/js-sys" rust-version = "1.57" -version = "0.3.76" +version = "0.3.77" [lib] doctest = false @@ -26,7 +26,7 @@ std = ["wasm-bindgen/std"] [dependencies] once_cell = { version = "1.12", default-features = false } -wasm-bindgen = { path = "../..", version = "=0.2.99", default-features = false } +wasm-bindgen = { path = "../..", version = "=0.2.100", default-features = false } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-futures = { path = '../futures' } diff --git a/crates/macro-support/Cargo.toml b/crates/macro-support/Cargo.toml index 75eab654bd5..2a7067ca9fb 100644 --- a/crates/macro-support/Cargo.toml +++ b/crates/macro-support/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-macro-support" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support" rust-version = "1.57" -version = "0.2.99" +version = "0.2.100" [features] extra-traits = ["syn/extra-traits"] @@ -21,8 +21,8 @@ strict-macro = [] proc-macro2 = "1.0" quote = '1.0' syn = { version = '2.0', features = ['visit', 'visit-mut', 'full'] } -wasm-bindgen-backend = { path = "../backend", version = "=0.2.99" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.99" } +wasm-bindgen-backend = { path = "../backend", version = "=0.2.100" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.100" } [lints] workspace = true diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index 1a194c6dcab..4e0fb0988c8 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-macro" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro" rust-version = "1.57" -version = "0.2.99" +version = "0.2.100" [lib] proc-macro = true @@ -22,7 +22,7 @@ xxx_debug_only_print_generated_code = [] [dependencies] quote = "1.0" -wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.99" } +wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.100" } [dev-dependencies] js-sys = { path = "../js-sys" } diff --git a/crates/multi-value-xform/Cargo.toml b/crates/multi-value-xform/Cargo.toml index 8ff477f071d..e9cf5ccc369 100644 --- a/crates/multi-value-xform/Cargo.toml +++ b/crates/multi-value-xform/Cargo.toml @@ -11,12 +11,12 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-multi-value-xform" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/multi-value-xform" rust-version = "1.76" -version = "0.2.99" +version = "0.2.100" [dependencies] anyhow = "1.0" walrus = "0.23" -wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.99" } +wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.100" } [dev-dependencies] rayon = "1.0" diff --git a/crates/shared/Cargo.toml b/crates/shared/Cargo.toml index be3071b0f38..cc22b103c56 100644 --- a/crates/shared/Cargo.toml +++ b/crates/shared/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-shared" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared" rust-version = "1.57" -version = "0.2.99" +version = "0.2.100" # Because only a single `wasm_bindgen` version can be used in a dependency # graph, pretend we link a native library so that `cargo` will provide better diff --git a/crates/shared/src/lib.rs b/crates/shared/src/lib.rs index 827d6d51033..20b1164efb3 100644 --- a/crates/shared/src/lib.rs +++ b/crates/shared/src/lib.rs @@ -7,7 +7,7 @@ mod schema_hash_approval; // This gets changed whenever our schema changes. // At this time versions of wasm-bindgen and wasm-bindgen-cli are required to have the exact same // SCHEMA_VERSION in order to work together. -pub const SCHEMA_VERSION: &str = "0.2.99"; +pub const SCHEMA_VERSION: &str = "0.2.100"; #[macro_export] macro_rules! shared_api { diff --git a/crates/shared/src/schema_hash_approval.rs b/crates/shared/src/schema_hash_approval.rs index 0f004f64550..16747438d63 100644 --- a/crates/shared/src/schema_hash_approval.rs +++ b/crates/shared/src/schema_hash_approval.rs @@ -8,7 +8,7 @@ // If the schema in this library has changed then: // 1. Bump the version in `crates/shared/Cargo.toml` // 2. Change the `SCHEMA_VERSION` in this library to this new Cargo.toml version -const APPROVED_SCHEMA_FILE_HASH: &str = "15483723499309648925"; +const APPROVED_SCHEMA_FILE_HASH: &str = "6242250402756688161"; #[test] fn schema_version() { diff --git a/crates/test-macro/Cargo.toml b/crates/test-macro/Cargo.toml index 9912554d32d..e0acc967d0b 100644 --- a/crates/test-macro/Cargo.toml +++ b/crates/test-macro/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-test-macro" repository = "https://github.com/rustwasm/wasm-bindgen" rust-version = "1.57" -version = "0.3.49" +version = "0.3.50" [lib] proc-macro = true diff --git a/crates/test/Cargo.toml b/crates/test/Cargo.toml index 004e990cac7..114304a778e 100644 --- a/crates/test/Cargo.toml +++ b/crates/test/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-test" repository = "https://github.com/rustwasm/wasm-bindgen" rust-version = "1.57" -version = "0.3.49" +version = "0.3.50" [features] default = ["std"] @@ -15,10 +15,10 @@ std = ["wasm-bindgen/std", "js-sys/std", "wasm-bindgen-futures/std"] [dependencies] gg-alloc = { version = "1.0", optional = true } -js-sys = { path = '../js-sys', version = '=0.3.76', default-features = false } -wasm-bindgen = { path = '../..', version = '=0.2.99', default-features = false } -wasm-bindgen-futures = { path = '../futures', version = '=0.4.49', default-features = false } -wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.49' } +js-sys = { path = '../js-sys', version = '=0.3.77', default-features = false } +wasm-bindgen = { path = '../..', version = '=0.2.100', default-features = false } +wasm-bindgen-futures = { path = '../futures', version = '=0.4.50', default-features = false } +wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.50' } [target.'cfg(all(target_arch = "wasm32", wasm_bindgen_unstable_test_coverage))'.dependencies] minicov = "0.3" diff --git a/crates/threads-xform/Cargo.toml b/crates/threads-xform/Cargo.toml index 3f3b5f374aa..f32e53d59e2 100644 --- a/crates/threads-xform/Cargo.toml +++ b/crates/threads-xform/Cargo.toml @@ -11,12 +11,12 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-threads-xform" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform" rust-version = "1.76" -version = "0.2.99" +version = "0.2.100" [dependencies] anyhow = "1.0" walrus = "0.23" -wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.99" } +wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.100" } [dev-dependencies] rayon = "1.0" diff --git a/crates/wasm-conventions/Cargo.toml b/crates/wasm-conventions/Cargo.toml index 10d545a0c78..3554087cbde 100644 --- a/crates/wasm-conventions/Cargo.toml +++ b/crates/wasm-conventions/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-wasm-conventions" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-conventions" rust-version = "1.76" -version = "0.2.99" +version = "0.2.100" [dependencies] leb128 = "0.2" diff --git a/crates/wasm-interpreter/Cargo.toml b/crates/wasm-interpreter/Cargo.toml index 5bf7010e0f0..3f21fcc1eb2 100644 --- a/crates/wasm-interpreter/Cargo.toml +++ b/crates/wasm-interpreter/Cargo.toml @@ -11,13 +11,13 @@ license = "MIT OR Apache-2.0" name = "wasm-bindgen-wasm-interpreter" repository = "https://github.com/rustwasm/wasm-bindgen/tree/main/crates/wasm-interpreter" rust-version = "1.76" -version = "0.2.99" +version = "0.2.100" [dependencies] anyhow = "1.0" log = "0.4" walrus = "0.23" -wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.99" } +wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.100" } [dev-dependencies] tempfile = "3" diff --git a/crates/web-sys/Cargo.toml b/crates/web-sys/Cargo.toml index 886467ca3ff..c3a73eaa363 100644 --- a/crates/web-sys/Cargo.toml +++ b/crates/web-sys/Cargo.toml @@ -12,7 +12,7 @@ name = "web-sys" readme = "./README.md" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/web-sys" rust-version = "1.57" -version = "0.3.76" +version = "0.3.77" [package.metadata.docs.rs] all-features = true @@ -23,8 +23,8 @@ doctest = false test = false [dependencies] -js-sys = { path = '../js-sys', version = '=0.3.76', default-features = false } -wasm-bindgen = { path = "../..", version = "=0.2.99", default-features = false } +js-sys = { path = '../js-sys', version = '=0.3.77', default-features = false } +wasm-bindgen = { path = "../..", version = "=0.2.100", default-features = false } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.3"