We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64b0584 commit 5558d80Copy full SHA for 5558d80
1 file changed
CHANGELOG.md
@@ -5,6 +5,24 @@
5
格式基于 [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
项目遵循 [语义化版本](https://semver.org/spec/v2.0.0.html) 规范。
7
8
+## [2.4.1] - 2026-02-23
9
+
10
+### 🐛 Bug 修复
11
12
+- **Windows 相对路径修复** - `DataServer` 的 `data_path` 参数现使用 `Path.resolve()` 转换为绝对路径,修复 Windows 下相对路径失效问题
13
+- **Windows 路径自动发现** - `get_project_root()` 新增检查 `cwd.parent`,支持从子目录(如 `notebooks/`)运行时自动发现上级的 `data/` 和 `strategies/` 目录
14
+- **路径常量懒加载** - `paths.py` 模块级常量改用 `__getattr__` 延迟计算,避免 import 时 CWD 错误导致路径固化;`Config.data_path` 属性每次动态调用 `get_project_root()`,不再缓存旧路径
15
16
+### 📦 升级指南
17
18
+```bash
19
+pip install --upgrade simtradelab==2.4.1
20
+```
21
22
+**兼容性:** ✅ API 接口无 breaking change。
23
24
+---
25
26
## [2.4.0] - 2026-02-21
27
28
### ✨ 新增功能
0 commit comments