Skip to content

Commit 8af1550

Browse files
authored
Update version to 2.1.1 and update release notes (#3618)
1 parent f1fabd5 commit 8af1550

File tree

3 files changed

+74
-3
lines changed

3 files changed

+74
-3
lines changed

RELEASE_NOTES.md

+71
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,74 @@
1+
## WAMR-2.1.1
2+
3+
### Breaking Changes
4+
- Sync up with latest wasi-nn spec (#3530)
5+
6+
### New Features
7+
- Add APIs to get package version (#3601)
8+
- Export API wasm_runtime_enlarge_memory (#3569)
9+
- Add table type API support (#3515)
10+
- Add wasm_runtime_get_module_package_type() and wasm_runtime_get_file_package_type() (#3600)
11+
12+
### Bug Fixes
13+
- wasm_application.c: Avoid null pointer dereference (#3620)
14+
- EH: Use the consistent type for EH handlers (#3619)
15+
- wasm loader: Fix several issues in GC and exception handling (#3586)
16+
- wasm loader: Fix push_frame_offset when pushing v128 type (#3588)
17+
- Add integer overflow check for some indices in wasm/aot loader (#3579)
18+
- aot-analyzer: Fix a few printf formats (#3590)
19+
- aot-analyzer: Fix macos build (#3589)
20+
- Fix compilation errors in aot-analyzer tool (#3584)
21+
- interp debugger: Fix setting invalid value to step_count (#3583)
22+
- aot loader: Check import global value type before using (#3571)
23+
- Fix missing stack frame alloc/free in AOT multi-module invoke (#3562)
24+
- aot loader: Verify global value type (#3560)
25+
- aot loader: Add more checks in load_native_symbol_section() (#3559)
26+
- core/shared/platform: Zero memory returned by os_mmap in some platforms (#3551)
27+
- dwarf_extractor.cpp: Fix buffer overruns (#3541)
28+
- aot loader: Prevent loading multiple native symbol sections (#3538)
29+
- Validate func type in aot loader (#3535)
30+
- wamrc: Fix truncated DW_AT_producer (#3537)
31+
- wasm loader: Fix pop invalid offset count when stack top is ANY (#3516)
32+
- Fix two fuzz issues (#3529)
33+
- Fix several issues reported by oss-fuzz (#3526)
34+
35+
### Enhancements
36+
- Fix compile warnings/error reported in Windows (#3616)
37+
- wasm loader: Reject v128 for interpreters (#3611)
38+
- Fix typos in wamrc and wasm_export.h (#3609)
39+
- Bump ocaml/setup-ocaml from 2 to 3 (#3604)
40+
- CMakeLists.txt: Fix Android pthread linkage (#3591)
41+
- Add more arm AOT reloc entries (#3587)
42+
- wasi-nn: Use numpy v1 in wasi-nn test requirements.txt (#3582)
43+
- Optimize for multi-module support in AOT mode (#3563)
44+
- aot compiler: Propagate const-ness by ourselves (#3567)
45+
- aot_resolve_target_info: Avoid in-place modification of e_type (#3564)
46+
- Allow missing imports in wasm loader and report error in wasm instantiation instead (#3539)
47+
- aot compiler: Use larger alignment for load/store when possible (#3552)
48+
- Consistent const keyword position in wasm_export.h (#3558)
49+
- wasm_memory.c: Fix typo: hasn't been initialize -> `hasn't been initialized` (#3547)
50+
- dwarf_extractor.cpp: Try to preserve link name (#3542)
51+
- dwarf_extractor.cpp: Enable limited support for C++ (#3540)
52+
- Sync up with latest wasi-nn spec (#3530)
53+
- Expose more functions related to emitting AOT files (#3520)
54+
- Make wasi-nn backends as separated shared libraries (#3509)
55+
- build_llvm.py: Speed up llvm build with multi procs on windows (#3512)
56+
- Fix compilation warnings of wasi-nn (#3497)
57+
- Add missing functions to make RIOT work with the 2.x.x version (#3508)
58+
59+
### Others
60+
- Update devcontainer.md (#3628)
61+
- Fix compile errors on workload bwa and benchmark jetstream (#3617)
62+
- wasm-mutator-fuzz: Set compilers earlier (#3585)
63+
- wasm-mutator-fuzz: Make compilers overridable (#3578)
64+
- wasi-nn: Add wasmedge-wasinn-example as smoke test (#3554)
65+
- Add standalone cases (#3536)
66+
- wasm-mutator-fuzz: Fix build errors and warnings for macOS (#3519)
67+
- wasm-mutator-fuzz: Use another variable to check if in oss-fuzz environment (#3518)
68+
- Add wasi-nn example as smoke test case (#3501)
69+
70+
---
71+
172
## WAMR-2.1.0
273

374
### Breaking Changes

core/iwasm/common/wasm_runtime_common.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ wasm_runtime_get_file_package_type(const uint8 *buf, uint32 size)
878878
}
879879

880880
PackageType
881-
wasm_runtime_get_module_package_type(WASMModuleCommon *module)
881+
wasm_runtime_get_module_package_type(WASMModuleCommon *const module)
882882
{
883883
if (!module) {
884884
return Package_Type_Unknown;
@@ -906,7 +906,7 @@ wasm_runtime_get_file_package_version(const uint8 *buf, uint32 size)
906906
}
907907

908908
uint32
909-
wasm_runtime_get_module_package_version(WASMModuleCommon *module)
909+
wasm_runtime_get_module_package_version(WASMModuleCommon *const module)
910910
{
911911
if (!module) {
912912
return 0;

core/version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
#define _WAMR_VERSION_H_
88
#define WAMR_VERSION_MAJOR 2
99
#define WAMR_VERSION_MINOR 1
10-
#define WAMR_VERSION_PATCH 0
10+
#define WAMR_VERSION_PATCH 1
1111
#endif

0 commit comments

Comments
 (0)