This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.14.0
->3.15.2
3.14.0
->3.15.2
0.20.3
->0.20.4
Release Notes
prisma/prisma
v3.15.2
Compare Source
Today, we are issuing the
3.15.2
patch release.Fixes
In order to use the Prisma Data Proxy via Prisma Client, you need to generate it with
prisma generate --data-proxy
as described in our documentation. We are introducingPRISMA_GENERATE_DATAPROXY="true"
as an additional way to do the same thing, but via an environment variable.This is necessary, for example, to reliably deploy a Prisma Client for Data Proxy on Vercel Serverless Functions, where it can be hard to update the build command to run
prisma generate --data-proxy
. Starting with this version you can just setPRISMA_GENERATE_DATAPROXY="true"
as an environment variable the Vercel project settings.If you are unfamiliar with the Data Proxy, read how to get started.
v3.15.1
Compare Source
Today, we are issuing the
3.15.1
patch release.Fixes
v3.15.0
Compare Source
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Major improvements
Improvements to Prisma Client for Data Proxy
In this release, we're shipping a couple of improvements to Prisma Client for Data Proxy.
The Prisma Data Proxy provides connection management and pooling for database connections for efficiently scaling database connections in serverless environments. The Prisma Client for Data Proxy provides support for connecting to the Prisma Data Proxy using HTTP.
We introduced this feature in version
3.3.0
and constantly shipped features, fixes, and improvements.One of the changes in this release is improving the Prisma Client for the Data Proxy generation step.
datasource db { provider = "postgresql" url = env("DATABASE_URL") } generator client { provider = "prisma-client-js" - previewFeatures = ["dataProxy"] }
You can generate Prisma Client for the Data Proxy it by using the
--data-proxy
flag:We also updated how you can run Prisma Client using the Data Proxy in Cloudflare Workers and Edge environments. You can now use
@prisma/client/edge
instead of@prisma/client
in your application.To learn more, check out our documentation.
Prisma Client Metrics is now in Preview
Metrics is a new Preview feature that allows you to monitor how Prisma Client interacts with your database. Metrics expose a set of counters, gauges, and histograms that can be labeled and piped into an external monitoring system like Prometheus or StatsD.
You can use metrics in your project to help diagnose how your application's number of idle and active connections changes with counters, gauges, and histograms.
To get started using metrics in your project, enable the Preview feature flag in your Prisma schema:
You can then get started using metrics in your project:
To learn more, check out the metrics documentation. Give it a try and let us know what you think.
Regression
Azure SQL on MacOS
This release includes a known regression when connecting to Azure SQL from MacOS only and will be resolved soon. Follow this issue for updates and resolution.
Fixes and improvements
migrate reset
returns with a non-0 exit code if the seed script returns with a non-0 exit codeThis will help user scripts know more about the success of the command, but might break existing scripts.
Prisma
introspect --url
throws error if existing schema file only containsgenerator
prisma migrate reset
always exits with0
, needs to exit with1
on errorsWould you like to create a Github issue? » Yes
does nothing in terminal on Windows患者ID
AirbyteRawYuriPagesAirbyteDataProperties推荐点RichText
db
andmigrate
commandsPrisma Client
Option::unwrap()
on aNone
value in query-engine/core/src/query_document/parser.rs:250:87upsert
causes: "PANIC: calledOption::unwrap()
on aNone
value in query-engine/core/src/query_document/parser.rs:250:87".env
filesOption::unwrap()
on aNone
value in query-engine\core\src\query_document\parser.rs:250:87prisma generate
errors withError: Error: ENOENT: no such file or directory, open '/[...]/prisma/schema.prisma'
when using a custom name for the Prisma schema fileOption::unwrap()
on aNone
value in query-engine/core/src/query_document/parser.rs:250:87Option::unwrap()
on aNone
value in query-engine/core/src/query_document/parser.rs:250:87TypeError: at normalizeAndValidateHeaderValue
with data proxy in cloudflare workers/miniflareOption::unwrap()
on aNone
value in query-engine/core/src/query_document/parser.rs:250:87getConfig
andgetDmmf
of Query EngineOption::unwrap()
on aNone
value in query-engine/core/src/query_document/parser.rs:250:87Option::unwrap()
on aNone
value in query-engine/core/src/query_document/parser.rs:250:87Option::unwrap()
on aNone
value in query-engine/core/src/query_document/parser.rs:250:87InvalidDatasourceError
of Data Proxy Client outputs a code snippetCredits
Huge thanks to @shian15810, @zifeo, @ever0de, @rushabhhere for helping!
Prisma Day
Prisma Day is back this year, and it'll be on June 15 - 16 at the James June Sommergarten in Berlin. Join us in-person or online for talks and workshops on modern application development and databases. Come and meet and chat with the team behind the Prisma ORM and Prisma Data Platform.
💼 We're hiring!
If you're interested in joining our growing team to help empower developers to build data-intensive applications, Prisma is the place for you.
We're looking for a Technical Support Engineer and Back-end Engineer: Prisma Data Platform.
Feel free to read through the job descriptions and apply using the links provided.
📺 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, June 9 at 5 pm Berlin | 8 am San Francisco.
MichalLytek/typegraphql-prisma
v0.20.4
Compare Source
Changelog
No breaking changes or changes affecting usability detected.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.