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 patch tuesday #980

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

simonknittel
Copy link
Owner

@simonknittel simonknittel commented Sep 10, 2024

This PR contains the following updates:

Package Type Update Change Pending
@prisma/client (source) dependencies minor 5.18.0 -> 5.19.1
@tailwindcss/typography devDependencies patch 0.5.14 -> 0.5.15
@tanstack/react-query (source) dependencies minor 5.52.2 -> 5.53.3 5.55.4 (+5)
@tanstack/react-query-devtools (source) dependencies minor 5.52.2 -> 5.54.0 5.55.4 (+5)
@trpc/client (source) dependencies patch 11.0.0-rc.485 -> 11.0.0-rc.498 11.0.0-rc.502 (+2)
@trpc/next (source) dependencies patch 11.0.0-rc.485 -> 11.0.0-rc.498 11.0.0-rc.502 (+2)
@trpc/react-query (source) dependencies patch 11.0.0-rc.485 -> 11.0.0-rc.498 11.0.0-rc.502 (+2)
@trpc/server (source) dependencies patch 11.0.0-rc.485 -> 11.0.0-rc.498 11.0.0-rc.502 (+2)
@types/node (source) devDependencies patch 20.16.1 -> 20.16.3 20.16.5 (+1)
@types/react (source) devDependencies patch 18.3.4 -> 18.3.5
actions/upload-artifact action minor v4.3.6 -> v4.4.0
aws (source) required_provider minor 5.64.0 -> 5.65.0 5.66.0
eslint-config-next (source) devDependencies patch 14.2.6 -> 14.2.7 14.2.9 (+1)
next (source) dependencies patch 14.2.6 -> 14.2.7 14.2.9 (+1)
openai dependencies minor 4.56.0 -> 4.57.0 4.58.2 (+5)
postcss (source) devDependencies patch 8.4.41 -> 8.4.44 8.4.45
prisma (source) devDependencies minor 5.18.0 -> 5.19.1
react-hotkeys-hook (source) dependencies patch 4.5.0 -> 4.5.1
vercel (source) devDependencies minor 37.1.2 -> 37.2.1 37.4.0 (+1)

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

tailwindlabs/tailwindcss-typography (@​tailwindcss/typography)

v0.5.15

Compare Source

