Skip to content

Commit

Permalink
fix(db): update dependency @vercel/kv to v2 (#1276)
Browse files Browse the repository at this point in the history
[![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/kv@1.0.1...@vercel/kv@2.0.0)

##### 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 <58997957+JoeKarow@users.noreply.github.com>
  • Loading branch information
renovate[bot] and JoeKarow authored May 28, 2024
1 parent e4e49f8 commit 3bad179
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 20 deletions.
2 changes: 1 addition & 1 deletion apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@trpc/server": "10.45.2",
"@vercel/analytics": "1.2.2",
"@vercel/edge-config": "1.1.1",
"@vercel/kv": "1.0.1",
"@vercel/kv": "2.0.0",
"@vercel/speed-insights": "1.0.10",
"@weareinreach/analytics": "workspace:*",
"@weareinreach/api": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@trpc/react-query": "10.45.2",
"@trpc/server": "10.45.2",
"@vercel/edge-config": "1.1.1",
"@vercel/kv": "1.0.1",
"@vercel/kv": "2.0.0",
"@weareinreach/auth": "workspace:*",
"@weareinreach/crowdin": "workspace:*",
"@weareinreach/db": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/router/user/mutation.resendCode.handler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { resendVerificationCode } from '@weareinreach/auth/lib/resendCode'
import { resendVerificationCode } from '@weareinreach/auth/resendCode'
import { handleError } from '~api/lib/errorHandler'
import { type TRPCHandlerParams } from '~api/types/handler'

Expand Down
3 changes: 3 additions & 0 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"default": "./next-auth/types.ts",
"types": "./next-auth/types.ts"
},
"./resendCode": {
"default": "./lib/resendCode.ts"
},
"./resetPassword": {
"default": "./lib/resetPassword.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/crowdin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@crowdin/crowdin-api-client": "1.33.1",
"@crowdin/ota-client": "1.0.0",
"@opentelemetry/api": "1.8.0",
"@vercel/kv": "1.0.1",
"@vercel/kv": "2.0.0",
"@weareinreach/env": "workspace:*",
"@weareinreach/util": "workspace:*",
"flat": "6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@opentelemetry/semantic-conventions": "1.24.1",
"@prisma/client": "5.14.0",
"@prisma/instrumentation": "5.14.0",
"@vercel/kv": "1.0.1",
"@vercel/kv": "2.0.0",
"@vercel/postgres-kysely": "0.8.0",
"@weareinreach/crowdin": "workspace:*",
"@weareinreach/env": "workspace:*",
Expand Down
36 changes: 21 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3bad179

Please sign in to comment.