Today, we are issuing the thirteenth Preview release: 2.0.0-preview-13
(short: preview-13
).
Note: Due to a German holiday, there won't be a Prisma 2 release next week. The next release
2.0.0-preview-14
will happen in two weeks, on Thursday (October 10th).
A special shoutout to @wardpeet whose PR fixed Photon's query engine on Windows 🙏
Breaking changes
This version contains a breaking change in the _Migrations
table that Lift uses to store the migration history of a project.
Due to that change, you might encounter an error looking similar to this:
thread 'tokio-runtime-worker-0' panicked at 'Deserializing the database migration failed.:
Error("missing field `original_steps`", line: 0, column: 0)', src/libcore/result.rs:999:5
If you see that error, you need to manually delete the _Migration
table from your database as a workaround.
Major changes
Prisma Studio is getting more stable! We were able to fix a number of bugs that impacted the experience when using Studio. Be sure to try the new Studio version out by entering Prisma's development mode with prisma2 dev
and open the provided Studio endpoint in your browser. You can report Studio bugs here.
Another improvement that comes with this release enables you to directly submit detailed error reports whenever the Lift CLI crashes. There won't be any cryptic Rust stracktraces any more in the terminal, instead you'll be shown a dialogue where you can confirm the error report submission.
Fixes and improvements per Prisma 2 repository
prisma2
- Limitations: Missing out of scope, Details for Custom Types
- Document the HTTP proxy feature
- Installation of prisma2 behind corporate proxy
- Init flow with Postgres - schema off by one
prisma2 init
does not findts-node
when using starter kit "GraphQL API (+ Auth)"- Can't select
Just the Prisma schema
option inBlank project
flow duringprisma2 init
- Clarify when/whether limitations are expected to be resolved
- Temporary error telemetry flow in CLI
photonjs
lift
studio
- Focus first cell when creating a row
- Automatically increase pagination count after committing a
create
action - Sidebar improvements
- Tabs button is off
- UI Regression: Improve design when
prisma dev
has stopped running - Selected cell: Hitting enter should make cell editable
- Databrowser: Adjust visual state when record is selected
- Cell editing design is off
- Editing boolean cell should directly open dropdown