Hey <!everyone> :v: :prisma-cool: We just release...
# prisma-whats-new
m
Hey <!everyone> โœŒ๏ธ prisma cool We just released Prisma 2.30.0 prisma rainbow ๐Ÿš€ Full-Text Search for PostgreSQL is now in Preview Weโ€™re excited to announce that Prisma Client now has preview support for Full-Text Search on PostgreSQL. You can give this a try in 2.30.0 by enabling the
fullTextSearch
preview flag:
Copy code
datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["fullTextSearch"]
}
After you regenerate your client, youโ€™ll see a new
search
field on your
String
fields that you can query on. Hereโ€™s an example:
Copy code
// returns all posts that contain the words cat *or* dog.
const result = await prisma.post.findMany({
  where: {
    body: {
      search: 'cat | dog',
    },
  },
})
You can learn more about how the query format works in our documentation. We would love to know your feedback! If you have any comments or run into any problems weโ€™re available in this in this Github issue. โ„น๏ธ Validation errors for referential action cycles on Microsoft SQL Server Prisma now checks for referential cycle actions when it validates your schema file and shows you the exact location of the cycle in your schema when using Microsoft SQL Server. ๐Ÿ‘‹๐Ÿป
prisma introspect
is being deprecated in favor of
prisma db pull
The
prisma introspect
command is an alias for
prisma db pull
, which allows you to pull the schema from the database into your local
schema.prisma
file. Starting with this release, you will get a warning that encourages you to use
prisma db pull
instead of
prisma introspect
. ๐Ÿ“š 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 @Mahmoud 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.
๐Ÿ˜ 28
๐ŸŽ‰ 15
๐Ÿ‡ฉ๐Ÿ‡ช 3
๐Ÿ‡ฐ๐Ÿ‡ท 12
๐Ÿ‡ฐ๐Ÿ‡ช 5
prisma rainbow 59
๐Ÿค‘ 9
๐Ÿš€ 9
๐Ÿ‡ณ๐Ÿ‡ด 2
go gopher dance 3
๐Ÿ‡ฟ๐Ÿ‡ฆ 2
gopher yes 1
๐Ÿ‡ซ๐Ÿ‡ท 4
๐Ÿ™Œ 5
๐Ÿ‡ช๐Ÿ‡ฌ 7
๐ŸŽ 3
prisma cool 5
fast parrot 69
๐Ÿ”ฅ 25
๐Ÿณ๏ธโ€๐ŸŒˆ 5
party postgres 7
prisma xmas 3
๐Ÿ“ฃ 2
๐Ÿ˜Ž 2
๐Ÿ” 1
prisma green 5
๐Ÿ‡ง๐Ÿ‡ท 5
pride 2
๐Ÿ‡ฑ๐Ÿ‡ฐ 1
๐Ÿ‡ฆ๐Ÿ‡ฑ 1
๐Ÿ‡ณ๐Ÿ‡ฌ 4
๐Ÿ‡ต๐Ÿ‡ฑ 2
๐Ÿ‡ฒ๐Ÿ‡ฝ 1
๐Ÿ‘ 6
๐ŸŒถ๏ธ 4
โœจ 4
typescript 8
โค๏ธ 5
๐Ÿคฉ 3
prismo gif 5
๐Ÿ‡ฌ๐Ÿ‡พ 1
๐Ÿ‡ฎ๐Ÿ‡ณ 11
๐Ÿ‡ฎ๐Ÿ‡น 1
๐Ÿ‡ป๐Ÿ‡ช 1
๐Ÿ‡ฝ๐Ÿ‡ฐ 2
catjam 3
๐Ÿ‡ต๐Ÿ‡ฐ 2
๐Ÿ‡บ๐Ÿ‡ฆ 1
๐Ÿ‡จ๐Ÿ‡ฒ 2
๐Ÿ‡ฟ๐Ÿ‡ผ 2