From 0f9deb78c9157e21eaa0478d4109301f42c24db7 Mon Sep 17 00:00:00 2001 From: Jingyu Ma Date: Sun, 15 Mar 2026 14:46:55 -0700 Subject: [PATCH 1/2] Prepare 0.5.0 release - Update version to 0.5.0 in Cargo.toml and README.md - Add CHANGELOG.md entry for 0.5.0 - Update supported platforms to include macOS and ARM32 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 11 +++++++++++ Cargo.toml | 2 +- README.md | 6 +++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e2a4ac..8f2f89f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +# 0.5.0 (March 15, 2026) + +- Add macOS support. +- Add ARM32 (armv7/thumbv7) support. +- Add thread-local dispatch for parallel test execution on x86_64, ARM64, and ARM32. +- Add macro to support unsafe system function. +- Add feature to prevent injectorpp instance creation. +- Improve error message for fake function called time and arguments mismatch. +- Fix JIT allocation range restriction to AArch64 only. +- Fix test failure on x86-64 Windows by adding static lifetime. + # 0.4.0 (June 23, 2025) - Introduce type check for major APIs. diff --git a/Cargo.toml b/Cargo.toml index 44a87a5..cec1ebc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "injectorpp" -version = "0.4.0" +version = "0.5.0" authors = ["Jingyu Ma "] license = "MIT" readme = "README.md" diff --git a/README.md b/README.md index 039a1d6..23de1c6 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,8 @@ This approach eliminates the need to make a trait solely for testing purposes. I # Supported Platform -- OS: Linux and Windows -- Arch: arm64 and amd64 +- OS: Linux, macOS, and Windows +- Arch: arm64, arm32, and amd64 # Usage @@ -63,7 +63,7 @@ Add `injectorpp` to the `Cargo.toml`: ```toml [dev-dependencies] -injectorpp = "0.4.0" +injectorpp = "0.5.0" ``` Below `profile.test` config is recommended to make sure `injectorpp` working correctly in tests. If you have workspace, make sure add this on the top level of `Cargo.toml`: From ca31d5aab0f2b7d16f47da4375e4d8a22268badb Mon Sep 17 00:00:00 2001 From: Jingyu Ma Date: Sun, 15 Mar 2026 14:50:18 -0700 Subject: [PATCH 2/2] Update supported platforms table to show per-OS arch support macOS only supports arm64 (the only arch tested in CI). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23de1c6..c892413 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,11 @@ This approach eliminates the need to make a trait solely for testing purposes. I # Supported Platform -- OS: Linux, macOS, and Windows -- Arch: arm64, arm32, and amd64 +| OS | Arch | +| --- | --- | +| Linux | arm64, arm32, amd64 | +| macOS | arm64 | +| Windows | arm64, amd64 | # Usage