Skip to content

Release v0.6.1#19

Merged
rohanraarora merged 7 commits into
mainfrom
release/v0.6.1
Apr 20, 2026
Merged

Release v0.6.1#19
rohanraarora merged 7 commits into
mainfrom
release/v0.6.1

Conversation

@rohanraarora

Copy link
Copy Markdown
Owner

Summary

Release v0.6.1 — patch release with two fixes and one UX improvement.

Added

  • Global --verbose flag (and METABASE_CLI_VERBOSE=1 env var) to print full API error response bodies. Useful for debugging; off by default.

Changed

  • API errors are now one-line human-readable messages instead of the full server response. Previously a single 500 dumped 5–20 KB of Clojure stacktrace into stdout; now it prints just the top-level message / error / cause field. Use --verbose to see the original body. Applies to both HTTP errors and in-band query-execution failures.

Fixed

  • question update no longer corrupts v0.59+ cards when template tags are involved. Updates now emit native as a string with template-tags at the stage level, matching native-UI-authored cards. Cards previously corrupted by this bug are healed on their next update.

Includes

Test plan

  • npm run typecheck
  • npm run lint
  • npm run format:check
  • npm test — 138/138 passing
  • End-to-end verification against live Metabase v0.59.4 for both fixes

rohanraarora and others added 7 commits April 20, 2026 14:14
The update path wrapped stages[0].native as {query, template-tags}. Metabase
v0.59+ saved the object but the query processor failed to substitute
parameters, leaving the card unrunnable. Now emits native as a string with
template-tags at the stage level, matching native-UI-authored cards. Also
heals cards previously corrupted by this bug on next update.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…plate-tags

Fix question update corrupting v0.59+ cards with template tags
Metabase returns 5-20 KB Clojure stacktraces for most 500s. Printing the full
body on every failure blew the LLM context window when driving the CLI from
Claude. Errors now extract the top-level message/error/cause (or compact
validation errors) into a one-line summary. The raw body is still available
via --verbose or METABASE_CLI_VERBOSE=1.

Applies to both HTTP errors (via new ApiError class) and in-band query
execution failures.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Truncate Metabase API errors; add --verbose for full bodies
Clears three no-unused-vars lint warnings: beforeEach in client/safety-guard
tests, saveConfig in config-store test.
Remove unused imports from test files
@rohanraarora rohanraarora merged commit c2a1297 into main Apr 20, 2026
6 checks passed
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