PermPacks v0.2 Beta
Pre-release
Pre-release
更新内容
新增
- 英文介绍文档
README-en.md与两种尺寸的项目 Logo。 - 在
Iterable<Pack>#toRequest()中对资源包去重,避免重复发送同一包。 - S3 文件上传服务(
amazon_s3),支持可配置的 endpoint、region、bucket、目录等。 - 上传服务启动清理逻辑,支持自托管/ S3 中清理未被引用的对象。
- 多个函数的必要注释与文档化内容。
.gitignore中对run/目录的忽略。
优化
UploadService#upload()支持传入预先计算的哈希以避免重复计算。paper-plugin.yml的版本变量替换与build.gradle.kts的任务结构。PackItem系列结构,将hash上移到父类统一管理;toResourcePackInfo()的异常抛出与结构更清晰。- 资源包清理流程、若干函数命名与注释本地化;
Options字段命名与冗余接口移除。 BinaryCache#set()支持传入null即删除;整体代码结构与日志工具函数。- 与 CommandAPI 的对接与
PermPacks中部分函数顺序。
修复
FilePackItem在初始化后未触发上传的问题。- URI 序列化问题与 S3
endpoint缺失 schema 的问题。 - 部分字符串格式化中误用原始
toString()的问题。 cleanup()同步修改遗漏导致的逻辑问题。BinaryCache#get()潜在未处理异常;移除未使用的BinaryCache#remove()。- 移除未使用的
Logger#error()扩展方法。
文档
README.md调整表格与内容;补充项目概览与多语言说明。
已合并的 PR
- Fix .gitignore and remove unnecessary tracked files by @Copilot in #1
- Defer pack loading until upload service ready by @Pectics in #2
- Initialize file meta repository before options by @Pectics in #3
- Use reified serializer when caching values by @Pectics in #4
- docs: rewrite README with full project overview by @Pectics in #5
- Allow upload services to validate cached URLs by @Pectics in #7
- Improve readability across plugin configuration and utilities by @Pectics in #6
- [Add] 添加AGENTS说明 by @Pectics in #8
完整内容: https://github.com/Pectics/PermPacks/commits/v0.2
更新日志: https://github.com/Pectics/PermPacks/blob/main/CHANGELOG.md