Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 21, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@prisma/adapter-neon (source) 5.9.1 -> 5.10.1 age adoption passing confidence
@prisma/client (source) 5.9.1 -> 5.10.1 age adoption passing confidence
@storybook/addon-a11y (source) 7.6.16 -> 7.6.17 age adoption passing confidence
@storybook/addon-essentials (source) 7.6.16 -> 7.6.17 age adoption passing confidence
@storybook/addon-interactions (source) 7.6.16 -> 7.6.17 age adoption passing confidence
@storybook/addon-links (source) 7.6.16 -> 7.6.17 age adoption passing confidence
@storybook/addon-viewport (source) 7.6.16 -> 7.6.17 age adoption passing confidence
@storybook/blocks (source) 7.6.16 -> 7.6.17 age adoption passing confidence
@storybook/nextjs (source) 7.6.16 -> 7.6.17 age adoption passing confidence
@storybook/react (source) 7.6.16 -> 7.6.17 age adoption passing confidence
@vercel/analytics (source) 1.2.1 -> 1.2.2 age adoption passing confidence
dotenv 16.4.4 -> 16.4.5 age adoption passing confidence
i18next-http-backend 2.4.3 -> 2.5.0 age adoption passing confidence
nanoid 5.0.5 -> 5.0.6 age adoption passing confidence
prisma (source) 5.9.1 -> 5.10.1 age adoption passing confidence
storybook (source) 7.6.16 -> 7.6.17 age adoption passing confidence

Release Notes

prisma/prisma (@​prisma/adapter-neon)

v5.10.1

Compare Source

Today, we are issuing the 5.10.1 patch release.

Fix in Prisma Client / Prisma CLI

v5.10.0

Compare Source

Today, we are excited to share the 5.10.0 stable release 🎉

🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.

Highlights

Optimized relation queries in MySQL (Preview)

This release brings the optimizations for relation queries from the previous releases to MySQL as well! This means that by enabling the relationJoins Preview feature with the mysql database provider, you now also get access to the relationLoadStrategy option in relation queries that let you choose whether you want to merged relations on the application- or database-level.

If you enable the relationJoins Preview feature, you can choose between the join and query options:

  • join (default): Sends a single query to the database and joins the data on the database-level.
  • query: Sends multiple queries to the database and joins the data on the application-level.

To get started, enable the Preview feature in your Prisma schema:

// schema.prisma
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["relationJoins"]
}

Be sure to re-generate Prisma Client afterwards:

npx prisma generate

And finally, specify the relation loading strategy for your relation query via the relationLoadStrategy option as follows:

await prisma.user.findMany({
  relationLoadStrategy: 'join', // or 'query' 
  include: {
    posts: true,
  },
})

Note that in the example above, the relationLoadStrategy could be omitted altogether because join is used as the default value.

A few notes about relationLoadStrategy support on MySQL:

  • relationLoadStrategy is supported for MySQL v8.0.14 and higher. MariaDB is not supported.
  • Prisma ORM uses correlated sub-queries for MySQL (as opposed to LATERAL JOINs which are used on PostgreSQL).
Configure transaction options in the PrismaClient constructor

This feature enables you to configure the following transaction options on a global level via the PrismaClient constructor:

  • isolationLevel: Sets the transaction isolation level. By default, this is set to the value currently configured in your database.
  • timeout: The maximum amount of time the interactive transaction can run before being canceled and rolled back. The default value is 5 seconds.
  • maxWait: The maximum amount of time Prisma Client will wait to acquire a transaction from the database. The default value is 2 seconds.

Here is an example of how you can set this value globally for all transactions:

const prisma = new PrismaClient({
  transactionOptions: {
    isolationLevel: 'ReadCommitted',
    timeout: 1_000, // 1 sec
    maxWait: 2_000  // 2 sec
  }
})

Thanks a lot to our fantastic community member @tockn, who took the initiative to implement this feature in Prisma ORM 🎉

Note that you can still override the global values by setting them on a particular transaction.

New P2037 code for “Too many database connections opened” errors

We introduced a new error code for “Too many database connections opened” errors: P2037. You can find all error codes in our documentation.

