quantdb-sdk 0.1.2__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/CHANGELOG.md +6 -0
- {quantdb_sdk-0.1.2/quantdb_sdk.egg-info → quantdb_sdk-0.1.3}/PKG-INFO +1 -1
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/pyproject.toml +1 -1
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk/async_client.py +1 -1
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk/client.py +612 -612
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3/quantdb_sdk.egg-info}/PKG-INFO +1 -1
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk.egg-info/SOURCES.txt +0 -1
- quantdb_sdk-0.1.2/requirements.txt +0 -4
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/LICENSE +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/MANIFEST.in +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/README.md +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk/__init__.py +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk/__main__.py +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk/_utils.py +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk/errors.py +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk/py.typed +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk.egg-info/dependency_links.txt +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk.egg-info/entry_points.txt +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk.egg-info/requires.txt +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/quantdb_sdk.egg-info/top_level.txt +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/setup.cfg +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/tests/test_async_client.py +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/tests/test_client.py +0 -0
- {quantdb_sdk-0.1.2 → quantdb_sdk-0.1.3}/tests/test_technical_indicators.py +0 -0
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
所有 notable 变更都会记录在此文件。格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
|
|
4
4
|
版本号遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/)。
|
|
5
5
|
|
|
6
|
+
## [0.1.3] - 2026-07-25
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- **User-Agent 统一规范**:同步同步客户端 (`client.py`) 与异步客户端 (`async_client.py`) 的 `User-Agent` 标头为 `QuantDB-Python-SDK/0.1.3`,提升服务端请求追踪与日志分流精度。
|
|
10
|
+
- **服务端 Redis 集中式缓存兼容**:完全兼容服务端网关新上线的 Redis 集中缓存层(自动接收 `X-Cache-Hit` 响应标头)。
|
|
11
|
+
|
|
6
12
|
## [0.1.2] - 2026-07-25
|
|
7
13
|
|
|
8
14
|
### Added
|
|
@@ -35,7 +35,7 @@ class AsyncQuantDBClient:
|
|
|
35
35
|
):
|
|
36
36
|
self.api_host = api_host.rstrip("/")
|
|
37
37
|
self.timeout = timeout
|
|
38
|
-
headers = {"User-Agent": "QuantDB-Python-SDK/0.1.
|
|
38
|
+
headers = {"User-Agent": "QuantDB-Python-SDK/0.1.3"}
|
|
39
39
|
if api_key:
|
|
40
40
|
headers["X-API-Key"] = api_key
|
|
41
41
|
elif token:
|