Changelog

What's new in db-studio

New features, improvements, and fixes in every release.

  1. v2.2.1Latest

    Faster Linux launch

    Fixes

    • The Linux AppImage opens faster — @husamql3
  2. v2.2.0

    MongoDB document cards and connection fixes

    Improvements

    • Browse MongoDB documents in individual cards with collapsible fields and editor colors — @a7medayman6, @husamql3
    • Updated the desktop app and CLI dependencies — @husamql3

    Fixes

    • Writes refused by a read-only connection now show clear guidance — @husamql3
    • Your home directory is removed from error reports, including encoded Windows paths — @husamql3
    • MongoDB databases with views now list their collections correctly — @husamql3
    • Unreachable SQL Server connections now show a connection error — @husamql3
  3. v2.1.0

    Spreadsheet-style editing

    Features

    • Select a range of cells, copy it with headers, and paste cells from a spreadsheet — @husamql3
    • Review unsaved cell edits, revert a single cell, and undo with Cmd/Ctrl+Z — @husamql3
    • Set a cell to NULL, empty text or its column default as explicit choices — @husamql3
    • Copy a row as JSON or as a SQL INSERT, and duplicate it from the row menu — @husamql3
    • Mark a saved connection read-only so the database refuses any write — @husamql3

    Fixes

    • Saving a value PostgreSQL cannot read as the column's type now shows a clear error — @husamql3
    • Opening a MySQL table that no longer exists now says so instead of a server error — @husamql3
  4. v2.0.1

    Every database. One studio

    Improvements

    • The website and docs now use our new slogan: Every database. One studio — @husamql3
  5. v2.0.0

    Desktop app and a new website

    Features

    • db-studio is now a desktop app for macOS, Windows and Linux, sharing saved connections with the CLI — @husamql3

    Improvements

    • The website has a new design — @husamql3
    • Menus, dialogs, tooltips and tabs open with smoother motion and consistent corners, and respect reduced motion — @husamql3
    • The visualizer uses the full width without the tables sidebar — @husamql3

    Fixes

    • A query result too large to send now shows a clear error asking you to add a LIMIT — @husamql3
  6. v1.24.1

    Safer record and column edits

    Fixes

    • A failed record or column edit no longer saves part of the change, and SQLite column edits keep UNIQUE, CHECK and other column rules — @husamql3
    • Sorting a PostgreSQL table by several columns or by a column with empty values no longer skips rows — @husamql3
    • Force deleting a row also removes rows that reach it through a second foreign key — @husamql3
    • Unsaved grid edits stay with their own table, including rows whose keys look alike — @husamql3
    • CSV import handles multiline values and quoted empty rows — @husamql3
    • SQLite tables with comments in their definition open again — @husamql3
    • Including the database schema in AI chat sends only table and column details, never row values — @husamql3
    • Your own AI API key raises the request limit only for the provider it belongs to — @husamql3
  7. v1.24.0

    One connection per browser tab

    Features

    • Each browser tab keeps its own database connection, so opening another connection in a new tab no longer switches your other tabs — @husamql3

    Fixes

    • SQL Server logins without server-wide permissions can open their databases and list their tables again — @ahmedmohamedneom
  8. v1.23.0
    Security

    A password for network access

    Features

    • When db-studio listens on your network or runs in Docker, the browser asks for a password; set it with DB_STUDIO_PASSWORD or use the one printed at startup

    Fixes

    • Table filters and sorting no longer let crafted column names run SQL — @SecFathy
    • Other websites can no longer make your browser send requests to db-studio — @SecFathy
  9. v1.22.1

    Passwords with special characters

    Fixes

    • MySQL, MariaDB and SQL Server connections now accept usernames, passwords and database names with special characters such as @, ; or = — @husamql3
  10. v1.22.0

    Docker Compose and a tidier sidebar

    Features

    • Run db-studio with Docker Compose; the image now reports its health — @yousifsabah0

    Improvements

    • Sidebar row counts update while Live mode is on
    • The sidebar hides the schema prefix when one schema is selected, and truncates long table names

    Fixes

    • PostgreSQL permission errors now say the role lacks a privilege instead of showing a server error
  11. v1.21.0
    Breaking change

    Docker support and safer network access

    Features

    • Build and run db-studio in Docker, with saved connections kept between runs — @yousifsabah0

    Improvements

    • Network access now requires ALLOWED_HOSTS alongside HOST; list the hostname or IP you use to connect — @yousifsabah0
  12. v1.20.1

    Clearer errors for bad data, missing tables and missing builds

    Fixes

    • Saving a PostgreSQL row that breaks a foreign key, unique or NOT NULL rule now shows the database's reason instead of a server error — @husamql3
    • Opening a SQLite table that no longer exists now says the table does not exist instead of showing a server error — @husamql3
    • Running db-studio from a source checkout without a web build now explains how to build it instead of failing — @husamql3
  13. v1.20.0

    Connect and switch databases from the app

    Features

    • Start db-studio without a database URL and connect from the new Connect page by pasting one; a URL that fails to connect leaves the current connection open — @husamql3
    • Saved connections: every database you open is remembered, and you can filter, rename, color and delete them from the Connect page — @husamql3
    • Switch connections from the sidebar footer, which now shows the current connection and database — @husamql3

    Improvements

    • db-studio now accepts requests only from this machine; set HOST to reach it from another machine or a container — @husamql3
  14. v1.19.0

    A navigation rail

    Improvements

    • A slim navigation rail on the left replaces the top header: switch tabs, toggle the sidebar, change the theme, and open settings or the AI assistant from one place — @husamql3
  15. v1.18.0

    Edit columns from the sidebar and a faster app

    Features

    • Edit a table's column names and types from the sidebar's Edit table sheet; only changed columns are saved, and a failed edit stays in the form to fix and retry — @husamql3

    Improvements

    • Faster startup and reloads: the query editor, AI assistant, spreadsheet export, and telemetry load only when first used, and the browser caches the app between visits — @husamql3
    • Smoother scrolling and paging in the table grid: only visible rows render, cell editors mount on first edit, and the next page starts loading when you hover its button — @husamql3
    • Large PostgreSQL, MySQL, and SQL Server tables list and open faster by using row estimates instead of full counts — @husamql3
    • Polished the sidebar resizer, scrollbars, and column menu, which now reorders live while you drag — @husamql3

    Fixes

    • Fixed Escape on one grid cell discarding unsaved edits in other cells — @husamql3
    • Fixed PostgreSQL connections timing out on serverless databases waking from idle and on distant regions — @husamql3
    • Opening a PostgreSQL table that no longer exists now shows a clear not-found error instead of a server error — @husamql3
    • Fixed db-studio taking up to 30 seconds to exit after Ctrl+C — @husamql3
  16. v1.17.0

    Manage table indexes

    Features

    • View and manage indexes in a dedicated tab for PostgreSQL, MySQL, SQL Server, SQLite/libSQL, DuckDB, Oracle, and MongoDB — @husamql3
    • Create indexes with ordered columns and a unique option, choose a PostgreSQL index method, or enter nested MongoDB field paths; drop indexes with confirmation while primary keys and constraint-backed indexes stay protected — @husamql3
    • Inspect index columns, uniqueness, methods, and definitions, including expression and filtered indexes, plus MongoDB sparse and TTL badges — @husamql3
  17. v1.16.2

    Query editor typing fix

    Fixes

    • Fixed the query editor losing focus and resetting to the placeholder on every keystroke, which made it impossible to type a query — @husamql3
  18. v1.16.1

    Query editor and PostgreSQL table list fixes

    Improvements

    • API errors now include a request ID, so a reported problem can be matched to its server log line and error report — @husamql3

    Fixes

    • Fixed the query editor throwing an error on the first keystroke because its background worker failed to load — @husamql3
    • Fixed the PostgreSQL table list failing to load on databases with many tables — @husamql3
  19. v1.16.0

    Oracle, DuckDB, ClickHouse, libSQL, and more

    Features

    • Connect to Oracle with oracle:// URLs through the Thin driver, no Instant Client needed: browse, edit, and query your own tables with exact numeric keys — @husamql3
    • Open DuckDB files to browse and edit records, manage schemas, run SQL, and use Live mode — @husamql3
    • Browse, sort, filter, export, insert into, and query ClickHouse over HTTP or TLS; grid edits and deletes are disabled because ClickHouse sorting keys are not unique — @husamql3
    • Open remote libSQL and Turso databases with libsql:// URLs and an authToken, alongside local SQLite files — @husamql3
    • Connect to MariaDB, CockroachDB, and TiDB with mariadb://, cockroachdb://, and tidb:// URLs — @husamql3

    Improvements

    • Tables with a composite primary key can be created on PostgreSQL and SQLite, and editing a row now matches on every key column — @husamql3
    • The SQLite query runner now accepts one statement per request and returns a clear error for multi-statement and transaction-control SQL — @husamql3
    • The website's logo slider shows the newly supported databases — @husamql3

    Fixes

    • Fixed deletes on tables with a composite primary key removing every row that shared the first key column; these deletes are now refused until whole keys can be addressed — @husamql3
    • Fixed record updates sent with only part of a composite key rewriting every matching row — @husamql3
    • Fixed the app opening the first database instead of the connected one on PostgreSQL — @husamql3
    • Fixed CSV and JSON bulk inserts failing on boolean columns in SQLite — @husamql3
    • Fixed PostgreSQL tables without a primary key skipping or repeating rows when paging through sorted data — @husamql3
    • Fixed MariaDB JSON columns showing as plain text — @husamql3
  20. v1.15.0

    Live mode for MySQL, SQL Server and SQLite

    Features

    • Live mode now works on MySQL, SQL Server, and SQLite, not just PostgreSQL: the grid refreshes every second and highlights rows and cells that changed — @husamql3

    Improvements

    • Removed the website's admin dashboard along with its sign-in, analytics API, and charting dependency — @husamql3

    Fixes

    • Fixed SQL Server tables without a sort returning rows in storage order instead of primary-key order, which let rows shift between refreshes — @husamql3
    • Fixed MySQL paging repeating or skipping rows when sorting by a column with duplicate values — @husamql3
    • Fixed number cells keeping their old value after the table refreshed, on every database; unsaved edits are still preserved — @husamql3
  21. v1.14.2

    Leaner test suite and an up-to-date roadmap

    Improvements

    • Removed unit tests that could not catch real bugs, keeping the ones that pin down SQL building, error mapping, data parsing, and credential redaction — @husamql3
    • Added the website's admin authentication tests to the project-wide test run; they had never been running — @husamql3
    • Brought the roadmap up to date with shipped features, including the JSON cell editor, column preferences, bring-your-own AI keys, the command palette, and Live mode — @husamql3
  22. v1.14.1

    A real JSON editor and a quicker row details sheet

    Features

    • Replaced the JSON cell's plain textarea with a code editor: line numbers, syntax highlighting, folding, and inline errors that block saving invalid JSON — @husamql3

    Improvements

    • Row details now opens on a single click and the cell editor on a double click, with the sheet no longer dimming or blocking the grid behind it — @husamql3
    • Updated production dependencies: @tanstack/ai (0.54→0.55), @tanstack/ai-client (0.31.1→0.32.1), @tanstack/ai-gemini (0.29.4→0.30), @tanstack/ai-react (0.24.1→0.27), @tanstack/react-router (1.170.35→1.170.38), @tanstack/react-start (1.168.52→1.168.56), dotenv (17.4.2→18) — @husamql3

    Fixes

    • Fixed saving an unedited JSON cell marking it as a pending change — @husamql3
    • Fixed the Save and Cancel buttons in the JSON cell editor doing nothing — @husamql3
    • Fixed Enter and Escape in the grid committing or discarding JSON cells other than the one being edited — @husamql3
    • Fixed a single click on a selected cell opening the cell editor and the row details sheet at the same time — @husamql3
    • Fixed the row details close button overlapping the row navigation arrows — @husamql3
  23. v1.14.0

    Live mode, row details, and a command palette

    Features

    • Added Live mode for PostgreSQL: the table refreshes every second and highlights inserted rows and changed cells, pausing automatically while you edit — @marwan562, @husamql3
    • Added an editable row details sheet with keyboard navigation between rows and a confirmation before unsaved edits are discarded — @marwan562, @husamql3
    • Added a command palette for jumping to tables, running actions, and opening the assistant — @marwan562, @husamql3
    • Added per-table column preferences so you can hide and reorder columns, saved across sessions — @marwan562, @husamql3
    • Added table renaming across PostgreSQL, MySQL, SQL Server, SQLite, and MongoDB — @marwan562, @husamql3

    Improvements

    • Blurred the sticky table headers so rows stay legible as they scroll underneath — @marwan562, @husamql3
    • Enforced server coverage thresholds in CI — @marwan562

    Fixes

    • Fixed PostgreSQL tables outside the public schema listing in the sidebar but failing to open, export, or show their columns — @husamql3
    • Fixed edits to a record with a composite primary key updating every row that shared the first key column — @husamql3
    • Fixed renaming a PostgreSQL table applying to a same-named table in another schema — @husamql3
    • Fixed editing a Redis key's name writing to the old key instead of renaming it — @husamql3
    • Fixed MongoDB record updates failing mid-write when the immutable _id field was edited — @husamql3
    • Fixed binary columns crashing the record editor when they already held a value — @husamql3
    • Fixed Edit Table navigation not returning to the data view — @marwan562
  24. v1.13.1

    CLI accuracy and safer startup errors

    Improvements

    • Refreshed TanStack, Vite, and Vitest, and tightened the build, typecheck, and task graph setup — @marwan562, @husamql3

    Fixes

    • Fixed CLI help and status listing only MySQL and PostgreSQL instead of all six supported databases — @marwan562
    • Stopped startup errors from leaking connection URLs containing commas or parentheses, such as MongoDB replica set URIs — @husamql3
  25. v1.13.0

    Anonymous usage and reliability analytics

    Features

    • Added opt-out anonymous analytics covering feature usage, database engine, performance, and sanitized errors, with a toggle in Settings — queries, schemas, names, and values are never collected — @husamql3

    Improvements

    • Replaced raw error console output with structured logs that record the operation and error type without leaking connection details — @husamql3
  26. v1.12.0

    Bring your own AI provider

    Features

    • Added Gemini, OpenAI, Anthropic, Grok, and OpenRouter to the AI assistant, with a model picker and bring-your-own-key support — @Mahmoudgalalz
    • Added Generate with AI, Optimize with AI, and Suggest fix actions to the query runner — @Mahmoudgalalz
    • Added a Settings panel for the AI provider, key, and schema sharing, plus editor tab size, font size, and word wrap — @Mahmoudgalalz

    Improvements

    • Gave personal API keys their own rate-limit bucket and blocked forwarding them over plain HTTP — @husamql3
    • Kept the assistant working when a response stream fails or table metadata is only partly readable — @husamql3

    Fixes

    • Fixed non-Gemini providers defaulting to a Gemini model, dropped query runner prompts, and stale indentation in the JSON cell editor — @husamql3
  27. v1.11.0

    Light mode and local development improvements

    Features

    • Added Light, Dark, and System theme options with theme-aware colors across the application — @marwan562

    Improvements

    • Made number, date, boolean, and enum table cell controls transparent for consistent styling across light and dark themes — @husamql3
    • Removed the browser-native increment and decrement controls from numeric table cells — @husamql3
    • Made the pre-commit hook resolve Bun across macOS, Linux, and Windows and added type checking — @marwan562
    • Expanded the contributor guide with environment setup, Portless development, database initialization, and testing workflows — @marwan562

    Fixes

    • Allowed local development origins and preserved custom Portless ports when connecting the web app to the API — @marwan562
  28. v1.10.1

    Fix scrolling in column type dropdowns

    Fixes

    • Fixed column type dropdowns not scrolling with a mouse wheel or trackpad inside table, add-column, and edit-column overlays — @marwan562
  29. v1.10.0

    Support Redis key browsing

    Features

    • Added Redis support with a dedicated key browser for strings, hashes, lists, sets, sorted sets, and streams, including a redis-cli style query runner — @husamql3
  30. v1.9.7

    Relicense to Apache 2.0

    Improvements

    • Relicensed DB Studio from BSL-1.1 to the Apache License 2.0
    • Fixed the release workflow failing when a merge to main doesn't bump the package version — npm publish is now skipped if the version is already published
  31. v1.9.6

    Fix SPA/API namespace collision and dependency updates

    Improvements

    • Updated production dependencies: @tanstack/ai (0.38→0.39.1), @tanstack/ai-gemini (0.18→0.19), @tanstack/react-router (1.170.16→1.170.17), @tanstack/react-start (1.168.26→1.168.27)
    • Updated dev dependencies: portless (0.13→0.15), vite (8.0.12→8.1.3), @vitejs/plugin-react (4→6)

    Fixes

    • Fix browser refresh on client routes returning 400 — API now lives under /api prefix so the SPA owns the root namespace
  32. v1.9.5

    Fix npm package URLs in README

    Fixes

    • Fixed the npm package URLs and license badge repository in the published README
  33. v1.9.4

    Dependency updates and README fix

    Improvements

    • Updated production dependencies: @tanstack/ai (0.16→0.38), @tanstack/ai-react (0.8→0.16), @tanstack/react-router (1.170.2→1.170.16), @tanstack/react-start (1.168.3→1.168.26), commander (14→15), three (0.184→0.185)
    • Updated dev dependencies (6 packages)

    Fixes

    • Fixed license badge in README pointing to wrong repository
  34. v1.9.3

    Fix the database connection error

    Features

    • Fix the database connection error — @husamql3
  35. v1.9.1

    Integrated PostHog analytics and Sentry error tracking

    Features

    • Integrated PostHog analytics and Sentry error tracking for enhanced monitoring and error visibility — @husamql3
  36. v1.9.0

    Turn the current frontend package into a feature-first web app with extractable UI primitives, stable data/client boundaries, and a future desktop host path

    Features

    • Turn the current frontend package into a feature-first web app with extractable UI primitives, stable data/client boundaries, and a future desktop host path — @husamql3
  37. v1.8.0

    Refactored database operation layer with new adapter-based architecture for better multi-database support

    Features

    • Refactored database operation layer with new adapter-based architecture for better multi-database support — @husamql3
  38. v1.7.12

    Improved spacing in the table tab layout with enhanced bottom padding for better visual definition and separation

    Features

    • Improved spacing in the table tab layout with enhanced bottom padding for better visual definition and separation — @MohmedAref31
  39. v1.7.11

    Add hover copy button for table cells to copy the cell value

    Features

  40. v1.7.10

    Reorganized MongoDB database access layer into modular components for improved maintainability and clarity of database operations

    Improvements

    • Reorganized MongoDB database access layer into modular components for improved maintainability and clarity of database operations — @Youssef-joe
  41. v1.7.9

    Foreign key columns now support an interactive drawer to browse related table data

    Features

    • New drawer component for improved data visualization — @husamql3

    Fixes

    • Fix the rate limit logic in the chat sidebar — @amrable
    • Hide the drawer if there is no data to display — @Amirosagan
  42. v1.7.5

    Revive chat sidebar and align with local dev

    Features

    • Revived chat sidebar and is now scoped to the selected database — @amrable

    Fixes

    • Fix custom server port configuration not working — @husamql3
  43. v1.7.4

    Table sidebar now displays schema names for better organization

    Features

    • Added schema dropdown to the table sidebar for better organization — @Amirosagan

    Improvements

    • Display database connection errors in frontend root route — @husamql3
  44. v1.7.0

    Support MSSQL and MongoDB databases

    Features

    Improvements

    • Improved API base URL detection to dynamically adapt to runtime environment, with fallback support for default configurations — @xaaksw

    Fixes

    • Enhanced GitHub Actions workflows with concurrency controls to prevent overlapping automated pull request creation jobs — @xaaksw
    • Fixed table cell display to properly handle and render non-primitive object values — @husamql3
  45. v1.5.1

    Schema tab column editing

    Features

    • Added schema tab column management with support for adding, editing, renaming, and dropping columns directly from the table structure view — @husamql3

    Improvements

    • Updated the table actions flow so the Edit table menu item opens the schema editor for the selected table — @husamql3
    • Added a report a bug button to the header to create a new GitHub issue — @husamql3
  46. v1.4.0

    Support MySQL database

    Features

    • Added MySQL database support alongside PostgreSQL — @husamql3

    Fixes

    • Improved database connection error detection and messaging — @husamql3
  47. v1.3.33

    Add table actions menu

    Features

    • Add table menu with delete table feature (with support for foreign key constraints) and copy table schema feature, export table data feature (CSV, JSON, Excel) — @husamql3
    • Add bulk insert records feature by CSV, JSON, or Excel files in the table tab — @Youssef-joe

    Improvements

    • Improved error message for unsupported database types — @husamql3
    • Added the init-db script to initialize the database for local development — @Youssef-joe
    • Added confirmation dialog for delete record feature in the table tab — @husamql3
    • Added tooltip for the primary key and foreign key columns in the table tab — @husamql3
    • Added preset row count options to the table footer — @husamql3

    Fixes

    • Improved database initialization and selection flow — @husamql3
    • Fix retriving the row count of the tables — @husamql3
  48. v1.2.21

    Features

    • Add delete column feature in the table tab — @husamql3
    • Add export table data to CSV or Excel files feature in the table tab — @Zeyad-F16

    Improvements

    • Used turbo to run and build the project — @husamql3
    • Implemented shared package to share code between the packages — @husamql3
  49. v1.2.6

    Implement the AI chat assistant

    Features

    • Added AI chat assistant that helps users ask natural language questions about their data — @husamql3
    • Uses the user's database schema as context for more accurate and relevant responses; limited to 5 messages per day — @husamql3
  50. v1.1.4

    Support multiple databases from same host

    Features

    • Allow users to add the database server link and switch between multiple databases on the same host — @Amirosagan

    Improvements

    • Improved date/time input handling and timestamp field UI for better accuracy — @saraanbih

    Fixes

    • Fix the bug where displaying the Add Table sheet was not working — @husamql3
    • Fix the copy button in the landing page CodeBlockTabs component — @husamql3
  51. v1.1.0

    Implement the runner tab

    Features

    • New SQL query runner with Monaco editor featuring PostgreSQL syntax highlighting, autocomplete, and code snippets — @husamql3
    • Query execution with results displayed in both table and JSON formats, including execution time and row count — @husamql3
    • Query management with save, favorite, and format features, plus keyboard shortcuts for quick access — @husamql3
  52. v1.0.0

    Initial Release