v0.21.0
What's Changed
Features
-
Query Audit for Pro users: Added a new Query Audit page to track and review executed queries, accessible only to Pro-tier subscribers. The UI is gated by entitlement checks and localized in English, Spanish, Japanese, and Chinese.
-
Web MCP npm bridge with browser authorization: Introduced a new MCP (Model Context Protocol) integration that enables secure, browser-based authorization flows for external tools. Includes dedicated
/mcp/link/API endpoints and a user-facing authorization page.
Fixes
- ClickHouse SSL connection fix: Resolved an issue where SSL connections to ClickHouse would fail due to missing protocol handling.
- Schema-missing error fix: Corrected a schema initialization error in PostgreSQL and pgLite migrations.
- Action execution stability: Fixed several runtime errors in action invocations across SQL Console, Copilot, Monitoring, Explorer, and Privileges UI components.
Improvements
- Unified action architecture: Refactored all web actions into a consistent domain-driven structure with standardized contracts, improved test coverage (including projection tests), and tighter schema validation.
- Cross-platform tab action alignment: Unified tab-related actions (e.g., creation, switching, title updates) across UI, MCP, and Agent adapters — improving consistency and maintainability.
- Audit log view enhancements: Updated the audit log UI with better formatting, code block rendering, and backend query logic improvements.
Internal
- Codebase cleanup: Removed outdated release notes files (
v0.19.4.md,v0.20.0.md) no longer needed for current documentation flow. - Modularization: Flattened and reorganized action implementations into domain-specific modules (e.g.,
ai/,tab/,connection/,query/) underlib/actions/server/domains/.
How is this guide?