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 #565

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/eslint-parser (source) 7.25.9 -> 7.26.5 age adoption passing confidence
@hookform/devtools (source) 4.3.1 -> 4.3.3 age adoption passing confidence
@hookform/resolvers (source) 3.9.1 -> 3.10.0 age adoption passing confidence
@prisma/client (source) 6.0.0 -> 6.2.1 age adoption passing confidence
@storybook/addon-actions (source) 8.4.6 -> 8.5.0 age adoption passing confidence
@storybook/addon-essentials (source) 8.4.6 -> 8.5.0 age adoption passing confidence
@storybook/addon-links (source) 8.4.6 -> 8.5.0 age adoption passing confidence
@storybook/react (source) 8.4.6 -> 8.5.0 age adoption passing confidence
@tailwindcss/typography 0.5.15 -> 0.5.16 age adoption passing confidence
@tanstack/react-query (source) 5.62.0 -> 5.64.1 age adoption passing confidence
@tanstack/react-query-devtools (source) 5.62.0 -> 5.64.1 age adoption passing confidence
@testing-library/react 16.0.1 -> 16.2.0 age adoption passing confidence
@types/react (source) 18.3.12 -> 18.3.18 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) 8.16.0 -> 8.20.0 age adoption passing confidence
@typescript-eslint/parser (source) 8.16.0 -> 8.20.0 age adoption passing confidence
@vitest/ui (source) 2.1.6 -> 2.1.8 age adoption passing confidence
c8 10.1.2 -> 10.1.3 age adoption passing confidence
daisyui (source) 4.12.14 -> 4.12.23 age adoption passing confidence
eslint (source) 9.16.0 -> 9.18.0 age adoption passing confidence
eslint-config-next (source) 15.0.3 -> 15.1.5 age adoption passing confidence
jotai 2.10.3 -> 2.11.0 age adoption passing confidence
msw (source) 2.6.6 -> 2.7.0 age adoption passing confidence
next-auth (source) 4.24.10 -> 4.24.11 age adoption passing confidence
postcss (source) 8.4.47 -> 8.5.1 age adoption passing confidence
postcss (source) 8.4.49 -> 8.5.1 age adoption passing confidence
prettier (source) 3.4.1 -> 3.4.2 age adoption passing confidence
prisma (source) 6.0.0 -> 6.2.1 age adoption passing confidence
react-hook-form (source) 7.53.2 -> 7.54.2 age adoption passing confidence
sort-package-json 2.12.0 -> 2.14.0 age adoption passing confidence
tailwindcss (source) 3.4.15 -> 3.4.17 age adoption passing confidence
typescript (source) 5.7.2 -> 5.7.3 age adoption passing confidence
vite (source) 6.0.1 -> 6.0.7 age adoption passing confidence
vitest (source) 2.1.6 -> 2.1.8 age adoption passing confidence
yup 1.4.0 -> 1.6.1 age adoption passing confidence

Release Notes

babel/babel (@​babel/eslint-parser)

v7.26.5

Compare Source

👓 Spec Compliance
🐛 Bug Fix
🔬 Output optimization
react-hook-form/devtools (@​hookform/devtools)

v4.3.3: Version 4.3.3

Compare Source

  • fix #​216 dev tool freeze app issue

v4.3.2: Version 4.3.2

Compare Source

  • update react 19 support support
react-hook-form/resolvers (@​hookform/resolvers)

v3.10.0

Compare Source

Features
prisma/prisma (@​prisma/client)

v6.2.1

Compare Source

Today we are releasing the 6.2.1 patch release to address an issue with some of the omitApi preview feature checks having been accidentally omitted when making the feature GA. Now it is fully functional without the preview feature flag.

Changes

v6.2.0

Compare Source

Today we're releasing Prisma ORM version 6.2.0 🎉

🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟

We have a number of new features in this version, including support for json and enum fields in SQLite, a new updateManyAndReturn function, support for ULID values, as well as the promotion of the omit feature from Preview to Generally Availability.

Highlights

Excluding fields via omit is now production-ready

Our number one requested feature is out of Preview and Generally Available. In 6.2.0, you no longer need to add omitApi to your list of Preview features:

generator client {
  provider        = "prisma-client-js"
- previewFeatures = ["omitApi"]
}

As a refresher: omit allows you to exclude certain fields from being returned in the results of your Prisma Client queries.

You can either do this locally, on a per-query level:

const result = await prisma.user.findMany({
  omit: {
    password: true,
  },
});

Or globally, to ensure a field is excluded from all queries of a certain model:

const prisma = new PrismaClient({
  omit: {
    user: {
      password: true
    }
  }
})

// The password field is excluded in all queries, including this one
const user = await prisma.user.findUnique({ where: { id: 1 } })

For more information on omit, be sure to check our documentation.

json and enum fields in SQLite

Previous to this version, you could not define json and enum fields in your Prisma schema when using SQLite. The respective GitHub issues have been among the most popular ones in our repo, so with our new approach to open-source governance, we finally got to work and implemented these.

Working with JSON and Enum fields works similarly to other database providers, here’s an example:

datasource db {
  provider = "sqlite"
  url      = "file:./dev.db"
}

model User {
  id   Int    @​id @​default(autoincrement())
  name String
  role Role  
  data Json
}

