Since the initial Prisma 2 announcement, we've ironed out a number of bugs and added lots of improvements to Photon and Lift.
Today, we are issuing the first official Preview release: 2.0.0-preview-1
(short: preview-1
).
Major changes
- Renamed
project.prisma
toschema.prisma
(learn more) - Renamed
postgres
data source provider topostgresql
(learn more) - Support for ZEIT Now deployments for Photon JS (learn more)
Fixes and improvements per Prisma 2 repository
prisma2
- Rename
postgres
provider topostgresql
#1 prisma dev
errors for postgres #12prisma dev
can't recover from certain rust errors #20- PhotonJS Generator: Rename to
photonjs
and other improvements #27 - Rename
project.prisma
toschema.prisma
#36 - Back from SQLite in init workflow does not work #44
- working type definition example #52
- Having a case in model name breaks query engine #61
- Issue with "now dev" command #65
photonjs
- Generated code has an absolute path #95
- Dynamic dependency encoding #115
- Adjust filter operands API #9
- TypeError: cb.apply is not a function #20
- createdAt with default doesn't work #29
- Enum from MySQL are undefined #63
- Support for selecting relations of relations (and more sophisticated queries in general) #70
- Where to put generated code #77
- Update model args are always required for required fields #80