Skip to content

Commit 04ca6f3

Browse files
authored
Prepare v0.2.99 release (#4331)
1 parent dae7bc2 commit 04ca6f3

File tree

21 files changed

+58
-47
lines changed

21 files changed

+58
-47
lines changed

Diff for: CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# `wasm-bindgen` Change Log
22
--------------------------------------------------------------------------------
33

4+
## [0.2.99](https://github.com/rustwasm/wasm-bindgen/compare/0.2.98...0.2.99)
5+
6+
Released 2024-12-07
7+
8+
### Fixed
9+
10+
- Mark `wasm-bindgen` v0.2.98 only compatible with `wasm-bindgen-cli` of the same version.
11+
[#4331](https://github.com/rustwasm/wasm-bindgen/pull/4331)
12+
13+
--------------------------------------------------------------------------------
14+
415
## [0.2.98](https://github.com/rustwasm/wasm-bindgen/compare/0.2.97...0.2.98)
516

617
Released 2024-12-07

Diff for: Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ name = "wasm-bindgen"
1313
readme = "README.md"
1414
repository = "https://github.com/rustwasm/wasm-bindgen"
1515
rust-version = "1.57"
16-
version = "0.2.98"
16+
version = "0.2.99"
1717

1818
[package.metadata.docs.rs]
1919
features = ["serde-serialize"]
@@ -45,7 +45,7 @@ cfg-if = "1.0.0"
4545
once_cell = { version = "1.12", default-features = false }
4646
serde = { version = "1.0", optional = true }
4747
serde_json = { version = "1.0", optional = true }
48-
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.98", default-features = false }
48+
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.99", default-features = false }
4949

5050
[dev-dependencies]
5151
wasm-bindgen-test = { path = 'crates/test' }

Diff for: crates/backend/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
1111
name = "wasm-bindgen-backend"
1212
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
1313
rust-version = "1.57"
14-
version = "0.2.98"
14+
version = "0.2.99"
1515

1616
[features]
1717
default = ["std"]
@@ -25,7 +25,7 @@ log = "0.4"
2525
proc-macro2 = "1.0"
2626
quote = '1.0'
2727
syn = { version = '2.0', features = ['full'] }
28-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.98" }
28+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.99" }
2929

3030
[lints]
3131
workspace = true

Diff for: crates/cli-support/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
1111
name = "wasm-bindgen-cli-support"
1212
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
1313
rust-version = "1.76"
14-
version = "0.2.98"
14+
version = "0.2.99"
1515

1616
[dependencies]
1717
anyhow = "1.0"
@@ -23,12 +23,12 @@ serde_json = "1.0"
2323
tempfile = "3.0"
2424
unicode-ident = "1.0.5"
2525
walrus = { version = "0.23", features = ['parallel'] }
26-
wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.98' }
27-
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.98' }
28-
wasm-bindgen-shared = { path = "../shared", version = '=0.2.98' }
29-
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.98' }
30-
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.98' }
31-
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.98' }
26+
wasm-bindgen-externref-xform = { path = '../externref-xform', version = '=0.2.99' }
27+
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.99' }
28+
wasm-bindgen-shared = { path = "../shared", version = '=0.2.99' }
29+
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.99' }
30+
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.99' }
31+
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.99' }
3232

3333
[lints]
3434
workspace = true

Diff for: crates/cli/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0"
1414
name = "wasm-bindgen-cli"
1515
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
1616
rust-version = "1.76"
17-
version = "0.2.98"
17+
version = "0.2.99"
1818

1919
[package.metadata.binstall]
2020
bin-dir = "wasm-bindgen-{ version }-{ target }/{ bin }{ binary-ext }"
@@ -32,8 +32,8 @@ serde_derive = "1.0"
3232
serde_json = "1.0"
3333
ureq = { version = "2.7", default-features = false, features = ["brotli", "gzip"] }
3434
walrus = "0.23"
35-
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.98" }
36-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.98" }
35+
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.99" }
36+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.99" }
3737

3838
[dev-dependencies]
3939
assert_cmd = "2"

Diff for: crates/cli/tests/reference/web-sys.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export function get_media_source() {
188188

189189
const __wbindgen_enum_MediaSourceEnum = ["camera", "screen", "application", "window", "browser", "microphone", "audioCapture", "other"];
190190

191-
export function __wbg_new_f3433bf7bc73881c() { return handleError(function (arg0, arg1) {
191+
export function __wbg_new_17f755666e48d1d8() { return handleError(function (arg0, arg1) {
192192
const ret = new URL(getStringFromWasm0(arg0, arg1));
193193
return ret;
194194
}, arguments) };

Diff for: crates/externref-xform/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ license = "MIT OR Apache-2.0"
1111
name = "wasm-bindgen-externref-xform"
1212
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/externref-xform"
1313
rust-version = "1.76"
14-
version = "0.2.98"
14+
version = "0.2.99"
1515

1616
[dependencies]
1717
anyhow = "1.0"
1818
walrus = "0.23"
19-
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.98" }
19+
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.99" }
2020

2121
[dev-dependencies]
2222
rayon = "1.0"

Diff for: crates/futures/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name = "wasm-bindgen-futures"
1010
readme = "./README.md"
1111
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures"
1212
rust-version = "1.57"
13-
version = "0.4.48"
13+
version = "0.4.49"
1414

1515
[package.metadata.docs.rs]
1616
all-features = true
@@ -19,17 +19,17 @@ rustdoc-args = ["--cfg", "docsrs"]
1919
[dependencies]
2020
cfg-if = "1.0.0"
2121
futures-core = { version = '0.3.8', default-features = false, optional = true }
22-
js-sys = { path = "../js-sys", version = '=0.3.75', default-features = false }
22+
js-sys = { path = "../js-sys", version = '=0.3.76', default-features = false }
2323
once_cell = { version = "1.12", default-features = false }
24-
wasm-bindgen = { path = "../..", version = '=0.2.98', default-features = false }
24+
wasm-bindgen = { path = "../..", version = '=0.2.99', default-features = false }
2525

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

3131
[target.'cfg(target_feature = "atomics")'.dependencies]
32-
web-sys = { path = "../web-sys", version = "=0.3.75", default-features = false, features = [
32+
web-sys = { path = "../web-sys", version = "=0.3.76", default-features = false, features = [
3333
"MessageEvent",
3434
"Worker",
3535
] }

Diff for: crates/js-sys/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name = "js-sys"
1414
readme = "./README.md"
1515
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/js-sys"
1616
rust-version = "1.57"
17-
version = "0.3.75"
17+
version = "0.3.76"
1818

1919
[lib]
2020
doctest = false
@@ -26,7 +26,7 @@ std = ["wasm-bindgen/std"]
2626

2727
[dependencies]
2828
once_cell = { version = "1.12", default-features = false }
29-
wasm-bindgen = { path = "../..", version = "=0.2.98", default-features = false }
29+
wasm-bindgen = { path = "../..", version = "=0.2.99", default-features = false }
3030

3131
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
3232
wasm-bindgen-futures = { path = '../futures' }

Diff for: crates/macro-support/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
1111
name = "wasm-bindgen-macro-support"
1212
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
1313
rust-version = "1.57"
14-
version = "0.2.98"
14+
version = "0.2.99"
1515

1616
[features]
1717
default = ["std"]
@@ -24,8 +24,8 @@ strict-macro = []
2424
proc-macro2 = "1.0"
2525
quote = '1.0'
2626
syn = { version = '2.0', features = ['visit', 'visit-mut', 'full'] }
27-
wasm-bindgen-backend = { path = "../backend", version = "=0.2.98", default-features = false }
28-
wasm-bindgen-shared = { path = "../shared", version = "=0.2.98" }
27+
wasm-bindgen-backend = { path = "../backend", version = "=0.2.99", default-features = false }
28+
wasm-bindgen-shared = { path = "../shared", version = "=0.2.99" }
2929

3030
[lints]
3131
workspace = true

Diff for: crates/macro/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
1111
name = "wasm-bindgen-macro"
1212
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
1313
rust-version = "1.57"
14-
version = "0.2.98"
14+
version = "0.2.99"
1515

1616
[lib]
1717
proc-macro = true
@@ -25,7 +25,7 @@ xxx_debug_only_print_generated_code = []
2525

2626
[dependencies]
2727
quote = "1.0"
28-
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.98", default-features = false }
28+
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.99", default-features = false }
2929

3030
[dev-dependencies]
3131
js-sys = { path = "../js-sys" }

Diff for: crates/multi-value-xform/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ license = "MIT OR Apache-2.0"
1111
name = "wasm-bindgen-multi-value-xform"
1212
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/multi-value-xform"
1313
rust-version = "1.76"
14-
version = "0.2.98"
14+
version = "0.2.99"
1515

1616
[dependencies]
1717
anyhow = "1.0"
1818
walrus = "0.23"
19-
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.98" }
19+
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.99" }
2020

2121
[dev-dependencies]
2222
rayon = "1.0"

Diff for: crates/shared/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
1212
name = "wasm-bindgen-shared"
1313
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"
1414
rust-version = "1.57"
15-
version = "0.2.98"
15+
version = "0.2.99"
1616

1717
# Because only a single `wasm_bindgen` version can be used in a dependency
1818
# graph, pretend we link a native library so that `cargo` will provide better

Diff for: crates/shared/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mod schema_hash_approval;
66
// This gets changed whenever our schema changes.
77
// At this time versions of wasm-bindgen and wasm-bindgen-cli are required to have the exact same
88
// SCHEMA_VERSION in order to work together.
9-
pub const SCHEMA_VERSION: &str = "0.2.96";
9+
pub const SCHEMA_VERSION: &str = "0.2.98";
1010

1111
#[macro_export]
1212
macro_rules! shared_api {

Diff for: crates/shared/src/schema_hash_approval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// If the schema in this library has changed then:
99
// 1. Bump the version in `crates/shared/Cargo.toml`
1010
// 2. Change the `SCHEMA_VERSION` in this library to this new Cargo.toml version
11-
const APPROVED_SCHEMA_FILE_HASH: &str = "8234561557367848394";
11+
const APPROVED_SCHEMA_FILE_HASH: &str = "12659088193118507901";
1212

1313
#[test]
1414
fn schema_version() {

Diff for: crates/test-macro/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
77
name = "wasm-bindgen-test-macro"
88
repository = "https://github.com/rustwasm/wasm-bindgen"
99
rust-version = "1.57"
10-
version = "0.3.48"
10+
version = "0.3.49"
1111

1212
[lib]
1313
proc-macro = true

Diff for: crates/test/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ license = "MIT OR Apache-2.0"
77
name = "wasm-bindgen-test"
88
repository = "https://github.com/rustwasm/wasm-bindgen"
99
rust-version = "1.57"
10-
version = "0.3.48"
10+
version = "0.3.49"
1111

1212
[features]
1313
default = ["std"]
1414
std = ["wasm-bindgen/std", "js-sys/std", "wasm-bindgen-futures/std", "scoped-tls"]
1515

1616
[dependencies]
1717
gg-alloc = { version = "1.0", optional = true }
18-
js-sys = { path = '../js-sys', version = '=0.3.75', default-features = false }
18+
js-sys = { path = '../js-sys', version = '=0.3.76', default-features = false }
1919
scoped-tls = { version = "1.0", optional = true }
20-
wasm-bindgen = { path = '../..', version = '=0.2.98', default-features = false }
21-
wasm-bindgen-futures = { path = '../futures', version = '=0.4.48', default-features = false }
22-
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.48' }
20+
wasm-bindgen = { path = '../..', version = '=0.2.99', default-features = false }
21+
wasm-bindgen-futures = { path = '../futures', version = '=0.4.49', default-features = false }
22+
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.3.49' }
2323

2424
[target.'cfg(all(target_arch = "wasm32", wasm_bindgen_unstable_test_coverage))'.dependencies]
2525
minicov = "0.3"

Diff for: crates/threads-xform/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ license = "MIT OR Apache-2.0"
1111
name = "wasm-bindgen-threads-xform"
1212
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"
1313
rust-version = "1.76"
14-
version = "0.2.98"
14+
version = "0.2.99"
1515

1616
[dependencies]
1717
anyhow = "1.0"
1818
walrus = "0.23"
19-
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.98" }
19+
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.99" }
2020

2121
[dev-dependencies]
2222
rayon = "1.0"

Diff for: crates/wasm-conventions/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0"
99
name = "wasm-bindgen-wasm-conventions"
1010
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-conventions"
1111
rust-version = "1.76"
12-
version = "0.2.98"
12+
version = "0.2.99"
1313

1414
[dependencies]
1515
leb128 = "0.2"

Diff for: crates/wasm-interpreter/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ license = "MIT OR Apache-2.0"
1111
name = "wasm-bindgen-wasm-interpreter"
1212
repository = "https://github.com/rustwasm/wasm-bindgen/tree/main/crates/wasm-interpreter"
1313
rust-version = "1.76"
14-
version = "0.2.98"
14+
version = "0.2.99"
1515

1616
[dependencies]
1717
anyhow = "1.0"
1818
log = "0.4"
1919
walrus = "0.23"
20-
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.98" }
20+
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "0.2.99" }
2121

2222
[dev-dependencies]
2323
tempfile = "3"

Diff for: crates/web-sys/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ name = "web-sys"
1212
readme = "./README.md"
1313
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/web-sys"
1414
rust-version = "1.57"
15-
version = "0.3.75"
15+
version = "0.3.76"
1616

1717
[package.metadata.docs.rs]
1818
all-features = true
@@ -23,8 +23,8 @@ doctest = false
2323
test = false
2424

2525
[dependencies]
26-
js-sys = { path = '../js-sys', version = '=0.3.75', default-features = false }
27-
wasm-bindgen = { path = "../..", version = "=0.2.98", default-features = false }
26+
js-sys = { path = '../js-sys', version = '=0.3.76', default-features = false }
27+
wasm-bindgen = { path = "../..", version = "=0.2.99", default-features = false }
2828

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

0 commit comments

Comments
 (0)