Fixed
  • Support installing with alpha versions of Tailwind CSS v4 (#​358)
TanStack/query (@​tanstack/react-query)

v5.53.3

Compare Source

Version 5.53.3 - 9/2/24, 12:32 PM

Changes
Fix
  • query-core: remove error thrown inside replaceData (#​8004) (fb9d4f6) by Bohdan Yefimenko
Docs
  • vue-query: update SSR guide for nuxt2 (#​8001) (cd91357) by Damian Osipiuk
Packages

v5.53.2

Compare Source

Version 5.53.2 - 9/1/24, 8:41 PM

Changes
Fix
Chore
Docs
Packages

v5.53.1

Compare Source

Version 5.53.1 - 8/30/24, 10:29 AM

Changes
Fix
  • query-core: handle errors that occur inside setData method (#​7966) (50315ac) by Bohdan Yefimenko
Chore
Packages

v5.52.3

Compare Source

Version 5.52.3 - 8/29/24, 11:03 PM

Changes
Fix
  • angular-query: fix type of isSuccess, isError, isPending, isIdle on mutation result (#​7923) (eee80af) by divdavem
Chore
Docs
  • Add known limitation about cancellation with suspense hooks (#​7958) (804357b) by Romain Trotard
Packages
trpc/trpc (@​trpc/client)

v11.0.0-rc.498

Compare Source

v11.0.0-rc.490

Compare Source

v11.0.0-rc.489

Compare Source

v11.0.0-rc.487

Compare Source

trpc/trpc (@​trpc/next)

v11.0.0-rc.498

Compare Source

v11.0.0-rc.490

Compare Source

v11.0.0-rc.489

Compare Source

v11.0.0-rc.487

Compare Source

trpc/trpc (@​trpc/react-query)

v11.0.0-rc.498

Compare Source

v11.0.0-rc.490

Compare Source

v11.0.0-rc.489

Compare Source

v11.0.0-rc.487

Compare Source

trpc/trpc (@​trpc/server)

v11.0.0-rc.498

Compare Source

v11.0.0-rc.490

Compare Source

v11.0.0-rc.489

Compare Source

v11.0.0-rc.487

Compare Source

actions/upload-artifact (actions/upload-artifact)

v4.4.0

Compare Source

Notice: Breaking Changes ⚠️

We will no longer include hidden files and folders by default in the upload-artifact action of this version. This reduces the risk that credentials are accidentally uploaded into artifacts. Customers who need to continue to upload these files can use a new option, include-hidden-files, to continue to do so.

See "Notice of upcoming deprecations and breaking changes in GitHub Actions runners" changelog and this issue for more details.

What's Changed

Full Changelog: actions/upload-artifact@v4.3.6...v4.4.0

hashicorp/terraform-provider-aws (aws)

v5.65.0

Compare Source

NOTES:

  • provider: Updates to Go 1.23. We do not expect this change to impact most users. For macOS, Go 1.23 requires macOS 11 Big Sur or later; support for previous versions has been discontinued. (#​38999)

FEATURES:

  • New Data Source: aws_shield_protection (#​37524)
  • New Resource: aws_glue_catalog_table_optimizer (#​38052)

ENHANCEMENTS:

  • data-source/aws_elb_hosted_zone_id: Add hosted zone ID for ap-southeast-5 AWS Region (#​39052)
  • data-source/aws_lb_hosted_zone_id: Add hosted zone IDs for ap-southeast-5 AWS Region (#​39052)
  • data-source/aws_s3_bucket: Add hosted zone ID for ap-southeast-5 AWS Region (#​39052)
  • provider: Support ap-southeast-5 as a valid AWS Region (#​39049)
  • resource/aws_cognito_user_pool: Add password_policy.password_history_size argument (#​39043)
  • resource/aws_elastic_beanstalk_application_version: Add process argument (#​25468)
  • resource/aws_elasticsearch_domain: Treat SUCCEEDED_WITH_ISSUES status as success when upgrading cluster (#​38086)
  • resource/aws_emr_cluster: Support io2 as a valid value for ebs_config.type (#​37740)
  • resource/aws_emr_instance_fleet: Support io2 as a valid value for instance_type_configs.ebs_config.type (#​37740)
  • resource/aws_emr_instance_group: Support io2 as a valid value for instance_type_configs.ebs_config.type (#​37740)
  • resource/aws_glue_job: Add job_run_queuing_enabled argument (#​39027)
  • resource/aws_lambda_event_source_mapping: Add kms_key_arn argument (#​39055)
  • resource/aws_verifiedaccess_endpoint: Set PolicyEnabled flag to false on update if policy_document is empty (#​38675)

BUG FIXES:

  • resource/aws_amplify_app: Fix crash updating auto_branch_creation_config (#​39041)
  • resource/aws_elasticsearch_domain_policy: Change domain_name to ForceNew (#​38086)
  • resource/aws_elbv2_listener: Fix crash when reading forward actions not configured in state (#​39039)
  • resource/aws_emr_instance_group: Properly send an instance_count value of 0 on create when configured (#​37740)
  • resource/aws_gamelift_game_server_group: Fix crash while reading server group with a nil auto scaling group ARN (#​39022)
  • resource/aws_guardduty_invite_accepter: Fix BadRequestException: The request is rejected because an invalid or out-of-range value is specified as an input parameter errors on resource Create (#​39084)
  • resource/aws_lakeformation_permissions: Fix error when revoking data_cells_filter permissions (#​39026)
  • resource/aws_neptune_cluster: Mark neptune_cluster_parameter_group_name as Computed (#​38980)
  • resource/aws_neptune_cluster_instance: Mark neptune_parameter_group_name as Computed (#​38980)
  • resource/aws_ssm_parameter: Fix ValidationException: Parameter ARN is not supported for this operation errors when deleting resources imported by ARN (#​39067)
vercel/next.js (eslint-config-next)

v14.2.7

Compare Source

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes
  • Revert "chore: externalize undici for bundling" (#​65727)
  • Refactor internal routing headers to use request meta (#​66987)
  • fix(next): add cross origin in react dom preload (#​67423)
  • build: upgrade edge-runtime (#​67565)
  • GTM dataLayer parameter should take an object, not an array of strings (#​66339)
  • fix: properly patch lockfile against swc bindings (#​66515)
  • Add deployment id header for rsc payload if present (#​67255)
  • Update font data (#​68639)
  • fix i18n data pathname resolving (#​68947)
  • pages router: ensure x-middleware-cache is respected (#​67734)
  • Fix bad modRequest in flight entry manifest #​68888
  • Reject next image urls in image optimizer #​68628
  • Fix hmr assetPrefix escaping and reuse logic from other files #​67983
Credits

Huge thanks to @​kjugi, @​huozhi, @​ztanner, @​SukkaW, @​marlier, @​Kikobeats, @​syi0808, @​ijjk, and @​samcx for helping!

openai/openai-node (openai)

v4.57.0

Compare Source

Full Changelog: v4.56.2...v4.57.0

Features
Bug Fixes

v4.56.2

Compare Source

Full Changelog: v4.56.1...v4.56.2

Chores

v4.56.1

Compare Source

Full Changelog: v4.56.0...v4.56.1

Chores
postcss/postcss (postcss)

v8.4.44

Compare Source

  • Another way to fix markClean is not a function error.

v8.4.43

Compare Source

  • Fixed markClean is not a function error.

v8.4.42

Compare Source

  • Fixed CSS syntax error on long minified files (by @​varpstar).
JohannesKlauss/react-keymap-hook (react-hotkeys-hook)

v4.5.1

Compare Source

What's Changed

New Contributors

Full Changelog: JohannesKlauss/react-hotkeys-hook@v4.5.0...v4.5.1

vercel/vercel (vercel)

v37.2.1

Compare Source

Patch Changes
  • Fixes integration not found error when using vercel install (#​12035)

v37.2.0

Compare Source

Minor Changes
  • Add vc install and vc integration add commands (#​12033)
Patch Changes

Configuration

📅 Schedule: Branch creation - "before 7am on Tuesday" (UTC), 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 has been generated by Renovate Bot.

Copy link

vercel bot commented Sep 10, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
sinister-incorporated ⬜️ Ignored (Inspect) Sep 10, 2024 6:09am

Copy link

sonarcloud bot commented Sep 10, 2024

Copy link

Terraform Plan 📖 success

Show Plan

data.cloudflare_zones.main: Reading...
data.cloudflare_zones.main: Read complete after 0s [id=b0c2ab7d66b3c0b219fc876cf1d63fb9]
data.aws_cloudfront_origin_request_policy.managed_cors_s3_origin: Reading...
aws_cloudwatch_event_bus.api_gateway: Refreshing state... [id=api-gateway]
aws_s3_account_public_access_block.main: Refreshing state... [id=220746603587]
aws_cloudfront_origin_access_control.care_bear_shooter_build_bucket: Refreshing state... [id=E9UD6HRKKYL4H]
data.aws_iam_openid_connect_provider.github: Reading...
aws_iam_user.app_vercel: Refreshing state... [id=app_vercel]
data.aws_caller_identity.current: Reading...
aws_acm_certificate.main: Refreshing state... [id=arn:aws:acm:eu-central-1:220746603587:certificate/f4ebd0f0-1e53-49d7-bb39-a5ed253b7959]
aws_cloudwatch_metric_alarm.lambda_throttles: Refreshing state... [id=lambda-throttles]
aws_dynamodb_table.api_gateway_processed_requests: Refreshing state... [id=ApiGatewayProcessedRequests]
module.email_function.aws_ssm_parameter.custom[0]: Refreshing state... [id=/email-function/mailgun-api-key]
data.aws_caller_identity.current: Read complete after 0s [id=220746603587]
aws_cloudwatch_metric_alarm.lambda_errors: Refreshing state... [id=lambda-errors]
aws_budgets_budget.monthly_total: Refreshing state... [id=220746603587:Total monthly budget]
data.aws_cloudfront_origin_request_policy.managed_cors_s3_origin: Read complete after 0s [id=88a5eaf4-2fd4-4709-b370-b4c650ea3fcf]
data.aws_cloudfront_cache_policy.managed_caching_optimized: Reading...
data.aws_iam_openid_connect_provider.github: Read complete after 0s [id=arn:aws:iam::220746603587:oidc-provider/token.actions.githubusercontent.com]
aws_api_gateway_rest_api.main: Refreshing state... [id=xguhlotnsl]
data.aws_cloudfront_cache_policy.managed_caching_optimized: Read complete after 0s [id=b2884449-e4de-46a7-ac36-70bc7f1ddd6d]
module.email_function.data.aws_kms_alias.ssm: Reading...
module.email_function.aws_sqs_queue.main_deadletter: Refreshing state... [id=https://sqs.eu-central-1.amazonaws.com/220746603587/terraform-20240211081314103700000003]
aws_iam_access_key.app_vercel: Refreshing state... [id=AKIATGZMF3RB4EBRLJ6V]
aws_iam_role.api_gateway_cloudwatch: Refreshing state... [id=api-gateway]
aws_s3_bucket.mtls_truststore: Refreshing state... [id=mtls-truststore-220746603587]
module.email_function.data.aws_kms_alias.ssm: Read complete after 0s [id=arn:aws:kms:eu-central-1:220746603587:alias/aws/ssm]
aws_s3_bucket.care_bear_shooter_build: Refreshing state... [id=care-bear-shooter-build-220746603587]
cloudflare_record.main_validation["sinister-api-test.simonknittel.de"]: Refreshing state... [id=89ca1b9952c1bd25cb32367f72d2bced]
aws_iam_user_policy.app_vercel: Refreshing state... [id=app_vercel:terraform-20240328141028994700000001]
aws_iam_role.api_gateway_eventbridge: Refreshing state... [id=terraform-20240206162421745900000001]
aws_schemas_discoverer.test: Refreshing state... [id=events-event-bus-api-gateway]
aws_api_gateway_account.main: Refreshing state... [id=api-gateway-account]
module.email_function.aws_cloudwatch_event_rule.main: Refreshing state... [id=arn:aws:events:eu-central-1:220746603587:event-bus/api-gateway/terraform-20240211081314103200000002]
aws_api_gateway_request_validator.validate_request_body: Refreshing state... [id=aijdpj]
aws_cloudwatch_metric_alarm.api_gateway_count: Refreshing state... [id=api-gateway-count]
aws_cloudwatch_log_group.api_gateway_stage_default: Refreshing state... [id=API-Gateway-Execution-Logs_xguhlotnsl/default]
aws_api_gateway_resource.email_function: Refreshing state... [id=7af8s0]
aws_cloudwatch_metric_alarm.api_gateway_5xx_error: Refreshing state... [id=api-gateway-5xx-error]
aws_acm_certificate_validation.main: Refreshing state... [id=0001-01-01 00:00:00 +0000 UTC]
module.email_function_api_gateway.aws_api_gateway_model.request_body: Refreshing state... [id=atb4x1]
module.email_function.aws_cloudwatch_metric_alarm.deadletter_message_count: Refreshing state... [id=deadletter-message-count-email-function]
module.email_function.aws_sqs_queue.main: Refreshing state... [id=https://sqs.eu-central-1.amazonaws.com/220746603587/terraform-20240211081339784400000005]
module.email_function_api_gateway.aws_api_gateway_method.main: Refreshing state... [id=agm-xguhlotnsl-7af8s0-POST]
module.email_function_api_gateway.aws_api_gateway_method_response.response_503: Refreshing state... [id=agmr-xguhlotnsl-7af8s0-POST-503]
module.email_function_api_gateway.aws_api_gateway_method_response.response_500: Refreshing state... [id=agmr-xguhlotnsl-7af8s0-POST-500]
module.email_function_api_gateway.aws_api_gateway_integration.main: Refreshing state... [id=agi-xguhlotnsl-7af8s0-POST]
module.email_function_api_gateway.aws_api_gateway_method_response.response_404: Refreshing state... [id=agmr-xguhlotnsl-7af8s0-POST-404]
module.email_function_api_gateway.aws_api_gateway_method_response.response_200: Refreshing state... [id=agmr-xguhlotnsl-7af8s0-POST-200]
module.email_function_api_gateway.aws_api_gateway_method_response.response_400: Refreshing state... [id=agmr-xguhlotnsl-7af8s0-POST-400]
module.email_function.aws_sqs_queue_redrive_allow_policy.main_deadletter: Refreshing state... [id=https://sqs.eu-central-1.amazonaws.com/220746603587/terraform-20240211081314103700000003]
module.email_function.aws_sqs_queue_policy.main: Refreshing state... [id=https://sqs.eu-central-1.amazonaws.com/220746603587/terraform-20240211081339784400000005]
module.email_function.aws_iam_role.main: Refreshing state... [id=terraform-20240211081405377800000007]
module.email_function.aws_cloudwatch_event_target.main: Refreshing state... [id=arn:aws:events:eu-central-1:220746603587:event-bus/api-gateway-terraform-20240211081314103200000002-terraform-20240211081405376200000006]
module.email_function_api_gateway.aws_api_gateway_integration_response.response_500: Refreshing state... [id=agir-xguhlotnsl-7af8s0-POST-500]
module.email_function_api_gateway.aws_api_gateway_integration_response.response_404: Refreshing state... [id=agir-xguhlotnsl-7af8s0-POST-404]
module.email_function_api_gateway.aws_api_gateway_integration_response.response_503: Refreshing state... [id=agir-xguhlotnsl-7af8s0-POST-503]
module.email_function_api_gateway.aws_api_gateway_integration_response.response_200: Refreshing state... [id=agir-xguhlotnsl-7af8s0-POST-200]
module.email_function_api_gateway.aws_api_gateway_integration_response.response_400: Refreshing state... [id=agir-xguhlotnsl-7af8s0-POST-400]
module.email_function.aws_lambda_function.main: Refreshing state... [id=email-function]
aws_api_gateway_deployment.main: Refreshing state... [id=8yroac]
aws_api_gateway_stage.default: Refreshing state... [id=ags-xguhlotnsl-default]
aws_api_gateway_method_settings.all: Refreshing state... [id=xguhlotnsl-default-*/*]
module.email_function.aws_lambda_permission.api_gateway: Refreshing state... [id=terraform-20240211081423816900000008]
module.email_function.aws_lambda_event_source_mapping.main: Refreshing state... [id=4c996691-1418-4285-8ef0-8f3745120e5a]
aws_s3_object.mtls_truststore: Refreshing state... [id=truststore.pem]
aws_api_gateway_domain_name.main: Refreshing state... [id=sinister-api-test.simonknittel.de]
aws_iam_role.care_bear_shooter_build_uploader: Refreshing state... [id=care-bear-shooter-build-uploader]
aws_s3_bucket_cors_configuration.care_bear_shooter_build: Refreshing state... [id=care-bear-shooter-build-220746603587]
aws_cloudfront_distribution.care_bear_shooter_build: Refreshing state... [id=E3GY8A42OQ8RFW]
aws_api_gateway_base_path_mapping.main: Refreshing state... [id=sinister-api-test.simonknittel.de/]
cloudflare_record.main_cname: Refreshing state... [id=c4fe812314a613cbee9e669930fa4f39]
aws_s3_bucket_policy.care_bear_shooter_build_cloudfront: Refreshing state... [id=care-bear-shooter-build-220746603587]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Warning: Argument is deprecated

  with cloudflare_record.main_validation["sinister-api-test.simonknittel.de"],
  on domain-name.tf line 21, in resource "cloudflare_record" "main_validation":
  21:   value   = each.value.record

`value` is deprecated in favour of `content` and will be removed in the next
major release.

(and one more similar warning elsewhere)

@simonknittel simonknittel merged commit 58c6f51 into develop Sep 10, 2024
10 checks passed
@simonknittel simonknittel deleted the renovate-self-hosted/patch-tuesday branch September 10, 2024 06:40
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.

2 participants