killbasa / Amaneko

Discord bot for VTuber livestream relays and notifications.
https://docs.amaneko.ca/
MIT License
2 stars 0 forks source link

fix(deps): update all non-major dependencies #131

Open renovate[bot] opened 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@opentelemetry/api (source) ^1.8.0 -> ^1.9.0 age adoption passing confidence dependencies minor
@opentelemetry/exporter-prometheus (source) ^0.51.0 -> ^0.52.1 age adoption passing confidence dependencies minor
@opentelemetry/exporter-trace-otlp-grpc (source) ^0.51.0 -> ^0.52.1 age adoption passing confidence dependencies minor
@opentelemetry/sdk-node (source) ^0.51.0 -> ^0.52.1 age adoption passing confidence dependencies minor
@opentelemetry/sdk-trace-node (source) ^1.24.0 -> ^1.25.1 age adoption passing confidence dependencies minor
@opentelemetry/semantic-conventions (source) ^1.24.0 -> ^1.25.1 age adoption passing confidence dependencies minor
@prisma/client (source) ^5.13.0 -> ^5.17.0 age adoption passing confidence dependencies minor
@sapphire/discord.js-utilities (source) ^7.2.0 -> ^7.3.0 age adoption passing confidence dependencies minor
@sapphire/framework (source) ^5.1.0 -> ^5.2.1 age adoption passing confidence dependencies minor
@swc/core (source) ^1.4.17 -> ^1.6.13 age adoption passing confidence devDependencies minor
@types/node (source) ^20.12.7 -> ^20.14.11 age adoption passing confidence devDependencies minor
@typescript-eslint/eslint-plugin (source) ^7.8.0 -> ^7.16.1 age adoption passing confidence devDependencies minor
@typescript-eslint/parser (source) ^7.8.0 -> ^7.16.1 age adoption passing confidence devDependencies minor
@vitest/coverage-istanbul (source) ^1.5.2 -> ^1.6.0 age adoption passing confidence devDependencies minor
discord.js (source) ^14.14.1 -> ^14.15.3 age adoption passing confidence dependencies minor
eslint-plugin-prettier ^5.1.3 -> ^5.2.1 age adoption passing confidence devDependencies minor
googleapis ^135.0.0 -> ^135.1.0 age adoption passing confidence dependencies minor
husky ^9.0.11 -> ^9.1.0 age adoption passing confidence devDependencies minor
lint-staged ^15.2.2 -> ^15.2.7 age adoption passing confidence devDependencies patch
meilisearch ^0.38.0 -> ^0.41.0 age adoption passing confidence dependencies minor
node (source) 20.12.2 -> 20.15.1 age adoption passing confidence volta minor
node 20.12.2-alpine3.19 -> 20.15.1-alpine3.19 age adoption passing confidence final minor
prettier (source) ^3.2.5 -> ^3.3.3 age adoption passing confidence devDependencies minor
prisma (source) ^5.13.0 -> ^5.17.0 age adoption passing confidence devDependencies minor
tsup (source) ^8.0.2 -> ^8.1.2 age adoption passing confidence devDependencies minor
typescript (source) ^5.4.5 -> ^5.5.3 age adoption passing confidence devDependencies minor
vitepress (source) ^1.1.4 -> ^1.3.1 age adoption passing confidence devDependencies minor
vitest (source) ^1.5.2 -> ^1.6.0 age adoption passing confidence devDependencies minor
yarn (source) 4.1.1 -> 4.3.1 age adoption passing confidence packageManager minor
yarn (source) 4.1.1 -> 4.3.1 age adoption passing confidence volta minor
zod (source) ^3.23.5 -> ^3.23.8 age adoption passing confidence dependencies patch

Release Notes

