## LightSpeedRe 2.0.1
- Add `startup.verifyJarHash` in `config/lightspeed-common.toml`, disabled by default. When enabled, persisted per-mod resource existence, namespace and file-list caches use the complete JAR SHA-256. Each JAR is hashed once per launch; restart after changing the option. Switching modes rebuilds these caches.
- Keep the existing default cache identity and the Agent's independent scan/image validation. Each release JAR includes its bootstrap Agent.
- Use binary-search ranges over sorted resource names instead of constructing every directory-prefix range. Read cached resource bytes when the supplier is opened, avoiding copies and CRC work for resources that are filtered out.
Validation: distribution packaging and cache-key checks passed. Full client startup with the optional hash setting enabled has not been verified. Startup times depend on the pack, Java, heap and cache state; this release makes no fixed-time guarantee.
## 中文
- 新增 `startup.verifyJarHash`,默认关闭。开启后,持久化的资源存在性、命名空间和文件列表缓存使用完整 JAR 的 SHA-256;每次启动同一 JAR 只计算一次,修改选项后需要重启。
- 保持默认缓存规则及 Agent 的独立扫描、资源镜像校验,发行 JAR 已内嵌 Agent。
- 发行包结构与缓存键检查通过;开启哈希模式后的完整客户端启动尚未验收,启动时间随环境和缓存状态变化。
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }