Today, we are issuing the fifth [Preview release](https://github.com/prisma/prisma2/blob/master/docs/releases.md#preview): `2.0.0-preview-5` (short: `preview-5`).
In case you wonder where `preview-4` is - there was a mistake in our build pipeline which skipped `preview-4`.
Major changes
In this release, we've focused a lot on making Photon and Lift more stable and ironed out a number of critical and annoying bugs.
For example, you can finally [use environment variables in your Prisma schema](https://github.com/prisma/prisma2/issues/70), [apply `default(now())` to `DateTime` fields](https://github.com/prisma/photonjs/issues/103) or [connect to database with credentials that contain special characters](https://github.com/prisma/prisma2/issues/292).
Fixes and improvements in the Prisma 2 repository
`prisma2`
- [Structured JSON logging](https://github.com/prisma/prisma2/issues/293)
- [prisma2 commands do not recognize environment variables.](https://github.com/prisma/prisma2/issues/70)
- [Fix Netlify examples](https://github.com/prisma/prisma2/issues/279)
- [CLI is not writing SSL option to the URL](https://github.com/prisma/prisma2/issues/109)
- [[Preview 2] Error on saving migration](https://github.com/prisma/prisma2/issues/195)
- [Relations Foreign Key Reference](https://github.com/prisma/prisma2/issues/82)
- [[Preview3]Error when prisma2 generate](https://github.com/prisma/prisma2/issues/274)
- [Passwords with special characters don't work](https://github.com/prisma/prisma2/issues/292)
- [Typescript export ModelClient](https://github.com/prisma/prisma2/issues/257)
- [Can't deleteMany when using UUID](https://github.com/prisma/prisma2/issues/260)
- [Error in Photon when where object is empty](https://github.com/prisma/prisma2/issues/136)
- [when prisma2 init newProject](https://github.com/prisma/prisma2/issues/192)
- [Error running lift up for the first time with sqlite](https://github.com/prisma/prisma2/issues/256)
- [Inconsistent type generation](https://github.com/prisma/prisma2/issues/78)
- [Remove `seed` from prisma2 help](https://github.com/prisma/prisma2/issues/264)
- [Init flow creates projects inside a "prisma" folder, if it exists](https://github.com/prisma/prisma2/issues/41)
`photonjs`
- [Missing documentation property in DMMF.Enum](https://github.com/prisma/photonjs/issues/155)
- [Fails slow with incorrect Postgres credentials](https://github.com/prisma/photonjs/issues/156)
`lift`
- [Remote migrations are very slow](https://github.com/prisma/lift/issues/49)
2.0.0-preview-3.2
Fixes
- Fixes the binary fetching logic to get the latest binary. Necessary to make https://github.com/prisma/prisma2/releases/tag/2.0.0-preview-3.1 available.
2.0.0-preview-3.1
Fixes
- Fixes a regression in the migration engine, which couldn't read migrations properly from the database https://github.com/prisma/lift/issues/74