Skip to content

v0.38.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 15:08
Immutable release. Only release title and notes can be modified.
805b06e

0.38.0

Minor Changes

  • a3b122a: Offer the copy as selection export in SQL view. Selected result rows and cell ranges copy or save as CSV or Markdown from the SQL toolbar, using the same menu, column order and header option as the table toolbar, so query output no longer has to leave Studio one cell at a time.

Patch Changes

  • 459624b: Make row selection clear, accessible and spreadsheet-like. Selected rows show a quiet tick in the first column instead of relying on a faint tint. A click selects a row and a click on a ticked row unticks it; Shift-click selects the range of rows in between; Cmd/Ctrl-click adds or removes a single row; dragging selects a range, and Cmd/Ctrl-drag adds another block. From a focused cell, Shift+Space selects its row, Shift+Up/Down extends the selection, and Cmd/Ctrl+Shift+Up/Down extends it to the first or last loaded row. The header box shows when some rows are selected and clears them in one click. Screen readers hear each row's selection state and a status such as "3 rows selected". Selecting rows no longer remounts every cell in the grid. Selected cell ranges now use the same plain tint as rows, without a box around every cell.
  • f02fc1e: Make the bundled .d.ts files match the runtime bundles. AbortError, AdapterError, createAdapterError, getAbortResult, STUDIO_LLM_ERROR_CODES and STUDIO_LLM_TASKS are now real runtime exports of @prisma/studio-core/data, and the data and ui entrypoints use explicit export type { ... } lists, so importing a value that does not exist at runtime is now a TypeScript error instead of a SyntaxError at load time.
  • 9d7c08b: Backspace and Delete on a focused cell now open its editor, so you can clear or retype a value without clicking. Text, number, JSON, date and time editors open empty; boolean and enum editors open their usual pick list. The change is staged when you save the edit as usual (Enter, Tab or clicking away), and Escape cancels it. Closing a cell editor with the keyboard no longer logs a React flushSync error in the console.
  • c1ed187: Keep keyboard focus in the grid after Enter stages a cell edit, so you can keep typing into the next cell and Tab stays inside the grid.
  • baba9ac: Fix running the SQL statement at the cursor on MySQL when the script contains backslash-escaped quotes ('O\'Brien'), backtick-quoted identifiers, or # comments. Studio now splits MySQL scripts with MySQL quoting and comment rules instead of sending several statements, or the wrong statement, to the database.
  • b2afdc1: Add JSON copy/save export for Studio selections
  • 99d7a8f: Make cell ranges follow the columns as they appear on screen when a column is pinned. Previously a pinned column kept its original position for selection, so Shift+arrow, dragging, Shift-click and Cmd/Ctrl+Shift+arrow could select the wrong columns, and copy and paste could use a different column order than the one shown.
  • 3a92185: PostgreSQL date, timestamp and timestamptz values that a JavaScript Date cannot hold, such as infinity, -infinity and BC dates, now show as their Postgres text. Before, one such value made the whole table look empty, and the SQL view reported "Invalid Date". These values can be edited, and table filters accept infinity and -infinity. createPostgresJSExecutor now wraps the date parsers and serializers of the postgres.js client it receives, so create the executor before the client runs any query.
  • bbe08ad: Make cell editing and cell selection work like a spreadsheet. The first click on a cell now only focuses it; click it again, double-click, press Enter or F2, or start typing to edit (typing is ignored when the focused cell is off screen or focus just arrived from elsewhere). Escape now cancels an edit instead of staging the typed value. Shift-click selects a block of cells from the focused cell, Cmd/Ctrl+A selects every cell on the page, and Cmd/Ctrl+Shift+arrow extends a range to the edge of the loaded data. A paste that would change more than 20 cells asks for confirmation first.
  • 9ee7123: Keep an applied global search while edits are staged, so saving persists edits to rows that are only visible through the search.
  • 6b32019: The SQL editor keeps a set height when a query runs, and you can drag its bottom edge to resize it; the height is remembered. Text selected on the current line is now highlighted. In the sidebar, Studio's views stay visible while the table list scrolls, and long table and stream names end in an ellipsis instead of making the sidebar scroll sideways.