Skip to content

v0.37.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 11:28
Immutable release. Only release title and notes can be modified.
97ce4b3

0.37.0

Minor Changes

  • c988a36: Match Prisma Console's dark greys for surfaces, borders, text, and charts, and show the colour Prisma mark with white text in dark mode. Visualizer relation labels are readable in dark mode.
  • c988a36: Add themeMode and onThemeModeChange props to <Studio /> so embedding hosts can make Studio follow their own theme setting. themeMode accepts "light", "dark", or "system" and takes precedence over the preference stored in Studio; "system" follows the operating system live.

Patch Changes

  • 7ddc80c: The Migrations view, its navigation item and readRecordedSchema now read Prisma's tables from the prisma schema, the name Prisma ORM 8.0 gives them, and no longer from _prisma, which no ORM release created. They still fall back to prisma_contract for databases last changed by an ORM 8 release candidate, and read prisma when both hold a ledger. A prisma schema is treated as Prisma's only when it has a ledger table with Prisma's migration_hash and destination_core_hash columns, and readRecordedSchema no longer fails when the role may not use an application's own prisma schema.
  • 5d47ece: Fix SQL editor lint markers that fell back to the start of the statement or landed on the wrong text. Comment markers inside quoted identifiers and Postgres dollar-quoted strings are no longer read as comments, and MySQL strings with backslash-escaped quotes or double quotes are read correctly. A name that only appears inside a quoted alias or a string is no longer marked in place of the table, and a missing table is marked even when its schema qualifier is quoted (for example "main".orders).
  • 8db0a74: Draw model and enum cards straight and without tape on the migrations and schema comparison canvas, in both themes.