Skip to content
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
23 changes: 14 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,26 @@ full changeset diff at the end of each section.

Current Trunk
-------------

v129
----

- Add a `BinaryenDataSegmentRef` type to the C API. (#8286)
- Add `BinaryenGetDataSegment` and `BinaryenGetDataSegmentByIndex` to the C API, which allow looking up a data segment by name or index.
- Add `BinaryenDataSegmentGetName` to the C API, which allows looking up a data segment's name.
- Convert `BinaryenGetMemorySegmentByteOffset`, `BinaryenGetMemorySegmentByteLength`, `BinaryenGetMemorySegmentPassive` and `BinaryenCopyMemorySegmentData` to take a `BinaryenDataSegmentRef` instead of a name.
- Add `module.getDataSegment`, `module.getDataSegmentByIndex` to the JS API, which allows looking up a data segment by name or index.
- Convert `module.getMemorySegmentInfo` to take a data segment reference instead of a name, and return the name as part of the info.

- Add support for non-nullable table types and initialization expressions for
tables. This comes with a breaking change to C API: `BinaryenAddTable` takes
an additional `BinaryenExpressionRef` parameter to provide an initialization
expression. This may be set to NULL for tables without an initializer. In JS
this parameter is optional and so is not breaking. (#8405)
- MinifyImportsAndExports now has a new output format using JSON. This was
changed while fixing bugs with colliding module names (to avoid two breaking
changes to the output). (#8550)
- Add support for non-nullable table types and initialization expressions for
tables. This comes with a breaking change to C API: `BinaryenAddTable` takes
an additional `BinaryenExpressionRef` parameter to provide an initialization
expression. This may be set to NULL for tables without an initializer. In JS
this parameter is optional and so is not breaking. (#8405)
- [multibyte] Add multibyte array store and load instructions. (#8059, #8504)
- MinifyImportsAndExports now has a new output format using JSON. This was
changed while fixing bugs with colliding module names (to avoid two breaking
changes to the output). (#8550)
- Update from C++17 to C++20 (#8218)

v128
----
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.16.3)
# Needed for C++17 (std::path)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")

project(binaryen LANGUAGES C CXX VERSION 128)
project(binaryen LANGUAGES C CXX VERSION 129)
include(GNUInstallDirs)

# The C++ standard whose features are required to build Binaryen.
Expand Down
Loading