Skip to content

Commit

Permalink
chore(deps): update prisma to v5.18.0 (#2492)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@prisma/client](https://www.prisma.io)
([source](https://togithub.com/prisma/prisma/tree/HEAD/packages/client))
| [`5.16.1` ->
`5.18.0`](https://renovatebot.com/diffs/npm/@prisma%2fclient/5.16.1/5.18.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2fclient/5.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2fclient/5.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2fclient/5.16.1/5.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2fclient/5.16.1/5.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [prisma](https://www.prisma.io)
([source](https://togithub.com/prisma/prisma/tree/HEAD/packages/cli)) |
[`5.16.1` ->
`5.18.0`](https://renovatebot.com/diffs/npm/prisma/5.16.1/5.18.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prisma/5.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prisma/5.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prisma/5.16.1/5.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prisma/5.16.1/5.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prisma/prisma (@&#8203;prisma/client)</summary>

### [`v5.18.0`](https://togithub.com/prisma/prisma/releases/tag/5.18.0)

[Compare
Source](https://togithub.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@&#8203;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 @&#8203;id @&#8203;default(uuid()) // defaults to 4
  name String
}

model User {
  id   String @&#8203;id @&#8203;default(uuid(4)) // same as above, but explicit
  name String
}

model User {
  id   String @&#8203;id @&#8203;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://togithub.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://togithub.com/prisma/prisma/issues/22923)

##### Fixes and improvements

##### Prisma

-   [Support UUID v7](https://togithub.com/prisma/prisma/issues/24079)

##### Language tools (e.g. VS Code)

- [Support fetching references for a
model](https://togithub.com/prisma/language-tools/issues/982)

##### Credits

Huge thanks to [@&#8203;mcuelenaere](https://togithub.com/mcuelenaere),
[@&#8203;pagewang0](https://togithub.com/pagewang0),
[@&#8203;Druue](https://togithub.com/Druue),
[@&#8203;key-moon](https://togithub.com/key-moon),
[@&#8203;Jolg42](https://togithub.com/Jolg42),
[@&#8203;pranayat](https://togithub.com/pranayat),
[@&#8203;ospfranco](https://togithub.com/ospfranco),
[@&#8203;yubrot](https://togithub.com/yubrot),
[@&#8203;skyzh](https://togithub.com/skyzh),
[@&#8203;haaawk](https://togithub.com/haaawk) for helping!

### [`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@&#8203;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 [@&#8203;key-moon](https://togithub.com/key-moon),
[@&#8203;pranayat](https://togithub.com/pranayat),
[@&#8203;yubrot](https://togithub.com/yubrot),
[@&#8203;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)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the
month" (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.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/JabRef/JabRefOnline).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Aug 12, 2024
1 parent 3057ece commit 3eafe35
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@nuxtjs/tailwindcss": "6.12.1",
"@pinia/nuxt": "0.5.2",
"@popperjs/core": "2.11.8",
"@prisma/client": "5.16.1",
"@prisma/client": "5.18.0",
"@variantjs/core": "0.0.90",
"@variantjs/vue": "0.0.22",
"@vee-validate/zod": "4.13.2",
Expand Down Expand Up @@ -147,7 +147,7 @@
"postinstall-postinstall": "2.1.0",
"prettier": "^3.3.2",
"prettier-plugin-organize-imports": "^4.0.0",
"prisma": "5.16.1",
"prisma": "5.18.0",
"storybook": "7.6.17",
"storybook-vue-addon": "^0.4.0",
"tailwindcss": "3.4.4",
Expand Down
76 changes: 38 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3eafe35

Please sign in to comment.