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

chore(deps): update all non-major dependencies #15

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 30, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@commitlint/cli (source) ^17.6.7 -> ^17.8.1 age adoption passing confidence devDependencies minor
@commitlint/config-conventional (source) ^17.6.7 -> ^17.8.1 age adoption passing confidence devDependencies minor
@prisma/client (source) ^5.12.1 -> ^5.19.1 age adoption passing confidence dependencies minor
@sapphire/async-queue (source) ^1.5.0 -> ^1.5.3 age adoption passing confidence dependencies patch
@sapphire/duration (source) ^1.1.0 -> ^1.1.2 age adoption passing confidence dependencies patch
@sapphire/eslint-config (source) ^5.0.0 -> ^5.0.5 age adoption passing confidence devDependencies patch
@sapphire/result (source) ^2.6.4 -> ^2.6.6 age adoption passing confidence dependencies patch
@sapphire/utilities (source) ^3.13.0 -> ^3.17.0 age adoption passing confidence dependencies minor
@skyra/env-utilities (source) ^1.2.1 -> ^1.3.0 age adoption passing confidence dependencies minor
@skyra/http-framework (source) ^1.0.3 -> ^1.2.2 age adoption passing confidence dependencies minor
@skyra/http-framework-i18n (source) ^1.0.2 -> ^1.2.0 age adoption passing confidence dependencies minor
@skyra/logger (source) ^2.0.1 -> ^2.0.3 age adoption passing confidence dependencies patch
@skyra/shared-http-pieces (source) ^1.0.3 -> ^1.2.2 age adoption passing confidence dependencies minor
@skyra/start-banner (source) ^2.0.0 -> ^2.0.1 age adoption passing confidence dependencies patch
@types/gradient-string (source) ^1.1.2 -> ^1.1.6 age adoption passing confidence devDependencies patch
@types/node (source) ^18.17.0 -> ^18.19.50 age adoption passing confidence devDependencies minor
docker/build-push-action v3.2.0 -> v3.3.1 age adoption passing confidence action minor
docker/login-action v2.1.0 -> v2.2.0 age adoption passing confidence action minor
docker/setup-buildx-action v2.2.1 -> v2.10.0 age adoption passing confidence action minor
eslint (source) ^8.45.0 -> ^8.57.0 age adoption passing confidence devDependencies minor
eslint-config-prettier ^8.8.0 -> ^8.10.0 age adoption passing confidence devDependencies minor
fastify (source) ^4.26.2 -> ^4.28.1 age adoption passing confidence dependencies minor
lint-staged ^13.2.3 -> ^13.3.0 age adoption passing confidence devDependencies minor
node (source) 18.17.0 -> 18.20.4 age adoption passing confidence volta minor
pretty-quick ^3.1.3 -> ^3.3.1 age adoption passing confidence devDependencies minor
prisma (source) ^5.12.1 -> ^5.19.1 age adoption passing confidence devDependencies minor
tslib (source) ^2.6.0 -> ^2.7.0 age adoption passing confidence dependencies minor
yarn (source) 3.6.1 -> 3.8.5 age adoption passing confidence packageManager minor
yarn (source) 3.6.1 -> 3.8.5 age adoption passing confidence volta minor

Release Notes

conventional-changelog/commitlint (@​commitlint/cli)

v17.8.1

Compare Source

Note: Version bump only for package @​commitlint/cli

v17.8.0

Compare Source

Note: Version bump only for package @​commitlint/cli

17.7.2 (2023-09-28)

Note: Version bump only for package @​commitlint/cli

17.7.1 (2023-08-10)

Note: Version bump only for package @​commitlint/cli

v17.7.2

Compare Source

Note: Version bump only for package @​commitlint/cli

v17.7.1

Compare Source

Note: Version bump only for package @​commitlint/cli

v17.7.0

Compare Source

Note: Version bump only for package @​commitlint/cli

17.6.7 (2023-07-19)

Note: Version bump only for package @​commitlint/cli

