Repository navigation
v0.7.0: 💥 Breaking changes #267
Replies: 1 comment
|
@guillaumemeyer @bentalay Here is what I think we should break in v0.7.0 to get to a stable v1.0 surface. Audited every open issue, open PR, and the full CLI/API interface before writing this. Grouped by area. 1. CLI: Kill
|
| PR | What | Status |
|---|---|---|
| #201 | In-place backup, changed-status, SynthID verdict, truncated ID3v2, zip routing | Our PR, ready |
| #181 | Clean hook false-positive changed status (#173) | Contributor PR, overlaps with #201 |
| #178 | SynthID inspect verdict (#165) | Contributor PR, overlaps with #201 |
| #263 | HTTP in-memory payload forwarding (#262) | Contributor PR, needs rebase after #261 |
Proposal: Merge #201 first (it subsumes #181 and #178), then rebase #263. Close #181 and #178 with a note pointing to #201.
10. What NOT to break
- Exit codes 0/1/2/3: Don't change the values, just document them.
- Base64 payload encoding in the API: Switching to multipart would be nice but it's a v2.0 discussion, not v0.7.0.
- Optional external dependency isolation: CtrlRegen, MarkDiffusion, MarkLLM, reverse-SynthID stay in external dirs. The core must remain stdlib-only. Don't bundle them.
- Pre-commit hook interface (
check_staged.py/clean_staged.py): People's CI depends on these. Keep the contract.
Summary
| # | Breaking Change | Scope |
|---|---|---|
| 1 | Drop --force-text |
CLI (10 scripts) |
| 2 | --json becomes --format json |
CLI (3 scripts) |
| 3 | --deep-images becomes --pdf-images |
CLI (clean_file.py) |
| 4 | also_layer_a_text becomes text_scrub |
API + container_meta.py |
| 5 | remove_pixel value naming |
API + image_meta.py |
| 6 | Delete _select_candidate() dead code |
rewrite_text.py |
| 7 | Formalize exit code contract | Docs |
| 8 | Flatten /inspect response |
API |
| 9 | Land bug-fix PRs #201, #263 | Pre-release cleanup |
| 10 | Preserve pre-commit and base64 API contracts | Non-breaking |
If you want, I can take items 1 through 3 and 6 through 7 as one CLI-cleanup PR, and items 4 through 5 and 8 as a second API-cleanup PR. That keeps the blast radius per-PR manageable and reviewable.
Uh oh!
There was an error while loading. Please reload this page.
This project grew very fast and needs some deep cleaning in the codebase and in its interfaces (CLI arguments, OpenAPI spec...).
As we are planning v0.7.0, we already identified several breaking changes coming.
Please watch carefully the release note when this new release ships.
@poorvith-mp @bentalay, share some of your ideas here so we can reach a stable v1.0 with confidence.
All reactions