Hey <!everyone> :v: :prisma-cool: We just release...
# prisma-whats-new
a
Hey <!everyone> โœŒ๏ธ prisma cool We just released Prisma
4.1.0
prisma rainbow In case you missed it, we held a

livestreamโ–พ

last week and walked through issues you may run into while upgrading to Prisma 4 and how to fix them! ๐Ÿงฉ Ordering by nulls first and last support (Preview) In this release, weโ€™re adding support for choosing how to sort null values in a query. To get started, enable the
orderByNulls
Preview feature flag in your Prisma schema.
Copy code
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["orderByNulls"]
}
Next, run
prisma generate
to re-generate Prisma Client. You will now have new fields you can now use to order null values:
Copy code
await prisma.post.findMany({
  orderBy: {
    updatedAt: { 
      sort: 'asc',
      nulls: 'last'
    },
  },
})
Learn more in our documentation, and donโ€™t hesitate to share your feedback on this issue. โšก Fixed memory leaks and CPU usage in Prisma Client In this release, weโ€™ve fixed the following issues experienced when setting up and tearing down Prisma Client while running tests: 1. Prisma Client now correctly releases memory on Prisma Client instances that are no longer being used. Learn more in this GitHub issue 2. Reduced CPU usage spikes when disconnecting Prisma Client instances while using Prisma Client. You can learn more in this GitHub issue These fixes will allow you to run your tests a little faster! ๐Ÿ’… Prisma Studio improvements Weโ€™re refining the experience when working with Prisma studio with the following changes: 1. An always visible filter panel and functionality to clear all filters at once 2. Improved relationship model view with more visible buttons ๐Ÿ“š 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 it 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 This week, @Tasin Ishmam and @Sabin Adams will discuss the latest release and other news from the Prisma ecosystem in a

livestream on YouTubeโ–พ

this Thursday at 5 pm Berlin | 8 am San Francisco.
๐Ÿงฉ 2
๐Ÿš€ 53
๐Ÿ’ฅ 5
๐Ÿ‡ฌ๐Ÿ‡ท 1
๐Ÿ‡ง๐Ÿ‡ท 2
๐ŸŒ€ 1
๐Ÿ‡ท๐Ÿ‡ผ 1
๐Ÿ‡ฟ๐Ÿ‡ฒ 3
โœจ 4
portugal parrot 2
๐ŸŒŸ 2
โญ 3
๐Ÿ’… 4
๐Ÿ‡ฒ๐Ÿ‡ฌ 2
๐Ÿ‡น๐Ÿ‡ท 2
๐Ÿฆ” 1
catjam 2
๐Ÿ‡ณ๐Ÿ‡ฟ 1
๐Ÿ‡ต๐Ÿ‡ฑ 7
fast parrot 22
prisma rainbow 17
๐ŸŒถ๏ธ 5
china parrot 4
๐Ÿ“ฝ๏ธ 3
๐Ÿ•บ๐Ÿพ 1
๐Ÿ‡ซ๐Ÿ‡ฎ 2
๐Ÿ™Œ๐Ÿฟ 1
๐Ÿ‡จ๐Ÿ‡ฑ 1
๐Ÿ’ฏ 3
๐Ÿ‡ท๐Ÿ‡ด 2
๐Ÿ‡ณ๐Ÿ‡ด 1
๐Ÿ‡ง๐Ÿ‡ฌ 1
๐Ÿฆœ 27
prisma cool 12
๐Ÿ‡ฐ๐Ÿ‡ช 6
๐Ÿ“ฃ 4
๐ŸŽค 3
๐Ÿ•บ 2
๐Ÿ‡ฏ๐Ÿ‡ต 4
๐Ÿ’…๐Ÿพ 1
โค๏ธ 8
๐Ÿ‡ต๐Ÿ‡ฐ 1
๐Ÿ‡ฐ๐Ÿ‡ท 6
๐Ÿ˜ 2
๐Ÿ‡จ๐Ÿ‡ท 1
๐Ÿ‡บ๐Ÿ‡ฆ 2
๐ŸŽ… 1
๐Ÿ‡ฎ๐Ÿ‡ณ 12
๐Ÿ€ 12