Access the Prisma Data Platform via Prisma CLI

Now available in Early Access, you can manage your workspace and configure Prisma Accelerate and Prisma Pulse directly from the terminal.

Visit our docs to learn more about the integration and try it out for yourself!

Fixes and improvements

Prisma Client
storybookjs/storybook (@​storybook/addon-a11y)

v7.6.17

Compare Source

storybookjs/storybook (@​storybook/addon-essentials)

v7.6.17

Compare Source

storybookjs/storybook (@​storybook/addon-interactions)

v7.6.17

Compare Source

vercel/analytics (@​vercel/analytics)

v1.2.2

Compare Source

What's Changed

Full Changelog: vercel/analytics@1.2.1...1.2.2

motdotla/dotenv (dotenv)

v16.4.5

Compare Source

Changed
  • 🐞 fix recent regression when using path option. return to historical behavior: do not attempt to auto find .env if path set. (regression was introduced in 16.4.3) #​814
i18next/i18next-http-backend (i18next-http-backend)

v2.5.0

Compare Source

  • added fetch interceptor to the Backend Options 133
ai/nanoid (nanoid)

v5.0.6

Compare Source

  • Fixed React Native support.
storybookjs/storybook (storybook)

v7.6.17

Compare Source


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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

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

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot requested a review from JoeKarow as a code owner February 21, 2024 16:19
@renovate renovate bot added automerge Enable Kodiak auto-merge dependencies Change in project dependencies. labels Feb 21, 2024
Copy link

vercel bot commented Feb 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
glaad ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2024 4:21pm

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@prisma/adapter-neon@5.10.1 Transitive: environment, network +5 4.46 MB prismabot
npm/@prisma/client@5.10.1 environment, filesystem, shell 0 8.56 MB prismabot
npm/@storybook/addon-a11y@7.6.17 None +3 2.49 MB shilman
npm/@storybook/addon-essentials@7.6.17 Transitive: environment, eval, filesystem, network, shell, unsafe +182 42.8 MB shilman
npm/@storybook/addon-interactions@7.6.17 Transitive: environment, filesystem +28 11.2 MB shilman
npm/@storybook/addon-links@7.6.17 environment, eval +2 379 kB shilman
npm/@storybook/addon-viewport@7.6.17 None 0 16.5 kB shilman
npm/@storybook/blocks@7.6.17 eval Transitive: environment, filesystem, network, shell, unsafe +113 28.1 MB shilman
npm/@storybook/nextjs@7.6.17 Transitive: environment, eval, filesystem, network, shell, unsafe +288 35.6 MB alexandrebodin, amalik2, dandean, ...23 more
npm/@storybook/react@7.6.17 Transitive: environment, eval, filesystem, network, shell, unsafe +77 20.3 MB shilman
npm/@vercel/analytics@1.2.2 None 0 190 kB chriswdmr, ijjk, matheuss, ...6 more
npm/dotenv@16.4.5 environment, filesystem 0 79.1 kB motdotla
npm/i18next-http-backend@2.5.0 Transitive: network +1 201 kB adrai, jamuhl

🚮 Removed packages: npm/@prisma/adapter-neon@5.9.1, npm/@prisma/client@5.9.1, npm/@storybook/addon-a11y@7.6.16, npm/@storybook/addon-essentials@7.6.16, npm/@storybook/addon-interactions@7.6.16, npm/@storybook/addon-links@7.6.16, npm/@storybook/addon-viewport@7.6.16, npm/@storybook/blocks@7.6.16, npm/@storybook/nextjs@7.6.16, npm/@storybook/react@7.6.16, npm/@vercel/analytics@1.2.1, npm/dotenv@16.4.4, npm/i18next-http-backend@2.4.3

View full report↗︎

Copy link

📦 Next.js Bundle Analysis for @weareinreach/glaad

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@kodiakhq kodiakhq bot merged commit 186c415 into dev Feb 21, 2024
23 checks passed
@kodiakhq kodiakhq bot deleted the renovate/all-minor-patch branch February 21, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Enable Kodiak auto-merge dependencies Change in project dependencies.
Development

Successfully merging this pull request may close these issues.

1 participant