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 dependencies (non-major) #897

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 27, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@aws-sdk/client-s3 (source) 3.395.0 -> 3.400.0 age adoption passing confidence
@aws-sdk/s3-request-presigner (source) 3.395.0 -> 3.400.0 age adoption passing confidence
@prisma/client (source) 5.1.1 -> 5.2.0 age adoption passing confidence
@supabase/realtime-js 2.7.3 -> 2.7.4 age adoption passing confidence
@types/node (source) 18.17.6 -> 18.17.11 age adoption passing confidence
@types/react (source) 18.2.20 -> 18.2.21 age adoption passing confidence
@types/react-table (source) 7.7.14 -> 7.7.15 age adoption passing confidence
@typescript-eslint/eslint-plugin 6.4.0 -> 6.4.1 age adoption passing confidence
@typescript-eslint/parser 6.4.0 -> 6.4.1 age adoption passing confidence
@uiw/codemirror-theme-dracula (source) 4.21.9 -> 4.21.11 age adoption passing confidence
@uiw/react-codemirror (source) 4.21.9 -> 4.21.11 age adoption passing confidence
@vitest/coverage-v8 (source) 0.34.2 -> 0.34.3 age adoption passing confidence
axios (source) 1.4.0 -> 1.5.0 age adoption passing confidence
concurrently 8.2.0 -> 8.2.1 age adoption passing confidence
eslint (source) 8.47.0 -> 8.48.0 age adoption passing confidence
framer-motion 10.16.0 -> 10.16.1 age adoption passing confidence
pnpm (source) 8.6.12 -> 8.7.0 age adoption passing confidence
prisma (source) 5.1.1 -> 5.2.0 age adoption passing confidence
typescript (source) 5.1.6 -> 5.2.2 age adoption passing confidence
vitest 0.34.2 -> 0.34.3 age adoption passing confidence

Release Notes

aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)

v3.400.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.398.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.397.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

aws/aws-sdk-js-v3 (@​aws-sdk/s3-request-presigner)

v3.400.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.398.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.397.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

prisma/prisma (@​prisma/client)

v5.2.0

Compare Source

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

Highlights
Improved Prisma Client experience for Prisma Accelerate and Data Proxy

In this release, we’ve made the following improvements to Prisma Client when using Prisma Accelerate or Prisma Data Proxy:

  • Prisma Client will now automatically determine how it should connect to the database depending on the protocol in the connection string. If the connection string starts with prisma://, Prisma Client will try to connect to your database using Prisma Accelerate or Prisma Data Proxy.

  • Prisma Studio now works with Prisma Data Proxy and Prisma Accelerate.

  • We’ve introduced a new --no-engine flag which will prevent a Query Engine file from being included in the generated Prisma Client. This flag will also help ensure the bundle size of your application remains small by excluding the Query Engine files from the generated Prisma Client.

    prisma generate --no-engine

    The --data-proxy and --accelerate flags have not been removed but are now aliases for the new --no-engine flag.

    We recommend using the --no-engine flag when generating Prisma Client that uses either Accelerate or Data Proxy.

Simplified connection string override in Prisma Client

This release simplifies the API used when programmatically overriding the connection string by introducing the datasourceUrl property in Prisma Client’s constructor. This means you do not have to use the datasource name defined in your Prisma schema.

const prisma = new PrismaClient({
  datasourceUrl: "postgresql://johndoe:randompassword@localhost:5432/mydb",
})
Query performance improvements

Continuing our work from 5.1.0 we made further performance improvements around the queries Prisma executes, targeting one-to-many relation fields and nested updates.

Use LIMIT in one-to-many relations on a single parent

In cases where there is a single parent with a one-to-many relation included (findFirst, findUnique, findMany({ take: 1 })), we now utilize LIMIT at the database level to restrict the number of related items returned instead of retrieving all related items into memory and performing a take in memory.

