Hey folks :raised_hands: We just released Prisma ...
# prisma-whats-new
n
Hey folks ๐Ÿ™Œ We just released Prisma v2.2.0 ๐Ÿฅณ prisma rainbow Here is what's new in this version โœ… VS Code Quick Fixes You can thank @Carmen for the new Quick Fixes in the Prisma VS Code Extension. These will help you to quickly fix typos in model names or even suggest to create new models/enums with a single click! Check out this GIF to see the new features in action! ๐Ÿš€ ๐Ÿ“ฆ Make
datasource
provider dynamic via environment variables
The
provider
field on the
datasource
definition in your Prisma schema now also accepts an array of strings (instead of just a plain string). This can be helpful when you want to switch environments which point to different databases based on an environment variable. Learn more about this feature https://github.com/prisma/prisma/issues/1487. ๐Ÿงช Experimental features After adding
connectOrCreate
and
transactionApi
as the first experimental features in the last release, we're now excited to release another feature to the experimental stage: Aggregation queries with Prisma Client. In addition to the already existing
count
query, you can now let Prisma Client calculate sum, minimum, maximum and average values for any fields of type
Int
or
Float
in your Prisma schema! You can learn more about all features in the release notes, we're looking forward to your feedback for the new version! ๐Ÿ™Œ ๐Ÿ˜„
โค๏ธ 42
prisma green 27
๐Ÿ”ฅ 8
๐Ÿ‘ 4
๐Ÿค˜ 1
๐Ÿ‡ฎ๐Ÿ‡ณ 1
๐Ÿ‡ฏ๐Ÿ‡ฒ 1
prisma rainbow 5
๐Ÿ˜Ž 3
๐Ÿ™Œ 1
pakistan parrot 1
๐Ÿงโ€โ™€๏ธ 2
๐Ÿ‡ง๐Ÿ‡ท 1
fast parrot 31
๐Ÿš€ 14
prisma cool 19
๐Ÿ’ฏ 7