Skip to content

chore: bump version to 1.10.1 and fix license detection - #104

Merged
AmisKwok merged 1 commit into
mainfrom
chore/bump-1.10.1
Sep 7, 2026
Merged

AmisKwok merged 1 commit into
mainfrom
chore/bump-1.10.1

Conversation

@AmisKwok

@AmisKwok AmisKwok commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Summary / 摘要

Bumps to 1.10.1 and fixes pub.dev license detection: LICENSE is now the clean upstream MPL-2.0 text, with the copyright notice and additional statements moved to a new NOTICE file. / 版本提升至 1.10.1 并修复 pub.dev 许可证识别:LICENSE 改为标准 MPL-2.0 全文,版权声明与附加声明移至新增的 NOTICE。

Changes / 变更

  • LICENSE restored to the unmodified Mozilla Public License 2.0 text (16,726 bytes) so pana recognizes it. / LICENSE 还原为未改动的 MPL-2.0 全文,使 pana 能识别。
  • New NOTICE file carrying the copyright notice plus the additional statements: no warranty / no liability for modified or derivative versions, modified versions must be marked, no endorsement using the project name, logo, mascot or author's name, and original copyright is not transferred. / 新增 NOTICE:版权声明与附加声明——修改版/衍生版无担保且不承担责任、修改版须标注、禁止以项目名/Logo/吉祥物/作者名义背书、原始版权不转移。
  • pubspec.yaml / ios/zero_inspector_kit.podspec: version 1.10.0 → 1.10.1. / 版本升至 1.10.1。
  • README.md / README_zh.md: ^1.10.1, ref: release/v1.10.1, updated upgrade callout, and the License section now links to NOTICE. / 同步版本位、升级提示,许可证段链接 NOTICE。
  • CHANGELOG.md: new ## 1.10.1 entry. / 新增 ## 1.10.1 条目。

Context / 背景

pub.dev showed the license as unknown and scored 0/10 for "Use an OSI-approved license" because the previous LICENSE had a custom prefix and suffix, dropping the text similarity below pana's detection threshold. Keeping LICENSE byte-identical to the upstream MPL-2.0 text while moving custom statements to NOTICE restores detection. / 之前的 LICENSE 带有自定义头尾,文本相似度低于 pana 识别阈值,导致 pub.dev 显示 unknown 且 OSI 许可项 0/10。将 LICENSE 与上游 MPL-2.0 保持一致、自定义声明移到 NOTICE 即可恢复识别。

Checklist / 检查项

  • Title follows Conventional Commits / 标题符合约定式提交
  • CI checks pass after merge / 合入后 CI 通过

Test plan

  • flutter pub publish --dry-run on a clean tree reports 1.10.1 with Package has 0 warnings. / 干净工作区下 dry-run 显示 1.10.1 且 0 warnings
  • After publish, pub.dev shows License: MIT-style MPL-2.0 (Mozilla Public License 2.0) and the OSI license point is restored. / 发布后 pub.dev 显示 MPL-2.0,OSI 许可分恢复
  • NOTICE is included in the published archive. / NOTICE 已包含在发布包中

🤖 Generated with Zero Buddy

@AmisKwok
AmisKwok merged commit 2540abc into main Sep 7, 2026
12 checks passed
@AmisKwok
AmisKwok deleted the chore/bump-1.10.1 branch September 7, 2026 20:39
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