Repository navigation
chore: relicense to MPL-2.0 and bump version to 1.10.0 - #103
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 / 变更
LICENSEreplaced 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.mdupdated for the new license and the new## 1.10.0entry. / 站点 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 / 检查项
Test plan
flutter pub getresolves andflutter pub publish --dry-runreports 1.10.0 with 0 warnings / 依赖解析正常,dry-run 显示 1.10.0 且 0 warnings🤖 Generated with Zero Buddy