Przeglądaj źródła

Bump version to 2.4.0 (#4483)

liang.he 6 miesięcy temu
rodzic
commit
47c7c85ac2
3 zmienionych plików z 123 dodań i 4 usunięć
  1. 119 0
      RELEASE_NOTES.md
  2. 2 2
      build-scripts/version.cmake
  3. 2 2
      core/version.h

+ 119 - 0
RELEASE_NOTES.md

@@ -1,3 +1,122 @@
+## WAMR-2.4.0
+
+### Breaking Changes
+
+- Refactor copy callstack feature (#4401)
+- Enable WAMR_BUILD_WASI_EPHEMERAL_NN by default (#4381)
+- Enable aot memory64 sw bounds checks by default (#4350)
+
+### New Features
+
+- Support extended constant expressions (#4432)
+- Shared heap enhancements for Interpreter and AOT (#4400)
+
+### Bug Fixes
+
+- posix os_socket_addr_resolve: return the consistent max_info_size (#4467)
+- fix a wamrc debug mode compile issue (#4470)
+- wasi-nn: do not pretend to support legacy abi in openvino and llamacpp (#4468)
+- appease a few compiler warnings (-Wstrict-prototypes) (#4465)
+- enable aux stack frame for aot compiler fuzz test (#4462)
+- improve logic of `heap_type` validation when `ref.null` (#4372)
+- wasi_nn_llamacpp.c: explicitly reject unimplemented input index (#4446)
+- wasi: avoid user-triggerable 0-sized allocations (#4452)
+- Fix socket shutdown (#12) (#4449)
+- wasi_nn_llamacpp.c: validate input tensor type/dimensions (#4442)
+- wasi_nn_llamacpp.c: reject invalid graph and execution context (#4422)
+- wasi_nn_openvino.c: avoid self-assignment warning (#4434)
+- Fix potential integer overflow issues (#4429)
+- Improve run.py of regression (#4417)
+- wasi-nn: reduce code duplication a bit (#4433)
+- Refactor AOTObjectData definition to use a forward declaration (#4428)
+- CI: revert SGX retry attempts (#4421)
+- loader: fix a potential overflow issue (#4427)
+- wasi_nn_openvino.c: fix a debug build (#4416)
+- Fix few shadow warnings (#4409)
+- wasi_nn_llamacpp.c: remove an unused variable (#4415)
+- wasi_nn_llamacpp.c: fix buffer overruns in set_input (#4420)
+- wasi-nn: make the host use the wasi_ephemeral_nn version of tensor_data (#4411)
+- Collective fix (#4413)
+- fix bug in bh_vector when extending (#4414)
+- wasi_nn_llamacpp.c: make this compilable (#4403)
+- Fix handling of non-nullable global_type during global import (#4408)
+- loader: add type index checking (#4402)
+- wasi_nn_tensorflowlite.cpp: fix get_output return size (#4390)
+- wasi-nn: fix context lifetime issues (#4396)
+- CI: fix the description of upload_url (#4407)
+- wamr-wasi-extensions/socket: disable reference-types (#4392)
+- wasi_nn_openvino.c: implement multiple models per instance (#4380)
+- Improve spec test execution by adding retry logic for transient errors (#4393)
+- wasi-nn: add minimum serialization on WASINNContext (#4387)
+- deprecate legacy WAMR-specific "wasi_nn" module (#4382)
+- wasi-nn: fix tensor_data abi for wasi_ephemeral_nn (#4379)
+- core/iwasm/libraries/wasi-nn/test: use the correct version of keras (#4383)
+- Fix several issues related to night-run CI and test scripts. (#4385)
+- wasi_nn_tensorflowlite.cpp: reject non-fp32 input earlier (#4388)
+- core/iwasm/libraries/wasi-nn/test/build.sh: add a tip for intel mac (#4389)
+- wasi-nn: don't try to deinit uninitialized backend (#4375)
+- wasi-nn: apply the shared library hack to darwin as well (#4374)
+- add nn-cli example (#4373)
+- wasi_nn_openvino.c: remove pre/postprocessing and layout assumptions (#4361)
+- send an empty/error reply from server (#4362)
+- wasi_nn_openvino.c: add a missing buffer overflow check in get_output (#4353)
+- wasi_ephemeral_nn.h: prefix identfiers to avoid too generic names (#4358)
+- wamr-wasi-extensions: add lib-socket things (#4360)
+- wasi_nn_openvino.c: remove broken xml check (#4365)
+- add validation for array type in load_init_expr(GC only) (#4370)
+- wasi-nn: fix backend leak on multiple loads (#4366)
+- Collective fix for typos and minor bugs (#4369)
+- Modify AOT static PGO to conform to llvm-18 and add a CI job to test static PGO on the coremark benchmark (#4345)
+- Update WABT downloads URL (#4357)
+- clean up incompatible running mode checks in test script and ci (#4342)
+- Follow #4268 to deprecate wamr_ide-related components (#4341)
+- Update type validation in load_table_import() and load_table() (#4296)
+- wasi_nn_openvino.c: remove the tensor layout adjustment logic (#4308)
+- add heap-type check for GC when ref.null (#4300)
+- wasi_nn_types.h: remove a seemingly stale comment (#4348)
+- wasi_socket_ext.c: avoid tls to make this library-friendly (#4338)
+- wasi-nn: do not assign wasi_nn_ctx->backend multiple times (#4329)
+- wasi_nn.h: make this compatible with wasi_ephemeral_nn (#4330)
+- remove temporary wasi-libc build steps from CI workflows (#4343)
+- wasi-nn: fix the size of tensor->type (#4333)
+- wasi-nn: move some host-only things out of wasi_nn_types.h (#4334)
+- Collective fix: fix some typos (#4337)
+- Update binary compression steps to follow symlinks for actual files (#4321)
+- Add wamrc compilation into Windows CI workflow (#4327)
+- wasi-nn: remove unused wasi_nn_dump_tensor_dimension prototype (#4325)
+- wasi_nn.h: add import_name attribute (#4328)
+- wasi-nn: protect the backend lookup table with a lock (#4319)
+- handle nullable heap reference types in import section (#4302)
+- wasi_nn_openvino.c: make this buildable (#4305)
+- wasi-nn: fix shared library filenames for macOS (#4306)
+- fix wasi-nn abi definitions (#4307)
+- wasi-nn: remove "backends" argument from detect_and_load_backend() (#4309)
+- wasi_nn_openvino.c: fix a few printf formats (#4310)
+- Bump uvwasi to latest commit #392e1f1 (#4312)
+
+### Enhancements
+
+- Add readme for extended const (#4471)
+- Add security issue runbook (#4450)
+- docs: fix cmake variable typo (#4441)
+- CI: add wamr_wasi_extensions to the release assets (#4425)
+- CI: build wamr-wasi-extensions (#4394)
+- improve installation steps for wasi-sdk and wabt on Windows (#4359)
+- wamr-wasi-extensions: add a cmake package to provide our wasi extension (#4344)
+- Update Dockerfile for Zephyr SDK and Zephyr-project versioning (#4335)
+- add load_by_name in wasi-nn (#4298)
+
+### Others
+
+- build(deps): Bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#4315)
+- build(deps): Bump github/codeql-action from 3.29.1 to 3.29.2 (#4459)
+- build(deps): Bump github/codeql-action from 3.29.0 to 3.29.1 (#4436)
+- build(deps): Bump github/codeql-action from 3.28.19 to 3.29.0 (#4371)
+- build(deps): Bump github/codeql-action from 3.28.18 to 3.28.19 (#4346)
+- build(deps): Bump requests from 2.32.3 to 2.32.4 in /build-scripts (#4349)
+
+---
+
 ## WAMR-2.3.1
 
 ### Breaking Changes

+ 2 - 2
build-scripts/version.cmake

@@ -7,8 +7,8 @@ if(NOT WAMR_ROOT_DIR)
 endif()
 
 set(WAMR_VERSION_MAJOR 2)
-set(WAMR_VERSION_MINOR 3)
-set(WAMR_VERSION_PATCH 1)
+set(WAMR_VERSION_MINOR 4)
+set(WAMR_VERSION_PATCH 0)
 
 message("-- WAMR version: ${WAMR_VERSION_MAJOR}.${WAMR_VERSION_MINOR}.${WAMR_VERSION_PATCH}")
 

+ 2 - 2
core/version.h

@@ -17,8 +17,8 @@
 
 /* clang-format off */
 #define WAMR_VERSION_MAJOR 2
-#define WAMR_VERSION_MINOR 3
-#define WAMR_VERSION_PATCH 1
+#define WAMR_VERSION_MINOR 4
+#define WAMR_VERSION_PATCH 0
 /* clang-format on */
 
 #endif