Hey <!everyone> :v: :prisma-cool: We just release...
# prisma-whats-new
n
Hey <!everyone> โœŒ๏ธ prisma cool We just released Prisma 2.25.0 prisma rainbow ๐Ÿค– Human-readable drift diagnostics for
prisma migrate dev
Database schema drift occurs when your database schema is out of sync with your migration history, i.e. the database schema has drifted away from the source of truth. With this release, we improve the way how the drift is printed to the console when detected in the
prisma migrate dev
command. While this is thew only command that uses this notation in today's release, we plan to use it in other places where it would be useful for debugging in the future. Here is an example how the drift is presented with the new format:
Copy code
[*] Changed the `Color` enum
  [+] Added variant `TRANSPARENT`
  [-] Removed variant `RED`

[*] Changed the `Cat` table
  [-] Removed column `color`
  [+] Added column `vaccinated`

[*] Changed the `Dog` table
  [-] Dropped the primary key on columns (id)
  [-] Removed column `name`
  [+] Added column `weight`
  [*] Altered column `isGoodDog` (arity changed from Nullable to Required, default changed from `None` to `Some(Value(Boolean(true)))`)
  [+] Added unique index on columns (weight)
โœ… Support for
.env
files in Prisma Client Go
You can now use a
.env
file with Prisma Client Go. This makes it easier to keep database credentials outside your Prisma schema and potentially work with multiple clients at the same time:
Copy code
example/
โ”œโ”€โ”€ .env
โ”œโ”€โ”€ main.go
โ””โ”€โ”€ schema.prisma
Learn more about using the
.env
file in our documentation. If you have any questions or issues with Prisma Client Go, you can raise them in the #prisma-client-go channel. โŒ Breaking change: Dropping support for Node.js v10 Node.js v10 reached End of Life on April 30th 2021. Many of our dependencies have already dropped support for Node.js v10 so staying up-to-date requires us to drop Node.js v10, too. We recommend upgrading to Node.js v14 or greater for longterm support. You can learn more about Node.js releases on this page. ๐Ÿ“š Learn more in the release notes For more info and links to documentation, you can read the release notes. ๐ŸŒŸ Help us spread the word about Prisma ๐ŸŒŸ To help spread the word about Prisma, we'd very much appreciate if you would star the repo ๐ŸŒŸ And if you're excited about the features in this week's release, then help us and share your excitement on Twitter. ๐Ÿ“ฐย Join us on Thursday for the "What's new in Prisma" livestream As usual, my colleague @ryan and I will discuss the latest release and other news from the Prisma ecosystem in aย 

livestream on YouTubeโ–พ

ย onย Thursday at 5pm Berlin | 8am San Francisco. ๐ŸŒŽ Prisma Day is happening on June 29/30 Join us for Prisma Day 2021, two days of talks and workshops by the most exciting members of the Prisma community. We look forward to seeing you there! ๐Ÿ‘‹
๐Ÿ‡ฉ๐Ÿ‡ช 5
๐Ÿค– 4
๐Ÿ‡ต๐Ÿ‡ฑ 9
prisma rainbow 59
๐Ÿ™Œ 34
๐Ÿ”ฅ 27
graphcool 6
๐Ÿ‡ฌ๐Ÿ‡ง 8
๐Ÿ‘ 30
๐Ÿคฉ 13
๐ŸŒถ๏ธ 8
๐Ÿ“ฃ 7
๐Ÿ˜‡ 7
๐Ÿ‡จ๐Ÿ‡บ 1
๐Ÿ‡น๐Ÿ‡ท 3
๐Ÿ‡ช๐Ÿ‡ฌ 1
๐Ÿ‡ณ๐Ÿ‡ด 1
๐Ÿ‡ฉ๐Ÿ‡ฐ 1
๐Ÿ‡ป๐Ÿ‡ณ 2
๐Ÿ‘๐Ÿพ 1
๐Ÿ‡จ๐Ÿ‡ณ 1
๐Ÿ‡ฆ๐Ÿ‡ฒ 1
๐Ÿ‡ฆ๐Ÿ‡บ 1
fast parrot 50
๐Ÿ˜ 18
๐ŸŽ‰ 8
typescript 12
๐Ÿ’ƒ 5
party postgres 11
๐Ÿ‡ฎ๐Ÿ‡ณ 9
๐Ÿ‡บ๐Ÿ‡ธ 1
๐Ÿ‡ฆ๐Ÿ‡ท 3
๐Ÿ‡ท๐Ÿ‡ด 1
โค๏ธ 13
๐Ÿ‡ฒ๐Ÿ‡ฝ 1
๐Ÿ‡ฐ๐Ÿ‡ท 12
๐Ÿ‡ท๐Ÿ‡บ 1
๐Ÿ‡ง๐Ÿ‡ท 2
go gopher dance 1
๐Ÿ‡ฉ๐Ÿ‡ฏ 1
๐Ÿ‡ฏ๐Ÿ‡ต 2
๐Ÿ™Œ๐Ÿป 1
๐Ÿ‡ฑ๐Ÿ‡ป 1
๐Ÿ‡ต๐Ÿ‡ฐ 3
๐Ÿ‡ฒ๐Ÿ‡ป 1
๐Ÿ‡ณ๐Ÿ‡ฌ 1
๐Ÿ‡ฒ๐Ÿ‡พ 1
๐Ÿ‡ฐ๐Ÿ‡ช 1
๐Ÿ‡ป๐Ÿ‡ช 3
pakistan parrot 1