17.6.6 (2023-06-24)

Note: Version bump only for package @​commitlint/cli

17.6.5 (2023-05-30)

Note: Version bump only for package @​commitlint/cli

17.6.3 (2023-05-04)

Note: Version bump only for package @​commitlint/cli

17.6.1 (2023-04-14)

Note: Version bump only for package @​commitlint/cli

conventional-changelog/commitlint (@​commitlint/config-conventional)

v17.8.1

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

v17.8.0

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

v17.7.0

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

17.6.7 (2023-07-19)

Note: Version bump only for package @​commitlint/config-conventional

17.6.6 (2023-06-24)

Note: Version bump only for package @​commitlint/config-conventional

17.6.5 (2023-05-30)

Note: Version bump only for package @​commitlint/config-conventional

17.6.3 (2023-05-04)

Note: Version bump only for package @​commitlint/config-conventional

17.6.1 (2023-04-14)

Note: Version bump only for package @​commitlint/config-conventional

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

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 that use the --schema option as well as defining schema via package.json

Our tooling has also been updated to handle multiple Prisma Schema files. This includes our Visual Studio Code extension and tools like database introspection, which will deposit new models in a introspected.prisma file. Existing models will be updated in the file they are found.

To learn more, please refer to our official documentation and announcement blog post. If you try out prismaSchemaFolder, please let us know!

Interesting Bug Fixes
Fix for PostgreSQL prepared statement caching for raw queries

This release fixes a nasty bug with the caching of prepared statements in raw Prisma Client queries that affected PostgreSQL when you ran the same SQL statement with differently typed paramters. This should not fail any more.

Fix for SQL Server introspection of (deprecated) CREATE DEFAULT

Our Introspection logic crashed on encountering certain multi-line CREATE DEFAULT, a deprecated way to define defaults in SQL Server. As many SQL Server users are working with established databases, this happened frequently enough that we now explicitly ignore these defaults instead of crashing.

Fix for Cloudflare D1’s lower parameter limit

Cloudflare’s D1 has a lower parameter limit than local SQLite, which caused bigger queries to fail. We adapted that limit to the D1 default for @prisma/adapter-d1, which will avoid such failures.

Fix for Cloudflare D1’s different PRAGMA support

Our generated migration SQL for SQLite did not always work for Cloudflare D1, because of differences in the supported pragmas. We adapted the SQL to work in both local SQLite and Cloudflare D1.

Fixes and improvements
Prisma Migrate
Prisma Client

Configuration

📅 Schedule: Branch creation - "before 12pm on Sunday" (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.

@renovate renovate bot changed the title chore(deps): update all non-major dependencies fix(deps): update all non-major dependencies Aug 1, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 129cd18 to e15e3b8 Compare August 7, 2023 12:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 27ed5a8 to 096f7e5 Compare August 9, 2023 11:30
@renovate renovate bot changed the title fix(deps): update all non-major dependencies chore(deps): update all non-major dependencies Aug 9, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from de33687 to 6beb7fe Compare August 13, 2023 19:23
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 22bc3e0 to 5aa8c54 Compare August 24, 2023 21:42
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 8c55b2a to 1817b5f Compare August 28, 2023 02:13
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 1860ecc to a567820 Compare June 22, 2024 09:45
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from b7a6719 to d6f6d57 Compare June 29, 2024 10:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from fd26c53 to aa0b144 Compare July 9, 2024 13:50
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 775b201 to 5df607b Compare July 18, 2024 22:23
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 5df607b to ad7bbda Compare July 23, 2024 20:10
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 7264a3e to a0f3e90 Compare August 6, 2024 15:56
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from a0f3e90 to 72f9b19 Compare August 9, 2024 20:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 1b4ba11 to 9dbd267 Compare August 24, 2024 15:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from fdc1a8b to 28d0e63 Compare September 1, 2024 16:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from a5f8d7e to 48bd4cf Compare September 4, 2024 00:35
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