Skip to content

v4.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Jun 08:55
· 35 commits to main since this release

v4.1.0 - Caido 0.57.0 compatibility

Caido 0.57.0 reshaped the replay and filter GraphQL contracts, which broke caido_send_request, caido_edit_request, batch send, and caido_create_filter. This release adapts to the new API. If you're on Caido 0.57, you want this build.

Fixed

  • Replay is now a draft-then-start flow. startReplayTask dropped its input arg. Sending updates the active entry's draft on an existing session, or seeds a fresh session via requestSource.raw then starts the task. A 0.57 session created with no request source has no entry, so an empty cached session transparently falls back to a seeded one.
  • ReplaySession / ReplayEntry are now GraphQL interfaces (HTTP/WS variants). The SDK unwraps them into stable domain structs, so tool/resource code reads plain fields.
  • @oneOf inputs are strictly enforced ("exactly one field"). This also broke caido_create_filter since QueryInput is @oneOf; fixed via hand-written MarshalJSON on the @oneOf inputs in sdk-go.
  • streams swapped its protocol arg for a StreamQL filter, so caido_list_ws_streams now filters to WS client-side.

SDK alignment

  • Bumped caido-community/sdk-go to the 0.57-aware build: regenerated against the 0.57 schema, replay SDK unwraps the interface types into stable domain structs, added the draft/start methods, and the @oneOf marshaling fix.

Verification

  • Verified end-to-end against a live caido/caido:0.57.0 instance: caido_send_request (over the full MCP transport) and the sdk-go replay flow both return real responses. Live integration test added, gated on CAIDO_IT_URL.

Full Changelog: v4.0.0...v4.1.0