Hey <!everyone> :v: :prisma-cool: We just release...
# prisma-whats-new
a
Hey <!everyone> โœŒ๏ธ prisma cool We just released Prisma
3.13.0
prisma rainbow ๐Ÿ”
migrate diff
and
db execute
are now Generally Available!
Weโ€™re proud to announce that the commands are now Generally Available and can now be used without the
--preview-feature
flag. ๐ŸŽ‰ The
prisma migrate diff
and
prisma db execute
commands make it possible to build many new workflows such as forward and down migrations with some automation tooling. Take a look at our documentation to learn some of the popular workflows these commands unlock: โ€ข Fixing failed migrations โ€ข Squashing migrations โ€ข Generating down migrations Let us know what tools, automation, and scripts you build using these commands. ๐Ÿ”ฎ SQL Server index clustering(Preview) In version
3.5.0
, we introduced the
extendedIndexes
Preview feature which we have constantly been adding new configuration options for indexes. In this release, we added support for enabling or disabling index/constraint clustering in SQL Server. By default, indexes will be clustered by default. You can update this in your schema as follows to disable index clustering:
Copy code
datasource db {
  provider = "sqlserver"
  url      = env("DATABASE_URL")
}

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["extendedIndexes"]
}

model Post {
  id      Int     @default(autoincrement()) @id(clustered: false)
  title   String
  content String?
}
The following SQL will be generated in your migration when you run
prisma migrate dev
Copy code
CREATE TABLE [Post] (
  id INT NOT NULL,
  [title] VARCHAR(255) NOT NULL,
  [content] NVARCHAR(1000),
  CONSTRAINT [Post_pkey] PRIMARY KEY NONCLUSTERED (id)
)
If youโ€™ve enabled the
extendedIndexes
Preview feature, this is potentially a breaking change. Refer to our documentation to learn how you can upgrade from a previous version. ๐Ÿฆฆ Updated native types for CockroachDB (Preview) We have revamped the native types available in the CockroachDB connector. We initially re-used the PostgreSQL native types because they were close enough, but we have now adapted our list of the supported native types to match what CockroachDB supports. If you are already using CockroachDB in your project, you can run
prisma db pull
to update all the native types in your Prisma schema. Refer to our documentation for the complete list of all CockroachDB native types. OpenSSL 3.0 support Weโ€™re excited to announce that version
3.13.0
now supports OpenSSL 3.0. ๐Ÿ“š 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, @nikolasburk, @Sabin Adams, and I 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.
๐Ÿฆค 1
๐Ÿ‡ฒ๐Ÿ‡ป 1
๐Ÿ”ฅ 9
๐Ÿ’ฅ 4
๐Ÿฆฆ 3
๐Ÿฆœ 22
๐Ÿ™Œ 9
๐Ÿ’ฏ 9
๐ŸŽค 4
๐Ÿ“ฃ 5
โœ… 4
๐Ÿ‡ณ๐Ÿ‡ด 2
๐Ÿ‡ฐ๐Ÿ‡ท 7
๐ŸŽƒ 22
๐Ÿ‡ฒ๐Ÿ‡พ 3
๐Ÿ‡ฏ๐Ÿ‡ต 7
๐Ÿ˜Ž 9
๐ŸŽ‰ 9
๐Ÿค– 4
๐ŸŒถ๏ธ 3
๐Ÿคฉ 4
prisma cool 5
๐Ÿ‡ป๐Ÿ‡ช 1
๐Ÿ™Œ๐Ÿฟ 1
โค๏ธ 2
๐Ÿ˜€ 2
๐Ÿ‡บ๐Ÿ‡ฟ 1
fast parrot 40
prisma rainbow 38
prisma green 11
๐Ÿš€ 15
๐Ÿ’š 10
catjam 10
๐ŸŒŸ 3
โœจ 3
๐Ÿ‡ธ๐Ÿ‡ฆ 1
๐Ÿ“ฝ๏ธ 2
๐Ÿ‡ฆ๐Ÿ‡ท 1
๐Ÿ‡ฒ๐Ÿ‡ฌ 2
india parrot 2
๐Ÿ‡ช๐Ÿ‡น 1
pakistan parrot 1
๐Ÿ‡บ๐Ÿ‡ฆ 1
๐Ÿ‡ฆ๐Ÿ‡ฒ 1
๐Ÿ‡ง๐Ÿ‡ท 2
๐Ÿ‡ฎ๐Ÿ‡ณ 4
๐Ÿ‡ป๐Ÿ‡ณ 1
๐Ÿ‡ท๐Ÿ‡ด 1
๐Ÿ‡ช๐Ÿ‡บ 1
๐Ÿ‡น๐Ÿ‡ท 2
๐Ÿ’ฟ 1