Skip to content

mcp-data-platform-v1.39.4

Choose a tag to compare

@github-actions github-actions released this 11 Mar 22:28
· 265 commits to main since this release
5ce4037

Fix: Public Content Viewer Blank Page

If you are on v1.39.3, upgrade immediately. The public content viewer (/portal/view/<token>) was completely broken — pages showed "Loading..." indefinitely with no rendered content.

What Happened

The v1.39.3 release introduced a shared content renderer that moves all public viewer rendering client-side via an embedded React IIFE bundle. However, the GoReleaser before hook that builds the release binary was never updated to build this new bundle. It only built the SPA (npm run buildinternal/ui/dist/), leaving internal/contentviewer/dist/ empty.

Because the Go binary uses //go:embed to bake the bundle into the binary at compile time, the released binary contained empty strings for both contentviewer.JS and contentviewer.CSS. The public viewer template rendered <script></script> (empty JS) and the page was permanently stuck on the "Loading..." placeholder.

What Changed

.goreleaser.yml — Extended the release build hook to also:

  1. Build the content viewer IIFE bundle (npx vite build --config vite.content-viewer.config.ts)
  2. Copy content-viewer.js to internal/contentviewer/dist/
  3. Copy the SPA's CSS output as content-viewer.css to internal/contentviewer/dist/

This mirrors what make frontend-build does locally.

Impact

  • Affected: Any deployment running v1.39.3 where the public content viewer is used
  • Symptom: Public share links show header/chrome but content area displays "Loading..." forever
  • Resolution: Upgrade to v1.39.4

Installation

Homebrew (macOS)

brew install txn2/tap/mcp-data-platform

Claude Code CLI

claude mcp add mcp-data-platform -- mcp-data-platform

Docker

docker pull ghcr.io/txn2/mcp-data-platform:v1.39.4

Verification

All release artifacts are signed with Cosign. Verify with:

cosign verify-blob --bundle mcp-data-platform_1.39.4_linux_amd64.tar.gz.sigstore.json \
  mcp-data-platform_1.39.4_linux_amd64.tar.gz