Open renovate[bot] opened 6 months ago
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
undefined
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
undefined
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎
This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@esbuild/aix-ppc64@0.19.12, npm/@esbuild/android-arm64@0.19.12, npm/@esbuild/android-arm@0.19.12, npm/@esbuild/android-x64@0.19.12, npm/@esbuild/darwin-x64@0.19.12, npm/@esbuild/freebsd-arm64@0.19.12, npm/@esbuild/freebsd-x64@0.19.12, npm/@esbuild/linux-arm64@0.19.12, npm/@esbuild/linux-arm@0.19.12, npm/@esbuild/linux-ia32@0.19.12, npm/@esbuild/linux-loong64@0.19.12, npm/@esbuild/linux-mips64el@0.19.12, npm/@esbuild/linux-ppc64@0.19.12, npm/@esbuild/linux-riscv64@0.19.12, npm/@esbuild/linux-s390x@0.19.12, npm/@esbuild/linux-x64@0.19.12, npm/@esbuild/netbsd-x64@0.19.12, npm/@esbuild/openbsd-x64@0.19.12, npm/@esbuild/sunos-x64@0.19.12, npm/@esbuild/win32-arm64@0.19.12, npm/@esbuild/win32-ia32@0.19.12, npm/@esbuild/win32-x64@0.19.12, npm/@npmcli/agent@2.2.0, npm/abbrev@2.0.0, npm/aggregate-error@3.1.0, npm/balanced-match@1.0.2, npm/brace-expansion@2.0.1, npm/cacache@18.0.2, npm/call-bind@1.0.7, npm/chownr@2.0.0, npm/clean-stack@2.2.0, npm/color-convert@2.0.1, npm/color-name@1.1.4, npm/component-emitter@1.3.1, npm/cookiejar@2.1.4, npm/core-util-is@1.0.3, npm/define-data-property@1.1.4, npm/dotenv@16.4.5, npm/eastasianwidth@0.2.0, npm/emoji-regex@9.2.2, npm/encoding@0.1.13, npm/env-paths@2.2.1, npm/es-define-property@1.0.0, npm/exponential-backoff@3.1.1, npm/extend@3.0.2, npm/foreground-child@3.1.1, npm/form-data@2.5.1, npm/formidable@1.2.6, npm/get-intrinsic@1.2.4, npm/graceful-fs@4.2.11, npm/has-property-descriptors@1.0.2, npm/has-proto@1.0.3, npm/hasown@2.0.1, npm/http-cache-semantics@4.1.1, npm/http-proxy-agent@7.0.0, npm/imurmurhash@0.1.4, npm/indent-string@4.0.0, npm/ip@2.0.0, npm/is-fullwidth-code-point@3.0.0, npm/is-lambda@1.0.1, npm/isarray@1.0.0, npm/jackspeak@2.3.6, npm/make-fetch-happen@13.0.0, npm/minipass-collect@2.0.1, npm/minipass-fetch@3.0.4, npm/minipass-flush@1.0.5, npm/minipass-pipeline@1.2.4, npm/minipass-sized@1.0.3, npm/mkdirp@1.0.4, npm/node-gyp@10.0.1, npm/nopt@7.2.0, npm/p-map@4.0.0, npm/path-scurry@1.10.1, npm/proc-log@3.0.0, npm/process-nextick-args@2.0.1, npm/qs@6.11.2, npm/querystring@0.2.0, npm/readable-stream@2.3.8, npm/set-function-length@1.2.1, npm/sib-api-v3-sdk@8.5.0, npm/side-channel@1.0.5, npm/signal-exit@4.1.0, npm/smart-buffer@4.2.0, npm/socks-proxy-agent@8.0.2, npm/socks@2.7.1, npm/ssri@10.0.5, npm/string-width-cjs@4.2.3, npm/string_decoder@1.1.1, npm/strip-ansi-cjs@6.0.1, npm/superagent@3.7.0, npm/tar@6.2.0, npm/unique-filename@3.0.0, npm/unique-slug@4.0.0, npm/util-deprecate@1.0.2, npm/wrap-ansi-cjs@7.0.0
This PR contains the following updates:
20.10.3
->20.17.3
^0.4.0
->^0.6.0
^0.5.11
->^0.6.0
5.6.0
->5.21.1
5.3.2
->5.6.3
Release Notes
tailwindlabs/prettier-plugin-tailwindcss (prettier-plugin-tailwindcss)
### [`v0.6.8`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#068---2024-09-24) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.7...v0.6.8) - Fix crash ([#320](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/320)) ### [`v0.6.7`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#067---2024-09-24) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.6...v0.6.7) - Improved performance with large Svelte, Liquid, and Angular files ([#312](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/312)) - Add support for `@plugin` and `@config` in v4 ([#316](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/316)) - Add support for Tailwind CSS v4.0.0-alpha.25 ([#317](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/317)) ### [`v0.6.6`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#066---2024-08-09) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.5...v0.6.6) - Add support for `prettier-plugin-multiline-arrays` ([#299](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/299)) - Add resolution cache for known plugins ([#301](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/301)) - Support Tailwind CSS `v4.0.0-alpha.19` ([#310](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/310)) ### [`v0.6.5`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#065---2024-06-17) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.4...v0.6.5) - Only re-apply string escaping when necessary ([#295](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/295)) ### [`v0.6.4`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#064---2024-06-12) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.3...v0.6.4) - Export `PluginOptions` type ([#292](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/292)) ### [`v0.6.3`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#063---2024-06-11) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.2...v0.6.3) - Improve detection of string concatenation ([#288](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/288)) ### [`v0.6.2`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#062---2024-06-07) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.1...v0.6.2) ##### Changed - Only remove duplicate Tailwind classes ([#277](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/277)) - Make sure escapes in classes are preserved in string literals ([#286](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/286)) ### [`v0.6.1`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#061---2024-05-31) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.0...v0.6.1) ##### Added - Add new `tailwindPreserveDuplicates` option to disable removal of duplicate classes ([#276](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/276)) ##### Fixed - Improve handling of whitespace removal when concatenating strings ([#276](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/276)) - Fix a bug where Angular expressions may produce invalid code after sorting ([#276](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/276)) - Disabled whitespace and duplicate class removal for Liquid and Svelte ([#276](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/276)) ### [`v0.6.0`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#060---2024-05-30) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.14...v0.6.0) ##### Changed - Remove duplicate classes ([#272](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/272)) - Remove extra whitespace around classes ([#272](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/272)) ### [`v0.5.14`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#0514---2024-04-15) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.13...v0.5.14) ##### Fixed - Fix detection of v4 projects on Windows ([#265](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/265)) ### [`v0.5.13`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#0513---2024-03-27) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.12...v0.5.13) ##### Added - Add support for `@zackad/prettier-plugin-twig-melody` ([#255](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/255)) ### [`v0.5.12`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#0512---2024-03-06) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.11...v0.5.12) ##### Added - Add support for `prettier-plugin-sort-imports` ([#241](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/241)) - Add support for Tailwind CSS v4.0 ([#249](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/249)) ### [`v0.5.11`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#0511---2024-01-05) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.10...v0.5.11) ##### Changed - Bumped bundled version of Tailwind CSS to v3.4.1 ([#240](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/240)) ### [`v0.5.10`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#0510---2023-12-28) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.9...v0.5.10) ##### Changed - Bumped bundled version of Tailwind CSS to v3.4 ([#235](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/235)) ### [`v0.5.9`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#059---2023-12-05) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.8...v0.5.9) ##### Fixed - Fixed location of embedded preflight CSS file ([#231](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/231)) ### [`v0.5.8`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#058---2023-12-05) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.7...v0.5.8) ##### Added - Re-enable support for `prettier-plugin-marko` ([#229](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/229)) ### [`v0.5.7`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#057---2023-11-08) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.6...v0.5.7) ##### Fixed - Fix sorting inside dynamic custom attributes ([#225](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/225)) ### [`v0.5.6`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#056---2023-10-12) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6) ##### Fixed - Fix sorting inside `{{ … }}` expressions when using `@shopify/prettier-plugin-liquid` v1.3+ ([#222](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/222)) ### [`v0.5.5`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#055---2023-10-03) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.4...v0.5.5) ##### Fixed - Sort classes inside `className` in Astro ([#215](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/215)) - Support member access on function calls ([#218](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/218)) ### [`v0.5.4`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#054---2023-08-31) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.3...v0.5.4) ##### Fixed - Type `tailwindFunctions` and `tailwindAttributes` as optional ([#206](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/206)) - Don’t break `@apply … #{'!important'}` sorting in SCSS ([#212](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/212)) ### [`v0.5.3`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#053---2023-08-15) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.2...v0.5.3) ##### Fixed - Fix CJS `__dirname` interop on Windows ([#204](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/204)) ### [`v0.5.2`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#052---2023-08-11) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.1...v0.5.2) ##### Fixed - Fix intertop with bundled CJS dependencies ([#199](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/199)) ### [`v0.5.1`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#051---2023-08-10) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.0...v0.5.1) ##### Fixed - Updated Prettier peer dependency ([#197](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/197)) ### [`v0.5.0`](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#050---2023-08-10) [Compare Source](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.4.1...v0.5.0) ##### Added - Sort expressions in Astro's `class:list` attribute ([#192](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/192)) - Re-enabled support for plugins when using Prettier v3+ ([#195](https://redirect.github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/195))prisma/prisma (prisma)
### [`v5.21.1`](https://redirect.github.com/prisma/prisma/releases/tag/5.21.1) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.21.0...5.21.1) - Fixed a bug where migrations were not using shadow database correctly in some edge cases ### [`v5.21.0`](https://redirect.github.com/prisma/prisma/releases/tag/5.21.0) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.20.0...5.21.0) Today, we are excited to share the `5.21.0` release 🎉 🌟 **Help us spread the word about Prisma by starring the repo ☝️ or [posting on X](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.21.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.21.0) about the release.** ##### Highlights ##### Better support for tracing in MongoDB The `tracing` Preview feature now has full support for MongoDB with previously missing functionality now implemented. This is a part of the ongoing effort to stabilize this Preview feature and release it in General Availability. `tracing` is a Preview feature that enables built-in support for OpenTelemetry instrumentation inside the Prisma Client and provides deep insights into the performance and timing of your queries. See our [documentation for more information](https://www.prisma.io/docs/orm/prisma-client/observability-and-logging/opentelemetry-tracing). For an easy to use and zero-configuration tracing instrumentation tool with a dashboard that provides an overview of your queries, statistics, and AI-powered recommendations, try [Prisma Optimize](https://pris.ly/gh/optimize). ##### WebAssembly engine size decrease for edge functions Due to recent changes, some users experienced a steep increase of the bundle size in Prisma 5.20 when using [the `driverAdapters` Preview feature](https://www.prisma.io/docs/orm/overview/databases/database-drivers#driver-adapters), going over the 1 MB limit on the free tier of Cloudflare Workers. This has now been fixed. ##### Fixes and improvements ##### Prisma Engines - [Avoid regex crate for wasm bundle size (to keep cloudflare free plan)](https://redirect.github.com/prisma/prisma-engines/issues/5008) ##### Credits Huge thanks to [@austin-tildei](https://redirect.github.com/austin-tildei), [@LucianBuzzo](https://redirect.github.com/LucianBuzzo), [@mcuelenaere](https://redirect.github.com/mcuelenaere), [@pagewang0](https://redirect.github.com/pagewang0), [@key-moon](https://redirect.github.com/key-moon), [@pranayat](https://redirect.github.com/pranayat), [@yubrot](https://redirect.github.com/yubrot), [@skyzh](https://redirect.github.com/skyzh) for helping! ### [`v5.20.0`](https://redirect.github.com/prisma/prisma/releases/tag/5.20.0) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.19.1...5.20.0) 🌟 **Help us spread the word about Prisma by starring the repo or [posting on X](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.20.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.20.0) about the release.** 🌟 ##### Highlights ##### `strictUndefinedChecks` in Preview With Prisma ORM 5.20.0, the Preview feature `strictUndefinedChecks` will disallow any value that is explicitly `undefined` and will be a runtime error. This change is direct feedback from [this GitHub issue](https://redirect.github.com/prisma/prisma/issues/20169) and follows [our latest proposal](https://redirect.github.com/prisma/prisma/issues/20169#issuecomment-2338360300) on the same issue. To demonstrate the change, take the following code snippet: ```tsx prisma.table.deleteMany({ where: { // If `nullableThing` is nullish, this query will remove all data. email: nullableThing?.property, } }) ``` In Prisma ORM 5.19.0 and below, this could result in unintended behavior. In Prisma ORM 5.20.0, if the `strictUndefinedChecks` Preview feature is enabled, you will get a runtime error instead: ```tsx Invalid \`prisma.user.findMany()\` invocation in /client/tests/functional/strictUndefinedChecks/test.ts:0:0 XX }) XX XX test('throws on undefined input field', async () => { → XX const result = prisma.user.deleteMany({ where: { email: undefined ~~~~~~~~~ } }) Invalid value for argument \`where\`: explicitly \`undefined\` values are not allowed." ``` We have also introduced the `Prisma.skip` symbol, which will allow you to get the previous behavior if desired. ```tsx prisma.table.findMany({ where: { // Use Prisma.skip to skip parts of the query email: nullableEmail ?? Prisma.skip } }) ``` From Prisma ORM 5.20.0 onward, we recommend enabling `strictUndefinedChecks`, along with the TypeScript compiler option `exactOptionalPropertyTypes`, which will help catch cases of undefined values at compile time. Together, these two changes will help protect your Prisma queries from potentially destructive behavior. `strictUndefinedChecks` will be a valid Preview feature for the remainder of Prisma ORM 5. With our next major version, this behavior will become the default and the Preview feature will be “graduated” to Generally Available. If you have any questions or feedback about `strictUndefinedChecks`, please ask/comment in our dedicated [Preview feature GitHub discussion](https://redirect.github.com/prisma/prisma/discussions/25271). ##### `typedSql` bug fix Thank you to everyone who has tried out our [`typedSql` Preview feature](https://www.prisma.io/blog/announcing-typedsql-make-your-raw-sql-queries-type-safe-with-prisma-orm) and [provided feedback](https://redirect.github.com/prisma/prisma/discussions/25106)! This release has a quick fix for typescript files generated when Prisma Schema enums had hyphens. ##### Fixes and improvements ##### Prisma - [Prisma incorrectly parses CRDB's FK constraint error as `not available`.](https://redirect.github.com/prisma/prisma/issues/24072) - [Invalid TypeScript files created by `generate` when typedSql is enabled and enum contains hyphens.](https://redirect.github.com/prisma/prisma/issues/25163) - [`@prisma/internals` didn't list `ts-toolbelt` in dependencies.](https://redirect.github.com/prisma/prisma/issues/17952) - [using `$extends` prevents model comments from being passed to TypeScript](https://redirect.github.com/prisma/prisma/issues/24648) ##### Prisma Engines - [Planetscale engine tests: interactive_tx](https://redirect.github.com/prisma/prisma-engines/issues/4469) - [Fix broken engine size publishing workflow](https://redirect.github.com/prisma/prisma-engines/issues/4991) ##### Credits Huge thanks to [@mcuelenaere](https://redirect.github.com/mcuelenaere), [@pagewang0](https://redirect.github.com/pagewang0), [@key-moon](https://redirect.github.com/key-moon), [@pranayat](https://redirect.github.com/pranayat), [@yubrot](https://redirect.github.com/yubrot), [@thijmenjk](https://redirect.github.com/thijmenjk), [@mydea](https://redirect.github.com/mydea), [@HRM](https://redirect.github.com/HRM), [@haaawk](https://redirect.github.com/haaawk), [@baileywickham](https://redirect.github.com/baileywickham), [@brian-dlee](https://redirect.github.com/brian-dlee), [@nickcarnival](https://redirect.github.com/nickcarnival), [@eruditmorina](https://redirect.github.com/eruditmorina), [@nzakas](https://redirect.github.com/nzakas), and [@gutyerrez](https://redirect.github.com/gutyerrez) for helping! ### [`v5.19.1`](https://redirect.github.com/prisma/prisma/releases/tag/5.19.1) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.19.0...5.19.1) Today, we are issuing the `5.19.1` patch release. ##### What's Changed We've fixed the following issues: - [https://github.com/prisma/prisma/issues/25103](https://redirect.github.com/prisma/prisma/issues/25103) - [https://github.com/prisma/prisma/issues/25137](https://redirect.github.com/prisma/prisma/issues/25137) - [https://github.com/prisma/prisma/issues/25104](https://redirect.github.com/prisma/prisma/issues/25104) - [https://github.com/prisma/prisma/issues/25101](https://redirect.github.com/prisma/prisma/issues/25101) **Full Changelog**: https://github.com/prisma/prisma/compare/5.19.0...5.19.x, https://github.com/prisma/prisma-engines/compare/5.19.0...5.19.x ### [`v5.19.0`](https://redirect.github.com/prisma/prisma/releases/tag/5.19.0) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.18.0...5.19.0) Today, we are excited to share the `5.19.0` stable release 🎉 🌟 **Help us spread the word about Prisma by starring the repo or [posting on X](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.19.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.19.0) about the release.** 🌟 ##### Highlights ##### Introducing TypedSQL TypedSQL is a brand new way to interact with your database from Prisma Client. After enabling the `typedSql` Preview feature, you’re able to write SQL queries in a new `sql` subdirectory of your `prisma` directory. These queries are then checked by Prisma during using the new `--sql` flag of `prisma generate` and added to your client for use in your code. To get started with TypedSQL: 1. Make sure that you have the latest version of `prisma` and `@prisma/client` installed: npm install -D prisma@latest npm install @prisma/client@latest 2. Enable the `typedSql` Preview feature in your Prisma Schema. generator client { provider = "prisma-client-js" previewFeatures = ["typedSql"] } 3. Create a `sql` subdirectory of your `prisma` directory. mkdir -p prisma/sql 4. You can now add `.sql` files to the `sql` directory! Each file can contain one sql query and the name must be a valid JS identifier. For this example, say you had the file `getUsersWithPosts.sql` with the following contents: ```sql SELECT u.id, u.name, COUNT(p.id) as "postCount" FROM "User" u LEFT JOIN "Post" p ON u.id = p."authorId" GROUP BY u.id, u.name ``` 5. Import your SQL query into your code with the `@prisma/client/sql` import: ```tsx import { PrismaClient } from '@prisma/client' import { getUsersWithPosts } from '@prisma/client/sql' const prisma = new PrismaClient() const usersWithPostCounts = await prisma.$queryRawTyped(getUsersWithPosts) console.log(usersWithPostCounts) ``` There’s a lot more to talk about with TypedSQL. We think that the combination of the high-level Prisma Client API and the low-level TypedSQL will make for a great developer experience for all of our users. To learn more about behind the “why” of TypedSQL [be sure to check out our announcement blog post](https://pris.ly/typedsql-blog). For docs, check out our new [TypedSQL section](https://pris.ly/d/typedsql). ##### Bug fixes ##### Driver adapters and D1 A few issues with our `driverAdapters` Preview feature and Cloudflare D1 support were resolved via [https://github.com/prisma/prisma-engines/pull/4970](https://redirect.github.com/prisma/prisma-engines/pull/4970) and [https://github.com/prisma/prisma/pull/24922](https://redirect.github.com/prisma/prisma/pull/24922) - Mathematic operations such as `max`, `min`, `eq`, etc in queries when using Cloudflare D1. - Resolved issues when comparing `BigInt` IDs when `relationMode="prisma"` was enabled and Cloudflare D1 was being used. ##### Joins - [https://github.com/prisma/prisma/issues/23742](https://redirect.github.com/prisma/prisma/issues/23742) fixes Prisma Client not supporting deeply nested `some` clauses when the `relationJoins` Preview feature was enabled. ##### Join us Looking to make an impact on Prisma in a big way? We're now hiring engineers for the ORM team! - [Senior Engineer (TypeScript)](https://boards.greenhouse.io/prisma/jobs/5350820002): This person will be primarily working on the TypeScript side and evolving our Prisma client. Rust knowledge (or desire to learn Rust) is a plus. - [Senior Engineer (Rust)](https://boards.greenhouse.io/prisma/jobs/6940273002): This person will be focused on the `prisma-engines` Rust codebase. TypeScript knowledge (or, again, a desire to learn) is a plus. ##### Credits Huge thanks to [@mcuelenaere](https://redirect.github.com/mcuelenaere), [@pagewang0](https://redirect.github.com/pagewang0), [@Druue](https://redirect.github.com/Druue), [@key-moon](https://redirect.github.com/key-moon), [@Jolg42](https://redirect.github.com/Jolg42), [@pranayat](https://redirect.github.com/pranayat), [@ospfranco](https://redirect.github.com/ospfranco), [@yubrot](https://redirect.github.com/yubrot), [@skyzh](https://redirect.github.com/skyzh) for helping! ### [`v5.18.0`](https://redirect.github.com/prisma/prisma/releases/tag/5.18.0) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.17.0...5.18.0) 🌟 **Help us spread the word about Prisma by starring the repo or [tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.18.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.18.0) about the release.** 🌟 ##### Highlights ##### Native support for UUIDv7 Previous to this release, the Prisma Schema function `uuid()` did not accept any arguments and created a UUIDv4 ID. While sufficient in many cases, UUIDv4 has a few drawbacks, namely that it is not temporally sortable. UUIDv7 attempts to resolve this issue, making it easy to temporally sort your database rows by ID! To support this, we’ve updated the `uuid()` function in Prisma Schema to accept an optional, integer argument. Right now, the only valid values are `4` and `7`, with `4` being the default. ```tsx model User { id String @id @default(uuid()) // defaults to 4 name String } model User { id String @id @default(uuid(4)) // same as above, but explicit name String } model User { id String @id @default(uuid(7)) // will use UUIDv7 instead of UUIDv4 name String } ``` ##### Bug squashing We’ve squashed a number of bugs this release, special thanks to everyone who helped us! A few select highlights are: - [SQLite db will now be created and read from the correct location when using `prismaSchemaFolder`](https://redirect.github.com/prisma/prisma/issues/24779). - [Empty `Json[]` fields will now return `[]` instead of `null` when accessed through a join using the `relationJoins` Preview feature.](https://redirect.github.com/prisma/prisma/issues/22923) ##### Fixes and improvements ##### Prisma - [Support UUID v7](https://redirect.github.com/prisma/prisma/issues/24079) ##### Language tools (e.g. VS Code) - [Support fetching references for a model](https://redirect.github.com/prisma/language-tools/issues/982) ##### Credits Huge thanks to [@mcuelenaere](https://redirect.github.com/mcuelenaere), [@pagewang0](https://redirect.github.com/pagewang0), [@Druue](https://redirect.github.com/Druue), [@key-moon](https://redirect.github.com/key-moon), [@Jolg42](https://redirect.github.com/Jolg42), [@pranayat](https://redirect.github.com/pranayat), [@ospfranco](https://redirect.github.com/ospfranco), [@yubrot](https://redirect.github.com/yubrot), [@skyzh](https://redirect.github.com/skyzh), [@haaawk](https://redirect.github.com/haaawk) for helping! ### [`v5.17.0`](https://redirect.github.com/prisma/prisma/releases/tag/5.17.0) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.16.2...5.17.0) 🌟 **Help us spread the word about Prisma by starring the repo or [tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.17.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.17.0) about the release.** 🌟 ##### Highlights ##### VSCode extension improvements We’re happy to introduce some cool new features that will make your experience with the Prisma VSCode extension even better! **Find references across schema files** The ability to hop between references of a given symbol is really useful in application code and now with the introduction of multi-file schema, we think it’s the perfect time to bring this feature to the VSCode extension! With the 5.17.0 release, you’ll now have the ability to use the native “find references” feature to find any usage of a given symbol ![references](https://redirect.github.com/user-attachments/assets/b7d82584-2be7-4db6-bfd9-4dbe46f9e865) **Added context on hover** When hovering over a symbol that references a view, type, enum, or any other block with multiple values, you’ll now see a handy pop out that shows what is in that block at a glance. ![image](https://redirect.github.com/user-attachments/assets/b0dbc818-374b-4b6d-bda5-974d66efca65) **Additional quick fixes** We’ve taken some fixes made by the `prisma format` cli command and made them quick fixes available to the VSCode Extension. Now, when you have forget a back relation or relation scalar field, you’ll now see in real time what is wrong and have the option to fix it via the extension. ![image (1)](https://redirect.github.com/user-attachments/assets/931e8dff-2b1e-4da7-bd17-5b844d12804e) ##### QueryRaw performance improvements We’ve changed the response format of `queryRaw` to decrease its average size which reduces serialization CPU overhead. When querying large data sets, we expect you to see improved memory usage and up to 2x performance improvements. ##### Fixes and improvements ##### Prisma Client - [Remove or change `This is the 10th instance of Prisma Client being started. Make sure this is intentional.` warning](https://redirect.github.com/prisma/prisma/issues/23736) ##### Prisma - [Prisma generate option --allow-no-models doesn't work.](https://redirect.github.com/prisma/prisma/issues/24737) ##### Language tools (e.g. VS Code) - [LSP Rename incorrectly maps field name and appends character](https://redirect.github.com/prisma/language-tools/issues/1771) ##### Credits Huge thanks to [@key-moon](https://redirect.github.com/key-moon), [@pranayat](https://redirect.github.com/pranayat), [@yubrot](https://redirect.github.com/yubrot), [@skyzh](https://redirect.github.com/skyzh) for helping! ### [`v5.16.2`](https://redirect.github.com/prisma/prisma/releases/tag/5.16.2) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.16.1...5.16.2) Today, we are issuing the 5.16.2 patch release to fix an issue in Prisma client. #### Fix in Prisma Client - [nextjs app deployed to vercel edge can't import prisma WASM modul ](https://redirect.github.com/prisma/prisma/issues/24673) ### [`v5.16.1`](https://redirect.github.com/prisma/prisma/releases/tag/5.16.1) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.16.0...5.16.1) Today, we are issuing the 5.16.1 patch release to fix an issue in Prisma client. ##### Fix in Prisma Client - [dotenv loading issue with PrismaClient ](https://redirect.github.com/prisma/prisma/issues/24634) - [Prisma Seed Script Fails After Upgrading to v5.16.0 (DATABASE_URL Error)](https://redirect.github.com/prisma/prisma/issues/24658) ### [`v5.16.0`](https://redirect.github.com/prisma/prisma/releases/tag/5.16.0) [Compare Source](https://redirect.github.com/prisma/prisma/compare/5.15.1...5.16.0) 🌟 **Help us spread the word about Prisma by starring the repo or [tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.16.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.16.0) about the release.** 🌟 ##### **Highlights** ##### Omit model fields globally With Prisma ORM 5.16.0 we’re more than happy to announce that we’re expanding the `omitApi` Preview feature to also include the ability to **omit fields globally**. When the Preview feature is enabled, you’re able to define fields to omit when instantiating Prisma Client. ```tsx const prisma = new PrismaClient({ omit: { user: { // make sure that password is never queried. password: true, }, }, }); ``` You’re also able to omit fields from multiple models and multiple fields from the same model ```tsx const prisma = new PrismaClient({ omit: { user: { // make sure that password and internalId are never queried. password: true, internalId: true, }, post: { secretkey: true, }, }, }); ``` With both local and global `omit`, you now have the flexibility to completely remove sensitive fields while also tailoring individual queries. If you need the ability to generally omit a field except in a specific query, you can also overwrite a global omit locally ```tsx const prisma = new PrismaClient({ omit: { user: { // password is omitted globally. password: true, }, }, }); const userWithPassword = await prisma.user.findUnique({ omit: { password: false }, // omit now false, so password is returned where: { id: 1 }, }); ``` ##### Changes to `prismaSchemaFolder` In `5.15.0` we released the `prismaSchemaFolder` Preview feature, allowing you to create multiple Prisma Schema files in a `prisma/schema` directory. We’ve gotten [a lot of great feedback](https://redirect.github.com/prisma/prisma/discussions/24413) and are really excited with how the community has been using the feature. To continue improving our multi-file schema support, **we have a few breaking changes** to the `prismaSchemaFolder` feature: - When using relative paths in Prisma Schema files with the `prismaSchemaFolder` feature, a path is now relative to the file it is defined in rather than relative to the `prisma/schema` folder. This means that if you have a generator block in `/project/prisma/schema/config/generator.prisma` with an `output` of `./foo` the output will be resolved to `/project/prisma/schema/config/foo` rather than `/project/prisma/foo`. The path to a SQLite file will be resolved in the same manner. - We realized that during migration many people would have `prisma/schema` as well as `prisma/schema.prisma`. Our initial implementation looked for a `.prisma` file first and would ignore the `schema` folder if it exists. This is now an error. ##### Changes to `fullTextSearch` In order to improve our full-text search implementation **we have made a breaking change** to the `fullTextSearch` Preview feature. Previously, when the feature was enabled we updated the `Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Europe/Paris, 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 was generated by Mend Renovate. View the repository job log.