v0.7.0
English
Breaking changes
- Add the composable
javdb.pipeline/v1protocol: most single-ref commands accept non-TTY stdin batches classified as image magic, JSONL envelopes, or plain text; batch output defaults to one JSONL envelope per line off-TTY;--jsonl,--textand--jsonare mutually exclusive; batch--jsonemits an array of envelopes; consumers check kinds strictly, keep input order, continue after item failures, and exit non-zero. Producers never read stdin. (1c2dc9d,445fca5,57d1b5b,9cd2676,a382a5a,da2ee6d, #24) - Switch the public version interface to the root
javdb --version(gh style: release builds print two lines without a leadingvplus the Release URL; development builds print one line) and hide the legacyversion --jsonshim from help and completion while keeping it for older updaters. (e0c5846, #24)
Added
- Add reverse image search: accept JPEG/PNG/WEBP images up to 8 MiB from local paths, HTTP(S) URLs or binary stdin; upload original bytes to the built-in AVScan provider or a declarative external HTTP source; return normalized candidates and frames; and link every candidate to full JavDB detail through strict case-insensitive exact number matching. Responses are cached locally for 30 days, keyed by source and image SHA-256;
javdb cache reverse-searchinspects or clears only that cache. Post-review hardening covers mark status semantics, JSON output for local commands, cache corruption handling, and sensitive header validation. (26f07f7,51aabdc,62ba4ab,65d493b,883a066,a2844e3,a35ff17,b46c096,b8df453,c324b9b,d16b546,d204300,d7ccdbe,e7a37de,f5a5c72,fb63f1d, #24)
Changed
- Release archives are now published with a signed
release-manifest.jsonandrelease-manifest.sig, generated only from verified production archives in the protected release environment;checksums.txtis derived from the manifest. The updater verifies the Ed25519 signature, repository/tag/platform binding, and archive plus extracted binary SHA-256 without ever executing the downloaded candidate. (2153dec,26f1ef8,7f62f60,9fd60d9,b15de50,dc5fc3c,ff42865, #24)
Full Changelog: v0.6.1...v0.7.0
简体中文
破坏性变更
- 新增可组合的
javdb.pipeline/v1协议:多数单 ref 命令接受非 TTY stdin 批处理,输入按图片 magic、JSONL 信封、纯文本顺序分类;非 TTY 输出默认每行一个 JSONL 信封;--jsonl、--text与--json互斥;批量--json输出信封数组;消费者严格检查 kind、保持输入顺序、单项失败继续执行并最终非零。生产者命令不读 stdin。 (1c2dc9d,445fca5,57d1b5b,9cd2676,a382a5a,da2ee6d, #24) - 公开版本接口切换为根
javdb --version(gh 风格:正式版两行且不带v前缀并附 Release URL;开发版一行),并隐藏旧version --jsonshim(仍保留供旧版更新器调用,但不再出现在 help/completion)。 (e0c5846, #24)
新增
- 新增以图搜番:接受本地路径、HTTP(S) URL 或二进制 stdin 的 JPEG/PNG/WEBP 图片(最大 8 MiB);把原始字节上传到内置 AVScan provider 或声明式外部 HTTP source;返回规范化候选与帧;并以大小写不敏感的严格番号精确匹配把每个候选联动到完整 JavDB 详情。响应按 source 与原图 SHA-256 本地缓存 30 天;
javdb cache reverse-search只查看或清理该缓存。评审后加固覆盖 mark 状态语义、本地命令的 JSON 输出、缓存损坏处理与敏感 header 校验。 (26f07f7,51aabdc,62ba4ab,65d493b,883a066,a2844e3,a35ff17,b46c096,b8df453,c324b9b,d16b546,d204300,d7ccdbe,e7a37de,f5a5c72,fb63f1d, #24)
变更
- Release 压缩包现在随发布提供
release-manifest.json与release-manifest.sig(只由受保护 release environment 中已验证的 production archives 生成);checksums.txt由清单派生。更新器校验 Ed25519 签名、仓库/tag/平台绑定与归档及解包二进制的 SHA-256,绝不执行下载的候选二进制。 (2153dec,26f1ef8,7f62f60,9fd60d9,b15de50,dc5fc3c,ff42865, #24)
完整变更:v0.6.1...v0.7.0