-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update prisma monorepo to v2.27.0 (minor) #6096
Conversation
🦋 Changeset detectedLatest commit: 9f15279 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/FH2uEbGS3jeQ7Ni8kMcGPeqwDBA8 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
7ab9354
to
5c9964e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR contains the following updates:
2.26.0
->2.27.0
2.26.0
->2.27.0
2.26.0
->2.27.0
2.26.0
->2.27.0
Release Notes
prisma/prisma
v2.27.0
Compare Source
Today, we are excited to share the
2.27.0
stable release 🎉🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release. 🌟
Major improvements & new features
MongoDB is Now in Preview 🎉
We're thrilled to announce that Prisma now has Preview support for MongoDB. Here's how to get started:
Inside your
schema.prisma
file, you'll need to set the database provider tomongodb
. You'll also need to addmongoDb
to thepreviewFeatures
property in thegenerator
block:Next, you'll need to add a database connection string to your
.env
file. We recommend using MongoDB Atlas to spin up a MongoDB database for free. Set theDATABASE_URL
to the connection string you got from MongoDB Atlas, it should be similar to the following string:Then you can run
npx prisma generate
to generate a MongoDB-compatible Prisma Client. The Prisma Client API is the same for Mongo as it is for other supported relational databases (PostgreSQL, MySQL, SQLite and Microsoft SQL Server).To test that everything works, you can run the following script:
You should see a new post created and added to your database! You can use Prisma Studio to view the record you just added by running
npx prisma studio
.This is just the tip of the iceberg. Learn more in our Getting Started Guide.
We would love to know your feedback! If you have any comments or run into any problems we're available in this issue. You can also browse existing issues that have the MongoDB label.
Prisma native support for M1 Macs 🚀
This one's for our Mac users. Prisma now runs natively on the new M1 chips. Best of all, there's nothing to configure, it just works. Enjoy the speed bump!
Fixes and improvements
Prisma Client
pnpm
do not play well togetherPrisma Migrate
ERROR 70100 (1317): foreign key constraints are not allowed, see https://code.openark.org/blog/mysql/the-problem-with-mysql-foreign-key-constraints-in-online-schema-changes
ERROR HY000 (1105): direct DDL is disabled
migrate dev
and PostGis Viewsprisma init
for datasource providers in Preview/EarlyAccess📺 Join us for another "What's new in Prisma" livestream
Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" livestream.
The stream takes place on Youtube on Thursday, July 15 at 5pm Berlin | 8am San Francisco.
Configuration
📅 Schedule: "before 7am on Tuesday,before 7am on Wednesday" in timezone Australia/Sydney.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.