Skip to content

Commit

Permalink
fix(deps): update all non-major dependencies (#378)
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/adapter-neon](https://togithub.com/prisma/prisma) ([source](https://togithub.com/prisma/prisma/tree/HEAD/packages/adapter-neon)) | [`5.11.0` -> `5.12.0`](https://renovatebot.com/diffs/npm/@prisma%2fadapter-neon/5.11.0/5.12.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2fadapter-neon/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2fadapter-neon/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2fadapter-neon/5.11.0/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2fadapter-neon/5.11.0/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@prisma/client](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma/tree/HEAD/packages/client)) | [`5.11.0` -> `5.12.0`](https://renovatebot.com/diffs/npm/@prisma%2fclient/5.11.0/5.12.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2fclient/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2fclient/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2fclient/5.11.0/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2fclient/5.11.0/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.12.2` -> `20.12.3`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.2/20.12.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.12.2/20.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.12.2/20.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.73` -> `18.2.74`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.73/18.2.74) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.74?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.74?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.73/18.2.74?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.73/18.2.74?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [eslint-plugin-turbo](https://togithub.com/vercel/turbo) ([source](https://togithub.com/vercel/turbo/tree/HEAD/packages/eslint-plugin-turbo)) | [`1.13.1` -> `1.13.2`](https://renovatebot.com/diffs/npm/eslint-plugin-turbo/1.13.1/1.13.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-turbo/1.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-turbo/1.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-turbo/1.13.1/1.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-turbo/1.13.1/1.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [listr2](https://togithub.com/listr2/listr2) | [`8.1.3` -> `8.2.0`](https://renovatebot.com/diffs/npm/listr2/8.1.3/8.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/listr2/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/listr2/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/listr2/8.1.3/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/listr2/8.1.3/8.2.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.11.0` -> `5.12.0`](https://renovatebot.com/diffs/npm/prisma/5.11.0/5.12.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prisma/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prisma/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prisma/5.11.0/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prisma/5.11.0/5.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [turbo](https://turbo.build/repo) ([source](https://togithub.com/vercel/turbo)) | [`1.13.1` -> `1.13.2`](https://renovatebot.com/diffs/npm/turbo/1.13.1/1.13.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/turbo/1.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/turbo/1.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/turbo/1.13.1/1.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/turbo/1.13.1/1.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>prisma/prisma (@&#8203;prisma/adapter-neon)</summary>

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

[Compare Source](https://togithub.com/prisma/prisma/compare/5.11.0...5.12.0)

Today, we are excited to share the `5.12.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@&#8203;prisma%20release%20v5.12.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.12.0) about the release.**

#### Highlights

##### Cloudflare D1 (Preview)

This release brings Preview support for [Cloudflare D1](https://developers.cloudflare.com/d1/) with Prisma ORM 🥳

D1 is Cloudflare’s SQLite database that can be used when deploying applications with Cloudflare.

When using Prisma ORM with D1, you can continue to: model your database with Prisma schema language, specify `sqlite` as your database provider in your Prisma schema, and interact with your database using Prisma Client.

To use Prisma ORM and D1 on Cloudflare Workers or Cloudflare Pages, you need to set `sqlite` as your database provider and use the `@prisma/adapter-d1` database adapter via the `driverAdapters` Preview feature, released back in version [5.4.0](https://togithub.com/prisma/prisma/releases/tag/5.4.0).

Here is an example of sending a query to your D1 database using Prisma Client in your Worker:

```ts
// src/index.ts file
import { PrismaClient } from '@&#8203;prisma/client'
import { PrismaD1 } from '@&#8203;prisma/adapter-d1'

// Add the D1Database to the Env interface
export interface Env {
// This must match the binding name defined in your wrangler.toml configuration
  DB: D1Database
}

export default {
  async fetch(
    request: Request,
    env: Env,
    ctx: ExecutionContext
  ): Promise<Response> {
    // Make sure the database name matches the binding name in wrangler.toml and Env interface
    const adapter = new PrismaD1(env.DB)
    // Instantiate PrismaClient using the PrismaD1 driver adapter
    const prisma = new PrismaClient({ adapter })

    const users = await prisma.user.findMany()
    const result = JSON.stringify(users)
    return new Response(result)
  },
}
```

📚 **Documentation:** [Deploying a Cloudflare worker with D1 and Prisma ORM](https://prisma.io/docs/orm/overview/databases/cloudflare-d1#how-to-connect-to-d1-in-cloudflare-workers-or-cloudflare-pages)

✍️ **Blog post:** [Build Applications at the Edge with Prisma ORM & Cloudflare D1 (Preview)](https://www.prisma.io/blog/build-applications-at-the-edge-with-prisma-orm-and-cloudflare-d1-preview)

📣 **Share your feedback:** [D1 Driver Adapter](https://togithub.com/prisma/prisma/discussions/23646)

🚀 **Example project:** [Deploy a Cloudflare Worker with D1](https://togithub.com/prisma/prisma-examples/tree/latest/deployment-platforms/edge/cloudflare-workers/with-d1)

##### `createMany()` for SQLite

Bringing support for `createMany()` in SQLite has been a [long-awaited and highly requested feature](https://togithub.com/prisma/prisma/issues/10710) ⭐

`createMany()` is a method on Prisma Client, released back in version [2.16.0](https://togithub.com/prisma/prisma/releases/tag/2.16.0), that lets you insert multiple records into your database at once. This can be really useful when seeding your database or inserting bulk data.

Here is an example of using `createMany()` to create new users:

```ts
const users = await prisma.user.createMany({
  data: [
    { name: 'Sonali', email: 'sonali@prisma.io' },
    { name: 'Alex', email: 'alex@prisma.io' },
    { name: 'Yewande', email: 'yewande@prisma.io' },
    { name: 'Angelina', email: 'angelina@prisma.io' },
  ],
})
```

Before this release, if you wanted to perform bulk inserts with SQLite, you would have most likely used `$queryRawUnsafe` to execute raw SQL queries. But now you don’t have to go through all that trouble 🙂

With SQLite, `createMany()` works exactly the same way from an API standpoint as it does with other databases except it does not support the `skipDuplicates` option. At the behavior level, SQLite will split `createMany()` entries into multiple `INSERT` queries when the model in your schema contains fields with attributes like `@default(dbgenerated())` or `@default(autoincrement())`  and when the fields are not consistently provided with values across the entries.

📚**Documentation:** [`createMany()` - Prisma Client API Reference](https://www.prisma.io/docs/orm/reference/prisma-client-reference#createmany)

#### Fixes and Improvements

##### Prisma Client

-   [N+1 Issue with `Decimal` data type and combining queries (batching)](https://togithub.com/prisma/prisma/issues/5952)
-   [Batched `findUnique()`  error out when the field is of `Boolean` type](https://togithub.com/prisma/prisma/issues/22384)
-   [`relationJoins` MySQL converts nested Decimal to float](https://togithub.com/prisma/prisma/issues/23233)
-   [Unexpected query leading to querying full table when using batched `findUnique()`](https://togithub.com/prisma/prisma/issues/23343)
-   [`node-postgres` (pg) errors with misleading `P2010 PrismaClientKnownRequestError` when using `@prisma/adapter-pg` with SSL (`?sslmode=require`)](https://togithub.com/prisma/prisma/issues/23390)
-   [D1 DateTime type does not work](https://togithub.com/prisma/prisma/issues/23479)

#### Credits

Huge thanks to [@&#8203;yubrot](https://togithub.com/yubrot), [@&#8203;skyzh](https://togithub.com/skyzh), [@&#8203;anuraaga](https://togithub.com/anuraaga), [@&#8203;onichandame](https://togithub.com/onichandame), [@&#8203;LucianBuzzo](https://togithub.com/LucianBuzzo), [@&#8203;RobertCraigie](https://togithub.com/RobertCraigie), [@&#8203;arthurfiorette](https://togithub.com/arthurfiorette), [@&#8203;elithrar](https://togithub.com/elithrar) for helping!

</details>

<details>
<summary>vercel/turbo (eslint-plugin-turbo)</summary>

### [`v1.13.2`](https://togithub.com/vercel/turbo/releases/tag/v1.13.2): Turborepo v1.13.2

[Compare Source](https://togithub.com/vercel/turbo/compare/v1.13.1...v1.13.2)



##### What's Changed

##### Examples

-   Update TS module resolutions in examples. by [@&#8203;anthonyshew](https://togithub.com/anthonyshew) in [vercel/turbo#7872

**Full Changelog**: vercel/turbo@v1.13.1...v1.13.2

</details>

<details>
<summary>listr2/listr2 (listr2)</summary>

### [`v8.2.0`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.2.0)

[Compare Source](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.1.3...listr2@&#8203;8.2.0)

### listr2 [8.2.0](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.1.3...listr2@&#8203;8.2.0) (2024-04-02)

##### Features

-   expose root/subtask through listr and use it directly ([c5f8cab](https://togithub.com/listr2/listr2/commit/c5f8cab2d91877e825f8cf51080b926a3a2dcafc))

</details>

<details>
<summary>vercel/turbo (turbo)</summary>

### [`v1.13.2`](https://togithub.com/vercel/turbo/compare/v1.13.1...v1.13.2)

[Compare Source](https://togithub.com/vercel/turbo/compare/v1.13.1...v1.13.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday,before 4am on Thursday" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

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

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/weareinreach/GLAAD).



PR-URL: #378
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
kodiakhq[bot] and renovate[bot] committed Apr 2, 2024
2 parents c1f5c87 + 1080d2c commit 467e4ea
Show file tree
Hide file tree
Showing 2 changed files with 280 additions and 280 deletions.
16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -41,8 +41,8 @@
"@mantine/next": "6.0.21",
"@neondatabase/serverless": "0.9.0",
"@next/bundle-analyzer": "14.1.4",
"@prisma/adapter-neon": "5.11.0",
"@prisma/client": "5.11.0",
"@prisma/adapter-neon": "5.12.0",
"@prisma/client": "5.12.0",
"@tabler/icons-react": "2.47.0",
"@tanstack/react-query": "4.36.1",
"@tanstack/react-query-devtools": "4.36.1",
Expand Down Expand Up @@ -84,8 +84,8 @@
"@storybook/testing-library": "0.2.2",
"@tomfreudenberg/next-auth-mock": "0.5.6",
"@types/luxon": "3.4.2",
"@types/node": "20.12.2",
"@types/react": "18.2.73",
"@types/node": "20.12.3",
"@types/react": "18.2.74",
"@types/react-dom": "18.2.23",
"@types/umami": "0.1.5",
"@types/ws": "8.5.10",
Expand All @@ -106,21 +106,21 @@
"eslint-plugin-node": "npm:eslint-plugin-n@16.6.2",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-turbo": "1.13.1",
"eslint-plugin-turbo": "1.13.2",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"listr2": "8.1.3",
"listr2": "8.2.0",
"luxon": "3.4.4",
"merge-anything": "5.1.7",
"prettier": "3.2.5",
"prettier-plugin-jsdoc": "1.3.0",
"prettier-plugin-packagejson": "2.4.14",
"prettier-plugin-prisma": "5.0.0",
"prisma": "5.11.0",
"prisma": "5.12.0",
"react-docgen-typescript": "2.2.2",
"storybook": "7.6.17",
"tsx": "4.7.1",
"turbo": "1.13.1",
"turbo": "1.13.2",
"type-fest": "4.14.0",
"typescript": "5.4.3"
},
Expand Down

0 comments on commit 467e4ea

Please sign in to comment.