fix(deps): update all non-major dependencies #542
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:
6.8.2
->6.12.0
6.1.1
->6.2.0
5.3.5
->5.3.6
4.0.2
->4.1.0
1.11.29
->1.13.2
1.2.14
->1.2.19
22.15.23
->22.16.5
v3.12.14
->v3.14.15
14.19.3
->14.21.0
20.10.0
->20.19.4
1.2.13-alpine
->1.2.19-alpine
1.2.13-alpine
->1.2.19-alpine
3.5.3
->3.6.2
6.8.2
->6.12.0
7.10.0
->7.12.0
Release Notes
prisma/prisma (@prisma/client)
v6.12.0
Compare Source
Today, we are excited to share the
6.12.0
stable release 🎉🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
ESM-compatible
prisma-client
generator now in PreviewWe’re excited to share that our new and more flexible
prisma-client
generator is moving into Preview! As a reminder, here’s what it looks like:This new generator eliminates any headaches that you may have experienced due to magical code generation into
node_modules
and gives you full control over the generated Prisma Client code. With it moving into Preview, we hope that even more of you will try it out and share your feedback with us!In addition to moving it into Preview, we also created a couple of new ready-to-run examples to help you get started with the new generator and your favorite framework:
📚 Learn more in the docs.
Specify
views
andmigrations
folder locations inprisma.config.ts
(Early Access)As we’re getting closer to the General Availability release of
prisma.config.ts
, we’re adding more capabilities to it. In previous versions, the Prisma CLI implicitly used to infer the location for migration and SQL view definition files based on the location of the Prisma schema. In this release, we’re adding two new fields (migrations
andviews
) to give you more flexibility and clarity on how to locate these files:📚 Learn more in the docs.
v6.11.1
Compare Source
Today, we are issuing a 6.11.1 patch release.
Bug fixes
In Prisma ORM version 6.11.0, we shipped a bug fix for Prisma that allows using Prisma Postgres with direct TCP connections with Prisma Driver Adapters. This fix, however, required refactoring the of the Prisma Client initialization logic, and while several test cases were added, an edge case was missing, causing https://github.com/prisma/prisma/issues/27569.
Namely, using
@prisma/client
with@prisma/extension-accelerate
on aprisma+postgres://...
connection string, while generating the Prisma Client definitions viaprisma generate
, resulted in aPrismaClientInitializationError
.This is now fixed, so we highly recommend upgrading to version 6.11.1.
Reminder: when using Prisma Accelerate, we highly encourage you to generate your Prisma Client definitions via
prisma generate --no-engine
.We've fixed an issue that would occur when using arrays as aggregation fields with the query compiler. These queries would fail with a confusing data mapping error. They should now work as expected.
v6.11.0
Compare Source
Today, we are excited to share the
6.11.0
stable release 🎉🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
Prisma ORM without Rust engines for MySQL/MariaDB, Neon & CockroachDB (Preview)
We are in the process of removing the Rust engines from Prisma ORM. This week, we're adding Preview support for the Rust-free Prisma ORM version for MySQL via a new
@prisma/adapter-mariadb
driver adapter, as well as for Neon and CockroachDB via the already existing@prisma/adapter-neon
and@prisma/adapter-pg
adapters.To use it, enable the
queryCompiler
anddriverAdapters
feature flags on yourgenerator
block, install the driver adapter for your database and start querying!📚Learn more in the docs.
Stop and remove local Prisma Postgres instances via CLI
You can start a local Prisma Postgres instance using the
prisma dev --name mydb
command or via the Prisma VS Code extension UI.If you start a local instance via the Prisma CLI, you can simply kill the process to stop the instance. However, when you start instances via the VS Code extension UI, you could also only stop them via the UI—not via the CLI.
This changes in this release: You can now also stop local Prisma Postgres instances and remove them from your file system via the Prisma CLI:
prisma dev stop <globs>
: Stops one or more local Prisma Postgres instancesprisma dev rm <globs>
: Removes one or more local Prisma Postgres instances from your file system📚Learn more in the docs.
Ready-to-run examples for new
prisma-client
generatorOur new
prisma-client
generator is more flexible, provides more control about the generated code, works with various JS runtimes and comes with ESM support out-of-the-box.To make it easier for you to try it out, we created a few ready-to-run example projects so you can see the new generator in action:
nextjs-starter-webpack
nextjs-starter-turbopack
neextjs-starter-webpack-monorepo
nextjs-starter-webpack-with-middleware
Bug fixes in VS Code embedded Prisma Studio
Have you already seen the new look of Prisma Studio when it's embedded directly in VS Code via the Prisma VS Code extension? In this release, we fixed a few bugs that you all have reported:
Let us know in case you hit any snags with Prisma ORM by opening a new issue.
Other news
Embed Prisma Studio in your own tools and projects
If you're using Prisma Postgres (yourself or by offering it to your own users), you can now embed Prisma Studio to offer an amazing data editing experience to your users via the
@prisma/studio-core
npm package.Try out the demo that shows how to integrate Prisma Studio in your own apps!
Predict your Prisma Postgres bill with our new Pricing Calculator
Prisma Postgres comes with a pricing model that seems too simple to be true: You're charged based on storage and operations—not CPU, compute hours or any other resource-based metrics.
While it's simple, it may feel unfamiliar because it's so different from existing pricing models. To understand how much you'd pay for Prisma Postgres running your app, you can now use our Pricing Calculator. Put in the predicted storage and number of operations to see how much you're going to be charged on each plan.
Prisma Postgres now available for all Postgres templates in Vercel Marketplace
On vercel.com/templates, you can find lots of one-click-deploy application templates! We recently worked with the Vercel team to get Prisma Postgres working with all templates requiring a PostgreSQL database, for example:
Connecting to Prisma Postgres with any tool is now faster
We recently enabled the option to connect to Prisma Postgres with any tool via direct TCP connections. In this release, we have reduced the connection latency so your first request is now faster.
New region for Prisma Postgres: Frankfurt (
eu-central-1
)We keep expanding Prisma Postgres availability across the globe! After having added San Francisco just a few weeks ago, we're now adding Frankfurt based on another poll we ran on X. Here are all the regions where you can spin up Prisma Postgres instances today:
eu-central-1
: Frankfurt (new!)eu-west-3
: Parisus-west-1
: San Franciscous-east-1
: North Virginiaap-northeast-1
: Tokyoap-southeast-1
: SingaporeKeep an eye on our X account to take part in the poll and vote for the next availability zone of Prisma Postgres!
v6.10.1
Compare Source
Today, we are issuing a 6.10.1 patch release.
Bug fixes
In Prisma ORM version 6.10.0, we shipped a bug fix for Prisma Migrate that ensured we always gracefully closed PostgreSQL connections by sending the Terminate message and not just abruptly closing the TCP connection. This fix was incomplete because it didn't work on Windows, which is now fixed. We highly recommend upgrading to version 6.10.1 if you are using Windows.
We also recommend upgrading to this version if you are currently using local Prisma Postgres via the
prisma dev
command with an ORM version older than 6.10.x.Performance improvements
The
queryCompiler
preview feature recently introduced a performance regression related to in-memory joins in TypeScript-based query execution (users who use thequeryCompiler
and therelationJoins
preview features together were not affected, unless usingrelationLoadStrategy: "query"
). This has now been fixed, leading to significant performance improvements: in our Query Compiler benchmarks, we are seeing up to 500x performance improvement compared to the previous implementation in the TypeScript-based query executor, or up to 10–20x performance improvement compared to the Rust-based Query Engine.Other news
Please see the release notes for Prisma ORM 6.10.0 for other recent news and announcements.
v6.10.0
Compare Source
Today, we are excited to share the
6.10.0
stable release 🎉🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.
Highlights
No Rust engines for MS SQL Server & PlanetScale (Preview)
We are in the process of removing the Rust engines from Prisma ORM. If you want to try this, you can configure your
generator
like this:In this release, we are excited to move the
queryCompiler
(which enables using Prisma ORM without Rust engines) into Preview for MS SQL Server and PlanetScale (via the new@prisma/adapter-mssql
and existing@prisma/adapter-planetscale
driver adapters).📚Learn more in the docs.
Manage local Prisma Postgres instances in VS Code
We recently released a database management UI as part of the Prisma VS Code extension to enable visual database management workflows for Prisma Postgres. In this release, we added new functionality to it: You can now manage multiple local Prisma Postgres instances via the same UI. To try it, find the Prisma logo in VS Code’s sidebar and start managing your local Prisma Postgres instances (no Docker required).
📚 Learn more in the docs.
Performance improvements for
prisma migrate dev
We improved the
prisma migrate dev
command by optimizing the interactions with the shadow database. Our measurements show a 2x improvement in speed for some databases!"Push to Cloud": Easily deploy a local Prisma Postgres instance in VS Code
Local Prisma Postgres instances are perfect for development, but how do you go from local to remote once you’re ready to deploy?
The database management UI in VS Code now has a Push to Cloud button that makes it easy to deploy your local Prisma Postgres so that you can connect to it from your deployed applications.
📚 Learn more in the docs.
Support for shard keys on PlanetScale (Preview)
Sharding is a popular technique to scale up when database load grows. As of this release, Prisma ORM supports sharding on PlanetScale natively via the new
@shardKey
and@@​shardKey
attributes in the Prisma schema which you can apply to the fields in your models that should serve as shard keys in your database setup:Note that this requires you to set the
shardKeys
Preview feature flag on your generator definition:📚 Learn more in the docs.
Other changes
pg-worker
package. It's not needed any more, you can simply usepg
when using Prisma ORM in Cloudflare Workers.prisma-client
generator changed. Learn how this affects imports in the docs.More news
Local Prisma Postgres now works with any ORM & tool (Early Access)
We recently released direct connections for remote Prisma Postgres so that you can now use it with your favorite ORM or database tool. As of this release, this is also possible for your local Prisma Postgres instances. To try it, run the
prisma dev
command and use the direct connection string starting withpostgres://
in order to connect from any tool.📚 Learn more in the docs.
Let your favorite AI tool manage Prisma Postgres via remote MCP
We just released a new remote MCP server that helps you manage Prisma Postgres instances! It enables your AI tools to help with these workflows:
You can start it using the
npx -y mcp-remote https://mcp.prisma.io/mcp
command.📚 Learn more in the docs.
v6.9.0
Compare Source
Today, we are excited to share the
6.9.0
stable release 🎉🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.
Highlights
Prisma ORM without Rust engines for PostgreSQL & SQLite (Preview)
If you've been excited about our work of removing the Rust engines from Prisma ORM but hesitated trying it out because it was in an Early Access (EA) phase, now is a great time for you to get your hands on the Rust-free Prisma ORM version.
This major architectural change has moved from EA into Preview in this release, meaning there are no more know major issues. If you want to try it out, add the
queryCompiler
anddriverAdapters
preview feature flags to yourgenerator
, install the driver adapter for your database, and get going:Now run
prisma generate
to re-generate Prisma Client. If you didn't use a driver adapter before, you'll need to install, e.g. the one for PostgreSQL:Once installed, you can instantiate
PrismaClient
as follows:No more hassle with query engines, binary targets and an even smoother experience in serverless and edge environments!
📚 Learn more in the docs.
Major improvements for local Prisma Postgres (Preview)
In the last release, we enabled you to spin up a Prisma Postgres instance locally via the new
prisma dev
command. Local Prisma Postgres uses PGlite under the hood and gives you an identical experience as you get with a remote Prisma Postgres instance.This release brings major improvements to this feature:
prisma dev
invocations.prisma init
now uses local Prisma Postgres by default.Try it out and let us know what you think!
📚 Learn more in the docs.
More news
Connect to Prisma Postgres with any ORM (Preview)
Since its GA release, you could only interact with Prisma Postgres using Prisma ORM via a custom connection string.
This has changed now: When setting up a new Prisma Postgres instance, you receive a regular PostgreSQL direct TCP connection string (starting with
postgres://...
) that lets you connect to it using your favorite tool or database library, including Drizzle, Kysely, TypeORM, and others.If you want to access Prisma Postgres from a serverless environment, you can also use our new serverless driver (Early Access).
📚 Learn more in the docs.
Automated backup & restore
Prisma Postgres' backup and restore mechanism has seen a major upgrade recently: You can now easily restore any previous backup via the UI in the Prisma Console. Find the new Backups tab when viewing your database and select any backup from the list to restore its state to a previous point in time.
📚 Learn more in the docs.
Prisma's VS Code extension now has a UI to manage Prisma Postgres
If you're using Prisma ORM, chances are that you're using our VS Code extension too. In its latest release, we've added a major new capability to it: A UI for managing databases.
With this new UI, you can:
To use the new features, make sure to have the latest version of the Prisma VS Code extension installed and look out for the new Prisma logo in VS Code's Activity Bar.
📚 Learn more in the docs.
New region for Prisma Postgres: San Francisco (
us-west-1
)We keep expanding Prisma Postgres availability across the globe! After having added Singapore just a few weeks ago, we're now adding San Francisco based on another poll we ran on X. Here are all the regions where you can spin up Prisma Postgres instances today:
us-west-1
: San Francisco (new!)us-east-1
: North Virginiaeu-west-3
: Parisap-northeast-1
: Tokyoap-southeast-1
: SingaporeKeep an eye on our X account to take part in the poll and vote for the next availability zone of Prisma Postgres!
sapphiredev/utilities (@sapphire/decorators)
v6.2.0
Compare Source
🐛 Bug Fixes
🚀 Features
sapphiredev/framework (@sapphire/framework)
v5.3.6
Compare Source
🐛 Bug Fixes
sapphiredev/plugins (@sapphire/plugin-logger)
v4.1.0
Compare Source
🐛 Bug Fixes
🚀 Features
swc-project/swc (@swc/core)
v1.13.2
Compare Source
Bug Fixes
(es/minifier) Remove the last break in the second switch (#10923) (3ed4a12)
(es/parser) Reject malformed phase import statements (#10912) (5fde348)
(swc_core) Add
default-features = false
to dropstacker
(#10916) (38b45b7)Features
(es/compiler) Improve structure (#10903) (0cc6743)
(es/compiler) Merge
private_in_object
andstatic_blocks
(#10909) (c1405da)(es/compiler) Merge logical assignments (#10914) (ccbfcd1)
(es/compiler) Merge
export_namespace_from
(#10917) (ba6cc71)(es/renamer) Add
renamer_keep_contexts
(#10907) (1b15171)Miscellaneous Tasks
Opus
and allow assigning to theclaude-bot
(3275b9c)Performance
(es/lexer) Remove option for handler (#10881) (1ad8506)
(es/lexer) Reduce memory move (#10906) (145fba4)
(es/lexer) Reduce context query (#10910) (443aa1c)
(es/lexer) Reduce query and comparison (#10919) (400c996)
(es/minifier) Make
get_type
for===
lazy (#10920) (4eab8e8)(es/minifier) Reduce
get_type
calls (#10922) (9d55e88)(es/parser) Reduce check during parsing binding (#10905) (92ca5ec)
(es/parser) Reduce comparison (#10911) (e00c178)
Refactor
(es/compat) Initialize compiler API (#10902) (d6566ee)
(es/lexer) EOF Token (#10880) (54c866a)
(es/parser) Reduce
input_mut()
calls (#10899) (1816368)(es/parser) Remove unnecessary PResult (#10900) (27e548d)
(es/preset-env) Apply swc_ecma_compiler in preset env (#10921) (6f5b72a)
Testing
v1.13.1
Compare Source
Bug Fixes
(es/compat) Properly handle rest assignment in for-in/of RHS (#10883) (5d11851)
(es/decorators) Handle empty class members (#10892) (fe44972)
(es/minifier) Hoist props when only props are used (#10891) (452fc98)
(es/minifier) Recursively check stmt for variable when inlining function (#10896) (e37a93d)
(es/minifier) Termination check when stmts containing switch (#10898) (4429b20)
(es/parser) Fix parsing of JSX identifiers (#10894) (0047c39)
(ts/fast-strip) Strip private method overloads (#10886) (cdb6e87)
Testing
v1.13.0
Compare Source
Bug Fixes
(es/lexer) Disallow legacy octal literals as BigInt (#10867) (430fbf4)
(es/minifier) Restrict IIFE inlining in class contexts (#10879) (a01b54a)
(es/parser) Mark
static
as reserved in strict mode (#10861) (5bdddd7)Features
(es/minifier) Drop unused rest paramters (#10857) (5305486)
(es/minifier) Enhance IIFE invoker for arrow functions (#10860) (2b1ce3d)
(plugin/runner) Use wasmer-wasix sys-minimal feature to reduce binary size (#10638) (b5f704a)
Performance
(es/lexer) Reduce comparison while reading numbers (#10864) (c6ba5c2)
(es/lexer) Remove unnecessary check when reading keywords (#10866) (4aefe0e)
(es/parser) Reduce comparisons (#10862) (3bd9aad)
(es/parser) Remove useless alloc (#10865) (3ebf088)
(es/parser) Reduce token query (#10869) (d93ef64)
(es/parser) Remove duplicate check (#10872) (fe76460)
(es/parser) Remove duplicate check (#10874) (064123b)
(swc_error_reporters) Avoid creating miette handler when no diagnostics (#10852) (93b318f)
Refactor
(es/lexer) Avoid passing
convert
(#10868) (77393f8)(es/minifier) Cleanup (#10882) (2595cb1)
(es/parser) Remove duplicate check for reservedness (#10850) (4897bfd)
(es/parser) Remove span swap operation in parser (#10854) (32f4bb8)
v1.12.14
Compare Source
Bug Fixes
(es/minifier) Don't inline arrow when it contain
this
(#10825) (8b43bb3)(es/parser) Make
export
in NS to not affect file type (#10799) (ae22033)(es/parser) Correctly check ambient context (#10802) (f97ea03)
Features
(es/parser) Enable support for dynamic import with
defer
phase (#10845) (097d29d)(plugin) Remove
bytecheck
to make Wasm plugins backward compatible (#10842) (30ad808)Miscellaneous Tasks
(bindings) Fix dependency issues (7c57fbb)
(deps) Update
class-validator
to avoid comments (#10819) (bacfa4b)(ide) Enable
--workspace
for rust-analyzer check (#10809) (92647ff)Performance
(es/minifier) Use
u8
forremaining_depth
(#10833) (ed6956a)(hstr) Inline one more byte (#10817) (3886c97)
(hstr) Remove static tag (#10832) (66ae1e8)
Refactor
(es/helpers) Make inline helpers optional at compile time (#10808) (53f3881)
(es/lexer) Don't store buffer in lexer (#10830) (cac40f1)
(es/lints) Remove warnings without features (#10794) (41d507f)
(es/parser) Reduce token query (#10834) (5cd5185)
(es/parser) Reduce call to
parse_decorators
(#10846) (356d3a0)(es/parser) Remove duplicate check (#10847) (2b04efd)
(es/preset-env) Use strpool,phf for corejs2 data (#10803) (1652fd8)
(es/react) Remove redundant
replace
calls (#10795) (a670b37)(es/react) Remove
count_children
(#10818) (2116ab2)(hstr) Cleanup duplicate header (#10812) (630dde9)
(hstr) Make the deallocation of
Atom
s explicit (#10813) (406433d)(hstr) Remove
is_global
(#10820) (afda0f9)Testing
v1.12.11
Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - "before 6pm every weekday" in timezone Asia/Kolkata, Automerge - "after 9pm every weekday" in timezone Asia/Kolkata.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.