enum Role {
  Customer
  Admin 
}
Support for auto-generated ULID values

Similar to cuid2 support released in ORM version 6.0.0, we are now adding support for Universally Unique Lexicographically Sortable Identifiers (or short: ULIDs 😄) in version 6.2.0. A ULID value is a 26-character alphanumeric string, e.g. 01GZ0GZ3XARH8ZP44A7TQ2W4ZD.

With this new feature, you can now create records with auto-generated ULID values for String fields:

model User {
  id String @​id @​default(ulid())  
}
New batch function: updateManyAndReturn

updateMany allows you to update many records in your database, but it only returns the count of the affected rows, not the resulting rows themselves. With updateManyAndReturn you are now able to achieve this:

const users = await prisma.user.updateManyAndReturn({
  where: {
    email: {
      contains: 'prisma.io',
    }
  },
  data: {
    role: 'ADMIN'
  }
})

This call to updateManyAndReturn will now return the actual records that have been updated in the query:

[{
  id: 22,
  name: 'Alice',
  email: '[email protected]',
  profileViews: 0,
  role: 'ADMIN',
  coinflips: []
}, {
  id: 23,
  name: 'Bob',
  email: '[email protected]',
  profileViews: 0,
  role: 'ADMIN',
  coinflips: []
}]

Please note that like createManyAndReturn, updateManyAndReturn is only supported in PostgreSQL, CockroachDB, and SQLite.

Fixed runtime error in Node.js v23

While not officially supported, we understand that a lot of you like to be on the latest Node.js version — so we fixed an error that only occurred on Node.js 23. Happy coding ✌️

Prisma is hiring 🤝

Join us at Prisma to work on the most popular TypeScript ORM and other exciting products like the first serverless database built on unikernels!

We currently have two open roles in our Engineering team:

If these don’t fit, you can still check out our jobs page and send a general application.

v6.1.0

Compare Source

Today we're releasing Prisma ORM version 6.1.0

In this version our tracing Preview feature is being graduated to GA!

Highlights
Tracing goes GA

The tracing Preview feature is now stable. You now no longer have to include tracing in your set of enabled preview features.

generator client {
   provider        = "prisma-client-js"
-  previewFeatures = ["tracing"]
}

We have also changed some of the spans generated by Prisma Client. Previously, a trace would report the following spans:

prisma:client:operation
prisma:client:serialize
prisma:engine
prisma:engine:connection
prisma:engine:db_query
prisma:engine:serialize

Now, the following are reported:

prisma:client:operation
prisma:client:serialize
prisma:engine:query
prisma:engine:connection
prisma:engine:db_query
prisma:engine:serialize
prisma:engine:response_json_serialization

Additionally, we have made a few changes to our dependencies:

  • @opentelemetry/api is now a peer dependency instead of a regular dependency
  • registerInstrumentations in @opentelemetry/instrumentation is now re-exported by @prisma/instrumentation

After upgrading to Prisma ORM 6.1.0 you will need to add @opentelemetry/api to your dependencies if you haven't already:

npm install @​opentelemetry/api

You will also no longer need to have @opentelemetry/instrumentation if you only use registerInstrumentations. In this case you can import registerInstrumentations from @prisma/instrumentation

- import { PrismaInstrumentation } from '@​prisma/instrumentation'
+ import { PrismaInstrumentation, registerInstrumentations } from '@​prisma/instrumentation'
Bug fixes
Tracing related

As we're moving our tracing preview to GA, a number of issues have been resolved. Here are a few highlights:

Other issues

We also have a number of other issues that were resolved outside of our tracing feature.

Fixes and improvements
Prisma
Prisma Client

v6.0.1

Compare Source

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

v8.5.0

Compare Source

Storybook 8.5 is packed with powerful features to enhance your development workflow. This release makes it easier than ever to build accessible, well-tested UIs. Here’s what’s new:

  • 🦾 Realtime accessibility tests to help build UIs for everybody
  • 🛡️ Project code coverage to measure the completeness of your tests
  • 🎯 Focused tests for faster test feedback
  • ⚛️ React Native Web Vite framework (experimental) for testing mobile UI⚛️
  • 🎁 Storybook test early access program to level up your testing game
  • 💯 Hundreds more improvements
List of all updates

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 906c926 to bdc8683 Compare September 16, 2024 01:51
@renovate renovate bot changed the title chore(deps): update dependency msw to v2.4.7 chore(deps): update all non-major dependencies Sep 16, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 16 times, most recently from 05b4c40 to 51acf68 Compare September 22, 2024 07:24
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 03b05a2 to 98a3f64 Compare September 24, 2024 15:13
@renovate renovate bot changed the title chore(deps): update all non-major dependencies fix(deps): update all non-major dependencies Sep 24, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from 27e7901 to 31587ae Compare October 1, 2024 18:57
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from e2b28db to a49b9f9 Compare December 27, 2024 15:34
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 5d3ff49 to d94a7ba Compare January 4, 2025 13:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 638a4e3 to 5307b1f Compare January 13, 2025 16:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 3dbb3c7 to cd31de3 Compare January 16, 2025 01:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from cd31de3 to 9f6b6ff Compare January 17, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants