fix: remove hardcoded version in 'version' command (v1.9.4)

This commit is contained in:
Justin Gu
2026-06-10 03:40:28 +08:00
parent 531d0c05bc
commit c867297d45
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -1246,6 +1246,13 @@ ruff format --check src/ tests/ # format check
## Changelog
### 1.9.4 (2026-06-10)
**Bug 修复** — 修复 `easy-tdx version` 命令硬编码版本号的问题,改为从 `pyproject.toml` 动态读取。
- 修复 `cmd_admin.py``version` 命令硬编码 `1.1.0` 的问题
- 版本号现在通过 `importlib.metadata``pyproject.toml` 动态获取,不再需要手动同步
### 1.9.3 (2026-06-10)
**新增 `run-all` CLI 命令** — 一行命令批量运行 strategies/ 目录下所有策略并排名,与 `run_all_strategies.py` 脚本功能完全一致。
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "easy-tdx"
version = "1.9.3"
version = "1.9.4"
description = "通达信 TCP 协议行情数据客户端,支持在线行情、离线数据读取与写入同步"
readme = "README.md"
requires-python = ">=3.10"