Skip to content

chore: relicense to MPL-2.0 and bump version to 1.10.0 - #103

Merged
AmisKwok merged 1 commit into
mainfrom
chore/relicense-mpl-2.0
Sep 7, 2026
Merged

AmisKwok merged 1 commit into
mainfrom
chore/relicense-mpl-2.0

Conversation

@AmisKwok

@AmisKwok AmisKwok commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Summary / 摘要

Relicenses the plugin from GPL-3.0 to MPL-2.0 and bumps the version to 1.10.0. / 将插件许可证由 GPL-3.0 更换为 MPL-2.0,版本提升至 1.10.0。

Changes / 变更

  • LICENSE replaced with the official Mozilla Public License 2.0 text, prefixed with the copyright notice and suffixed with 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, original copyright is not transferred). / LICENSE 替换为 MPL-2.0 官方全文,前置版权声明,并追加附加声明(修改版/衍生版无担保且不承担责任、修改版须标注、禁止以项目名/Logo/吉祥物/作者名义背书、原始版权不转移)。
  • pubspec.yaml: version: 1.9.1 → 1.10.0, license: GPL-3.0-only → MPL-2.0. / 版本升至 1.10.0,许可证字段改为 MPL-2.0。
  • ios/zero_inspector_kit.podspec: s.version → '1.10.0'. / iOS podspec 版本同步。
  • README.md / README_zh.md: license badge, rewritten License section (commercial use allowed; modified files must be published, unmodified use needs no disclosure; no endorsement; no warranty), ^1.10.0, ref: release/v1.10.0, and the upgrade callout. / 许可证徽章、许可证段重写(允许商用;改了才需公开,未改无需公开;禁止背书;免责),版本位同步。
  • website/pages/FAQ.md, website/theme.config.tsx, CONTRIBUTING.md, AGENTS.md, CHANGELOG.md updated for the new license and the new ## 1.10.0 entry. / 站点 FAQ、页脚、贡献指南、AGENTS 与新 ## 1.10.0 变更日志同步更新。

Context / 背景

GPL-3.0 required every app that merely used the plugin to be open-sourced, which is stricter than intended. The maintainer wants: commercial use and closed-source distribution allowed; if the plugin's source is modified, the modified files must be published under MPL-2.0; if used unmodified, no disclosure is required. MPL-2.0 is file-level copyleft and matches exactly. / GPL-3.0 要求仅"使用"插件的 App 也开源,比预期更严格。维护者的诉求是:允许商用与闭源分发;修改插件源码时须公开被修改的文件;未修改则无需公开。MPL-2.0 的文件级 copyleft 正好匹配。

Checklist / 检查项

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

Test plan

  • flutter pub get resolves and flutter pub publish --dry-run reports 1.10.0 with 0 warnings / 依赖解析正常,dry-run 显示 1.10.0 且 0 warnings
  • GitHub detects the repository license as "Mozilla Public License 2.0" / GitHub 识别仓库许可证为 MPL-2.0
  • README / README_zh License section renders correctly on pub.dev / pub.dev 上许可证说明排版正常

🤖 Generated with Zero Buddy

@AmisKwok
AmisKwok merged commit a0cf9ab into main Sep 7, 2026
12 checks passed
@AmisKwok
AmisKwok deleted the chore/relicense-mpl-2.0 branch September 7, 2026 20:04
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