Skip to content

Commit 0d9e527

Browse files
authored
Upgrade version number to 1.1.2 (#1788)
Upgrade version number to 1.1.2, update RELEASE_NOTES.md and clear several compile warnings.
1 parent f6bef1e commit 0d9e527

File tree

4 files changed

+114
-5
lines changed

4 files changed

+114
-5
lines changed

RELEASE_NOTES.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,115 @@
1212

1313
---
1414

15+
## WAMR-1.1.2
16+
17+
### Breaking Changes
18+
Remove the LLVM MCJIT mode, replace it with LLVM ORC JIT eager mode
19+
Add option to pass user data to the allocator functions of RuntimeInitArgs
20+
Change how iwasm returns:
21+
return 1 if an exception was thrown, else
22+
return the wasi exit code if the wasm app is a wasi app, else
23+
keep the same behavior as before
24+
Enable bulk memory by default
25+
26+
### New Features
27+
Add control for the native stack check with hardware trap
28+
Add memory watchpoint support to debugger
29+
Add wasm_module_obtain() to clone wasm_module_t
30+
Implement Fast JIT dump call stack and perf profiling
31+
esp-idf: Add socket support for esp-idf platform
32+
33+
### Bug Fixes
34+
Fix XIP issue caused by rem_s on RISC-V
35+
Fix XIP issues of fp to int cast and int rem/div
36+
Fix missing float cmp for XIP
37+
Correct the arch name for armv7a on NuttX
38+
Fix issue of restoring wasm operand stack
39+
Fix issue of thumb relocation R_ARM_THM_MOVT_ABS
40+
Fix fast jit issue of translating opcode i32.rem_s/i64.rem_s
41+
Fix interp/fast-jit float min/max issues
42+
Fix missing intrinsics for risc-v which were reported by spec test
43+
wasm-c-api: Fix init/destroy thread env multiple times issue
44+
Fix wasm-c-api import func link issue in wasm_instance_new
45+
Fix sample ref-types/wasm-c-api build error with wat2wasm low version
46+
Fix zephyr sample build errors
47+
Fix source debugger error handling: continue executing when detached
48+
Fix scenario where the timeout for atomic wait is set to negative number
49+
50+
### Enhancements
51+
Refactor the layout of interpreter and AOT module instance
52+
Refactor LLVM JIT: remove mcjit and legacy pass manager, upgrade to ORCv2 JIT
53+
Refine Fast JIT call indirect and call native process
54+
Refine Fast JIT accessing memory/table instance and global data
55+
Refine AOT exception check when function return
56+
Enable source debugger reconnection
57+
Add wasm_runtime_get_wasi_exit_code
58+
linux-sgx: Use non-destructive modes for opening files using SGX IPFS
59+
Add wasm_runtime_unregister_natives
60+
Implement invokeNative asm code for MinGW
61+
Add wamr Blog link and Gitbook link to readme
62+
Remove unnecessary app heap memory clean operations to reduce process RSS
63+
Normalize how the global heap pool is configured across iwasm apps
64+
Refine the stack frame size check in interpreter
65+
Enlarge the default wasm operand stack size to 64KB
66+
Use cmake POSITION_INDEPENDENT_CODE instead of hardcoding -pie -fPIE
67+
Implement R_ARM_THM_MOVT_[ABS|REPL] for thumb
68+
Suppress the warnings when building with GCC11
69+
samples/native-lib: Add a bit more complicated example
70+
Add mutex initializer for wasm-c-api engine operations
71+
XIP adaptation for xtensa platform
72+
Update libuv version number
73+
Remove an improper assumption when creating wasm_trap
74+
Avoid initialize LLVM repeatedly
75+
linux-sgx: Improve the remote attestation
76+
linux-sgx: Improve the documentation of SGX-RA sample
77+
linux-sgx: Allow to open files with arbitrary paths in the sandbox using IPFS
78+
Avoid raising exception when debugging with VSCode
79+
wamr-test-suites: Update runtest.py to support python3
80+
Enable Nuttx spec test option and register aot symbols
81+
Use wabt binary instead of building from source in spec test
82+
nuttx: Enable ref types by Kconfig
83+
Update xtensa LLVM version to 15.x
84+
Add bh_print_proc_mem() to dump memory info of current process
85+
Create trap for error message when wasm_instance_new fails
86+
wamr-test-suites: Add support for ARM/RISCV by QEMU
87+
Enable to compile WAMR on platforms that don't support IPV6
88+
Fix warnings in the posix socket implementation
89+
Update document for MacOS compilation
90+
Install patched LLDB on vscode extension activation
91+
Add ARM aeabi memcpy/memmove/memset symbols for AOT bulk memory ops
92+
93+
### Others
94+
Add CIs to release new version and publish binary files
95+
Add more compilation groups of fast jit into CI
96+
Enable spec test on nuttx and daily run it
97+
98+
---
99+
100+
## WAMR-1.1.1
101+
102+
- Implement Linux SGX socket API getpeername, recvfrom and sendto
103+
- Implement Linux SGX POSIX calls based on getsockname and set/getbool
104+
- Integrate WASI-NN into WAMR: support TensorFlow/CPU/F32 in the first stage
105+
- Add timeout send/recv and multicast client/server socket examples
106+
- Support cross building and linking LLVM shared libs for wamrc
107+
- Add darwin support for app_framework
108+
- Add ios support for product-mini
109+
- Update export_native_api.md: Relax the "ground rule"
110+
- wasm_export.h: Add comments on wasm_runtime_register_natives
111+
- Remove unused wasm_runtime_is_module_registered
112+
- samples/multi-module: Examine module registration a bit
113+
- samples/native-lib: Fix exec_env type
114+
- Fix Linux SGX directional OCALL parameter for getsockname
115+
- Fix threads issue to enable running threads spec proposal test cases
116+
- Fix the "register native with iwasm" stuff for macOS
117+
- Fix issues in assemblyscript lib
118+
- Wrap wasi_socket_ext api with extern "C" to fix link failure with cxx project
119+
- Fix invalid size of memory allocated in wasi init
120+
- posix_thread.c: Avoid sem_getvalue deprecation warning on macOS
121+
122+
---
123+
15124
## WAMR-1.1.0
16125

17126
- Extend support for Socket API:

core/iwasm/interpreter/wasm_interp_classic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ typedef float64 CellType_F64;
9595
#define CHECK_WRITE_WATCHPOINT(addr, offset) \
9696
CHECK_WATCHPOINT(watch_point_list_write, WASM_ADDR_OFFSET(addr + offset))
9797
#else
98-
#define CHECK_READ_WATCHPOINT(addr, offset)
99-
#define CHECK_WRITE_WATCHPOINT(addr, offset)
98+
#define CHECK_READ_WATCHPOINT(addr, offset) (void)0
99+
#define CHECK_WRITE_WATCHPOINT(addr, offset) (void)0
100100
#endif
101101

102102
static inline uint32

core/shared/utils/bh_log.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ bh_log_proc_mem(const char *function, uint32 line)
103103
{
104104
char prompt[128] = { 0 };
105105
snprintf(prompt, sizeof(prompt), "[MEM] %s(...) L%" PRIu32, function, line);
106-
return bh_print_proc_mem(prompt);
107-
}
106+
bh_print_proc_mem(prompt);
107+
}

core/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
#define _WAMR_VERSION_H_
88
#define WAMR_VERSION_MAJOR 1
99
#define WAMR_VERSION_MINOR 1
10-
#define WAMR_VERSION_PATCH 1
10+
#define WAMR_VERSION_PATCH 2
1111
#endif

0 commit comments

Comments
 (0)