For situations where you have many related objects but only need a few, you should see a dramatic improvement in speed and memory usage.

Note: we are still working on bringing this improvement to other parts of Prisma Client in upcoming releases. If multiple parent records are returned, the previous behavior is used.

Further improvements for nested writes

Thanks to our introduction of using RETURNING in some cases in 5.1.0, we could now improve performance in nested writes by removing reload nodes. This will now result in one less query per relation traversed in a nested write. For more info, check out the pull request.

Prisma Client query
await prisma.post.update({
  where: { id: 1 },
  data: {
    comment: {
      update: { 
        data: {
          body: "Updated comment body"
        }
      }
    }
  },
  select: {
    id: true,
    title: true,
  }
})
Before v5.2.0
SELECT "Post"."id", "Post"."title" FROM "Post" WHERE ("Post"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3
SELECT "Post"."id", "Post"."userId" FROM "Post" WHERE "Post"."id" = $1 OFFSET $2
SELECT "User"."id" FROM "User" WHERE (1=1 AND "User"."id" IN ($1)) OFFSET $2
SELECT "User"."id" FROM "User" WHERE ("User"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3
SELECT "User"."id", "User"."commentId" FROM "User" WHERE "User"."id" = $1 OFFSET $2
SELECT "Comment"."id" FROM "Comment" WHERE (1=1 AND "Comment"."id" IN ($1)) OFFSET $2
UPDATE "Comment" SET "body" = $1 WHERE ("Comment"."id" = $2 AND 1=1) RETURNING "Comment"."id"
SELECT "Post"."id", "Post"."title" FROM "Post" WHERE "Post"."id" = $1 LIMIT $2 OFFSET $3
5.2.0 and later
SELECT "Post"."id", "Post"."title", "Post"."userId" FROM "Post" WHERE ("Post"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3
SELECT "User"."id" FROM "User" WHERE (1=1 AND "User"."id" IN ($1)) OFFSET $2
SELECT "User"."id", "User"."commentId" FROM "User" WHERE ("User"."id" = $1 AND 1=1) LIMIT $2 OFFSET $3
SELECT "Comment"."id" FROM "Comment" WHERE (1=1 AND "Comment"."id" IN ($1)) OFFSET $2
UPDATE "Comment" SET "body" = $1 WHERE ("Comment"."id" = $2 AND 1=1) RETURNING "Comment"."id"
SELECT "Post"."id", "Post"."title" FROM "Post" WHERE "Post"."id" = $1 LIMIT $2 OFFSET $3
Fixes and improvements
Prisma Client
Prisma Migrate
Credits

Huge thanks to @​skyzh, @​alula, @​michaelpoellath, @​RobertCraigie, @​darthmaim, @​Gerschtli, @​andyjy, @​mejiaej, @​iurylippo, @​mrazauskas, @​coder246, @​RDIL for helping!

supabase/realtime-js (@​supabase/realtime-js)

v2.7.4

Compare Source

Bug Fixes
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v6.4.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] false positives with branded types (#​7466) (b52658f), closes #​7293

You can read about our versioning strategy and releases on our website.

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

v6.4.1

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

You can read about our versioning strategy and releases on our website.

uiwjs/react-codemirror (@​uiw/codemirror-theme-dracula)

v4.21.11

Compare Source

Documentation v4.21.11: https://raw.githack.com/uiwjs/react-codemirror/6533b9b/index.html\
Comparing Changes: uiwjs/react-codemirror@v4.21.10...v4.21.11

npm i @​uiw/[email protected]

v4.21.10

Compare Source

Documentation v4.21.10: https://raw.githack.com/uiwjs/react-codemirror/e5b4b76/index.html\
Comparing Changes: uiwjs/react-codemirror@v4.21.9...v4.21.10

npm i @​uiw/[email protected]
vitest-dev/vitest (@​vitest/coverage-v8)

v0.34.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub
axios/axios (axios)

v1.5.0

Compare Source

Bug Fixes
  • adapter: make adapter loading error more clear by using platform-specific adapters explicitly (#​5837) (9a414bb)
  • dns: fixed cacheable-lookup integration; (#​5836) (b3e327d)
  • headers: added support for setting header names that overlap with class methods; (#​5831) (d8b4ca0)
  • headers: fixed common Content-Type header merging; (#​5832) (8fda276)
Features
Contributors to this release
open-cli-tools/concurrently (concurrently)

v8.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: open-cli-tools/concurrently@v8.2.0...v8.2.1

eslint/eslint (eslint)

v8.48.0

Compare Source

Features

  • 1fbb3b0 feat: correct update direction in for-direction (#​17483) (Francesco Trotta)
  • d73fbf2 feat: rule tester do not create empty valid or invalid test suites (#​17475) (fnx)
  • ee2f718 feat: Allow void in rule no-promise-executor-return (#​17282) (nopeless)

Bug Fixes

  • 7234f6a fix: update RuleTester JSDoc and deprecations (#​17496) (Jonas Berlin)

Documentation

  • 7a51d77 docs: no-param-reassign mention strict mode (#​17494) (Stephen Hardy)
  • 9cd7ac2 docs: add fetch script to package.json conventions (#​17459) (Nitin Kumar)
  • cab21e6 docs: advice for inline disabling of rules (#​17458) (Ashish Yadav)
  • 056499d docs: fix example of flat config from plugin (#​17482) (Francesco Trotta)
  • 9e9edf9 docs: update documentation URL in error message (#​17465) (Nitin Kumar)

Chores

framer/motion (framer-motion)

v10.16.1

Compare Source

Fixed
  • SVGs mount read/writes are now batched.
pnpm/pnpm (pnpm)

v8.7.0

Compare Source

Minor Changes

  • Improve performance of installation by using a worker pool for extracting packages and writing them to the content-addressable store #​6850
  • The default value of the resolution-mode setting is changed to highest. This setting was changed to lowest-direct in v8.0.0 and some users were not happy with the change. A twitter poll concluded that most of the users want the old behaviour (resolution-mode set to highest by default). This is a semi-breaking change but should not affect users that commit their lockfile #​6463.

Patch Changes

  • Warn when linking a package with peerDependencies #​615.
  • Add support for npm lockfile v3 in pnpm import #​6233.
  • Override peerDependencies in pnpm.overrides #​6759.
  • Respect workspace alias syntax in pkg graph #​6922
  • Emit a clear error message when users attempt to specify an undownloadable node version #​6916.
  • pnpm patch should write patch files with a trailing newline #​6905.
  • Dedupe deps with the same alias in direct dependencies 6966
  • Don't prefix install output for the dlx command.
  • Performance optimizations. Package tarballs are now download directly to memory and built to an ArrayBuffer. Hashing and other operations are avoided until the stream has been fully received #​6819.

Our Gold Sponsors

Our Silver Sponsors

Microsoft/TypeScript (typescript)

v5.2.2: TypeScript 5.2

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:


Configuration

📅 Schedule: Branch creation - "before 4am 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 has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Aug 27, 2023

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

Name Status Preview Comments Updated (UTC)
programming-in-th ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2023 7:45am

@renovate renovate bot force-pushed the renovate/dependencies-(non-major) branch from 988da67 to 123b618 Compare August 27, 2023 07:42
@github-actions
Copy link

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 100% 147 / 147
🔵 Statements 100% 147 / 147
🔵 Functions 100% 4 / 4
🔵 Branches 100% 17 / 17
File CoverageNo changed files found.
Generated in workflow #157

@leomotors leomotors enabled auto-merge (squash) August 27, 2023 07:45
@leomotors leomotors merged commit e1c9856 into main Aug 27, 2023
@leomotors leomotors deleted the renovate/dependencies-(non-major) branch August 27, 2023 07:47
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