Skip to content

Commit 3bad179

Browse files
fix(db): update dependency @vercel/kv to v2 (#1276)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | OpenSSF | |---|---|---|---|---| | [@vercel/kv](https://vercel.com) ([source](https://togithub.com/vercel/storage/tree/HEAD/packages/kv)) | dependencies | major | [`1.0.1` -> `2.0.0`](https://renovatebot.com/diffs/npm/@vercel%2fkv/1.0.1/2.0.0) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/vercel/storage/badge)](https://securityscorecards.dev/viewer/?uri=github.com/vercel/storage) | --- ### Release Notes <details> <summary>vercel/storage (@&#8203;vercel/kv)</summary> ### [`v2.0.0`](https://togithub.com/vercel/storage/blob/HEAD/packages/kv/CHANGELOG.md#200) [Compare Source](https://togithub.com/vercel/storage/compare/@vercel/[email protected]...@vercel/[email protected]) ##### Major Changes - [`d02e08a`](https://togithub.com/vercel/storage/commit/d02e08a): Enable auto pipelining by default. We're making this a major release for safety, but we believe most applications can upgrade from 1.x to 2.x without any changes. Auto pipelining should work by default and improve performance. *BREAKING* CHANGE: Auto pipelining is on by default now. See https://upstash.com/docs/oss/sdks/ts/redis/pipelining/auto-pipeline. This brings performance benefits to any code making multiple redis commands simultaneously. If you detect bugs because of this, please open them at https://github.com/vercel/storage/issues. You can disable this new behavior with: ```js import { createClient } from '@&#8203;vercel/kv'; const kv = createClient({ url: .., token: .., enableAutoPipelining: false }); ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/weareinreach/InReach). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbImF1dG9tZXJnZSIsImRlcGVuZGVuY2llcyIsImtvZGlhazogbWVyZ2UubWV0aG9kID0gJ3NxdWFzaCciXX0=--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joe Karow <[email protected]>
1 parent e4e49f8 commit 3bad179

File tree

7 files changed

+29
-20
lines changed

7 files changed

+29
-20
lines changed

apps/app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@trpc/server": "10.45.2",
6363
"@vercel/analytics": "1.2.2",
6464
"@vercel/edge-config": "1.1.1",
65-
"@vercel/kv": "1.0.1",
65+
"@vercel/kv": "2.0.0",
6666
"@vercel/speed-insights": "1.0.10",
6767
"@weareinreach/analytics": "workspace:*",
6868
"@weareinreach/api": "workspace:*",

packages/api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@trpc/react-query": "10.45.2",
2626
"@trpc/server": "10.45.2",
2727
"@vercel/edge-config": "1.1.1",
28-
"@vercel/kv": "1.0.1",
28+
"@vercel/kv": "2.0.0",
2929
"@weareinreach/auth": "workspace:*",
3030
"@weareinreach/crowdin": "workspace:*",
3131
"@weareinreach/db": "workspace:*",

packages/api/router/user/mutation.resendCode.handler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { resendVerificationCode } from '@weareinreach/auth/lib/resendCode'
1+
import { resendVerificationCode } from '@weareinreach/auth/resendCode'
22
import { handleError } from '~api/lib/errorHandler'
33
import { type TRPCHandlerParams } from '~api/types/handler'
44

packages/auth/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
"default": "./next-auth/types.ts",
3232
"types": "./next-auth/types.ts"
3333
},
34+
"./resendCode": {
35+
"default": "./lib/resendCode.ts"
36+
},
3437
"./resetPassword": {
3538
"default": "./lib/resetPassword.ts"
3639
},

packages/crowdin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@crowdin/crowdin-api-client": "1.33.1",
4343
"@crowdin/ota-client": "1.0.0",
4444
"@opentelemetry/api": "1.8.0",
45-
"@vercel/kv": "1.0.1",
45+
"@vercel/kv": "2.0.0",
4646
"@weareinreach/env": "workspace:*",
4747
"@weareinreach/util": "workspace:*",
4848
"flat": "6.0.1",

packages/db/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@opentelemetry/semantic-conventions": "1.24.1",
4848
"@prisma/client": "5.14.0",
4949
"@prisma/instrumentation": "5.14.0",
50-
"@vercel/kv": "1.0.1",
50+
"@vercel/kv": "2.0.0",
5151
"@vercel/postgres-kysely": "0.8.0",
5252
"@weareinreach/crowdin": "workspace:*",
5353
"@weareinreach/env": "workspace:*",

pnpm-lock.yaml

+21-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)