Skip to content

chore: 发布 1.5.0 - #7

Merged
MisonL merged 2 commits into
mainfrom
release/v1.5.0
Oct 15, 2026
Merged

MisonL merged 2 commits into
mainfrom
release/v1.5.0

Conversation

@MisonL

@MisonL MisonL commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

版本号 1.4.0 → 1.5.0,CHANGELOG Unreleased 归档为 [1.5.0] - 2026-10-15。合并后打 v1.5.0 tag 触发 release workflow 构建五平台产物。

🤖 Generated with Claude Code

Sourcery 总结

为项目的 1.5.0 版本发布做好准备。

文档:

  • 将尚未发布的更新日志条目归档到日期为 2026-10-15 的 1.5.0 版本下。

杂项:

  • 将项目版本从 1.4.0 升级到 1.5.0。
Original summary in English

Sourcery 摘要

为项目发布 1.5.0 版本做好准备。

增强功能:

  • 更新项目以支持 1.5.0 版本发布,并确保发布验证测试与声明的包版本保持一致。

文档:

  • 将尚未发布的变更日志条目归档到日期为 2026-10-15 的 1.5.0 版本下。

测试:

  • 让发布包冒烟测试的测试夹具根据项目版本生成预期版本。
Original summary in English

Summary by Sourcery

Prepare the project for the 1.5.0 release.

Enhancements:

  • Update the project for the 1.5.0 release and keep release validation tests aligned with the declared package version.

Documentation:

  • Archive the unreleased changelog entries under the 1.5.0 release dated 2026-10-15.

Tests:

  • Make release bundle smoke-test fixtures derive their expected version from the project version.

变更范围(相对 1.4.0):
- feat: provider 工厂统一、Responses 协议面、local-hash 离线嵌入(PR #1)
- chore: ruff format 全仓套用(PR #2)
- fix: 检索与快照边界硬化——变异审计工具链收口 + 九轮 agents 审查
  + codex 全 diff 复核,40 处缺陷与 12 处卫生问题(PR #3)
- feat: main.py 支持 -h/--help(PR #4);TUI 提示色亮/暗主题适配(PR #5)
- docs: 命令行参数与主题适配说明(PR #6)
测试 4185 → 4547,全部红/绿验证。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 95ad0e94-4df5-484a-b63b-a7fc8367bcc5
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sourcery-ai

sourcery-ai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
审查者指南(小型 PR 中折叠显示)

审查者指南

本次发布准备通过同步更新项目元数据和 CHANGELOG,将版本从 1.4.0 提升至 1.5.0;合并后需创建 v1.5.0 tag 以触发五平台 release workflow 构建。

文件级变更

变更 详情 文件
将项目版本推进至 1.5.0,并将变更日志从未发布状态归档为带发布日期的 1.5.0 版本记录。
  • 更新 Python 项目元数据版本号
  • 将 CHANGELOG 的 Unreleased 标题替换为 1.5.0 及发布日期
pyproject.toml
CHANGELOG.md

提示和命令

使用 Sourcery

  • 触发新一轮审查: 在拉取请求中评论 @sourcery-ai review。
  • 继续讨论: 直接回复 Sourcery 的审查评论。
  • 根据审查评论创建 GitHub issue: 回复审查评论,请 Sourcery 根据该评论创建 issue。你也可以回复审查评论并输入 @sourcery-ai issue,以此创建 issue。
  • 生成拉取请求标题: 在拉取请求标题的任意位置输入 @sourcery-ai,即可随时生成标题。你也可以在拉取请求中评论 @sourcery-ai title,以随时(重新)生成标题。
  • 生成拉取请求摘要: 在拉取请求正文中你希望生成摘要的位置输入 @sourcery-ai summary,即可随时在该位置生成 PR 摘要。你也可以在拉取请求中评论 @sourcery-ai summary,以随时(重新)生成摘要。
  • 生成审查者指南: 在拉取请求中评论 @sourcery-ai guide,即可随时(重新)生成审查者指南。
  • 解决所有 Sourcery 评论: 在拉取请求中评论 @sourcery-ai resolve,即可解决所有 Sourcery 评论。如果你已处理完所有评论且不想再看到它们,这会很有用。
  • 忽略所有 Sourcery 审查: 在拉取请求中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 审查。如果你想从头开始进行新一轮审查,这尤其有用——别忘了评论 @sourcery-ai review 来触发新一轮审查!

自定义使用体验

访问你的控制面板以:

  • 启用或停用审查功能,例如 Sourcery 生成的拉取请求摘要、审查者指南等。
  • 更改审查语言。
  • 添加、移除或编辑自定义审查说明。
  • 调整其他审查设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

本次发布准备通过同步更新项目元数据和 CHANGELOG,将版本从 1.4.0 提升至 1.5.0;合并后需创建 v1.5.0 tag 以触发五平台 release workflow 构建。

File-Level Changes

Change Details Files
将项目版本推进至 1.5.0,并将变更日志从未发布状态归档为带发布日期的 1.5.0 版本记录。
  • 更新 Python 项目元数据版本号
  • 将 CHANGELOG 的 Unreleased 标题替换为 1.5.0 及发布日期
pyproject.toml
CHANGELOG.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗨——我发现了 3 个问题

面向 AI 代理的提示
请处理此代码审查中的评论:

## 单条评论

### 评论 1
<location path="pyproject.toml" line_range="3" />
<code_context>
 [project]
 name = "pyrag-kit"
-version = "1.4.0"
+version = "1.5.0"
 description = "A lightweight Python implementation of Dify core RAG logic"
 readme = "README.md"
</code_context>
<issue_to_address>
**发布测试失败**

项目版本号更新后运行 `tests/test_release_scripts.py::test_validate_bundle_uses_smoke_test` 时,`validate_bundle` 会将冒烟测试的输出与 `load_version()`(现在是 1.5.0)进行比较,但此测试中的模拟可执行文件报告的是 1.4.0,因此 pytest 会失败并阻止发布。

请将模拟的冒烟测试输出更新为当前项目版本,或改为动态获取版本号。
</issue_to_address>

### 评论 2
<location path="CHANGELOG.md" line_range="5" />
<code_context>
 所有此项目的显著更改都将记录在此文件中。

-## [Unreleased]
+## [1.5.0] - 2026-10-15

 ### 新增
</code_context>
<issue_to_address>
**未来更改会被纳入已发布版本的说明**

如果贡献者在本次发布之后、添加下一个版本标题之前提交更改,`extract_section("1.5.0")` 会一直包含后续条目,直到遇到下一个版本标题。因此,在当前唯一的标题下添加的发布后更改,会出现在 1.5.0 版本说明中,仿佛已经发布。

请在 1.5.0 条目上方恢复 `## [Unreleased]` 部分。
</issue_to_address>

### 评论 3
<location path="pyproject.toml" line_range="3" />
<code_context>
 [project]
 name = "pyrag-kit"
-version = "1.4.0"
+version = "1.5.0"
 description = "A lightweight Python implementation of Dify core RAG logic"
 readme = "README.md"
</code_context>
<issue_to_address>
**路线图中当前版本仍是旧版本**

开发者在此次版本号更新后查阅路线图时,会看到路线图称变更日志的当前版本为 1.4.0。因此,按照该指引操作的开发者会使用过时的发布基准版本。

请将路线图中的当前版本引用更新为 1.5.0。
</issue_to_address>

Sourcery 评估

等待批准。 请先处理 2 项发现。

阻塞性发现:pyproject.toml:3、CHANGELOG.md:5


Sourcery 对开源项目免费——如果您喜欢我们的审查结果,欢迎分享 ✨
Original comment in English

Hey - I've found 3 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="pyproject.toml" line_range="3" />
<code_context>
 [project]
 name = "pyrag-kit"
-version = "1.4.0"
+version = "1.5.0"
 description = "A lightweight Python implementation of Dify core RAG logic"
 readme = "README.md"
</code_context>
<issue_to_address>
**Release tests fail**

When `tests/test_release_scripts.py::test_validate_bundle_uses_smoke_test` runs after the project version is bumped, `validate_bundle` compares the smoke-test output with `load_version()` (now 1.5.0), but this test’s fake executable reports 1.4.0, so pytest fails and blocks release publishing.

Update the stubbed smoke-test output to use the current project version, or derive it dynamically.
</issue_to_address>

### Comment 2
<location path="CHANGELOG.md" line_range="5" />
<code_context>
 所有此项目的显著更改都将记录在此文件中。

-## [Unreleased]
+## [1.5.0] - 2026-10-15

 ### 新增
</code_context>
<issue_to_address>
**Future changes enter released notes**

When contributors add changes after this release but before adding the next version heading, `extract_section("1.5.0")` includes subsequent entries until the next version heading, so post-release changes added under the only current heading appear in the 1.5.0 release notes as already released.

Restore an `## [Unreleased]` section above the 1.5.0 entry.
</issue_to_address>

### Comment 3
<location path="pyproject.toml" line_range="3" />
<code_context>
 [project]
 name = "pyrag-kit"
-version = "1.4.0"
+version = "1.5.0"
 description = "A lightweight Python implementation of Dify core RAG logic"
 readme = "README.md"
</code_context>
<issue_to_address>
**Roadmap names old current version**

When a developer consults the roadmap after this version bump, the roadmap says the changelog's current version is 1.4.0, so developers following that pointer get an outdated release baseline.

Update the roadmap's current-version reference to 1.5.0.
</issue_to_address>

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: pyproject.toml:3, CHANGELOG.md:5


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread pyproject.toml
Comment thread CHANGELOG.md
所有此项目的显著更改都将记录在此文件中。

## [Unreleased]
## [1.5.0] - 2026-10-15

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · 未来更改会被纳入已发布版本的说明

如果贡献者在本次发布之后、添加下一个版本标题之前提交更改,extract_section("1.5.0") 会一直包含后续条目,直到遇到下一个版本标题。因此,在当前唯一的标题下添加的发布后更改,会出现在 1.5.0 版本说明中,仿佛已经发布。

请在 1.5.0 条目上方恢复 ## [Unreleased] 部分。

面向 AI 代理的提示
在 `CHANGELOG.md` 第 5 行:

**未来更改会被纳入已发布版本的说明**

如果贡献者在本次发布之后、添加下一个版本标题之前提交更改,`extract_section("1.5.0")` 会一直包含后续条目,直到遇到下一个版本标题。因此,在当前唯一的标题下添加的发布后更改,会出现在 1.5.0 版本说明中,仿佛已经发布。

请在 1.5.0 条目上方恢复 `## [Unreleased]` 部分。
Original comment in English

🟡 Medium · Future changes enter released notes

When contributors add changes after this release but before adding the next version heading, extract_section("1.5.0") includes subsequent entries until the next version heading, so post-release changes added under the only current heading appear in the 1.5.0 release notes as already released.

Restore an ## [Unreleased] section above the 1.5.0 entry.

Prompt for AI agents
In `CHANGELOG.md` at line 5:

**Future changes enter released notes**

When contributors add changes after this release but before adding the next version heading, `extract_section("1.5.0")` includes subsequent entries until the next version heading, so post-release changes added under the only current heading appear in the 1.5.0 release notes as already released.

Restore an `## [Unreleased]` section above the 1.5.0 entry.

Comment thread pyproject.toml
[project]
name = "pyrag-kit"
version = "1.4.0"
version = "1.5.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ Low · 路线图中当前版本仍是旧版本

开发者在此次版本号更新后查阅路线图时,会看到路线图称变更日志的当前版本为 1.4.0。因此,按照该指引操作的开发者会使用过时的发布基准版本。

请将路线图中的当前版本引用更新为 1.5.0。

面向 AI 代理的提示
在 `pyproject.toml` 第 3 行:

**路线图中当前版本仍是旧版本**

开发者在此次版本号更新后查阅路线图时,会看到路线图称变更日志的当前版本为 1.4.0。因此,按照该指引操作的开发者会使用过时的发布基准版本。

请将路线图中的当前版本引用更新为 1.5.0。
Original comment in English

⚪ Low · Roadmap names old current version

When a developer consults the roadmap after this version bump, the roadmap says the changelog's current version is 1.4.0, so developers following that pointer get an outdated release baseline.

Update the roadmap's current-version reference to 1.5.0.

Prompt for AI agents
In `pyproject.toml` at line 3:

**Roadmap names old current version**

When a developer consults the roadmap after this version bump, the roadmap says the changelog's current version is 1.4.0, so developers following that pointer get an outdated release baseline.

Update the roadmap's current-version reference to 1.5.0.

test_validate_bundle_uses_smoke_test 的替身输出硬编码 1.4.0,
升版本到 1.5.0 后触发守卫「发布包自报版本与 pyproject.toml 不一致」
(CI 实测)。改为从 load_version() 动态构造——该守卫拦的正是这种
漂移,夹具不能自己复现它。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MisonL
MisonL merged commit ce4a07e into main Oct 15, 2026
4 checks passed
@MisonL
MisonL deleted the release/v1.5.0 branch October 15, 2026 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant