Skip to content

chore: bump 0.2.0(PR#28 错误闭集+SM2 身份拆分发版) - #35

Merged
im47cn merged 1 commit into
mainfrom
release/0.2.0
Sep 3, 2026
Merged

im47cn merged 1 commit into
mainfrom
release/0.2.0

Conversation

@im47cn-bot

@im47cn-bot im47cn-bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

变更

  • pyproject.toml L7:version = "0.1.7" → "0.2.0"(版本单一源,单文件单行)

为何是 minor(0.1.7 → 0.2.0)而非 patch

main 已含 PR #28(合并提交 21c2550),属公共 API 行为变更:

  • §2.2 错误分类闭集导出(七类)
  • ConfigurationError 类族
  • D14/D15 SM2 userId 方向拆分:入向验签身份改用平台固定值

0.x 语义下破坏性变更升 minor,patch 号会低估下游升级影响。

发布流程

  • 本 PR 仅做版本号推进,等 @im47cn 评审合并,请勿自动合并
  • 合并后由 @im47cn 打 tag v0.2.0 触发 release workflow(PyPI),沿用 v0.1.6/v0.1.7 模式
  • 仓库未初始化 changesets,发布走 git tag + release workflow,无需 changeset(preempt changeset-bot)

验证

  • main @ d475b9d 本地套件 297 passed in 10.96s(python3 -m pytest,testpaths=["tests"] 口径,无失败;全量口径含 .factory 以远端 CI 为准)
  • 钩子实测:commitlint / 变更行覆盖率 / spec 核对通过;pre-push 各闸对 pyproject-only 变更无 Python 文件命中、自然跳过(非全量覆盖率跑绿)
  • 分支自 origin/main 切出,push 返回 [new branch] 确认远端此前无同名分支(唯一写者),合并零冲突预期

main 已含 PR #28(21c2550):§2.2 七类错误分类闭集导出、ConfigurationError 类族、D14/D15 SM2 userId 方向拆分(入向验签身份改平台固定值)。
公共 API 行为变更,0.x 语义下破坏性变更升 minor(0.1.7 → 0.2.0)。
版本单一源 pyproject;发版流程 = 合并本 PR 后打 tag v0.2.0 触发 release workflow。
验证:main @ d475b9d 全量 364 passed。
@im47cn-bot
im47cn-bot requested a review from im47cn as a code owner September 3, 2026 12:58
@changeset-bot

changeset-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e58054e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry @im47cn-bot, this account has used its review budget of 5,000,000 diff characters for the last 7 days.

You can request another review in 3 days and 5 hours by commenting @sourcery-ai review.

@coderabbitai

coderabbitai Bot commented Sep 3, 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: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 9b391d61-2526-422d-92e8-c33eefeb41c7


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.

@im47cn
im47cn merged commit d570b2e into main Sep 3, 2026
24 checks passed
@im47cn
im47cn deleted the release/0.2.0 branch September 3, 2026 13:24
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.

2 participants