freeCodeCamp / chapter

A self-hosted event management tool for nonprofits
BSD 3-Clause "New" or "Revised" License
1.92k stars 357 forks source link

fix(deps): update prisma monorepo to v4.12.0 #2525

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@prisma/client (source) 4.11.0 -> 4.12.0 age adoption passing confidence
prisma (source) 4.11.0 -> 4.12.0 age adoption passing confidence

Release Notes

prisma/prisma ### [`v4.12.0`](https://togithub.com/prisma/prisma/releases/tag/4.12.0) [Compare Source](https://togithub.com/prisma/prisma/compare/4.11.0...4.12.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%20v4.12.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/4.12.0) about the release.** ๐ŸŒŸ #### Highlights ##### Introspection of Views SQL improvements (Preview) The `views` Preview feature significantly improved this release: `prisma db pull` now reads the SQL query used to define a view and stores it in a `.sql` file in a `views` folder next to your Prisma schema. > Note: These `.sql` files are not yet used for creating or updating views during migrations yet. For now, we are only looking for feedback. Let us know if the introspected SQL files match the views picked up in your database and if the correct files were created in your filesystem. We encourage you to leave feedback in this [GitHub issue](https://togithub.com/prisma/prisma/issues/17335). ##### Improvements to JSON protocol (Early Preview) In [4.11.0](https://togithub.com/prisma/prisma/releases/tag/4.11.0), we announced the `jsonProtocol` Preview feature which had some rough edges. This release improves the Preview feature by providing polished and helpful error messages from Prisma Client when something goes wrong. Here is an example error message: ![](https://user-images.githubusercontent.com/33921841/228188282-9198b378-1cba-4e59-9334-76df5549f599.png) We would appreciate it if you would try it out to help us polish the feature and move it to General Availability. Testing it requires little effort. Please also leave any feedback in [this issue](https://togithub.com/prisma/prisma/issues/18095), or open a new one if you want to [report a bug](https://togithub.com/prisma/prisma/issues/new?assignees=\&labels=kind/bug\&template=bug_report.yml). ##### Prisma Client startup performance In this release, we've improved the startup performance of Prisma Client. We're keen on improving the performance of Prisma Client. If you experience any problems with the startup performance, be sure to [report them](https://togithub.com/prisma/prisma/issues/new?assignees=\&labels=kind/bug\&template=bug_report.yml) so that we can look into them. ##### Open Telemetry tracing and logging for Prisma Client for Data Proxy This release adds support for [Open Telemetry tracing](https://www.prisma.io/docs/concepts/components/prisma-client/opentelemetry-tracing) (via the `tracing` Preview feature) and [logging](https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/logging) to [Prisma Client for Data Proxy](https://www.prisma.io/docs/data-platform/data-proxy/use-data-proxy#generate-prisma-client-for-the-data-proxy). #### Fixes and improvements ##### Prisma Migrate - [Certain types of schema changes don't work with CockroachDB v22.2](https://togithub.com/prisma/prisma/issues/16909) - [Completions: provided by engines break right at the start of a newline](https://togithub.com/prisma/prisma/issues/17000) - [`db pull` fail with particular enum default value in column](https://togithub.com/prisma/prisma/issues/17047) - [Unable to reset CockroachDB for table with foreign key relationship on v22.2.](https://togithub.com/prisma/prisma/issues/17055) - [Introspection of SQLite views](https://togithub.com/prisma/prisma/issues/17416) - [Changing the Column Type to Enum on a model throws an error](https://togithub.com/prisma/prisma/issues/17930) - [Introspection of the view definition statement](https://togithub.com/prisma/prisma/issues/18366) - [MySQL multi-value index removes the primary key on introspection](https://togithub.com/prisma/prisma/issues/18471) ##### Prisma Client - [`findUnique` used with `Promise.all` returns `null`](https://togithub.com/prisma/prisma/issues/18096) - [Missing `PrismaPromise` export after update from 4.9.0 to 4.11.0](https://togithub.com/prisma/prisma/issues/18143) - [jsonProtocol doesn't query enum fields by default](https://togithub.com/prisma/prisma/issues/18148) - [Prisma 4.11 breaks multilevel relation with compound primary keys (typings)](https://togithub.com/prisma/prisma/issues/18173) - [4.11.0: `Unique constraint failed on the fields` on query that worked in 4.10.1](https://togithub.com/prisma/prisma/issues/18186) - [`jsonProtocol` Field/Enum is not included in the result of the findFirst/findMany function](https://togithub.com/prisma/prisma/issues/18200) - [Too many records are returned in 4.11.0 when using nested include and @​unique field is null](https://togithub.com/prisma/prisma/issues/18351) - [Objects with computed properties returned from an extended prisma client return true for any property name when calling hasOwn or hasOwnProperty on it](https://togithub.com/prisma/prisma/issues/18462) ##### Language tools (e.g. VS Code) - [Completions: suggest `type` block for MongoDB](https://togithub.com/prisma/language-tools/issues/1368) - [Remove datasource completions](https://togithub.com/prisma/language-tools/issues/1384) #### Credits Huge thanks to [@​KhooHaoYit](https://togithub.com/KhooHaoYit), [@​rintaun](https://togithub.com/rintaun), [@​ivan](https://togithub.com/ivan), [@​art049](https://togithub.com/art049) for helping! #### ๐Ÿ“บ Join us for another "What's new in Prisma" live stream Learn about the latest release and other news from the Prisma community by joining us for another ["What's new in Prisma"](https://youtube.com/playlist?list=PLn2e1F9Rfr6l1B9RP0A9NdX7i7QIWfBa7) live stream. The stream takes place [on YouTube](https://youtu.be/Ls4qDhRuyko) on **Thursday, March 30** at **5 pm Berlin | 8 am San Francisco**.

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Enabled.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

ghost commented 1 year ago
๐Ÿ‘‡ Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/freeCodeCamp/chapter/2525/2aeec165/2c04466b49b46ed3e12aac177cbd8633af57171f.svg)](https://app.codesee.io/r/reviews?pr=2525&src=https%3A%2F%2Fgithub.com%2FfreeCodeCamp%2Fchapter) #### Legend CodeSee Map legend
socket-security[bot] commented 1 year ago

New dependency changes detected. Learn more about Socket for GitHub โ†—๏ธŽ


๐Ÿ‘ No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

Pull request alert summary
Issue Status
Install scripts โœ… 0 issues
Native code โœ… 0 issues
Bin script shell injection โœ… 0 issues
Unresolved require โœ… 0 issues
Invalid package.json โœ… 0 issues
HTTP dependency โœ… 0 issues
Git dependency โœ… 0 issues
Potential typo squat โœ… 0 issues
Known Malware โœ… 0 issues
Telemetry โœ… 0 issues
Protestware/Troll package โœ… 0 issues

๐Ÿ“Š Modified Dependency Overview:

๐Ÿšฎ Removed packages: @prisma/client@4.11.0, prisma@4.11.0