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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@prisma/client (source) ^5.16.1 -> ^5.19.1 age adoption passing confidence
@swc/cli ^0.3.14 -> ^0.4.0 age adoption passing confidence
@swc/core (source) ^1.6.5 -> ^1.7.26 age adoption passing confidence
@types/node (source) ^20.14.9 -> ^20.16.5 age adoption passing confidence
drizzle-kit (source) ^0.22.7 -> ^0.24.2 age adoption passing confidence
drizzle-orm (source) ^0.31.2 -> ^0.33.0 age adoption passing confidence
lerna (source) ^8.1.5 -> ^8.1.8 age adoption passing confidence
prisma (source) ^5.16.1 -> ^5.19.1 age adoption passing confidence
rimraf ^5.0.7 -> ^5.0.10 age adoption passing confidence

Release Notes

prisma/prisma (@​prisma/client)

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

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)
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

swc-project/swc (@​swc/core)

v1.7.26

Compare Source

v1.7.25

Compare Source

Bug Fixes
Features
  • (es/common) Introduce pure Span and BytePos to handle #__PURE__ (#​9539) (f63a481)
Miscellaneous Tasks
  • (bindings/node) Fix type definition (64ec111)

v1.7.24

Compare Source

Bug Fixes
  • (es/compat) Handle label block in constructor (#​9528) (c43dbad)

  • (es/decorator) Add support for private access expressions in legacy decorators (#​9535) (62ed065)

  • (es/minifier) typeof class should be function (#​9522) (c7fdd6b)

  • (es/minifier) Prevent removing side effects from accessing getter (#​9530) (8513816)

  • (es/typescript) Handle enum in single statement (#​9532) (84b0043)

v1.7.23

Compare Source

Bug Fixes
Performance

v1.7.22

Compare Source

Bug Fixes
  • (es/minifier) Iterate object properties in reverse direction while inlining property access (#​9507) (f584ef7)

v1.7.21

Compare Source

Bug Fixes

v1.7.19

Compare Source

Bug Fixes
Features
Miscellaneous Tasks
  • (es/codegen) Bump minimum required swc_allocator version to 0.1.8 (#​9492) (5258763)
Refactor

v1.7.18

Compare Source

v1.7.14

Compare Source

Bug Fixes
Features
Refactor

v1.7.12

Compare Source

Bug Fixes
Miscellaneous Tasks

v1.7.11

Compare Source

Bug Fixes
Features
  • (es/typescript) Add native_class_properties to skip reordering of class properties inits (#​9421) (d2929d1)

  • (estree/compat) Remove dependency on rayon (#​9393) (34d1b27)

  • (html/minifier) Support using custom css minifier (#​9425) (970cc81)

Miscellaneous Tasks

v1.7.10

Compare Source

Bug Fixes
  • (es/typescript) Strip optional mark and definite mark (#​9411) (8c161a0)

  • (es/typescript) Strip exported default overload function declaration (#​9412) (b395f48)

  • (es/typescript) Strip this param in getter/setter (#​9414) (442fb7b)

  • (es/typescript) Update ts-strip type definition (#​9415) (165c8fa)

v1.7.9

Compare Source

Bug Fixes

v1.7.6

Compare Source

Bug Fixes
  • (es/codegen) Print the missing abstract in class expression (#​9372) (c2e3021)

  • (es/decorators) Use correct class name reference (#​9375) (badd6a9)

  • (es/typescript) Strip declare export in strip-only mode (#​9374) (c53cce4)

v1.7.5

Compare Source

Bug Fixes
Miscellaneous Tasks

v1.7.4

Compare Source

Bug Fixes
Documentation
Miscellaneous Tasks

v1.7.3

Compare Source

Bug Fixes

v1.7.2

Compare Source

Bug Fixes
Documentation
  • (bindings/wasm) Document supported TypeScript version (#​9334) (66f31c0)

v1.7.1

Compare Source

Bug Fixes
Features
Miscellaneous Tasks
Performance
Refactor
Build

v1.7.0

Compare Source

Bug Fixes
Documentation
  • (allocator) Mention oxc_allocator (be99ce0)

  • (contributing) Fix deno installation url (#​9249) (ff5bbda)

  • (es/minifier) Add contributing section (e22f3ba)

Features
Miscellaneous Tasks
Performance
Refactor
Testing
Pers

v1.6.13

Compare Source

Bug Fixes
Features
Testing

v1.6.12

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - "before 6am" in timezone Asia/Jakarta, 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.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 22a4536 to e7ed1a8 Compare July 9, 2024 20:23
@renovate renovate bot changed the title chore(deps): update all non-major dependencies fix(deps): update all non-major dependencies Jul 9, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from ce73177 to 48e8af4 Compare July 16, 2024 21:43
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from fbc775a to 34049f3 Compare July 24, 2024 08:01
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 4089ad8 to 5a3ee29 Compare July 31, 2024 22:21
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 5a63728 to befaf15 Compare August 8, 2024 15:05
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 5cec7d0 to ce2260f Compare August 14, 2024 10:00
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from d0a66e9 to 511c242 Compare August 22, 2024 15:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from b11f0bc to bc83360 Compare August 30, 2024 11:09
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 8fb7e52 to 5d506f6 Compare September 8, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants