Skip to content

Commit

Permalink
Prepare v0.2.96 release (#4298)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Nov 29, 2024
1 parent 473e3db commit 7ad4766
Show file tree
Hide file tree
Showing 21 changed files with 57 additions and 55 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# `wasm-bindgen` Change Log
--------------------------------------------------------------------------------

## Unreleased
## [0.2.96](https://github.com/rustwasm/wasm-bindgen/compare/0.2.95...0.2.96)

Released 2024-11-29

### Added

Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name = "wasm-bindgen"
readme = "README.md"
repository = "https://github.com/rustwasm/wasm-bindgen"
rust-version = "1.57"
version = "0.2.95"
version = "0.2.96"

[package.metadata.docs.rs]
features = ["serde-serialize"]
Expand Down Expand Up @@ -45,15 +45,15 @@ cfg-if = "1.0.0"
once_cell = { version = "1.12", default-features = false }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.95", default-features = false }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.96", default-features = false }

[target.'cfg(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "none"), target_feature = "atomics"))'.dependencies]
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.95", default-features = false, features = [
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.96", default-features = false, features = [
"atomics",
] }

[target.'cfg(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "none"), wasm_bindgen_unstable_test_coverage))'.dependencies]
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.95", default-features = false, features = [
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.96", default-features = false, features = [
"coverage",
] }

Expand Down
4 changes: 2 additions & 2 deletions crates/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[features]
atomics = []
Expand All @@ -28,7 +28,7 @@ once_cell = "1.12"
proc-macro2 = "1.0"
quote = '1.0'
syn = { version = '2.0', features = ['full'] }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.95" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.96" }

[lints]
workspace = true
14 changes: 7 additions & 7 deletions crates/cli-support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[dependencies]
anyhow = "1.0"
Expand All @@ -23,12 +23,12 @@ serde_json = "1.0"
tempfile = "3.0"
unicode-ident = "1.0.5"
walrus = "0.23"
wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.95' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.95' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.95' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.95' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.95' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.95' }
wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.96' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.96' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.96' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.96' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.96' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.96' }

[lints]
workspace = true
6 changes: 3 additions & 3 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[package.metadata.binstall]
bin-dir = "wasm-bindgen-{ version }-{ target }/{ bin }{ binary-ext }"
Expand All @@ -32,8 +32,8 @@ serde_derive = "1.0"
serde_json = "1.0"
ureq = { version = "2.7", default-features = false, features = ["brotli", "gzip"] }
walrus = { version = "0.23", features = ['parallel'] }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.95" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.95" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.96" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.96" }

[dev-dependencies]
assert_cmd = "2"
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/tests/reference/web-sys.js
Original file line number Diff line number Diff line change
Expand Up @@ -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_561a91ce53f10a66() { return handleError(function (arg0, arg1) {
export function __wbg_new_dce808fb3f528314() { return handleError(function (arg0, arg1) {
const ret = new URL(getStringFromWasm0(arg0, arg1));
return ret;
}, arguments) };
Expand Down
4 changes: 2 additions & 2 deletions crates/externref-xform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[dependencies]
anyhow = "1.0"
walrus = "0.23"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.95" }
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.96" }

[dev-dependencies]
rayon = "1.0"
Expand Down
16 changes: 8 additions & 8 deletions crates/futures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.45"
version = "0.4.46"

[package.metadata.docs.rs]
all-features = true
Expand All @@ -19,20 +19,20 @@ 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.72', default-features = false }
js-sys = { path = "../js-sys", version = '=0.3.73', default-features = false }
once_cell = { version = "1.12", default-features = false }
wasm-bindgen = { path = "../..", version = '=0.2.95', default-features = false }
wasm-bindgen = { path = "../..", version = '=0.2.96', default-features = false }

[features]
default = ["std"]
futures-core-03-stream = ['futures-core']
std = ["wasm-bindgen/std", "js-sys/std", "web-sys/std", "once_cell/std"]

[target.'cfg(target_feature = "atomics")'.dependencies.web-sys]
default-features = false
features = ["MessageEvent", "Worker"]
path = "../web-sys"
version = "=0.3.72"
[target.'cfg(target_feature = "atomics")'.dependencies]
web-sys = { path = "../web-sys", version = "=0.3.73", default-features = false, features = [
"MessageEvent",
"Worker",
] }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures-channel-preview = { version = "0.3.0-alpha.18" }
Expand Down
4 changes: 2 additions & 2 deletions crates/js-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.72"
version = "0.3.73"

[lib]
doctest = false
Expand All @@ -25,7 +25,7 @@ default = ["std"]
std = ["wasm-bindgen/std"]

[dependencies]
wasm-bindgen = { path = "../..", version = "=0.2.95", default-features = false }
wasm-bindgen = { path = "../..", version = "=0.2.96", default-features = false }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-futures = { path = '../futures' }
Expand Down
6 changes: 3 additions & 3 deletions crates/macro-support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[features]
atomics = ["wasm-bindgen-backend/atomics"]
Expand All @@ -26,8 +26,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.95", default-features = false }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.95" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.96", default-features = false }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.96" }

[lints]
workspace = true
4 changes: 2 additions & 2 deletions crates/macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[lib]
proc-macro = true
Expand All @@ -27,7 +27,7 @@ xxx_debug_only_print_generated_code = []

[dependencies]
quote = "1.0"
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.95", default-features = false }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.96", default-features = false }

[dev-dependencies]
js-sys = { path = "../js-sys" }
Expand Down
4 changes: 2 additions & 2 deletions crates/multi-value-xform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[dependencies]
anyhow = "1.0"
walrus = "0.23"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.95" }
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.96" }

[dev-dependencies]
rayon = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

# 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
Expand Down
2 changes: 1 addition & 1 deletion crates/shared/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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.95";
pub const SCHEMA_VERSION: &str = "0.2.96";

#[macro_export]
macro_rules! shared_api {
Expand Down
2 changes: 1 addition & 1 deletion crates/shared/src/schema_hash_approval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "211103844299778814";
const APPROVED_SCHEMA_FILE_HASH: &str = "8234561557367848394";

#[test]
fn schema_version() {
Expand Down
2 changes: 1 addition & 1 deletion crates/test-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.45"
version = "0.3.46"

[lib]
proc-macro = true
Expand Down
12 changes: 6 additions & 6 deletions crates/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ license = "MIT OR Apache-2.0"
name = "wasm-bindgen-test"
repository = "https://github.com/rustwasm/wasm-bindgen"
rust-version = "1.57"
version = "0.3.45"
version = "0.3.46"

[features]
default = ["std"]
std = ["wasm-bindgen/std", "js-sys/std", "wasm-bindgen-futures/std", "once_cell/std", "scoped-tls"]

[dependencies]
gg-alloc = { version = "1.0", optional = true }
js-sys = { path = '../js-sys', version = '=0.3.72', default-features = false }
js-sys = { path = '../js-sys', version = '=0.3.73', default-features = false }
once_cell = { version = "1.12", default-features = false }
scoped-tls = { version = "1.0", optional = true }
wasm-bindgen = { path = '../..', version = '=0.2.95', default-features = false }
wasm-bindgen-futures = { path = '../futures', version = '=0.4.45', default-features = false }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.45' }
wasm-bindgen = { path = '../..', version = '=0.2.96', default-features = false }
wasm-bindgen-futures = { path = '../futures', version = '=0.4.46', default-features = false }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.46' }

[target.'cfg(all(target_arch = "wasm32", wasm_bindgen_unstable_test_coverage))'.dependencies]
minicov = "0.3"
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.45', features = ["coverage"] }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.46', features = ["coverage"] }

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }
Expand Down
4 changes: 2 additions & 2 deletions crates/threads-xform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[dependencies]
anyhow = "1.0"
walrus = "0.23"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.95" }
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.96" }

[dev-dependencies]
rayon = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm-conventions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[dependencies]
leb128 = "0.2"
Expand Down
4 changes: 2 additions & 2 deletions crates/wasm-interpreter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.95"
version = "0.2.96"

[dependencies]
anyhow = "1.0"
log = "0.4"
walrus = "0.23"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.95" }
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.96" }

[dev-dependencies]
tempfile = "3"
Expand Down
6 changes: 3 additions & 3 deletions crates/web-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.72"
version = "0.3.73"

[package.metadata.docs.rs]
all-features = true
Expand All @@ -23,8 +23,8 @@ doctest = false
test = false

[dependencies]
js-sys = { path = '../js-sys', version = '=0.3.72', default-features = false }
wasm-bindgen = { path = "../..", version = "=0.2.95", default-features = false }
js-sys = { path = '../js-sys', version = '=0.3.73', default-features = false }
wasm-bindgen = { path = "../..", version = "=0.2.96", default-features = false }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.3"
Expand Down

0 comments on commit 7ad4766

Please sign in to comment.