Skip to content

Bump the wire version to 2 for the raw-bytes export download#196

Merged
ccomb merged 1 commit into
mainfrom
feat/wire-2
Jul 11, 2026
Merged

Bump the wire version to 2 for the raw-bytes export download#196
ccomb merged 1 commit into
mainfrom
feat/wire-2

Conversation

@ccomb

@ccomb ccomb commented Jul 10, 2026

Copy link
Copy Markdown
Owner

The export endpoint changed shape in #191: the response went from a JSON envelope (base64 data + warnings array) to application/octet-stream with warnings in the X-Volca-Export-Warnings header. That is breaking in both directions — in particular pyvolca ≥ 0.7.2 talking to a v0.9.0 engine saves the JSON envelope bytes as the exported file without raising.

This bumps currentWireVersion and REQUIRED_WIRE to 2 so both stale pairings get a clear signal instead of silent corruption: a newer client refuses an older engine with an actionable error, an older client warns against a newer engine. MIN_ENGINE_HINT points at v0.9.1, the first release that will advertise wire 2. The README compatibility table and its generated block are regenerated, and the compat test's expected downgrade hint updated.

Verified: engine builds under -Werror with the full test suite green, and the pyvolca suite passes (187 tests) including the README drift check.

The export endpoint changed shape in #191: the response went from a JSON
envelope (base64 data + warnings array) to application/octet-stream with
warnings in the X-Volca-Export-Warnings header. That is breaking in both
directions — in particular a pyvolca >= 0.7.2 talking to a v0.9.0 engine
would save the JSON envelope bytes as the exported file without raising.

Bumping currentWireVersion to 2 and REQUIRED_WIRE to 2 turns both stale
pairings into a clear signal: a newer client refuses an older engine, an
older client warns against a newer engine. MIN_ENGINE_HINT points at
v0.9.1, the first release advertising wire 2.
@ccomb ccomb merged commit 35731c1 into main Jul 11, 2026
11 checks passed
@ccomb ccomb deleted the feat/wire-2 branch July 11, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant