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

Update all dependencies #43

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Update all dependencies #43

merged 1 commit into from
Sep 23, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 19, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@neondatabase/serverless (source) 0.9.1 -> 0.9.5 age adoption passing confidence dependencies patch
@prisma/adapter-neon (source) 5.12.1 -> 5.19.1 age adoption passing confidence dependencies minor
@prisma/client (source) 5.12.1 -> 5.19.1 age adoption passing confidence dependencies minor
@radix-ui/react-avatar (source) 1.0.4 -> 1.1.0 age adoption passing confidence dependencies minor
@radix-ui/react-separator (source) 1.0.3 -> 1.1.0 age adoption passing confidence dependencies minor
@radix-ui/react-tabs (source) 1.0.4 -> 1.1.0 age adoption passing confidence dependencies minor
@types/aws-lambda (source) 8.10.137 -> 8.10.145 age adoption passing confidence devDependencies patch
@types/jsdom (source) 21.1.6 -> 21.1.7 age adoption passing confidence dependencies patch
@types/node (source) 20.12.7 -> 20.16.5 age adoption passing confidence devDependencies minor
@types/react (source) 18.2.79 -> 18.3.8 age adoption passing confidence devDependencies minor
@types/react-dom (source) 18.2.25 -> 18.3.0 age adoption passing confidence devDependencies minor
@types/ws (source) 8.5.10 -> 8.5.12 age adoption passing confidence devDependencies patch
@vercel/analytics (source) 1.2.2 -> 1.3.1 age adoption passing confidence dependencies minor
@vercel/speed-insights (source) 1.0.10 -> 1.0.12 age adoption passing confidence dependencies patch
autoprefixer 10.4.19 -> 10.4.20 age adoption passing confidence devDependencies patch
clsx 2.1.0 -> 2.1.1 age adoption passing confidence dependencies patch
dayjs (source) 1.11.10 -> 1.11.13 age adoption passing confidence dependencies patch
esbuild ^0.20.0 -> ^0.24.0 age adoption passing confidence devDependencies minor
eslint (source) ^9.0.0 -> ^8.57.0 age adoption passing confidence devDependencies patch
eslint-config-next (source) 14.2.2 -> 14.2.13 age adoption passing confidence devDependencies patch
eslint-plugin-jsx-a11y 6.8.0 -> 6.10.0 age adoption passing confidence devDependencies minor
eslint-plugin-prettier 5.1.3 -> 5.2.1 age adoption passing confidence devDependencies minor
eslint-plugin-react 7.34.1 -> 7.36.1 age adoption passing confidence devDependencies minor
eslint-plugin-react-hooks (source) 4.6.0 -> 4.6.2 age adoption passing confidence devDependencies patch
geist (source) 1.3.0 -> 1.3.1 age adoption passing confidence dependencies patch
glob ^11.0.0 -> ^10.4.5 age adoption passing confidence devDependencies minor
jsdom ^25.0.0 -> ^24.0.0 age adoption passing confidence dependencies minor
lucide-react (source) ^0.371.0 -> ^0.445.0 age adoption passing confidence dependencies minor
postgres 16.2-alpine -> 16.4-alpine age adoption passing confidence minor
prettier (source) 3.2.5 -> 3.3.3 age adoption passing confidence devDependencies minor
prisma (source) 5.12.1 -> 5.19.1 age adoption passing confidence devDependencies minor
react (source) 18.2.0 -> 18.3.1 age adoption passing confidence dependencies minor
react-dom (source) 18.2.0 -> 18.3.1 age adoption passing confidence dependencies minor
serverless ^4.0.0 -> ^3.38.0 age adoption passing confidence devDependencies minor
serverless-esbuild (source) 1.52.1 -> 1.53.0 age adoption passing confidence devDependencies minor
sharp (source, changelog) 0.33.3 -> 0.33.5 age adoption passing confidence dependencies patch
tailwind-merge 2.2.2 -> 2.5.2 age adoption passing confidence dependencies minor
tailwindcss (source) 3.4.3 -> 3.4.13 age adoption passing confidence devDependencies patch
typescript (source) 5.4.5 -> 5.6.2 age adoption passing confidence devDependencies minor
vitest (source) ^2.0.0 -> ^1.5.0 age adoption passing confidence devDependencies minor
vitest-mock-extended ^2.0.0 -> ^1.3.1 age adoption passing confidence devDependencies patch
zod (source) 3.22.4 -> 3.23.8 age adoption passing confidence dependencies minor

Release Notes

neondatabase/serverless (@​neondatabase/serverless)

v0.9.5

Compare Source

v0.9.4

Compare Source

v0.9.3

Compare Source

Expose all error information fields on NeonDbError objects thrown when using the http fetch transport.

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

v5.19.1

Compare Source

Today, we are issuing the 5.19.1 patch release.

What's Changed

We've fixed the following issues:

Full Changelog: prisma/prisma@5.19.0...5.19.x, prisma/prisma-engines@5.19.0...5.19.x

v5.19.0

Compare Source

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

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

Highlights

Introducing TypedSQL

