diff --git a/.github/release-notes/versions/1.10.1.md b/.github/release-notes/versions/1.10.1.md new file mode 100644 index 0000000..738f8ee --- /dev/null +++ b/.github/release-notes/versions/1.10.1.md @@ -0,0 +1,10 @@ +### 修复 + +- 修复 PVM2 编译器对 Dalvik `const-wide/32` 负立即数的符号扩展:`-2147483648` 不再被写成 `+2147483648`。该问题会让 PVM2 转换后的数字归一化方法把 `Integer`、`Long`、`Double`、`Float` 返回值读成 `null`,例如服务端返回 `{"code":1}` 时 App 侧得到 `code=null`。 +- 新增 `const-wide/32` 负立即数回归测试,覆盖 PVM2 编译、运行时执行和 `Integer.MIN_VALUE` 边界。 + +### 升级说明 + +- 需要重新执行加固流程后生效;已加固的 APK/AAB 不会自动修复。 +- 服务端和业务代码无需修改。 +- DEXB、PVM2 协议版本、CLI/GUI 接口未改变。 diff --git a/Cargo.lock b/Cargo.lock index 87f7902..8f4b4fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "mocika-shield" -version = "1.10.0" +version = "1.10.1" dependencies = [ "dunce", "reqwest 0.12.28", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "mocikashield" -version = "1.10.0" +version = "1.10.1" dependencies = [ "cc", "chacha20poly1305", @@ -3649,7 +3649,7 @@ dependencies = [ [[package]] name = "shield-cli" -version = "1.10.0" +version = "1.10.1" dependencies = [ "anyhow", "clap", @@ -3667,7 +3667,7 @@ dependencies = [ [[package]] name = "shield-core" -version = "1.10.0" +version = "1.10.1" dependencies = [ "anyhow", "base64 0.22.1", diff --git a/apps/shield-cli/Cargo.toml b/apps/shield-cli/Cargo.toml index fdc9b64..83d04ff 100644 --- a/apps/shield-cli/Cargo.toml +++ b/apps/shield-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shield-cli" -version = "1.10.0" +version = "1.10.1" edition = "2021" authors = ["MocikaDev"] license = "MIT OR Apache-2.0" diff --git a/apps/shield-gui/package-lock.json b/apps/shield-gui/package-lock.json index 2653e26..bba6612 100644 --- a/apps/shield-gui/package-lock.json +++ b/apps/shield-gui/package-lock.json @@ -1,12 +1,12 @@ { "name": "mocika-shield-gui", - "version": "1.10.0", + "version": "1.10.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mocika-shield-gui", - "version": "1.10.0", + "version": "1.10.1", "license": "MIT OR Apache-2.0", "dependencies": { "@radix-ui/react-dialog": "^1.1.19", diff --git a/apps/shield-gui/package.json b/apps/shield-gui/package.json index cd22b38..fe8ecd8 100644 --- a/apps/shield-gui/package.json +++ b/apps/shield-gui/package.json @@ -1,6 +1,6 @@ { "name": "mocika-shield-gui", - "version": "1.10.0", + "version": "1.10.1", "license": "MIT OR Apache-2.0", "private": true, "type": "module", diff --git a/apps/shield-gui/src-tauri/Cargo.toml b/apps/shield-gui/src-tauri/Cargo.toml index 8c59652..a6f358c 100644 --- a/apps/shield-gui/src-tauri/Cargo.toml +++ b/apps/shield-gui/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mocika-shield" -version = "1.10.0" +version = "1.10.1" edition = "2021" license = "MIT OR Apache-2.0" publish = false diff --git a/apps/shield-gui/src-tauri/tauri.conf.json b/apps/shield-gui/src-tauri/tauri.conf.json index ae7c5e5..80a8906 100644 --- a/apps/shield-gui/src-tauri/tauri.conf.json +++ b/apps/shield-gui/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Shellsmith", - "version": "1.10.0", + "version": "1.10.1", "identifier": "dev.mocika.shield-gui", "build": { "beforeDevCommand": "npm run dev -- --host 127.0.0.1", diff --git a/apps/shield-gui/src/hooks/use-about-page.ts b/apps/shield-gui/src/hooks/use-about-page.ts index da16b46..ab321b8 100644 --- a/apps/shield-gui/src/hooks/use-about-page.ts +++ b/apps/shield-gui/src/hooks/use-about-page.ts @@ -9,7 +9,7 @@ type AppInfo = { }; const defaultAppInfo: AppInfo = { - version: "1.10.0", + version: "1.10.1", git_hash: "dev", build_date: "unknown", }; diff --git a/crates/shield-core/Cargo.toml b/crates/shield-core/Cargo.toml index 12d53cc..64e02b9 100644 --- a/crates/shield-core/Cargo.toml +++ b/crates/shield-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shield-core" -version = "1.10.0" +version = "1.10.1" edition = "2021" authors = ["MocikaDev"] license = "MIT OR Apache-2.0" diff --git a/shield-stub/compat/api19-rust/Cargo.lock b/shield-stub/compat/api19-rust/Cargo.lock index e67eb0b..7664992 100644 --- a/shield-stub/compat/api19-rust/Cargo.lock +++ b/shield-stub/compat/api19-rust/Cargo.lock @@ -242,7 +242,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] name = "mocikashield-api19" -version = "1.10.0" +version = "1.10.1" dependencies = [ "cc", "chacha20poly1305", diff --git a/shield-stub/compat/api19-rust/Cargo.toml b/shield-stub/compat/api19-rust/Cargo.toml index 7fee9fa..350c4b9 100644 --- a/shield-stub/compat/api19-rust/Cargo.toml +++ b/shield-stub/compat/api19-rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mocikashield-api19" -version = "1.10.0" +version = "1.10.1" edition = "2021" license = "MIT OR Apache-2.0" build = "../../src/main/rust/build.rs" diff --git a/shield-stub/src/main/rust/Cargo.toml b/shield-stub/src/main/rust/Cargo.toml index 3ef185a..c681729 100644 --- a/shield-stub/src/main/rust/Cargo.toml +++ b/shield-stub/src/main/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mocikashield" -version = "1.10.0" +version = "1.10.1" edition = "2021" license = "MIT OR Apache-2.0"