Skip to content

Commit ffbf599

Browse files
Liang-Hsun Huangclaude
andcommitted
chore: bump version to 2.7.1
- Fix vLLM 0.18+ reasoning field compatibility (PR #127) - Update CLAUDE.md: bug fix must immediately bump PATCH version Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c42b31b commit ffbf599

File tree

4 files changed

+23
-7
lines changed

4 files changed

+23
-7
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.7.1] - 2026-04-09
9+
10+
### Fixed
11+
- **vLLM 0.18+ reasoning 欄位相容性**(PR #127):vLLM 0.18+ 將 `reasoning_content` 改名為 `reasoning`,新增 `_get_reasoning_text()` helper 優先讀取 `reasoning``None` 時才回退 `reasoning_content`,相容 vLLM <0.13 / 0.13.x / >=0.18 三種版本
12+
13+
### Changed
14+
- CLAUDE.md 新增 bug fix 必須立即推 PATCH 版號的規範
15+
816
## [2.7.0] - 2026-04-08
917

1018
### Added

CLAUDE.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -627,12 +627,17 @@ results/
627627

628628
### Release 與 Tag 規範
629629

630-
**當一個 GitHub Milestone 的所有 Issue 都已 close 時,必須**
630+
**以下兩種情況必須推版號**
631631

632-
1. Close 該 Milestone
633-
2. Bump 版本號(`pyproject.toml` + `twinkle_eval/__init__.py`
634-
3. 更新 `CHANGELOG.md`,記錄本次版本的變更內容(新功能、Bug fix、Breaking change 等)
635-
4. 建立 Git tag 並發佈 GitHub Release(`gh release create`
632+
1. **Milestone 完成**:當一個 GitHub Milestone 的所有 Issue 都已 close 時,bump MINOR 版號
633+
2. **Bug fix 合入**:當 bug fix PR 合入 main 時,必須立即 bump PATCH 版號(第三碼)
634+
635+
**推版號時,必須完成以下所有步驟:**
636+
637+
1. Bump 版本號(`pyproject.toml` + `twinkle_eval/__init__.py`,兩者必須同步)
638+
2. 更新 `CHANGELOG.md`,記錄本次版本的變更內容(新功能、Bug fix、Breaking change 等)
639+
3. 建立 Git tag 並發佈 GitHub Release(`gh release create`
640+
4. 若為 Milestone 完成,同時 close 該 Milestone
636641

637642
**CHANGELOG 規則**:每次 bump 版本號時,**必須**同步更新 `CHANGELOG.md`。未更新 CHANGELOG 的版本 bump 不得合入。
638643

@@ -644,10 +649,13 @@ results/
644649
| **MINOR** | `x.Y.0` | 新功能:新增 benchmark、新增 evaluation method、新增 exporter、新增 optional dependency group | 2.0.0 → 2.1.0(新增 IFEval + IFBench) |
645650
| **PATCH** | `x.y.Z` | Bug fix、文件修正、效能優化、不影響使用者介面的內部重構 | 2.1.0 → 2.1.1(修正 scorer 邊界條件) |
646651

652+
**Bug fix 的版號更新不得延遲**:bug fix PR 合入後,必須在同一次工作流程中完成 PATCH 版號 bump、CHANGELOG 更新、Git tag 與 GitHub Release。不得等到下一個 Milestone 才一起推。
653+
647654
**多個 Milestone 同時完成時**(例如同一個 PR 關閉了多個 Milestone),只需 bump 一次版本、發佈一個 Release,Release notes 中列出所有完成的 Milestone。
648655

649656
**Release 標題格式**`v{VERSION} — {一句話摘要}`
650657
- 範例:`v2.1.0 — IFEval & IFBench Instruction-Following Evaluation`
658+
- 範例:`v2.7.1 — Fix vLLM 0.18+ reasoning field compatibility`
651659

652660
**Tag 命名**`v{VERSION}`(例如 `v2.1.0`),必須指向 main branch 上 version bump commit。
653661

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "twinkle-eval"
7-
version = "2.7.0"
7+
version = "2.7.1"
88
description = "🌟 高效且準確的 AI 模型評測工具"
99
readme = "README.md"
1010
license = {text = "MIT"}

twinkle_eval/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
授權:MIT License
2424
"""
2525

26-
__version__ = "2.7.0"
26+
__version__ = "2.7.1"
2727
__author__ = "Twinkle AI Team"
2828
__license__ = "MIT"
2929

0 commit comments

Comments
 (0)