open-telemetry/opentelemetry-js (@​opentelemetry/api) ### [`v1.9.0`](https://togithub.com/open-telemetry/opentelemetry-js/blob/HEAD/CHANGELOG.md#190) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-js/compare/v1.8.0...v1.9.0) ##### :rocket: (Enhancement) - feat(instrumentation-grpc): set net.peer.name and net.peer.port on client spans [#​3430](https://togithub.com/open-telemetry/opentelemetry-js/pull/3430) - feat(exporter-trace-otlp-proto): Add protobuf otlp trace exporter support for browser [#​3208](https://togithub.com/open-telemetry/opentelemetry-js/pull/3208) [@​pkanal](https://togithub.com/pkanal) ##### :bug: (Bug Fix) - fix(sdk-metrics): use default Resource to comply with semantic conventions [#​3411](https://togithub.com/open-telemetry/opentelemetry-js/pull/3411) [@​pichlermarc](https://togithub.com/pichlermarc) - Metrics exported by the SDK now contain the following resource attributes by default: - `service.name` - `telemetry.sdk.name` - `telemetry.sdk.language` - `telemetry.sdk.version` - fix(sdk-metrics): use Date.now() for instrument recording timestamps [#​3514](https://togithub.com/open-telemetry/opentelemetry-js/pull/3514) [@​MisterSquishy](https://togithub.com/MisterSquishy) - fix(sdk-trace): make spans resilient to clock drift [#​3434](https://togithub.com/open-telemetry/opentelemetry-js/pull/3434) [@​dyladan](https://togithub.com/dyladan) - fix(selenium-tests): updated webpack version for selenium test issue [#​3456](https://togithub.com/open-telemetry/opentelemetry-js/issues/3456) [@​SaumyaBhushan](https://togithub.com/SaumyaBhushan) - fix(sdk-metrics): collect metrics when periodic exporting metric reader flushes [#​3517](https://togithub.com/open-telemetry/opentelemetry-js/pull/3517) [@​legendecas](https://togithub.com/legendecas) - fix(sdk-metrics): fix duplicated registration of metrics for collectors [#​3488](https://togithub.com/open-telemetry/opentelemetry-js/pull/3488) [@​legendecas](https://togithub.com/legendecas) - fix(core): fix precision loss in numberToHrtime [#​3480](https://togithub.com/open-telemetry/opentelemetry-js/pull/3480) [@​legendecas](https://togithub.com/legendecas) ##### :house: (Internal) - chore: automatically generate tsconfigs [#​3432](https://togithub.com/open-telemetry/opentelemetry-js/pull/3432) [@​legendecas](https://togithub.com/legendecas) - chore: enforce format with prettier [#​3444](https://togithub.com/open-telemetry/opentelemetry-js/pull/3444) [@​legendecas](https://togithub.com/legendecas)
prisma/prisma (@​prisma/client) ### [`v5.17.0`](https://togithub.com/prisma/prisma/releases/tag/5.17.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/prisma/prisma/issues/23736) ##### Prisma - [Prisma generate option --allow-no-models doesn't work.](https://togithub.com/prisma/prisma/issues/24737) ##### Language tools (e.g. VS Code) - [LSP Rename incorrectly maps field name and appends character](https://togithub.com/prisma/language-tools/issues/1771) ##### Credits Huge thanks to [@​key-moon](https://togithub.com/key-moon), [@​pranayat](https://togithub.com/pranayat), [@​yubrot](https://togithub.com/yubrot), [@​skyzh](https://togithub.com/skyzh) for helping! ### [`v5.16.2`](https://togithub.com/prisma/prisma/releases/tag/5.16.2) [Compare Source](https://togithub.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://togithub.com/prisma/prisma/issues/24673) ### [`v5.16.1`](https://togithub.com/prisma/prisma/releases/tag/5.16.1) [Compare Source](https://togithub.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://togithub.com/prisma/prisma/issues/24634) - [Prisma Seed Script Fails After Upgrading to v5.16.0 (DATABASE_URL Error)](https://togithub.com/prisma/prisma/issues/24658) ### [`v5.16.0`](https://togithub.com/prisma/prisma/releases/tag/5.16.0) [Compare Source](https://togithub.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://togithub.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 `OrderByWithRelationInput` TypeScript type with the `OrderByWithRelationAndSearchRelevanceInput` type. However, we have noted that there are no cases where relational ordering is needed but search relevance is not. Thus, we have decided to remove the `OrderByWithRelationAndSearchRelevanceInput` naming and only use the `OrderByWithRelationInput` naming. ##### Fixes and improvements ##### Prisma - [Wrong Parameterized Types Sent for SQL Server Queries](https://togithub.com/prisma/prisma/issues/17565) - [`Prisma has no exported member named OrderByWithRelationInput. Did you mean OrderByWithAggregationInput?`](https://togithub.com/prisma/prisma/issues/21017) - [\[Driver Adapters\]: missing provider compatibility validation](https://togithub.com/prisma/prisma/issues/21864) - [Disable "Start using Prisma Client" hint logs on `prisma generate`](https://togithub.com/prisma/prisma/issues/22513) - [Deploying prisma to CloudFlare pages using Nuxt/Nitro and node-postgres (pg) is using the wrong(vercel) wasm path](https://togithub.com/prisma/prisma/issues/23500) - [`@prisma/adapter-pg` modifies node-postgres global type parsers](https://togithub.com/prisma/prisma/issues/23505) - [@​prisma/adapter-d1 is failing with an import error when called inside vitest tests](https://togithub.com/prisma/prisma/issues/23911) - [`db pull` fails with `[libs\user-facing-errors\src\quaint.rs:136:18] internal error: entered unreachable code` on invalid credentials](https://togithub.com/prisma/prisma/issues/24268) ##### Language tools (e.g. VS Code) - [Make prisma-fmt logs to work with language server](https://togithub.com/prisma/language-tools/issues/1193) - [Spans and positions get shifted out of sync when schema includes multibyte characters](https://togithub.com/prisma/language-tools/issues/1308) - [VSCode extension panics when opening an empty prisma schema](https://togithub.com/prisma/language-tools/issues/1760) ##### Prisma Engines - [\[DA\] Planetscale engine tests: one2m_mix_required_writable_readable](https://togithub.com/prisma/prisma-engines/issues/4482) - [\[DA\] Planetscale engine tests: apply_number_ops](https://togithub.com/prisma/prisma-engines/issues/4485) ##### Credits Huge thanks to [@​key-moon](https://togithub.com/key-moon), [@​pranayat](https://togithub.com/pranayat), [@​yubrot](https://togithub.com/yubrot), [@​skyzh](https://togithub.com/skyzh), [@​brian-dlee](https://togithub.com/brian-dlee), [@​mydea](https://togithub.com/mydea), [@​nickcarnival](https://togithub.com/nickcarnival), [@​eruditmorina](https://togithub.com/eruditmorina), [@​nzakas](https://togithub.com/nzakas), [@​gutyerrez](https://togithub.com/gutyerrez), [@​avallete](https://togithub.com/avallete), [@​ceddy4395](https://togithub.com/ceddy4395), [@​Kayoshi-dev](https://togithub.com/Kayoshi-dev), [@​yehonatanz](https://togithub.com/yehonatanz) for helping! ### [`v5.15.1`](https://togithub.com/prisma/prisma/releases/tag/5.15.1) [Compare Source](https://togithub.com/prisma/prisma/compare/5.15.0...5.15.1) Today, we are issuing the `5.15.1` patch release. ##### Fixes in Prisma Client - [internal error: entered unreachable code](https://togithub.com/prisma/prisma/issues/23407) - [Got error 'internal error: entered unreachable code' when trying to perform an upsert.](https://togithub.com/prisma/prisma/issues/22947) - [Prisma Client errors on SQLite with internal error: entered unreachable code when running 2 concurrent upsert ](https://togithub.com/prisma/prisma/issues/22725) - [`ConnectionError(Timed out during query execution.)` during seeding](https://togithub.com/prisma/prisma/issues/21772) - [SQLite timeouts after upgrade from prisma 2 to prisma 4](https://togithub.com/prisma/prisma/issues/17029) - [`ConnectionError(Timed out during query execution.)` error when using `Promise.all` for SQLite](https://togithub.com/prisma/prisma/issues/11789) - [Improve the error when SQLite database file is locked](https://togithub.com/prisma/prisma/issues/10403) - [sqlite timeout error multiple queries run one after another](https://togithub.com/prisma/prisma/issues/10306) - [SQLite times out during query execution when using `Promise.all()` / concurrent](https://togithub.com/prisma/prisma/issues/9562) - [internal error: entered unreachable code](https://togithub.com/prisma/prisma/issues/24511) ### [`v5.15.0`](https://togithub.com/prisma/prisma/releases/tag/5.15.0) [Compare Source](https://togithub.com/prisma/prisma/compare/5.14.0...5.15.0) Today, we are excited to share the `5.15.0` stable release 🎉 🌟 **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.15.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.15.0) about the release.** 🌟 ##### **Highlights** ##### Multi-File Prisma Schema support Prisma ORM 5.15.0 features support for multi-file Prisma Schema in Preview. This closes [a long standing issue](https://togithub.com/prisma/prisma/issues/2377) and does so in a clean and easy to migrate way. To get started: 1. Enable the `prismaSchemaFolder` Preview feature by including it in the `previewFeatures` field of your `generator`. ```prisma datasource db { provider = "postgresql" url = env("DATABASE_URL") } generator client { provider = "prisma-client-js" previewFeatures = ["prismaSchemaFolder"] } ``` 2. Create a `schema` subdirectory under your `prisma` directory. 3. Move your `schema.prisma` into this directory. You are now set up with a multi-file Prisma Schema! Add as many or as few `.prisma` files to the new `prisma/schema` directory. When running commands where a Prisma Schema file is expected to be provided, you can now define a Prisma Schema directory. This includes Prisma CLI commands that use the `--schema` option as well as defining schema via `package.json` Our tooling has also been updated to handle multiple Prisma Schema files. This includes our Visual Studio Code extension and tools like database introspection, which will deposit new models in a `introspected.prisma` file. Existing models will be updated in the file they are found. To learn more, please refer to our official documentation and [announcement blog post](https://www.prisma.io/blog/organize-your-prisma-schema-with-multi-file-support). If you try out `prismaSchemaFolder`, please [let us know](https://togithub.com/prisma/prisma/discussions/24413)! ##### Interesting Bug Fixes ##### Fix for PostgreSQL prepared statement caching for raw queries This release fixes a [nasty bug with the caching of prepared statements](https://togithub.com/prisma/prisma/issues/22482) in [raw Prisma Client queries](https://www.prisma.io/docs/orm/prisma-client/queries/raw-database-access/raw-queries) that affected PostgreSQL when you ran the same SQL statement with differently typed paramters. This should not fail any more. ##### Fix for SQL Server introspection of (deprecated) **`CREATE DEFAULT`** Our Introspection logic [crashed](https://togithub.com/prisma/prisma/issues/24275) on encountering certain multi-line `CREATE DEFAULT`, a [deprecated way to define defaults in SQL Server](https://learn.microsoft.com/en-us/sql/t-sql/statements/create-default-transact-sql?view=sql-server-ver15). As many SQL Server users are working with established databases, this happened frequently enough that we now explicitly ignore these defaults instead of crashing. ##### Fix for Cloudflare D1’s lower parameter limit Cloudflare’s D1 has a lower parameter limit than local SQLite, which caused [bigger queries to fail](https://togithub.com/prisma/prisma/issues/23743). We adapted that limit to the D1 default for `@prisma/adapter-d1`, which will avoid such failures. ##### Fix for Cloudflare D1’s different `PRAGMA` support Our generated migration SQL for SQLite [did not always work for Cloudflare D1](https://togithub.com/prisma/prisma/issues/24208), because of differences in the supported pragmas. We adapted the SQL to work in both local SQLite and Cloudflare D1. ##### Fixes and improvements ##### Prisma Migrate - [Crash on multiline defaults introspection on MSSQL](https://togithub.com/prisma/prisma/issues/10123) - [Error: \[libs\sql-schema-describer\src\mssql.rs:315:30\] called `Result::unwrap()` on an `Err` value: "Couldn't parse default value: `create default [dbo].[member_notification_cancel_flags] as 0\r\n`" ](https://togithub.com/prisma/prisma/issues/10740) - [Error: \[libs\sql-schema-describer\src\mssql.rs:315:30\] called `Result::unwrap()` on an `Err` value: "Couldn't parse default value: ` create default d_password as 'D,73' `" ](https://togithub.com/prisma/prisma/issues/11010) - [Crash introspecting MSSQL database with `DEFAULT`s](https://togithub.com/prisma/prisma/issues/11557) - [doing introspection on a SQL Server 2018 DB - for Dynamic GP get the following error.](https://togithub.com/prisma/prisma/issues/14200) - [Error: \[libs\sql-schema-describer\src\mssql.rs:317:30\] called `Result::unwrap()` on an `Err` value: "Couldn't parse default value: `\r\ncreate default D_BIT_OFF\r\nas 0\r\n`" ](https://togithub.com/prisma/prisma/issues/15704) - [Error: called `Result::unwrap()` on an `Err` value: "Couldn't parse default value in SQL Server](https://togithub.com/prisma/prisma/issues/17069) - [db pull errors on SQL Server with ` Error: [libs\sql-schema-describer\src\mssql.rs:336:30] called `Result::unwrap()`on an`Err` value: "Couldn't parse default value: [...] `](https://togithub.com/prisma/prisma/issues/17104) - [Error: \[libs\sql-schema-describer\src\mssql.rs:336:30\] called `Result::unwrap()` on an `Err` value: "Couldn't parse default value: `\r\ncreate default [va_nulla] as 0\r\n`" ](https://togithub.com/prisma/prisma/issues/17292) - [Error when pulling from database](https://togithub.com/prisma/prisma/issues/19971) - [Foreign key relation results in erroneous second migration](https://togithub.com/prisma/prisma/issues/23043) - [`db pull` can't parse script setting default value](https://togithub.com/prisma/prisma/issues/23453) - [Bug: Migrations not compatible with D1](https://togithub.com/prisma/prisma/issues/24208) - [SQL Server Introspection crashes on multi-line (deprecated) defaults](https://togithub.com/prisma/prisma/issues/24275) ##### Prisma Client - [Raw query failed. Code: `22P03`. Message: `db error: ERROR: incorrect binary data format in bind parameter 1`](https://togithub.com/prisma/prisma/issues/16611) - [Float number on raw query: `incorrect binary data format in bind parameter 1`](https://togithub.com/prisma/prisma/issues/17110) - [Can't use Prisma client in Next.js middleware, even when deploying to Node.js](https://togithub.com/prisma/prisma/issues/21310) - [Prepared statement caching is data dependent on numeric input parameters (`incorrect binary data format in bind parameter x`)](https://togithub.com/prisma/prisma/issues/22482) - [Turso Driver Adapter: Including `_count` leads to error](https://togithub.com/prisma/prisma/issues/23566) - [Next.js app build fails when using Prisma with DB driver in Server Action](https://togithub.com/prisma/prisma/issues/23600) - [Bug: \[D1\] Error in performIO: Error: D1\_ERROR: too many SQL variables](https://togithub.com/prisma/prisma/issues/23743) - [Remove `warn(prisma-client) This is the 10th instance of Prisma Client being started.` warning in Edge (and potentially) other envs)](https://togithub.com/prisma/prisma/issues/23763) - [$executeRawUnsafe: `incorrect binary data format in bind parameter 6`](https://togithub.com/prisma/prisma/issues/23872) - [Bug: Error or bug using Prisma with DriverAdapter with PostgreSQL database Neon](https://togithub.com/prisma/prisma/issues/23903) - [`Inconsistent column data: Unexpected conversion failure from Number to BigInt` error when using `@prisma/adapter-pg` ](https://togithub.com/prisma/prisma/issues/23926) - [Incompatibility with NextJS app dir, CloudFlare Pages and D1](https://togithub.com/prisma/prisma/issues/23929) - [Breaking change? `Int` switched to being `Int32` for MongoDB](https://togithub.com/prisma/prisma/issues/24262) ##### Language tools (e.g. VS Code) - [VS Code extension is showing an advertisement](https://togithub.com/prisma/language-tools/issues/1732) - [`Generate` codelens fails on Windows](https://togithub.com/prisma/language-tools/issues/1738) - [We incorrectly read commented out preview features if they are before the real preview features](https://togithub.com/prisma/language-tools/issues/1741) ##### Credits Huge thanks to [@​pranayat](https://togithub.com/pranayat), [@​yubrot](https://togithub.com/yubrot), and [@​skyzh](https://togithub.com/skyzh) for helping! ### [`v5.14.0`](https://togithub.com/prisma/prisma/releases/tag/5.14.0) [Compare Source](https://togithub.com/prisma/prisma/compare/5.13.0...5.14.0) Today, we are excited to share the `5.14.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.14.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.14.0) about the release.** 🌟 ##### Highlights ##### Share your feedback about Prisma ORM We want to know how you like working with Prisma ORM in your projects! Please [take our 2min survey](https://pris.ly/orm/survey/release-5-14) and let us know what you like or where we can improve 🙏 ##### `createManyAndReturn()` We’re happy to announce the availability of a new, top-level Prisma Client query: `createManyAndReturn()`. It works similarly to `createMany()` but uses a `RETURNING` clause in the SQL query to retrieve the records that were just created. Here’s an example of creating multiple posts and then immediately returning those posts. ```tsx const postBodies = req.json()['posts'] const posts = prisma.post.createManyAndReturn({ data: postBodies }); return posts ``` Additionally,`createManyAndReturn()` supports the same options as `findMany()`, such as the ability to return only specific fields. ```tsx const postBodies = req.json()['posts'] const postTitles = prisma.post.createManyAndReturn({ data: postBodies, select: { title: true, }, }); return postTitles ``` **Note**: Because `createManyAndReturn()` uses the `RETURNING` clause, it is only supported by PostgreSQL, CockroachDB, and SQLite databases. At this time, `relationLoadStrategy: join` is not supported in `createManyAndReturn()` queries. ##### MongoDB performance improvements Previously, Prisma ORM suffered from performance issues when using the `in` operator or when including related models in queries against a MongoDB database. These queries were translated by the Prisma query engine in such a way that indexes were skipped and collection scans were used, leading to slower queries especially on large datasets. With 5.14.0, Prisma ORM now rewrites queries to use a combination of `$or` and `$eq` operators, leading to dramatic performance increases for queries that include `in` operators or relation loading. ##### Fixes and improvements ##### Prisma Client - [`createMany()` should return the created records](https://togithub.com/prisma/prisma/issues/8131) - [Generating Prisma client without any model in its schema](https://togithub.com/prisma/prisma/issues/11582) - [MongoDB: Performance issue with nested `take` on many-to-one relationship](https://togithub.com/prisma/prisma/issues/13865) - [Slow queries on MongoDB using `include` for relations](https://togithub.com/prisma/prisma/issues/15156) - [\[MongoDB\] Performance issue in `findMany()` query execution with `in`](https://togithub.com/prisma/prisma/issues/15983) - [MongoDB nested/`include` query slow](https://togithub.com/prisma/prisma/issues/17142) - [MongoDB Connector generates queries which do not take advantage of indices.](https://togithub.com/prisma/prisma/issues/17396) - [Mongodb Nested Queries Not Using Indexes](https://togithub.com/prisma/prisma/issues/18025) - [MongoDB slow delete with `onDelete: SetNull`](https://togithub.com/prisma/prisma/issues/19169) - [Slow query with many-to-one relationship on MongoDB](https://togithub.com/prisma/prisma/issues/20600) - [`prisma init --with-model`](https://togithub.com/prisma/prisma/issues/20915) - [Fixed version of `@opentelemetry/*` dependencies](https://togithub.com/prisma/prisma/issues/21473) - [Usage of deprecated punycode module](https://togithub.com/prisma/prisma/issues/21644) - [Bug: D1 One-to-Many Relation INSERTs fail with `The required connected records were not found.` when using indices](https://togithub.com/prisma/prisma/issues/23902) ##### Prisma Migrate - [Empty `dbgenerated()` still breaking for `Unsupported()` types](https://togithub.com/prisma/prisma/issues/15654) - [Validation error when `shadowDatabaseUrl` is identical to `url` (or `directUrl`)](https://togithub.com/prisma/prisma/issues/16628) - [MongoDB Query with 'in' condition will cause COLLSCAN, without leveraging indexes](https://togithub.com/prisma/prisma/issues/19955) - ["Not Authorised" when directly applying Prisma generated migrations to Cloudflare D1 with `PRAGMA foreign_key_check;`](https://togithub.com/prisma/prisma/issues/23827) ##### Language tools (e.g. VS Code) - [make superior: model generate](https://togithub.com/prisma/language-tools/issues/1651) - [Missing code autocomplete for referential actions with mongodb](https://togithub.com/prisma/language-tools/issues/1676) ##### Company news ##### Prisma Changelog Curious about all things Prisma? Be sure to check out the [Prisma Changelog](https://www.prisma.io/changelog) for updates across Prisma's products, including ORM, Accelerate, and Pulse! ##### Credits Huge thanks to [@​pranayat](https://togithub.com/pranayat), [@​yubrot](https://togithub.com/yubrot), [@​skyzh](https://togithub.com/skyzh), [@​anuraaga](https://togithub.com/anuraaga), [@​gutyerrez](https://togithub.com/gutyerrez), [@​avallete](https://togithub.com/avallete), [@​ceddy4395](https://togithub.com/ceddy4395), [@​Kayoshi-dev](https://togithub.com/Kayoshi-dev) for helping!
sapphiredev/utilities (@​sapphire/discord.js-utilities) ### [`v7.3.0`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities730---2024-06-03) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/discord.js-utilities@7.2.1...@sapphire/discord.js-utilities@7.3.0) #### 📝 Documentation - **discord.js-utilities:** Fix tsdoc comments ([04bc8e2](https://togithub.com/sapphiredev/utilities/commit/04bc8e220134ab6a576ccdb664f4fb9f8353a089)) - **discord.js-utilities:** Fix tsdoc comment ([6f16000](https://togithub.com/sapphiredev/utilities/commit/6f160008982285f49f57811de5668a3648babb27)) - **discord.js-utilities:** Fix tsdoc comments ([ea3f3d6](https://togithub.com/sapphiredev/utilities/commit/ea3f3d65b3635abdb5862985f0771d9c8e6e2fba)) #### 🚀 Features - **discord.js-utilities:** Add attachment type guards ([4660670](https://togithub.com/sapphiredev/utilities/commit/466067022153e31ed50ff9a9bc6c6948a9afd12d)) ### [`v7.2.1`](https://togithub.com/sapphiredev/utilities/blob/HEAD/packages/discord.js-utilities/CHANGELOG.md#sapphirediscordjs-utilities721---2024-05-06) [Compare Source](https://togithub.com/sapphiredev/utilities/compare/@sapphire/discord.js-utilities@7.2.0...@sapphire/discord.js-utilities@7.2.1) #### 🐛 Bug Fixes - **PaginatedMessage:** Fix support for discordjs 14.5.2 ([07a0cfa](https://togithub.com/sapphiredev/utilities/commit/07a0cfa2d93dd7f45f72e27e4c51ba0fdbf2d7be))
sapphiredev/framework (@​sapphire/framework) ### [`v5.2.1`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#521---2024-05-06) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v5.2.0...v5.2.1) #### 🐛 Bug Fixes - **permissions:** Add permissions added by DJS 14.5.2 ([7d6a301](https://togithub.com/sapphiredev/framework/commit/7d6a3015009364cce300730099d1552ee3bb616a)) - **deps:** Update all non-major dependencies ([22f7729](https://togithub.com/sapphiredev/framework/commit/22f7729ce60fed7be1bda45272288862c76120d8)) ### [`v5.2.0`](https://togithub.com/sapphiredev/framework/blob/HEAD/CHANGELOG.md#520---2024-05-02) [Compare Source](https://togithub.com/sapphiredev/framework/compare/v5.1.0...v5.2.0) #### 🚀 Features - **command:** Add rawName property ([#​751](https://togithub.com/sapphiredev/framework/issues/751)) ([70e1465](https://togithub.com/sapphiredev/framework/commit/70e1465ed2e2a516d9510b651ff06facfc285010))
swc-project/swc (@​swc/core) ### [`v1.6.13`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1613---2024-07-06) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.12...v1.6.13) ##### Bug Fixes - **(es/parser)** Revert [#​9141](https://togithub.com/swc-project/swc/issues/9141) ([#​9171](https://togithub.com/swc-project/swc/issues/9171)) ([8b66d5e](https://togithub.com/swc-project/swc/commit/8b66d5e89b3489da0339de33a439ba365a60d2ce)) - **(es/testing)** Fix `PluginCommentProxy` ([#​9170](https://togithub.com/swc-project/swc/issues/9170)) ([d86ca2d](https://togithub.com/swc-project/swc/commit/d86ca2d49ec72614ec8c2493a28f27267e6f8b8f)) ##### Features - **(es/typescript)** Improve fast TS strip ([#​9166](https://togithub.com/swc-project/swc/issues/9166)) ([ee8dc28](https://togithub.com/swc-project/swc/commit/ee8dc28d4d5399b1996bc0eba066270a582d04b6)) - **(es/typescript)** Improve fast TS strip ([#​9167](https://togithub.com/swc-project/swc/issues/9167)) ([98af589](https://togith

Configuration

📅 Schedule: Branch creation - "before 10am on Saturday" (UTC), 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.