Update DR SDK 0.9.x change log

This commit is contained in:
shenjack 2024-01-15 00:17:54 +08:00
parent 5fca0107a0
commit cf7efeff01
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -1,6 +1,17 @@
# DR sdk 0.9.0.0 # DR SDK 0.9.x 更新日志
## Changes ## DR sdk 0.9.1.0 (草稿)
### Dependency
- 去掉了 `tomlkit`, 改为 `tomli_w`
- 真好用
- Remove `tomlkit`, change to `tomli_w`
- Really good
## DR sdk 0.9.0.0
### Changes
- `api.screen.BaseScreen` - `api.screen.BaseScreen`
- `on_draw` - `on_draw`
@ -8,35 +19,35 @@
- `dt` 为上一帧到这一帧的时间间隔 - `dt` 为上一帧到这一帧的时间间隔
- `dt` is the time interval from the last frame to this frame - `dt` is the time interval from the last frame to this frame
## Rename ### Rename
- `Api_version` -> `api_version` - `Api_version` -> `api_version`
- `_DR_Status` -> `_DRStatus` - `_DR_Status` -> `_DRStatus`
- `name` = `DR Option` -> `DR Status` - `name` = `DR Option` -> `DR Status`
- 这毛病属实是没想到, 之前一直没发现 - 这毛病属实是没想到, 之前一直没发现
## Rework ### Rework
- 将 `logging` 的依赖改为 `lib_not_dr.loggers` - 将 `logging` 的依赖改为 `lib_not_dr.loggers`
- 以后都用 `lib_not_dr` 的 logger 了 - 以后都用 `lib_not_dr` 的 logger 了
- Change the dependency of `logging` to `lib_not_dr.loggers` - Change the dependency of `logging` to `lib_not_dr.loggers`
- Use `lib_not_dr` logger in the future - Use `lib_not_dr` logger in the future
## Add ### Add
- 添加内置依赖: `lib-not-dr` - 添加内置依赖: `lib-not-dr`
- Added built-in dependency: `lib-not-dr` - Added built-in dependency: `lib-not-dr`
- 不再同时维护两份代码 - 不再同时维护两份代码
- No longer maintain two sets of code at the same time - No longer maintain two sets of code at the same time
## Fix ### Fix
- 如果没有 DR_game 的情况下, 退出时会 join 控制台线程 - 如果没有 DR_game 的情况下, 退出时会 join 控制台线程
- 通过检测线程是否是守护线程来判断是否 join - 通过检测线程是否是守护线程来判断是否 join
- If there is no DR_game, join the console thread when exiting - If there is no DR_game, join the console thread when exiting
- Determine whether to join by detecting whether the thread is a daemon thread - Determine whether to join by detecting whether the thread is a daemon thread
## Dependency ### Dependency
- 更新了所有的依赖版本号 - 更新了所有的依赖版本号
- 去看 `requirements.txt` - 去看 `requirements.txt`