TypedSQL is a brand new way to interact with your database from Prisma Client. After enabling the typedSql Preview feature, you’re able to write SQL queries in a new sql subdirectory of your prisma directory. These queries are then checked by Prisma during using the new --sql flag of prisma generate and added to your client for use in your code.

To get started with TypedSQL:

  1. Make sure that you have the latest version of prisma and @prisma/client installed:

    npm install -D prisma@latest
    npm install @​prisma/client@latest
    
  2. Enable the typedSql Preview feature in your Prisma Schema.

       generator client {
         provider = "prisma-client-js"
         previewFeatures = ["typedSql"]
       }
    
  3. Create a sql subdirectory of your prisma directory.

    mkdir -p prisma/sql
    
  4. You can now add .sql files to the sql directory! Each file can contain one sql query and the name must be a valid JS identifier. For this example, say you had the file getUsersWithPosts.sql with the following contents:

    SELECT u.id, u.name, COUNT(p.id) as "postCount"
    FROM "User" u
    LEFT JOIN "Post" p ON u.id = p."authorId"
    GROUP BY u.id, u.name
  5. Import your SQL query into your code with the @prisma/client/sql import:

       import { PrismaClient } from '@​prisma/client'
       import { getUsersWithPosts } from '@​prisma/client/sql'
    
       const prisma = new PrismaClient()
    
       const usersWithPostCounts = await prisma.$queryRawTyped(getUsersWithPosts)
       console.log(usersWithPostCounts)

There’s a lot more to talk about with TypedSQL. We think that the combination of the high-level Prisma Client API and the low-level TypedSQL will make for a great developer experience for all of our users.

To learn more about behind the “why” of TypedSQL be sure to check out our announcement blog post.

For docs, check out our new TypedSQL section.

Bug fixes

Driver adapters and D1

A few issues with our driverAdapters Preview feature and Cloudflare D1 support were resolved via https://github.com/prisma/prisma-engines/pull/4970 and https://github.com/prisma/prisma/pull/24922

  • Mathematic operations such as max, min, eq, etc in queries when using Cloudflare D1.
  • Resolved issues when comparing BigInt IDs when relationMode="prisma" was enabled and Cloudflare D1 was being used.
Joins
MongoDB

The MongoDB driver for Rust (that our query engine users under the hood) had behavior that prioritized IPv4 connections over IPv6 connections. In IPv6-only environments, this could lead to significant "cold starts" where the query engine had to wait for IPv4 to fail before the driver would try IPv6.

With help from the MongoDB team, this has been resolved. The driver will now try IPv4 and IPv6 connections in parallel and then move forward with the first response. This should prevent cold start issues that have been seen with MongoDB in Prisma Accelerate.

Thank you to the MongoDB team!

Join us

Looking to make an impact on Prisma in a big way? We're now hiring engineers for the ORM team!

  • Senior Engineer (TypeScript): This person will be primarily working on the TypeScript side and evolving our Prisma client. Rust knowledge (or desire to learn Rust) is a plus.
  • Senior Engineer (Rust): This person will be focused on the prisma-engines Rust codebase. TypeScript knowledge (or, again, a desire to learn) is a plus.

Credits

Huge thanks to @​mcuelenaere, @​pagewang0, @​Druue, @​key-moon, @​Jolg42, @​pranayat, @​ospfranco, @​yubrot, @​skyzh for helping!

v5.18.0

Compare Source

🌟 Help us spread the word about Prisma by starring the repo or tweeting 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.

model User {
  id   String @​id @​default(uuid()) // defaults to 4
  name String
}

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

model User {
  id   String @​id @​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:

Fixes and improvements

Prisma
Language tools (e.g. VS Code)

Share your feedback about Prisma ORM

We want to know how you like working with Prisma ORM in your projects! Please take our 2min survey and let us know what you like or where we can improve 🙏

Credits

Huge thanks to @​mcuelenaere, @​pagewang0, @​Druue, @​key-moon, @​Jolg42, @​pranayat, @​ospfranco, @​yubrot, @​skyzh, @​haaawk for helping!

v5.17.0

Compare Source

🌟 Help us spread the word about Prisma by starring the repo or tweeting 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

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

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)

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
Prisma
Language tools (e.g. VS Code)

Credits

Huge thanks to @​key-moon, @​pranayat, @​yubrot, @​skyzh for helping!

v5.16.2

Compare Source

Today, we are issuing the 5.16.2 patch release to fix an issue in Prisma client.

Fix in Prisma Client

v5.16.1

Compare Source

Today, we are issuing the 5.16.1 patch release to fix an issue in Prisma client.

Fix in Prisma Client

v5.16.0

Compare Source

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

Highlights

Omit model fields globally

With Prisma ORM 5.16.0 we’re more than happy to announce that we’re expanding the omitApi Preview feature to also include the ability to omit fields globally.

When the Preview feature is enabled, you’re able to define fields to omit when instantiating Prisma Client.

const prisma = new PrismaClient({
  omit: {
    user: {
      // make sure that password is never queried.
      password: true,
    },
  },
});

