v0.1.5
What's new
Features
- Dev server portals show production data by default — no more empty tables during surface development
- Workflow tables auto-migrate — adding columns to CREATE TABLE IF NOT EXISTS automatically adds them to existing production tables without data loss
- Workflow errors in production now email workspace owner and admins within seconds
- TypeScript type-checking runs automatically during
mug deployandmug validate ctx.credential()works as an alias forctx.secret()in workflows
Improvements
- Dev server logs table registry summary at startup and surfaces portal query errors in the console
- Deploy warns when local databases fail to upload to production
Fixes
- Deploy now uploads all source databases as prefixed tables to the unified workspace database
- Workflow-created tables no longer get destroyed when deploying
- Portal queries with CTEs (WITH clauses) no longer fail silently in paginated sections
- Portal query errors on the dev server return a 500 error page instead of hanging
mug query _workspaceauto-routes through the dev server- Workspace names with spaces or capitals no longer cause deploy to fail
Full changelog: https://mug.work/changelog