Repository navigation
chore: bump version to 1.10.1 and fix license detection - #104
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 / 摘要
Bumps to 1.10.1 and fixes pub.dev license detection:
LICENSEis now the clean upstream MPL-2.0 text, with the copyright notice and additional statements moved to a newNOTICEfile. / 版本提升至 1.10.1 并修复 pub.dev 许可证识别:LICENSE改为标准 MPL-2.0 全文,版权声明与附加声明移至新增的NOTICE。Changes / 变更
LICENSErestored to the unmodified Mozilla Public License 2.0 text (16,726 bytes) so pana recognizes it. /LICENSE还原为未改动的 MPL-2.0 全文,使 pana 能识别。NOTICEfile 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: version1.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 toNOTICE. / 同步版本位、升级提示,许可证段链接NOTICE。CHANGELOG.md: new## 1.10.1entry. / 新增## 1.10.1条目。Context / 背景
pub.dev showed the license as
unknownand scored 0/10 for "Use an OSI-approved license" because the previousLICENSEhad a custom prefix and suffix, dropping the text similarity below pana's detection threshold. KeepingLICENSEbyte-identical to the upstream MPL-2.0 text while moving custom statements toNOTICErestores detection. / 之前的LICENSE带有自定义头尾,文本相似度低于 pana 识别阈值,导致 pub.dev 显示unknown且 OSI 许可项 0/10。将LICENSE与上游 MPL-2.0 保持一致、自定义声明移到NOTICE即可恢复识别。Checklist / 检查项
Test plan
flutter pub publish --dry-runon a clean tree reports 1.10.1 withPackage has 0 warnings./ 干净工作区下 dry-run 显示 1.10.1 且 0 warningsNOTICEis included in the published archive. /NOTICE已包含在发布包中🤖 Generated with Zero Buddy