Repository navigation
Immutable
release. Only release title and notes can be modified.
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
themeModeandonThemeModeChangeprops to<Studio />so embedding hosts can make Studio follow their own theme setting.themeModeaccepts"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
readRecordedSchemanow read Prisma's tables from theprismaschema, the name Prisma ORM 8.0 gives them, and no longer from_prisma, which no ORM release created. They still fall back toprisma_contractfor databases last changed by an ORM 8 release candidate, and readprismawhen both hold a ledger. Aprismaschema is treated as Prisma's only when it has aledgertable with Prisma'smigration_hashanddestination_core_hashcolumns, andreadRecordedSchemano longer fails when the role may not use an application's ownprismaschema. - 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.