You’re also able to omit fields from multiple models and multiple fields from the same model

const prisma = new PrismaClient({
  omit: {
    user: { 
      // make sure that password and internalId are never queried.
      password: true,
      internalId: true,
    },
    post: {
      secretkey: true,
    },
  },
});

With both local and global omit, you now have the flexibility to completely remove sensitive fields while also tailoring individual queries. If you need the ability to generally omit a field except in a specific query, you can also overwrite a global omit locally

const prisma = new PrismaClient({
  omit: {
    user: { 
      // password is omitted globally.
      password: true,
    },
  },
});

const userWithPassword = await prisma.user.findUnique({
  omit: { password: false }, // omit now false, so password is returned
  where: { id: 1 },
});
Changes to prismaSchemaFolder

In 5.15.0 we released the prismaSchemaFolder Preview feature, allowing you to create multiple Prisma Schema files in a prisma/schema directory. We’ve gotten a lot of great feedback and are really excited with how the community has been using the feature.

To continue improving our multi-file schema support, we have a few breaking changes to the prismaSchemaFolder feature:

  • When using relative paths in Prisma Schema files with the prismaSchemaFolder feature, a path is now relative to the file it is defined in rather than relative to the prisma/schema folder. This means that if you have a generator block in /project/prisma/schema/config/generator.prisma with an output of ./foo the output will be resolved to /project/prisma/schema/config/foo rather than /project/prisma/foo. The path to a SQLite file will be resolved in the same manner.
  • We realized that during migration many people would have prisma/schema as well as prisma/schema.prisma. Our initial implementation looked for a .prisma file first and would ignore the schema folder if it exists. This is now an error.
Changes to fullTextSearch

In order to improve our full-text search implementation we have made a breaking change to the fullTextSearch Preview feature.

Previously, when the feature was enabled we updated the <Model>OrderByWithRelationInput TypeScript type with the <Model>OrderByWithRelationAndSearchRelevanceInput type. However, we have noted that there are no cases where relational ordering is needed but search relevance is not. Thus, we have decided to remove the <Model>OrderByWithRelationAndSearchRelevanceInput naming and only use the <Model>OrderByWithRelationInput naming.

Fixes and improvements

Prisma
Language tools (e.g. VS Code)
Prisma Engines

Credits

Huge thanks to @​key-moon, @​pranayat, @​yubrot, @​skyzh, @​brian-dlee, @​mydea, @​nickcarnival, @​eruditmorina, @​nzakas, @​gutyerrez, @​avallete, @​ceddy4395, @​Kayoshi-dev, @​yehonatanz for helping!

v5.15.1

Compare Source

Today, we are issuing the 5.15.1 patch release.

Fixes in Prisma Client

v5.15.0

Compare Source

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

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

Highlights

Multi-File Prisma Schema support

Prisma ORM 5.15.0 features support for multi-file Prisma Schema in Preview.

This closes a long standing issue and does so in a clean and easy to migrate way.

To get started:

  1. Enable the prismaSchemaFolder Preview feature by including it in the previewFeatures field of your generator.
    datasource db {
      provider = "postgresql"
      url      = env("DATABASE_URL")
    }
    
    generator client {
      provider        = "prisma-client-js"
      previewFeatures = ["prismaSchemaFolder"]
    }
    
  2. Create a schema subdirectory under your prisma directory.
  3. Move your schema.prisma into this directory.

You are now set up with a multi-file Prisma Schema! Add as many or as few .prisma files to the new prisma/schema directory.

When running commands where a Prisma Schema file is expected to be provided, you can now define a Prisma Schema directory. This includes Prisma CLI commands tha


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (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.

👻 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.

Copy link

vercel bot commented Apr 19, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
nuggets-center ⬜️ Ignored (Inspect) Visit Preview Sep 23, 2024 4:16pm

@renovate renovate bot changed the title Update dependency zod to v3.22.5 Update all dependencies Apr 19, 2024
@renovate renovate bot force-pushed the renovate/all branch 14 times, most recently from 6656155 to ac37b72 Compare April 26, 2024 11:14
@renovate renovate bot force-pushed the renovate/all branch 12 times, most recently from 42c22d6 to 60f16c0 Compare May 3, 2024 15:38
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from b3b9f53 to 60fb98b Compare August 16, 2024 08:33
@renovate renovate bot force-pushed the renovate/all branch 5 times, most recently from fee854a to 659aa54 Compare August 27, 2024 16:38
@renovate renovate bot force-pushed the renovate/all branch 4 times, most recently from 9eae3dd to 127125e Compare September 6, 2024 08:08
@renovate renovate bot force-pushed the renovate/all branch 5 times, most recently from 519590c to 47ed0a4 Compare September 12, 2024 22:57
@renovate renovate bot force-pushed the renovate/all branch 10 times, most recently from fa4e306 to ab14665 Compare September 23, 2024 16:09
@tobyrushton tobyrushton merged commit 551e408 into main Sep 23, 2024
2 of 6 checks passed
@tobyrushton tobyrushton deleted the renovate/all branch September 23, 2024 16:17
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.

1 participant