From 3bc3a753a38b47f03602acfcc5dcbd58355e53f0 Mon Sep 17 00:00:00 2001 From: shadow3aaa Date: Wed, 27 Nov 2024 16:21:39 +0800 Subject: [PATCH] chore: v4.0.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- update/en-US/changelog.md | 39 ++++++++++++--------------------------- update/update.json | 6 +++--- update/update_en.json | 6 +++--- update/zh-CN/changelog.md | 39 ++++++++++++--------------------------- 6 files changed, 32 insertions(+), 62 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dc4239b5..c89bef50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -429,7 +429,7 @@ dependencies = [ [[package]] name = "fas-rs" -version = "3.9.1" +version = "4.0.0" dependencies = [ "anyhow", "dumpsys-rs", diff --git a/Cargo.toml b/Cargo.toml index c1076535..18e8e00a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "fas-rs" -version = "3.9.1" +version = "4.0.0" edition = "2021" description = "Frame aware scheduling for android. Requires kernel ebpf support." authors = ["shadow3"] diff --git a/update/en-US/changelog.md b/update/en-US/changelog.md index 6976fa3f..21c584ae 100644 --- a/update/en-US/changelog.md +++ b/update/en-US/changelog.md @@ -1,28 +1,13 @@ -# v3.9.1 (2024-11-20) +# v4.0.0 (2024-11-27) -* fix: Missing documentation during packaging ([622e304](https://github.com/shadow3aaa/fas-rs/commit/622e304)) -* fix: High cpu load when small window is detected ([41e9387](https://github.com/shadow3aaa/fas-rs/commit/41e9387)) - -# v3.9.0 (2024-11-19) - -* build: Optimize compression size ([c670eea](https://github.com/shadow3aaa/fas-rs/commit/c670eea)) -* build: Update dependencies ([6127f4a](https://github.com/shadow3aaa/fas-rs/commit/6127f4a)) -* build: Update dependencies ([4ca5918](https://github.com/shadow3aaa/fas-rs/commit/4ca5918)) -* build(deps): bump serde from 1.0.214 to 1.0.215 ([cc23017](https://github.com/shadow3aaa/fas-rs/commit/cc23017)) -* build(deps): bump thiserror from 2.0.2 to 2.0.3 ([88d3447](https://github.com/shadow3aaa/fas-rs/commit/88d3447)) -* feat: Enable debug information in release configuration to facilitate debugging ([fb7ea77](https://github.com/shadow3aaa/fas-rs/commit/fb7ea77)) -* feat: Update packaging time format ([b58fbf1](https://github.com/shadow3aaa/fas-rs/commit/b58fbf1)) -* feat: Add trim-paths feature to optimize build ([ea203e6](https://github.com/shadow3aaa/fas-rs/commit/ea203e6)) -* feat: Add vergen dependency to generate build metadata and update build output format ([6045593](https://github.com/shadow3aaa/fas-rs/commit/6045593)) -* feat: Output backtrace information ([74d6441](https://github.com/shadow3aaa/fas-rs/commit/74d6441)) -* chore: Remove unnecessary dependencies, including num_cpus and rand ([15cacfc](https://github.com/shadow3aaa/fas-rs/commit/15cacfc)) -* fix: Occasional error ([dc78ac7](https://github.com/shadow3aaa/fas-rs/commit/dc78ac7)) -* fix: Small window detection not working on ColorOS ([f14883e](https://github.com/shadow3aaa/fas-rs/commit/f14883e)) -* fix: Remove unnecessary anyhow backtrace feature and update error handling to output backtrace information ([db794f2](https://github.com/shadow3aaa/fas-rs/commit/db794f2)) -* Add missing license header ([f9269e0](https://github.com/shadow3aaa/fas-rs/commit/f9269e0)) -* refactor: A big refactor ([da03671](https://github.com/shadow3aaa/fas-rs/commit/da03671)) -* refactor: Automatically adjust target frame rate based on frame rate variance to increase compatibility ([f81cf41](https://github.com/shadow3aaa/fas-rs/commit/f81cf41)) -* refactor: Add debug logs to record original frametime ([5cda1f4](https://github.com/shadow3aaa/fas-rs/commit/5cda1f4)) -* refactor: Move thermal.rs module location ([b24c929](https://github.com/shadow3aaa/fas-rs/commit/b24c929)) -* refactor: Rename top-level application monitor ([372eed1](https://github.com/shadow3aaa/fas-rs/commit/372eed1)) -* docs: Optimize README translation ([56341a6](https://github.com/shadow3aaa/fas-rs/commit/56341a6)) +* refactor: Use transparent error messages ([9cc0b2a](https://github.com/shadow3aaa/fas-rs/commit/9cc0b2a)) +* refactor: Package README.md as README_CN.md ([e9b4d7f](https://github.com/shadow3aaa/fas-rs/commit/e9b4d7f)) +* refactor: Remove some error handling logs ([ed5e0fd](https://github.com/shadow3aaa/fas-rs/commit/ed5e0fd)) +* refactor: Adjust default kp value of ControllerParams ([616ae45](https://github.com/shadow3aaa/fas-rs/commit/616ae45)) +* build(deps): bump libc from 0.2.164 to 0.2.166 ([a27d7ba](https://github.com/shadow3aaa/fas-rs/commit/a27d7ba)) +* build(deps): bump sysinfo from 0.32.0 to 0.32.1 ([8f81530](https://github.com/shadow3aaa/fas-rs/commit/8f81530)) +* build(deps): Update dependencies ([9b35785](https://github.com/shadow3aaa/fas-rs/commit/9b35785)) +* Revert "feat: Add trim-paths feature to optimize build" ([af8d3f9](https://github.com/shadow3aaa/fas-rs/commit/af8d3f9)) +* feat: Use load tracking to assist fas frequency modulation ([0241394](https://github.com/shadow3aaa/fas-rs/commit/0241394)) +* feat: Change the method of automatically fine-tuning target fps from fps variance to utilization monitoring ([a359a2f](https://github.com/shadow3aaa/fas-rs/commit/a359a2f)) +* fix: Adjust the utilization threshold for fine-tuning target fps ([ca10192](https://github.com/shadow3aaa/fas-rs/commit/ca10192)) diff --git a/update/update.json b/update/update.json index 5d9239fd..822967d9 100644 --- a/update/update.json +++ b/update/update.json @@ -1,6 +1,6 @@ { - "versionCode": 391, - "version": "v3.9.1", - "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v3.9.1/fas-rs.zip", + "versionCode": 400, + "version": "v4.0.0", + "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v4.0.0/fas-rs.zip", "changelog": "https://github.com/shadow3aaa/fas-rs/raw/master/update/zh-CN/changelog.md" } \ No newline at end of file diff --git a/update/update_en.json b/update/update_en.json index 64814d35..1af66bba 100644 --- a/update/update_en.json +++ b/update/update_en.json @@ -1,6 +1,6 @@ { - "versionCode": 391, - "version": "v3.9.1", - "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v3.9.1/fas-rs.zip", + "versionCode": 400, + "version": "v4.0.0", + "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v4.0.0/fas-rs.zip", "changelog": "https://github.com/shadow3aaa/fas-rs/raw/master/update/en-US/changelog.md" } \ No newline at end of file diff --git a/update/zh-CN/changelog.md b/update/zh-CN/changelog.md index 0d2ed603..cc3ba0e6 100644 --- a/update/zh-CN/changelog.md +++ b/update/zh-CN/changelog.md @@ -1,28 +1,13 @@ -# v3.9.1 (2024-11-20) +# v4.0.0 (2024-11-27) -* fix: 打包时文档缺失 ([622e304](https://github.com/shadow3aaa/fas-rs/commit/622e304)) -* fix: 检测到小窗时高负载 ([41e9387](https://github.com/shadow3aaa/fas-rs/commit/41e9387)) - -# v3.9.0 (2024-11-19) - -* build: 优化压缩大小 ([c670eea](https://github.com/shadow3aaa/fas-rs/commit/c670eea)) -* build: 更新依赖 ([6127f4a](https://github.com/shadow3aaa/fas-rs/commit/6127f4a)) -* build: 更新依赖 ([4ca5918](https://github.com/shadow3aaa/fas-rs/commit/4ca5918)) -* build(deps): bump serde from 1.0.214 to 1.0.215 ([cc23017](https://github.com/shadow3aaa/fas-rs/commit/cc23017)) -* build(deps): bump thiserror from 2.0.2 to 2.0.3 ([88d3447](https://github.com/shadow3aaa/fas-rs/commit/88d3447)) -* feat: 在发布配置中启用调试信息以便于调试 ([fb7ea77](https://github.com/shadow3aaa/fas-rs/commit/fb7ea77)) -* feat: 更新打包时间格式 ([b58fbf1](https://github.com/shadow3aaa/fas-rs/commit/b58fbf1)) -* feat: 添加trim-paths功能以优化构建 ([ea203e6](https://github.com/shadow3aaa/fas-rs/commit/ea203e6)) -* feat: 添加vergen依赖以生成构建元信息并更新构建输出格式 ([6045593](https://github.com/shadow3aaa/fas-rs/commit/6045593)) -* feat: 输出backtrace信息 ([74d6441](https://github.com/shadow3aaa/fas-rs/commit/74d6441)) -* chore: 移除不必要的依赖项,包括num_cpus和rand ([15cacfc](https://github.com/shadow3aaa/fas-rs/commit/15cacfc)) -* fix: 偶发error ([dc78ac7](https://github.com/shadow3aaa/fas-rs/commit/dc78ac7)) -* fix: 小窗检测在color os不生效 ([f14883e](https://github.com/shadow3aaa/fas-rs/commit/f14883e)) -* fix: 移除不必要的anyhow backtrace feature并更新错误处理以输出backtrace信息 ([db794f2](https://github.com/shadow3aaa/fas-rs/commit/db794f2)) -* Add missing license header ([f9269e0](https://github.com/shadow3aaa/fas-rs/commit/f9269e0)) -* refactor: A big refactor ([da03671](https://github.com/shadow3aaa/fas-rs/commit/da03671)) -* refactor: 根据帧率方差自动调整目标帧率增加兼容性 ([f81cf41](https://github.com/shadow3aaa/fas-rs/commit/f81cf41)) -* refactor: 添加debug日志对原始frametime的记录 ([5cda1f4](https://github.com/shadow3aaa/fas-rs/commit/5cda1f4)) -* refactor: 移动thermal.rs模块位置 ([b24c929](https://github.com/shadow3aaa/fas-rs/commit/b24c929)) -* refactor: 重命名顶层应用监视器 ([372eed1](https://github.com/shadow3aaa/fas-rs/commit/372eed1)) -* docs: 优化readme翻译 ([56341a6](https://github.com/shadow3aaa/fas-rs/commit/56341a6)) +* refactor: 使用透明错误消息 ([9cc0b2a](https://github.com/shadow3aaa/fas-rs/commit/9cc0b2a)) +* refactor: 打包README.md改为README_CN.md ([e9b4d7f](https://github.com/shadow3aaa/fas-rs/commit/e9b4d7f)) +* refactor: 移除部分错误处理日志 ([ed5e0fd](https://github.com/shadow3aaa/fas-rs/commit/ed5e0fd)) +* refactor: 调整 ControllerParams 的默认 kp 值 ([616ae45](https://github.com/shadow3aaa/fas-rs/commit/616ae45)) +* build(deps): bump libc from 0.2.164 to 0.2.166 ([a27d7ba](https://github.com/shadow3aaa/fas-rs/commit/a27d7ba)) +* build(deps): bump sysinfo from 0.32.0 to 0.32.1 ([8f81530](https://github.com/shadow3aaa/fas-rs/commit/8f81530)) +* build(deps): 更新依赖 ([9b35785](https://github.com/shadow3aaa/fas-rs/commit/9b35785)) +* Revert "feat: 添加trim-paths功能以优化构建" ([af8d3f9](https://github.com/shadow3aaa/fas-rs/commit/af8d3f9)) +* feat: 使用负载跟踪辅助fas调频 ([0241394](https://github.com/shadow3aaa/fas-rs/commit/0241394)) +* feat: 将自动微调目标fps的判断方法由fps方差改为占用率监测 ([a359a2f](https://github.com/shadow3aaa/fas-rs/commit/a359a2f)) +* fix: 调整微调目标fps的占用率阈值 ([ca10192](https://github.com/shadow3aaa/fas-rs/commit/ca10192))