diff --git a/CHANGELOG.md b/CHANGELOG.md index 8221e0f..f4f79ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 未发布 +## 1.3.0(2026-08-24) 遥测后端从此**按需占用连接、失败可自愈、降级可查询**(issue #15)。提交方在一个 `max_connections=100` 的共享 PostgreSQL 上跑多 worker × 多 scope,发现库悄悄占掉了 40 条常驻连接,且余量一紧张就整个进程再也不落一行遥测——19 次调用一行未落、成本少记约 $5,是**人工比对**"日志里的完成里程碑条数 vs `llm_calls` 行数"才发现的。 diff --git a/README.md b/README.md index dcecaf8..f73cb76 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ ```bash pip install --extra-index-url https://gitea.iomgaa.online/api/packages/iomgaa/pypi/simple/ \ - "polygateway[redis,postgres,structured]>=1.2.4,<2" + "polygateway[redis,postgres,structured]>=1.3.0,<2" ``` 核心仅依赖 `httpx` + `pydantic`;按需选 extras: diff --git a/pyproject.toml b/pyproject.toml index 19698e3..1755ddf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "polygateway" -version = "1.2.4" +version = "1.3.0" description = "PolyGateway:实验室统一的大语言模型(LLM/VLM/OCR)调度与中转库——多源、限流、重试、熔断、缓存、遥测" # registry 包页面的正文只认这一项:缺了页面就是一片空白(1.1.2 的教训,twine 会警告 # long_description missing 但不阻塞上传)。README 在打包时被固化进产物,发布后再改无效。 diff --git a/src/polygateway/__init__.py b/src/polygateway/__init__.py index 2acadf4..26b67f5 100644 --- a/src/polygateway/__init__.py +++ b/src/polygateway/__init__.py @@ -34,7 +34,7 @@ from polygateway.types import ( TelemetryStatus, ) -__version__ = "1.2.4" +__version__ = "1.3.0" __all__ = [ "DEFAULT_PROFILES",