From c66c3922b7e79922b273d2e5400f702dd1d3fcd6 Mon Sep 17 00:00:00 2001 From: shadow3aaa Date: Tue, 19 Nov 2024 22:26:35 +0800 Subject: [PATCH] chore: v3.9.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- update/en-US/changelog.md | 60 ++++++++++++++------------------------- update/update.json | 6 ++-- update/update_en.json | 6 ++-- update/zh-CN/changelog.md | 60 ++++++++++++++------------------------- 6 files changed, 52 insertions(+), 84 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 80d56db..aaeb9c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -429,7 +429,7 @@ dependencies = [ [[package]] name = "fas-rs" -version = "3.8.0" +version = "3.9.0" dependencies = [ "anyhow", "dumpsys-rs", diff --git a/Cargo.toml b/Cargo.toml index f19f86c..644574f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ cargo-features = ["trim-paths"] [package] name = "fas-rs" -version = "3.8.0" +version = "3.9.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 c8f824f..4c5070c 100644 --- a/update/en-US/changelog.md +++ b/update/en-US/changelog.md @@ -1,39 +1,23 @@ -# v3.8.0 (2024-11-10) +# v3.9.0 (2024-11-19) -* docs: Removed duplicate documentation ([231e4c9](https://github.com/shadow3aaa/fas-rs/commit/231e4c9)) -* docs: Updated documentation descriptions ([554e303](https://github.com/shadow3aaa/fas-rs/commit/554e303)) -* docs(config): Added missing *(default configuration value indicator) ([eff064f](https://github.com/shadow3aaa/fas-rs/commit/eff064f)) -* refactor: pid control -> p control ([48e9f09](https://github.com/shadow3aaa/fas-rs/commit/48e9f09)) -* refactor: No forced policy0 ignore ([5c19423](https://github.com/shadow3aaa/fas-rs/commit/5c19423)) -* refactor: Optimized core thermal control logic ([f8723bc](https://github.com/shadow3aaa/fas-rs/commit/f8723bc)) -* refactor: Applied clamp when writing frequency ([d120c05](https://github.com/shadow3aaa/fas-rs/commit/d120c05)) -* refactor: Removed unused script content ([4fa5cd6](https://github.com/shadow3aaa/fas-rs/commit/4fa5cd6)) -* refactor: Removed unused configuration code ([9092042](https://github.com/shadow3aaa/fas-rs/commit/9092042)) -* refactor: Removed pid control residual code ([e885805](https://github.com/shadow3aaa/fas-rs/commit/e885805)) -* refactor: Removed uniform frequency adjustment rate based on target fps ([f15e01d](https://github.com/shadow3aaa/fas-rs/commit/f15e01d)) -* refactor: Shortened evolution interval ([a768bfe](https://github.com/shadow3aaa/fas-rs/commit/a768bfe)) -* refactor: Reduced restart analyzer cost ([7602e94](https://github.com/shadow3aaa/fas-rs/commit/7602e94)) -* feat: Removed evolutionary algorithm ([4ac0ab3](https://github.com/shadow3aaa/fas-rs/commit/4ac0ab3)) -* feat: Thermal control based on target frequency ([ba2ac4b](https://github.com/shadow3aaa/fas-rs/commit/ba2ac4b)) -* feat: Log time precise to the second ([a03cc73](https://github.com/shadow3aaa/fas-rs/commit/a03cc73)) -* feat: Thermal control can be disabled ([89bfb3a](https://github.com/shadow3aaa/fas-rs/commit/89bfb3a)) -* build: Removed local compile path info for release build ([4dba6c6](https://github.com/shadow3aaa/fas-rs/commit/4dba6c6)) -* build: Updated dependencies ([8095740](https://github.com/shadow3aaa/fas-rs/commit/8095740)) -* build: Updated dependencies ([3fd19a9](https://github.com/shadow3aaa/fas-rs/commit/3fd19a9)) -* build(deps): bump anyhow from 1.0.91 to 1.0.92 ([3d7f0dc](https://github.com/shadow3aaa/fas-rs/commit/3d7f0dc)) -* build(deps): bump anyhow from 1.0.92 to 1.0.93 ([53f78f2](https://github.com/shadow3aaa/fas-rs/commit/53f78f2)) -* build(deps): bump flexi_logger from 0.29.4 to 0.29.5 ([ff3acc7](https://github.com/shadow3aaa/fas-rs/commit/ff3acc7)) -* build(deps): bump flexi_logger from 0.29.5 to 0.29.6 ([92d71bc](https://github.com/shadow3aaa/fas-rs/commit/92d71bc)) -* build(deps): bump libc from 0.2.161 to 0.2.162 ([3c93d6a](https://github.com/shadow3aaa/fas-rs/commit/3c93d6a)) -* build(deps): bump mlua from 0.9.9 to 0.10.0 ([04f614c](https://github.com/shadow3aaa/fas-rs/commit/04f614c)) -* build(deps): bump quick-xml from 0.36.2 to 0.37.0 ([e09befe](https://github.com/shadow3aaa/fas-rs/commit/e09befe)) -* build(deps): bump serde from 1.0.213 to 1.0.214 ([c49ac6a](https://github.com/shadow3aaa/fas-rs/commit/c49ac6a)) -* build(deps): bump thiserror from 1.0.65 to 1.0.66 ([1afc660](https://github.com/shadow3aaa/fas-rs/commit/1afc660)) -* build(deps): bump thiserror from 1.0.66 to 1.0.68 ([206f226](https://github.com/shadow3aaa/fas-rs/commit/206f226)) -* build(deps): bump thiserror from 1.0.68 to 2.0.0 ([c857313](https://github.com/shadow3aaa/fas-rs/commit/c857313)) -* build(deps): bump thiserror from 1.0.68 to 2.0.0 ([e88b3da](https://github.com/shadow3aaa/fas-rs/commit/e88b3da)) -* fix: High-frequency bias during oplus frame insertion ([6f4782d](https://github.com/shadow3aaa/fas-rs/commit/6f4782d)) -* fix: Possible accidental deletion of other files on uninstall ([973c51b](https://github.com/shadow3aaa/fas-rs/commit/973c51b)) -* fix: Database statement error ([57dcf70](https://github.com/shadow3aaa/fas-rs/commit/57dcf70)) -* fix(build): Non-nightly Rust toolchain cannot build ([92bd096](https://github.com/shadow3aaa/fas-rs/commit/92bd096)) -* ci: Removed unnecessary apt install ([bc863c1](https://github.com/shadow3aaa/fas-rs/commit/bc863c1)) +* 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)) diff --git a/update/update.json b/update/update.json index bcb3a5c..4d649d6 100644 --- a/update/update.json +++ b/update/update.json @@ -1,6 +1,6 @@ { - "versionCode": 380, - "version": "v3.8.0", - "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v3.8.0/fas-rs.zip", + "versionCode": 390, + "version": "v3.9.0", + "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v3.9.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 d20a0bb..447ef68 100644 --- a/update/update_en.json +++ b/update/update_en.json @@ -1,6 +1,6 @@ { - "versionCode": 380, - "version": "v3.8.0", - "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v3.8.0/fas-rs.zip", + "versionCode": 390, + "version": "v3.9.0", + "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v3.9.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 d026e40..9ce7d86 100644 --- a/update/zh-CN/changelog.md +++ b/update/zh-CN/changelog.md @@ -1,39 +1,23 @@ -# v3.8.0 (2024-11-10) +# v3.9.0 (2024-11-19) -* docs: 删除文档重复 ([231e4c9](https://github.com/shadow3aaa/fas-rs/commit/231e4c9)) -* docs: 更新文档描述 ([554e303](https://github.com/shadow3aaa/fas-rs/commit/554e303)) -* docs(config): 补上缺失的*(缺省配置值标记) ([eff064f](https://github.com/shadow3aaa/fas-rs/commit/eff064f)) -* refactor: pid control -> p control ([48e9f09](https://github.com/shadow3aaa/fas-rs/commit/48e9f09)) -* refactor: 不强制忽略policy0 ([5c19423](https://github.com/shadow3aaa/fas-rs/commit/5c19423)) -* refactor: 优化核心温控逻辑 ([f8723bc](https://github.com/shadow3aaa/fas-rs/commit/f8723bc)) -* refactor: 写入频率时进行clamp ([d120c05](https://github.com/shadow3aaa/fas-rs/commit/d120c05)) -* refactor: 删除无用的脚本内容 ([4fa5cd6](https://github.com/shadow3aaa/fas-rs/commit/4fa5cd6)) -* refactor: 删除无用配置代码 ([9092042](https://github.com/shadow3aaa/fas-rs/commit/9092042)) -* refactor: 移除pid control残余代码 ([e885805](https://github.com/shadow3aaa/fas-rs/commit/e885805)) -* refactor: 移除根据target fps统一化变化频率速度 ([f15e01d](https://github.com/shadow3aaa/fas-rs/commit/f15e01d)) -* refactor: 缩短进化间隔 ([a768bfe](https://github.com/shadow3aaa/fas-rs/commit/a768bfe)) -* refactor: 降低restart analyzer开销 ([7602e94](https://github.com/shadow3aaa/fas-rs/commit/7602e94)) -* feat: 删除进化算法 ([4ac0ab3](https://github.com/shadow3aaa/fas-rs/commit/4ac0ab3)) -* feat: 基于目标频率控制的温控 ([ba2ac4b](https://github.com/shadow3aaa/fas-rs/commit/ba2ac4b)) -* feat: 日志时间精确到秒 ([a03cc73](https://github.com/shadow3aaa/fas-rs/commit/a03cc73)) -* feat: 温控可关闭 ([89bfb3a](https://github.com/shadow3aaa/fas-rs/commit/89bfb3a)) -* build: release编译时去除本地编译路径信息 ([4dba6c6](https://github.com/shadow3aaa/fas-rs/commit/4dba6c6)) -* build: update deps ([8095740](https://github.com/shadow3aaa/fas-rs/commit/8095740)) -* build: 更新依赖 ([3fd19a9](https://github.com/shadow3aaa/fas-rs/commit/3fd19a9)) -* build(deps): bump anyhow from 1.0.91 to 1.0.92 ([3d7f0dc](https://github.com/shadow3aaa/fas-rs/commit/3d7f0dc)) -* build(deps): bump anyhow from 1.0.92 to 1.0.93 ([53f78f2](https://github.com/shadow3aaa/fas-rs/commit/53f78f2)) -* build(deps): bump flexi_logger from 0.29.4 to 0.29.5 ([ff3acc7](https://github.com/shadow3aaa/fas-rs/commit/ff3acc7)) -* build(deps): bump flexi_logger from 0.29.5 to 0.29.6 ([92d71bc](https://github.com/shadow3aaa/fas-rs/commit/92d71bc)) -* build(deps): bump libc from 0.2.161 to 0.2.162 ([3c93d6a](https://github.com/shadow3aaa/fas-rs/commit/3c93d6a)) -* build(deps): bump mlua from 0.9.9 to 0.10.0 ([04f614c](https://github.com/shadow3aaa/fas-rs/commit/04f614c)) -* build(deps): bump quick-xml from 0.36.2 to 0.37.0 ([e09befe](https://github.com/shadow3aaa/fas-rs/commit/e09befe)) -* build(deps): bump serde from 1.0.213 to 1.0.214 ([c49ac6a](https://github.com/shadow3aaa/fas-rs/commit/c49ac6a)) -* build(deps): bump thiserror from 1.0.65 to 1.0.66 ([1afc660](https://github.com/shadow3aaa/fas-rs/commit/1afc660)) -* build(deps): bump thiserror from 1.0.66 to 1.0.68 ([206f226](https://github.com/shadow3aaa/fas-rs/commit/206f226)) -* build(deps): bump thiserror from 1.0.68 to 2.0.0 ([c857313](https://github.com/shadow3aaa/fas-rs/commit/c857313)) -* build(deps): bump thiserror from 1.0.68 to 2.0.0 ([e88b3da](https://github.com/shadow3aaa/fas-rs/commit/e88b3da)) -* fix: oplus插帧时频率偏向高频 ([6f4782d](https://github.com/shadow3aaa/fas-rs/commit/6f4782d)) -* fix: 卸载时可能误删除其它文件 ([973c51b](https://github.com/shadow3aaa/fas-rs/commit/973c51b)) -* fix: 数据库语句错误 ([57dcf70](https://github.com/shadow3aaa/fas-rs/commit/57dcf70)) -* fix(build): 非nightly rust toolchain无法构建 ([92bd096](https://github.com/shadow3aaa/fas-rs/commit/92bd096)) -* ci: 删除不必要的apt install ([bc863c1](https://github.com/shadow3aaa/fas-rs/commit/bc863c1)) +* 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))