Changelog
What's new in KamehaDB
Unreleased
Changed
- •Landing page UX pass — the hero and install section now lead with a direct "Download for free" link to the latest GitHub release (the source-build commands stay as a "build from source" panel), the AI section shows the question and the generated SQL side by side instead of a drag slider, and the demo video loads only when scrolled into view with a poster.
Fixed
- •Landing page on phones — the footer no longer overflows the viewport, a menu button exposes Features/Download/Changelog/Team (the home page now uses the same nav as the other pages), the 3D hero is skipped on small screens, and the schema diagram pans sideways instead of overlapping and clipping its tables.
- •Landing page readability and accessibility — the always-dark hero terminal is legible in light mode, amber buttons use dark text (white was 2.15:1), engine card text and footer links are larger and higher contrast, motion respects `prefers-reduced-motion`, and a skip-to-content link was added.
v2.1.0
2026-10-23Added
- •Ko-fi donation links — the desktop sidebar footer carries a "Support KamehaDB" button that opens the project's Ko-fi page in the system browser, and the landing site loads Ko-fi's floating donate widget.
- •Boolean dropdown editing — editing boolean fields in MongoDB documents and SQL tables now renders an accessible dropdown (`true`/`false`) instead of a text input.
- •Bounded MongoDB browsing — find and aggregation pages admit whole documents under a 2 MiB budget with `payloadBytes`/`limitReason`/`hasMore`; totals are now opt-in via a cancellable `CountMongoDocuments` (estimated/exact), and pagination advances by the admitted row count so byte-shortened pages never skip documents.
- •Redis key and value paging — key scans use opaque versioned continuations with bounded overflow sessions; a paged value inspector serves string byte windows, list/ZSET rank pages, and hash/set scan continuations, with explicit restart/mismatch errors and `ReleaseRedisCursor`.
- •Per-profile read-only toggle for SQL connections — the connection dialog shows a Read-only switch for SQL kinds (on by default; existing profiles migrate to read-only). Turning it off lets the SQL editor and inline cell edits run writes against that profile and permits write statements in full-query CSV export; each request still carries a single statement and MCP stays read-only regardless.
Changed
- •Unified provider core — all ten database engines now live under `dbcore/providers` behind driver-free contracts (`dbcore/engines`, `dbcore/mongo`, `dbcore/redis`), and a single `dbcore.Manager` owns provider lifecycle for SQL, MongoDB, and Redis behind the `internal/database` facade instead of per-service adapter caches. MCP keeps its own scoped, read-only provider sessions.
Fixed
- •MongoDB pagination after writes — editing or deleting a document restarts browsing from the first page and clears saved offsets so later pages do not skip documents after page boundaries change.
- •Connection test feedback — unsaved PostgreSQL and MySQL tests again show the adapters' friendly connection errors and use their intended test deadlines.
- •MongoDB field update filter — document updates and deletes now match both BSON `ObjectID` and string representations for 24-character hex `_id` values, resolving `no document matched the filter` errors.
- •Unedited blur handling — blurring or clicking outside an in-cell editor without changes now cleanly cancels editing as a no-op instead of triggering unnecessary update requests or error alerts.
- •SQL batch statement splitting — multi-statement editor batches no longer drop text after a `$1`-style placeholder or double the characters inside `$$…$$`/`$tag$…$tag$` dollar-quoted bodies.
v2.0.4
2026-10-18Added
- •Update notifications — check GitHub Releases every six hours, show release notes, and offer manual checks, per-version dismissal, an opt-out setting, and a link to the release page.
Changed
- •Sidebar controls — compact the new-connection button and align the resize handle with the sidebar edge.
v2.0.3
2026-10-18Fixed
- •Connection list — a stored secret that cannot be decrypted (locked, reset, or missing OS keychain) no longer blanks the whole connections list; the unreadable field is logged and left empty, and connecting still reports the credential problem.
- •Connection profile update — editing a profile whose secret cannot be decrypted now loads existing fields leniently and preserves stored ciphertext when omitted, allowing users to update settings or repair invalid credentials without save errors.
- •Redis credential check — Redis connection initialization now reports vault decryption errors instead of attempting to authenticate with an empty password.
- •Legacy profile backup — migration stops and preserves Qdrant/TigerBeetle profiles when an encrypted connection string cannot be decrypted, instead of writing an incomplete backup and deleting the row.
v2.0.1
2026-10-18Fixed
- •Windows release installer — ensure the release build can find NSIS and include its installer asset.
v2.0.0
2026-10-18Changed
- •Balanced table workspace — give the table tabs and panels consistent spacing, keep sorting on column headers, place search options beside the search field, and keep row count and query duration together.
- •MCP credential vault key — store the AES-256-GCM key in the OS keychain where available; migrate an existing key file on first use and keep an owner-only file fallback when no keychain is available.
- •Desktop runtime — replace the Tauri/Rust shell and Node sidecar with one Wails/Go app; backend services now run in-process.
- •Desktop bundle size — the local macOS ARM64 Wails app bundle is about 80% smaller than the previously installed app.
- •Query editor — use CodeMirror 6 for SQL, MongoDB, Redis, and federated query editors.
- •Release packages — add macOS DMG, Linux DEB/RPM/AppImage, and Windows NSIS/MSI packages. AppImage requires the host WebKit2GTK 4.1 runtime.
- •Sidebar and navigation — make the schema search cover table names, tighten connection and schema rows, and keep the API Settings entry and page navigation consistent.
- •Encrypted credential storage — encrypt connection passwords, connection strings, and AI provider keys before storing them in metadata SQLite. Migrate existing values once; failed migration preserves existing data, and decryption errors never fall back to plaintext.
- •AI chat SQL display — show generated SQL for review instead of executing it in the chat flow; do not send query result rows back to the provider.
- •PostgreSQL TLS — keep SSL profiles encrypted; a supplied Root CA verifies the certificate chain and hostname, while connections without one remain encrypted without server-certificate verification.
- •Atomic file-database backup and restore — stage SQLite and DuckDB changes before promotion, preserve the existing file on failure, and retain and report recovery copies if rollback fails.
- •Controls and menus — standardize control sizing, clarify active AI providers, use app-owned context menus, and show the Ctrl+Enter run shortcut across query toolbars.
Added
- •Root CA certificates — optionally verify certificates and hostnames for PostgreSQL, MySQL, MariaDB, and SQL Server. Without a supplied CA, connections stay encrypted but do not verify the server certificate. PostgreSQL's bundled psql, backup, and restore tools continue encrypted without certificate verification.
- •Native full CSV export — export read-only PostgreSQL/SQLite queries or whole tables directly to disk; cancel an export without replacing an existing destination.
- •Column-specific table search — search all fields or a selected column with an optional case-sensitive match; engine-native filtering measured up to 3x–5x faster on million-row tables.
- •Table loading indicator — show progress when sorting or paging takes long enough to look like a stalled view.
Performance
- •Interim sorting and RAM benchmark — across three private Wails/SQLite runs over one million rows, median instrumented sorts were 79 ms by primary key, 89 ms by indexed column, and 374 ms by unindexed text while displaying 50 rows. Whole-app PSS medians were 321.5 MiB idle and 424.4 MiB with five small tabs. RAM targets remain unmet; no matched-baseline improvement is claimed. See the method and remaining evidence.
- •Exact SQL paging — use primary-key paging for eligible tables on MySQL/MariaDB, SQL Server, Oracle, and DuckDB; unsupported keys and arbitrary sorts retain offset paging, and ClickHouse keeps bounded offset paging.
- •Request-scoped cancellation — cancel a SQL, MongoDB, or Redis request without cancelling unrelated work; exports have independent cancellation, and cancellation does not claim to roll back database work.
- •Optional DuckDB driver — install and verify the app-managed driver only when needed instead of linking its native library into the desktop.
- •MongoDB browse pages — avoid compulsory count queries and report when more results may follow; reject a first document that exceeds the 2 MiB browse cap.
- •Go/Wails runtime comparison — synthetic PostgreSQL runs measured medians of about 8 ms in both builds for 1,000 rows, and about 15 ms for Tauri/Node versus 13 ms for Wails/Go for 10,000 rows. One macOS ARM64 snapshot measured about 179 MB versus 206 MB across app processes; the apps had different UI states, so treat the RAM figures as indicative.
- •Virtual table scrolling — window large table results so the UI renders visible rows instead of building a large DOM tree.
- •Go runtime memory limits — cap the heap target at 128 MB and use GOGC=50 to return unused memory more eagerly.
- •Query cache and schema indexing — shorten frontend cache retention and defer startup schema indexing until it is needed.
- •SQL result allocation and row cap — reduce per-row allocations across SQL engines and cap unpaginated GUI results at 50,000 rows with a Truncated badge.
- •SQLite search and cache tuning — tune SQLite scan/sort settings and skip blobs when filtering text fields.
Fixed
- •Pane scrollbars — stop hover in one pane from revealing another pane's scrollbar, keep the table scrollbar below its pinned header, and make tab-strip/sidebar scrollbars usable on Linux.
- •Empty workspace and table states — show a stable empty connection list on fresh installs and center the table's no-data state.
- •Query history and cached results — preserve precise query timings in results while saving integer milliseconds to history, and clear stale table previews after a tab closes.
- •SQL dialect-aware row limits — use valid SQL Server and Oracle pagination and ignore ORDER BY text inside comments, strings, and window expressions.
- •ClickHouse search safety — escape search values correctly and stop with an error if search-column metadata cannot be loaded.
- •AI schema context — reuse cache entries at the table or connection scope where they were stored.
- •Workspace navigation — keep tab actions visible, prevent tooltips from blocking menu clicks, and show each query tab's target database.
- •CodeMirror themes — switch editor themes when the app changes between light and dark mode.
- •Removed-engine profiles — export and remove old Qdrant and TigerBeetle profiles during migration.
- •Read-only SQL screening — reject a second statement hidden after a quote or comment for AI auto-run, MCP, and full-table CSV export.
- •Redis views — fix Redis statistics and return raw command replies such as HGETALL, CONFIG GET, and XINFO in a form the UI can display.
- •MCP reliability — apply per-query timeouts for MySQL/MariaDB, fix managed PostgreSQL and MongoDB account setup, and reuse one adapter for concurrent calls to the same connection.
- •Stable SQL pages — include primary-key columns in sort order so rows with repeated values do not disappear or repeat between pages; composite keys use every key column.
- •MongoDB sorting and commands — preserve field order in compound sorts, pipelines, and commands, and keep empty arrays intact.
- •PostgreSQL table statistics — calculate bloat from dead tuples relative to heap size and restore index counts.
- •Native exports — make displayed-row CSV/JSON/SQL exports work through the app save dialog and keep whole-table export cancellation reachable.
- •MongoDB pagination — show exact totals when available and prevent page jumps beyond the known result range.
- •MongoDB document list — keep long lists scrollable while the pagination footer stays visible.
- •Linux table scrolling — improve scrollbar visibility and keep table scrolling responsive for larger result pages.
- •Menus and controls — clarify export menu wording, use select labels instead of raw values, and apply success/error theme tokens to connection tiles.
Removed
- •Qdrant and TigerBeetle — remove their explorers and support. KamehaDB supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, ClickHouse, DuckDB, MongoDB, and Redis.
v1.6.2
2026-10-11Added
- •MCP call history — view recent MCP tool inputs and call summaries in the MCP Settings Logs tab, with recording enabled by default and a settings toggle; returned database rows and documents are not stored.
Fixed
- •Sidecar wake recovery — recheck the local sidecar when the app returns to the foreground or the network reconnects, restart it if its child exited, and refresh workspace caches when the process changes.
v1.6.1
2026-10-04Changed
- •MCP managed credentials — encrypt generated read-only account credentials in local SQLite-backed storage, so saved MCP accounts restore across macOS, Windows, and Linux without OS Keychain access. Existing Keychain-backed accounts must be revoked and recreated.
v1.6.0
2026-10-01Added
- •Read-only MCP server — expose selected database profiles to Codex, Claude Code, Devin CLI, and OpenCode over a local authenticated endpoint. KamehaDB provisions a dedicated read-only database account and stores its credential in the OS Keychain.
Changed
- •API Settings tabs — move MCP setup into its own tab beside AI provider settings.
Fixed
- •MCP listener lifecycle — serialize sidecar startup, retries, and port changes, and stop the listener with the desktop app to prevent races and orphaned processes.
- •MCP query safety and compatibility — enforce engine timeouts and selected database scope, preserve result column order, keep credentials out of profile responses, and refresh the OpenCode config snippet.
- •Managed account recovery — make credential hydration, database grant revocation, and Keychain cleanup recoverable without removing grants the app does not manage.
- •Packaged app startup — allow sidecar health checks from the Tauri WebView and bundle Monaco so the editor does not depend on CDN assets blocked by the app's content security policy.
v1.5.1
2026-09-01Added
- •Query tab rename — rename query tabs from their right-click context menu.
- •JSON copy actions — add JSON copy buttons to SQL results and the MongoDB footer, and remove the redundant MongoDB header dropdown.
Fixed
- •Clipboard copy feedback — JSON copy actions now show success only after the clipboard write completes and report failures when clipboard access is unavailable.
- •Workspace query tab colors — query tabs now use the same connection badge color as the sidebar.
v1.5.0
2026-08-12Added
- •Tab context menu — right-click workspace tabs to close, pin, or duplicate; pinned tabs persist across reloads.
- •Table view editing — double-click cells to edit inline, toggle between view and edit modes.
- •Landing dashboard milestone — interactive engine matrix, read-only schema graph demo, and animated hero canvas.
- •AI chat — active provider shown in the chat panel header; providers with sufficient config auto-enable.
Changed
- •Desktop UI consistency overhaul — unified explorer toolbars, structured vector filters, nested JSON rendering, accessible loading/error states, semantic vector-map colors, and notification styling.
- •Vector search UI unification — shared input heights and states across pgvector/Qdrant/sqlite-vec, migrated Qdrant map to VectorMap3D.
- •Design token foundation — status colors, shadow tokens, and shared component patterns (EmptyState, LoadingState, ErrorState, ExplorerToolbar, FilterBar).
- •AI chat performance — optimized re-renders with useMemo/useCallback and cached color conversions in 3D vector map.
Fixed
- •Sidecar authentication — packaged sidecar requires a per-session token, CSP enforced, and SQL table-sort identifiers validated against schema metadata.
- •Query safety — strip SQL comments and string literals before destructive-keyword checks, block SELECT INTO, prevent semicolon-separated batch execution, and stop auto-running AI-generated writes.
- •SAST security fixes — SQL injection via string concatenation, NoSQL injection, and file inclusion attack.
- •Health check SSE leak — evict timed-out probes and support immediate abort on SSE cancel.
- •MongoDB autocomplete — limit concurrent collection sampling to 8 queries to prevent connection overload.
- •Foreign key resolution — improved resolution logic for schema graph and AI schema context.
- •Chat hook reset — atomically clear messages and ref on connection switch.
- •Dollar-quoted strings — ensure delimiters match in SQL safety checks to prevent false positives.
v1.4.7
2026-07-09Fixed
- •Windows sidecar startup (EISDIR) — use `current_dir` + relative `index.js` instead of absolute path with drive letter, avoiding Node.js `realpathSync` bug that caused `EISDIR: illegal operation on a directory, lstat 'C:'`.
- •Linux sidecar startup — skip `MAX_SUPPORTED_NODE_MAJOR` check when bundled node ABI matches; ensure bundled node binary is executable (`chmod 0o755`).
- •pnpm v10 compatibility — added `force-legacy-deploy=true` to `.npmrc` so `pnpm deploy` works without `--legacy` flag.
- •Node 24 compatibility — `rmSync` now uses `recursive: true` for symlink-to-directory removal; `prebuild-install` failure is non-fatal.
- •Max supported Node.js — raised from 22 to 24 for dev fallback.
Fixed
- •Sidecar "Connection refused" on launch — the bundled Node.js runtime was rejected by a hardcoded `MAX_SUPPORTED_NODE_MAJOR = 22` check even when the ABI matched, preventing the sidecar from starting on any build using Node 23+. The major-version gate now only applies when the `node-abi.txt` ABI check is unavailable (sanity floor at 24); the ABI check remains the real compatibility gate. Affects all platforms (Linux, macOS, Windows).
- •`tauri build` failure on pnpm v10 — restored the `--legacy` flag on `pnpm deploy` in the bundle script. pnpm v10 rejects `deploy` from workspaces without `inject-workspace-packages=true` or `--legacy`; removing it (v1.4.3) broke CI and local builds on pnpm 10+.
- •`better-sqlite3` native binding for new Node ABIs — `prebuild-install` now falls back to `node-gyp rebuild --release` when no prebuilt binary exists for the current Node.js ABI (e.g. Node 25). Uses `shell: true` so Windows resolves `node-gyp.cmd` automatically.
- •Sidecar root resolution for ad-hoc binary installs — `resolve_sidecar_root` now falls back to searching relative to the running executable when Tauri's `resource_dir()` is unavailable, fixing sidecar startup for binary copies outside a bundle layout (e.g. `~/.local/bin/kamehadb`).
v1.4.6
2026-07-06Fixed
- •PostgreSQL SSL connections — added SSL toggle to connection dialog and fixed `ssl` flag not being passed through connection test and health check endpoints.
v1.4.5
2026-07-03Fixed
- •Windows sidecar startup — bundled Node.js binary now resolves with `.exe` extension on Windows, and sidecar path uses forward slashes to prevent `realpathSync` truncation.
v1.4.4
2026-07-03Fixed
- •Linux release bundles — temporarily disabled AppImage packaging in CI while `linuxdeploy` is unreliable; Linux releases still publish `.deb` and `.rpm`. Issue tracked in #14796.
v1.4.3
2026-07-03Fixed
- •pnpm deploy compatibility — removed unsupported `--legacy` flag from `pnpm deploy` in bundle script, fixing CI builds on pnpm 9+.
- •Windows bundle script — `pnpm deploy` now runs with `shell: true` on Windows so `pnpm.cmd` resolves correctly.
- •Linux release bundles — temporarily disabled AppImage packaging in CI while `linuxdeploy` is unreliable; Linux releases still publish `.deb` and `.rpm`.
v1.4.0
2026-07-03Added
- •DeepSeek AI provider — direct DeepSeek API access for DeepSeek-V3 (`deepseek-chat`) and DeepSeek-R1 (`deepseek-reasoner`) models via OpenAI-compatible endpoint.
- •Gemini AI provider — Google AI Studio API access for Gemini models (`gemini-2.5-flash`, `gemini-2.5-pro`, etc.) via OpenAI-compatible endpoint.
- •Bundled sidecar — sidecar `dist/`, production `node_modules/`, and Node.js runtime are bundled into the Tauri app. The sidecar auto-starts on launch and is cleaned up on exit — no manual `pnpm dev:sidecar` needed.
- •Shared package build — `@kamehadb/shared` compiles to JS so the sidecar resolves it at runtime.
- •Sidecar loading screen — spinner while the sidecar starts, with an error screen if Node.js is missing or startup fails.
Fixed
- •Sidecar port detection — `start_sidecar` reads the runtime port from stdout instead of hardcoding 3170; Tauri allocates a concrete port before spawning instead of `PORT=0`.
- •Packaged sidecar stability — stdout/stderr are drained after port detection, pnpm symlinks are materialized before bundling, and stale sidecar handles are discarded before restart.
- •Frontend query gating — TanStack Query waits for the sidecar to be ready before firing requests, preventing "Load failed" errors on app launch.
- •Landing Engine Matrix — the landing page now includes an interactive engine matrix section with 12 engine cards. Each card shows a type badge (SQL / document / cache / vector / ledger), a supported-features checklist, and a one-click "Try in Docker" snippet with copy-to-clipboard. A filter row lets visitors filter engines by type. Engine data is vendored from `packages/shared` (landing is not in the pnpm workspace) and documented as a manual-sync copy.
- •Landing Schema Graph Demo — the landing page now embeds an interactive read-only ER diagram (ReactFlow + dagre) that loads instantly from bundled static sample data (5-table e-commerce schema). Nodes are draggable but edges cannot be created — a read-only demo of the desktop app's schema visualization feature.
- •Screenshot Refresh CI — a new GitHub Actions workflow (`.github/workflows/screenshot-refresh.yml`) runs a Playwright-based capture script (`landing/scripts/capture-images.mjs`) on every release tag (`v*`), refreshing the AI Compare panel screenshots in `landing/public/images/` and committing them back to the repo.
- •Slow-Query Insights — the query history panel now has a "Slow queries" tab showing the top-10 query patterns by p95 duration. Queries are grouped by a normalized pattern (literals stripped, `IN`-lists collapsed) so semantically equivalent queries with different bind values share a hotspot. Each slow-query row exposes "Suggest index" and "Explain" buttons that pre-seed the AI chat panel (reusing the Phase 4 `pendingAiPrompt` flow) with the normalized pattern, a raw query sample, the p95, and the call count. Normalization and p95 live in a new testable `apps/desktop/src/lib/query-normalize.ts` module (15 vitest cases).
- •AI Chat Schema-Tree Actions — right-click a table in the schema tree to trigger AI actions: "Explain this schema", "Generate test data", and "Suggest index". Each action opens the AI chat panel with a pre-seeded prompt scoped to the right-clicked table. The sidecar builds table-scoped DDL (via `buildTableSchemaContext`) instead of full-schema DDL for token-efficient, focused AI responses.
- •MCP server — v1.4.
v1.3.4
2026-06-28Changed
- •Sidecar SQL routes — split `sql.ts` (975 lines) into focused sub-routers: `sql-vector-pg.ts` for pgvector routes and `sql-vector-sqlite.ts` for sqlite-vec routes, matching the existing `sql-schema.ts` pattern.
- •Shared filter parser — extracted duplicated filter parsing logic from `postgres-vector-sql.ts` and `sqlite-vector-sql.ts` into `filter-parser.ts`, leaving only engine-specific SQL generation (`$N` vs `?`, `t.` prefix) in each file.
Fixed
- •TigerBeetle limit validation — `safeLimit()` helper rejects non-numeric, NaN, zero, and negative values, falling back to default 100 (capped at 1000). Applied to both `/accounts` and `/transfers/:accountId` routes.
- •Redis password propagation — `getAdapter` now fetches the saved password from `metadataStore.getProfilePassword()` instead of always passing `undefined` to `createRedisDbAdapter`.
- •pgvector sample validation — `/vectors/sample` now validates table/column existence and vector type before querying, matching the search endpoint's validation.
- •pgvector composite PK — primary-key selection uses `ctid` fallback for composite primary keys instead of taking only the first column (which is not unique).
- •sqlite-vec sample validation — both `/sqlite-vec/sample` and `/sqlite-vec/vectors/sample` now validate vec0 table and column existence via shared `validateVec0Table()` helper before querying.
- •sqlite-vec vec0 detection — replaced fragile `includes('vec0')` substring match with case-insensitive `USING vec0(` regex, preventing false positives/negatives.
- •sqlite-vec column escaping — `selectCols` now uses `quoteSqlIdentifier()` instead of raw `"${n}"` interpolation.
- •sqlite-vec rowid in search — `SELECT *` replaced with `SELECT rowid, *` so `SqliteVecSearchHit.id` is always populated.
- •sqlite-vec ILIKE support — `ILIKE` operator translated to `LIKE ... COLLATE NOCASE` for SQLite compatibility.
- •ClickHouse escaping — `getTableColumns()` and `getCompletions()` now use `escapeClickHouseVal()` instead of raw string interpolation, matching other catalog queries.
- •MongoDB table cell editing — `editCell` stores document `_id` instead of row index, preventing wrong-document saves after sorting or refetching.
- •MongoDB field edit guard — `docId` check changed from falsy (`!docId`) to explicit `null/undefined` check, allowing valid falsy `_id` values (`0`, `false`).
- •MongoDB update matchedCount — `saveFieldEdit` now checks `result.matchedCount` before calling `onUpdate()`, returning `false` when no document was matched.
- •TanStack Query error logging — unhandled `QueryCache` and `MutationCache` errors now log to the frontend Logs page via `appendFrontendLog`.
- •MutationCache.onError signature — fixed parameter order to match TanStack Query v5 (`error, variables, onMutateResult, mutation`), so `mutation.meta` is correctly accessible.
v1.3.3
2026-06-25Added
- •Logs page controls — clear frontend, Tauri, and sidecar logs directly from the desktop app.
Fixed
- •MySQL/MariaDB connection validation — password is now required for MySQL, MariaDB, SQL Server, and Oracle (previously only PostgreSQL was checked).
- •MongoDB default port — corrected to 27017 so auto-generated connection defaults are valid.
- •Connection URL parsing — supports protocol aliases like `postgresql://`, `rediss://`, `mongodb+srv://`, and `mssql://`.
- •Username validation — no longer blocks connection tests for databases that don't need an explicit username.
- •Frontend crash handling — runtime failures are captured in the app logs and now fall back to an in-app recovery screen instead of failing silently.
- •UI consistency — buttons, inputs, and textareas now use Shadcn components throughout the desktop app.
Changed
- •Logs pipeline — efficient file tailing, no more self-generated poll errors, and sidecar HTTP access logs included.
- •Log security — deeper secret redaction, sanitized paths, and resilient error normalization in logged output.
- •Linting setup — shared ESLint rules and package-local hooks/configs now keep desktop and sidecar checks aligned.
Contributors
- •@asta-nguyen — Asta Nguyen
- •@JoeJoeflyn — Tai Nguyen
v1.3.2
2026-06-23Added
- •sqlite-vec 3D vector map — PCA projection of up to 500 vectors with Three.js scatter plot, hover tooltips, click-to-search, and camera persistence.
- •sqlite-vec bulk sample endpoint (`/sqlite-vec/sample-bulk`) — discovers vec0 columns and returns vectors with metadata payloads.
- •sqlite-vec structured filter builder — column/operator/value dropdowns from vec0 metadata, replacing raw SQL filter input.
- •"Map" button in sqlite-vec search toolbar to open 3D visualization without running a search.
- •Thin scrollbar styling across all table scroll containers.
Fixed
- •SQLite "Failed to load sizes" — vec0 virtual tables filtered from `getDatabaseSizes()` and `searchSchema()`.
- •Table hover color on prefix/suffix cells — `bg-inherit` for uniform hover.
- •Table scrollbar overlap — removed redundant `overflow-x-auto` from DataTable inner container.
- •Table rows stretching with few records — `max-h-full` to shrink to content.
- •Long values breaking layout — cells truncate with ellipsis and `title` tooltips.
- •Tab bar scrollbar visibility — hidden while preserving scroll.
Changed
- •MongoDB cell editing simplified — inline Input with Enter/Esc/blur, no Save/Cancel buttons.
- •Removed dead "Vector / Raw SQL" toggle from pgvector and sqlite-vec search UIs.
Contributors
- •@asta-nguyen — Asta Nguyen
- •@JoeJoeflyn — Tai Nguyen
v1.3.1
2026-06-23Fixed
- •Table view in-cell editing — disable editing for views and show an informational banner when no primary key is present to prevent ambiguous row updates.
- •SQL editor — trim trailing semicolons before appending LIMIT clause to SQL queries
Contributors
- •@asta-nguyen — Asta Nguyen
v1.3.0
2026-06-21Added
- •Schema timeline + diff + migration assistant — capture schema snapshots on demand, compare two states with per-table change cards, and generate migration SQL from the selected snapshots.
- •PostgreSQL pgvector workflows — detect vector columns and indexes, run guided vector search, inspect nearest-neighbor results, and open a PCA-based vector map with camera state persistence.
- •Embedded mongosh terminal — open an interactive MongoDB shell inside the desktop app with PTY support, ANSI colors, resize handling, and session persistence across tab switches. Auto-installs `mongosh` into the app data dir when missing locally.
- •Embedded PostgreSQL PSQL terminal — open a local `psql` session for any PostgreSQL connection directly inside the desktop app.
- •PostgreSQL backup & restore — run local `pg_dump`, `pg_restore`, and `psql` workflows from the app with streamed job output.
- •In-app Logs viewer — unified view for frontend, Tauri, and sidecar logs with source/level filtering, search, and copy support. Frontend errors are forwarded to the Tauri log store; sidecar logs are persisted to `${KAMEHADB_DATA_DIR}/logs/sidecar.log` via pino multistream.
Changed
- •App.tsx refactor — extracted `TabBar`, `Workspace`, `WelcomePage`, and `MainLayout` into dedicated modules; added `LogsPage` view and frontend error forwarding.
- •Sidecar logger — replaced `pino-pretty` with `pino.multistream` for dual stdout + file output.
- •Table action columns in the row browser, Mongo document table, and Qdrant points table now pin to the left edge and stay visible during horizontal scroll.
Fixed
- •Duplicate `MainLayout` declaration — Vite pre-transform error caused by both importing and declaring `MainLayout` in `App.tsx`; local copy removed.
- •Mongosh `posix_spawnp` failure — when `mongosh` is not on PATH, the sidecar now falls back to running the bundled `mongosh.js` via `node` instead of trying to spawn a non-existent binary.
- •PSQL binary resolution — `psql` now resolved via `resolve_postgres_program` instead of hardcoded `"psql"`, matching the backup/restore tool pattern.
Contributors
- •@asta-nguyen — Asta Nguyen
- •@JoeJoeflyn — Tai Nguyen
v1.2.0
2026-06-12Added
- •Query history performance panel — history grouped by normalized query pattern with duration, favorites filter, and text search.
- •Copy result table as snapshot — "Copy table" button copies result grid as tab-separated text to clipboard.
- •Global search palette (`Ctrl+K`) — fuzzy-search across connections, schema tables/columns, open tabs, and quick actions.
- •Connection health badges — status dot shows connected/slow/reconnecting/offline with latency tooltip.
- •Time-aware welcome screen — greetings by time of day with returning-visitor rotation.
- •Pin connections to top — "Pin to top"/"Unpin" in connection dropdown, stored in localStorage.
- •Workspace tabs memory — open tabs and active tab saved and restored on reload.
- •Sidebar database icons — engine-specific icons for all supported databases.
- •New adapters — DuckDB, TigerBeetle, SQL Server, Oracle, ClickHouse.
- •Qdrant v1.13.6 integration — vector DB added to docker-compose, persistent volume.
- •AI schema context uses Qdrant vector search instead of full schema injection.
- •AI chat streaming via `@tanstack/ai` — SSE streaming with stop/cancel support.
- •Server-side schema search for PostgreSQL, MySQL, SQLite using LIKE queries.
- •UI overhaul with shadcn components and table grid system.
- •v1.2 MCP server added.
Changed
- •SQL Server, Oracle, ClickHouse adapters refined and standardized.
- •Data tables: horizontal scrolling, field visibility, resizable columns, row actions.
- •AI provider settings switched to single active-provider model.
- •Project license changed from MIT → Apache-2.0.
Fixed
- •Fixed field visibility so newly discovered SQL and Mongo fields remain visible unless explicitly hidden.
- •Fixed JSON record rendering, AI chat code-language highlighting, and concurrent streams.
- •Fixed stale Redis key lists and TigerBeetle views after mutations.
- •Fixed SQL editor incorrectly blocking writes after read-only mode was disabled.
Contributors
- •@asta-nguyen — Asta Nguyen
- •@JoeJoeflyn — Tai Nguyen
v1.1.0
2026-06-04Added
- •Qdrant v1.13.6 integration with Docker compose, persistent volume, and `QdrantSchemaStore` for semantic schema retrieval.
- •AI chat streaming via `@tanstack/ai` with SSE events and stop/cancel support.
- •Smart term expansion — canonical expansions for countries, states, currencies, languages.
- •Configurable row limit dropdown (10–500 rows).
- •Read-only toggle and custom color picker in connection dialog.
Fixed
- •SQL editor ignored read-only setting — redundant client-side check removed.
- •Multiple Qdrant stability fixes (stale filters, collection load errors, named vectors, page jumps, connection refresh).
- •MySQL `getActiveConnections` contract violations and Qdrant serialization issues.
- •AI streaming and schema search edge cases.
Changed
- •`useSchemaSearch` explicit return type, `Switch` component prop interface cleanup.
Contributors
- •@asta-nguyen — Asta Nguyen
- •@JoeJoeflyn — Tai Nguyen
v1.0.0
2026-06-01Highlights
- •AI Chat — schema-aware assistant with persistent history, multi-provider support, markdown rendering, token tracking, and a Run button to execute SQL from the editor.
- •Landing page v2 — demo video, dark mode, motion animations, SEO, and a dedicated documentation site.
- •SQLite & MySQL parity — table search, file picker, Browse button, and full database stats matching Postgres.
- •MongoDB & Redis UX — collection filtering, debounced queries, copy actions, and improved navigation.
Added
- •Qdrant — vector DB browsing, three search modes, payload filtering, visual filter builder, 3D vector map with PCA projection.
- •AI Chat — persistent history, markdown rendering, token tracking, schema caching, Run button for SQL execution.
- •Database Support — SQLite file selection, MySQL database stats, search filtering.
- •UI & Site — landing page v2, changelog page, SEO metadata, sidebar quick actions, theme toggle, SQL autocomplete, schema graph visualization.
- •Test infrastructure with Vitest and code quality tooling (Husky, Prettier, Commitlint).
Fixed
- •Dark/light mode toggle, landing page responsive layout, SQLite connection test, duplicate auto-run effect, existing table tab switching, chat message timestamp migration.
Contributors
- •@asta-nguyen — Asta Nguyen
- •@JoeJoeflyn — Tai Nguyen
0.1.4-beta
2026-05-28Added
- •Database stats quick action to sidebar connection items.
0.1.3-beta
2026-05-28Changed
- •Updated desktop app branding with new logo and title capitalization.
Fixed
- •Release workflow to handle nested artifact directories.
0.1.0-beta.1
2026-05-28Added
- •Graph and database stats quick actions to sidebar.
- •MongoDB improvements, sidebar state persistence, and code cleanup.
- •UI component improvements and bug fixes.
- •Static documentation site with landing page, getting started guide, features, and FAQ.
Fixed
- •Release workflow refactored to use artifact upload strategy.
0.1.0-rc.1
2026-05-26Added
- •AI chat assistant with multi-provider support and API settings management.
- •SQL autocomplete with context-aware suggestions for tables, columns, functions, and keywords.
- •Interactive schema graph visualization with dagre layout and ReactFlow.
- •Connection URL parsing, pagination, and row detail viewer with JSON export.
- •Connection editing, deletion, and improved error handling.
- •Database and table analytics: size explorer, connection monitoring.
- •Theme toggle with light / dark / system modes.
- •MongoDB: collection filtering, debounced queries, and enhanced UX with copy functionality.
- •Custom color badges for connection profiles.
- •Test infrastructure with Vitest and comprehensive test coverage.
- •Code quality tooling: Husky, Prettier, Commitlint.
- •GitHub Actions CI/CD workflows.
- •MIT license and comprehensive README.