Skip to content

chore(release): v0.48.0 - #239

Merged
AlexGalhardo merged 98 commits into
mainfrom
feat/studio-react
Nov 22, 2026
Merged

AlexGalhardo merged 98 commits into
mainfrom
feat/studio-react

Conversation

@AlexGalhardo

Copy link
Copy Markdown
Owner

Draft of release v0.48.0. Not ready to merge: the checklist below is what is left.

Scope

  • Vukem Studio: a new React interface embedded in contrib/studio, with an original design.
    • React shell, JSON API and embedded build
    • Virtualized data grid with inline editing
    • SQL editor, tabs, query history and saved queries
    • Schema view, MongoDB and Redis parity (in progress)
  • Framework feedback:
    • VF-103: gosec taint rules go quiet behind a handler-forwarding closure
    • VF-106: a secret path segment served through UseServer reaches the request log
    • VF-107: codegen -check disagrees with a Biome-formatted project
    • VF-108: release changelog links commit ids that a rebase merge replaces
    • VF-109: scaffolds and examples/saas still copy a local IP helper instead of Client.WithIP

Before merging

  • Studio integration tests against real PostgreSQL, MySQL, MongoDB and Redis
  • e2e/perf.spec.ts on an idle machine (it failed 2 of 3 runs under load)
  • CI green
  • CHANGELOG.md section and release commit

… interface

Adds react 19.3.1, react-dom 19.3.1, vite 8.3.8, @vitejs/plugin-react 6.3.0,
typescript 7.0.2, @types/react 19.3.0, @types/react-dom 19.3.0 and
@playwright/test 1.65.1, all pinned to exact stable versions with Bun 1.4.5.

Dependency approval from the author on 2026-11-21: "Sim, com tudo aprovado"
for Playwright and React/Vite in Studio, at fixed stable versions.

Refs: epic 26 task 3
Adds //go:embed all:ui, the single-page fallback for client routes, the
studio:ui and studio:ui:check tasks and marks the build as generated.
The Tailwind standalone step is not part of studio:ui yet: the interface
uses its own plain CSS tokens.

Refs: epic 26 task 4
… the API

Moves filter, page and cursor parsing into request.go so the upcoming JSON
routes build the same RowQuery, DocQuery and KeyQuery as the pages.

Refs: epic 26 task 7
GET /api/v1/bootstrap and the table, rows, row and references routes under
/api/v1/sources/{source}, with golden JSON. Names come from the catalog as in
the pages. Every response now carries Cross-Origin-Resource-Policy: same-origin.

Refs: epic 26 task 8
POST /api/v1/sources/{source}/query and /explain keep the existing read-only
barriers, refuse write mode without --write, cap a statement at 64 KiB and
audit write statements without logging their text.

Refs: epic 26 task 9
Collections, documents, find and aggregate for MongoDB; keys with the SCAN
cursor, a key and the console command for Redis. Studio's own refusals answer
422 with their reason, and a missing Redis key now answers 404.

Refs: epic 26 task 10
Row, document and key writes with a typed confirmation for deletes, audited
without values. Without --write the routes are not registered and answer 404.

Refs: epic 26 task 11
A top bar with the source switcher and a read-only or write badge, a source
navigation, the history-API router, the useApi hook with AbortController and
the theme toggle, in plain CSS tokens of the project. Rebuilds contrib/studio/ui.

Refs: epic 26 task 13
Starts vukem-studio on a free port with a SQLite fixture, opens the token URL
and checks the sources, the table list, the read-only badge, that no request
leaves 127.0.0.1, that the token works once and that the strict CSP raises no
console error. Uses the Chromium that Playwright 1.65.1 already has installed.

Refs: epic 26 task 14
… API

Adds the studio-ui job (type check, unit tests, rebuild, stale-build check and
the Go-only build check), with setup-bun pinned by commit SHA, and docs/api.md.

Refs: epic 26 task 15
Quote PageProps keys only when needed and break unions wider than the Biome line width, so codegen:pages -check agrees with a project formatted by its own biome.json.
@AlexGalhardo
AlexGalhardo marked this pull request as ready for review November 22, 2026 03:31
@AlexGalhardo
AlexGalhardo merged commit 651ae0e into main Nov 22, 2026
44 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