From 9d7fed73f1aeb14791e0904d3b70277dea50fd13 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 24 Mar 2025 15:23:28 -0700 Subject: [PATCH 1/4] Release version 123 --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f6d3bb6f27..b50fb175ec2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,16 +15,24 @@ full changeset diff at the end of each section. Current Trunk ------------- +v123 +---- + + - Use mimalloc allocator for Linux static builds, making our official release + binaries a lot faster. (#7378) - Add an option to preserve imports and exports in the fuzzer (for fuzzer harnesses where they only want Binaryen to modify their given testcases, not - generate new things in them). + generate new things in them). (#7300) - `string` is now a subtype of `ext` (rather than `any`). This allows better transformations for strings, like an inverse of StringLowering, but will error on codebases that depend on being able to pass strings into anyrefs. + (#7373) - Require the type of RefFunc expressions to match the type of the referenced - function. It is no longer valid to type them as funcref in the IR. + function. It is no longer valid to type them as funcref in the IR. (#7376) - The C and JS APIs for creating RefFunc expressions now take a HeapType instead of a Type. + - MergeSimilarFunctions: Do a return_call when possible (necessary for + correctness in wasm files that depend on calls for control flow). (#7350) v122 ---- From b7b06145ecac9b17a4770ea3f0f2cff8f99d4e62 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 24 Mar 2025 15:23:52 -0700 Subject: [PATCH 2/4] Release version 123 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6ebf9f5381..90edcb2c858 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.16.3) # to reduce this for compatability with emsdk. set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14" CACHE STRING "Minimum OS X deployment version") -project(binaryen LANGUAGES C CXX VERSION 122) +project(binaryen LANGUAGES C CXX VERSION 123) include(GNUInstallDirs) # The C++ standard whose features are required to build Binaryen. From 25a859bf7a0fd7be7f95031d7e2f00059ff6107f Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 25 Mar 2025 10:22:06 -0700 Subject: [PATCH 3/4] Update CHANGELOG.md [ci skip] Co-authored-by: Thomas Lively --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b50fb175ec2..9885bab8f6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ v123 instead of a Type. - MergeSimilarFunctions: Do a return_call when possible (necessary for correctness in wasm files that depend on calls for control flow). (#7350) + - We now use "exact" references from the custom descriptors proposal internally, even for modules that do not explicitly use custom descriptors. Enabling the custom-descriptors feature, for example with `--all-features`, might now unexpectedly emit new uses of the feature. v122 ---- From 5d5868af2a9ff649387061328fb4156cff0fcc01 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 25 Mar 2025 10:26:20 -0700 Subject: [PATCH 4/4] comment --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9885bab8f6a..290e0aebab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,12 @@ Current Trunk v123 ---- + - We now support "exact" references from the custom descriptors proposal, + and emit such references when the feature is enabled. As a result, using + `-all` will enable that feature (among all others), and cause GC-using + binaries to use that feature, which most VMs do not yet support. To avoid + such VM errors, either enable only the features you want, or disable it: + `-all --disable-custom-descriptors`. - Use mimalloc allocator for Linux static builds, making our official release binaries a lot faster. (#7378) - Add an option to preserve imports and exports in the fuzzer (for fuzzer @@ -33,7 +39,6 @@ v123 instead of a Type. - MergeSimilarFunctions: Do a return_call when possible (necessary for correctness in wasm files that depend on calls for control flow). (#7350) - - We now use "exact" references from the custom descriptors proposal internally, even for modules that do not explicitly use custom descriptors. Enabling the custom-descriptors feature, for example with `--all-features`, might now unexpectedly emit new uses of the feature. v122 ----