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

feat(next): add some cache primitives to data fetching #4375

Merged
merged 90 commits into from
Jun 28, 2023
Merged

Conversation

juliusmarminge
Copy link
Member

@juliusmarminge juliusmarminge commented May 17, 2023

Part of #3297

🎯 Changes

What changes are made in this PR? Is it a feature or a bug fix?

  • Adds 2 new links specifically made for Next.js app router and to work nice with the Next.js cache that's available in RSC

    • 1 uses HTTP and is a small wrapper around the current httpLink and httpBatchLink
    • 1 uses the unstable_cache method provided by Next and invokes procedures directly
  • Adds a new revalidate method on the client proxy that calls revalidateTag to invalidate the tags for a query

✅ Checklist

  • I have followed the steps listed in the Contributing guide.
  • If necessary, I have added documentation related to the changes made.
  • I have added or updated the tests related to the changes made.

@vercel
Copy link

vercel bot commented May 17, 2023

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

Name Status Preview Comments Updated (UTC)
next-prisma-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2023 1:23pm
og-image ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2023 1:23pm
www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2023 1:23pm

@juliusmarminge juliusmarminge merged commit a77751d into main Jun 28, 2023
34 checks passed
@juliusmarminge juliusmarminge deleted the next-fetch branch June 28, 2023 14:22
kodiakhq bot added a commit to weareinreach/TransMascFutures that referenced this pull request Jun 29, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@trpc/client](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.32.0` -> `10.33.0`](https://renovatebot.com/diffs/npm/@trpc%2fclient/10.32.0/10.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.33.0/compatibility-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.33.0/confidence-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/next](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.32.0` -> `10.33.0`](https://renovatebot.com/diffs/npm/@trpc%2fnext/10.32.0/10.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.33.0/compatibility-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.33.0/confidence-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/react-query](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.32.0` -> `10.33.0`](https://renovatebot.com/diffs/npm/@trpc%2freact-query/10.32.0/10.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.33.0/compatibility-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.33.0/confidence-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/server](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.32.0` -> `10.33.0`](https://renovatebot.com/diffs/npm/@trpc%2fserver/10.32.0/10.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.33.0/compatibility-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.33.0/confidence-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [i18next](https://www.i18next.com) ([source](https://togithub.com/i18next/i18next)) | [`23.2.3` -> `23.2.6`](https://renovatebot.com/diffs/npm/i18next/23.2.3/23.2.6) | [![age](https://badges.renovateapi.com/packages/npm/i18next/23.2.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/i18next/23.2.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/i18next/23.2.6/compatibility-slim/23.2.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/i18next/23.2.6/confidence-slim/23.2.3)](https://docs.renovatebot.com/merge-confidence/) |
| [lint-staged](https://togithub.com/okonet/lint-staged) | [`13.2.2` -> `13.2.3`](https://renovatebot.com/diffs/npm/lint-staged/13.2.2/13.2.3) | [![age](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.3/compatibility-slim/13.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/lint-staged/13.2.3/confidence-slim/13.2.2)](https://docs.renovatebot.com/merge-confidence/) |
| [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.1.3` -> `5.1.6`](https://renovatebot.com/diffs/npm/typescript/5.1.3/5.1.6) | [![age](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/compatibility-slim/5.1.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/confidence-slim/5.1.3)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>trpc/trpc (@&#8203;trpc/client)</summary>

### [`v10.33.0`](https://togithub.com/trpc/trpc/releases/tag/v10.33.0)

[Compare Source](https://togithub.com/trpc/trpc/compare/v10.32.0...v10.33.0)

##### What's Changed

-   feat(`next`): add some cache primitives to data fetching by [@&#8203;juliusmarminge](https://togithub.com/juliusmarminge) in [trpc/trpc#4375

##### New Contributors

-   [@&#8203;iuioiua](https://togithub.com/iuioiua) made their first contribution in [trpc/trpc#4563

**Full Changelog**: trpc/trpc@v10.32.0...v10.33.0

</details>

<details>
<summary>i18next/i18next (i18next)</summary>

### [`v23.2.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#&#8203;2326)

[Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.5...v23.2.6)

-   Re-allow unknown keys, when a defaultValue is provided [1867](https://togithub.com/i18next/i18next/issues/1867)

### [`v23.2.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#&#8203;2325)

[Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.3...v23.2.5)

-   Clean language code before passing to formatters [1988](https://togithub.com/i18next/i18next/pull/1988)

</details>

<details>
<summary>okonet/lint-staged (lint-staged)</summary>

### [`v13.2.3`](https://togithub.com/okonet/lint-staged/releases/tag/v13.2.3)

[Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.2.2...v13.2.3)

##### Bug Fixes

-   the `--diff` option implies `--no-stash` ([66a716d](https://togithub.com/okonet/lint-staged/commit/66a716d5a32c49f03b9a34350fec1b2411bada17))

</details>

<details>
<summary>Microsoft/TypeScript (typescript)</summary>

### [`v5.1.5`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.1.5): TypeScript 5.1.5

[Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.3...v5.1.5)

For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/).

For the complete list of fixed issues, check out the

-   [fixed issues query for Typescript v5.1.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.0%22+is%3Aclosed+).
-   [fixed issues query for Typescript v5.1.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.1%22+is%3Aclosed+).
-   [fixed issues query for Typescript v5.1.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.2%22+is%3Aclosed+).
-   [fixed issues query for Typescript v5.1.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.3%22+is%3Aclosed+).
-   (5.1.4 [intentionally skipped](https://togithub.com/microsoft/TypeScript/issues/53031#issuecomment-1610038922))
-   [fixed issues query for Typescript v5.1.5 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.5%22+is%3Aclosed+).

Downloads are available on:

-   [npm](https://www.npmjs.com/package/typescript)
-   [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] 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/GLAAD).



PR-URL: #85
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot pushed a commit to weareinreach/InReach that referenced this pull request Jun 30, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@aws-lambda-powertools/logger](https://togithub.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/logger#readme) ([source](https://togithub.com/aws-powertools/powertools-lambda-typescript)) | [`1.10.0` -> `1.11.0`](https://renovatebot.com/diffs/npm/@aws-lambda-powertools%2flogger/1.10.0/1.11.0) | [![age](https://badges.renovateapi.com/packages/npm/@aws-lambda-powertools%2flogger/1.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@aws-lambda-powertools%2flogger/1.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@aws-lambda-powertools%2flogger/1.11.0/compatibility-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@aws-lambda-powertools%2flogger/1.11.0/confidence-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@aws-sdk/client-cognito-identity-provider](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity-provider) ([source](https://togithub.com/aws/aws-sdk-js-v3)) | [`3.360.0` -> `3.363.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-cognito-identity-provider/3.360.0/3.363.0) | [![age](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-cognito-identity-provider/3.363.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-cognito-identity-provider/3.363.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-cognito-identity-provider/3.363.0/compatibility-slim/3.360.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-cognito-identity-provider/3.363.0/confidence-slim/3.360.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3)) | [`3.360.0` -> `3.363.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.360.0/3.363.0) | [![age](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-s3/3.363.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-s3/3.363.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-s3/3.363.0/compatibility-slim/3.360.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@aws-sdk%2fclient-s3/3.363.0/confidence-slim/3.360.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@prisma/client](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`4.16.1` -> `4.16.2`](https://renovatebot.com/diffs/npm/@prisma%2fclient/4.16.1/4.16.2) | [![age](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/4.16.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/4.16.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/4.16.2/compatibility-slim/4.16.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/4.16.2/confidence-slim/4.16.1)](https://docs.renovatebot.com/merge-confidence/) |
| [@prisma/instrumentation](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`4.16.1` -> `4.16.2`](https://renovatebot.com/diffs/npm/@prisma%2finstrumentation/4.16.1/4.16.2) | [![age](https://badges.renovateapi.com/packages/npm/@prisma%2finstrumentation/4.16.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@prisma%2finstrumentation/4.16.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@prisma%2finstrumentation/4.16.2/compatibility-slim/4.16.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@prisma%2finstrumentation/4.16.2/confidence-slim/4.16.1)](https://docs.renovatebot.com/merge-confidence/) |
| @&#8203;prisma/nextjs-monorepo-workaround-plugin | [`4.16.1` -> `4.16.2`](https://renovatebot.com/diffs/npm/@prisma%2fnextjs-monorepo-workaround-plugin/4.16.1/4.16.2) | [![age](https://badges.renovateapi.com/packages/npm/@prisma%2fnextjs-monorepo-workaround-plugin/4.16.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@prisma%2fnextjs-monorepo-workaround-plugin/4.16.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@prisma%2fnextjs-monorepo-workaround-plugin/4.16.2/compatibility-slim/4.16.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@prisma%2fnextjs-monorepo-workaround-plugin/4.16.2/confidence-slim/4.16.1)](https://docs.renovatebot.com/merge-confidence/) |
| [@sentry/nextjs](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/nextjs) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`7.56.0` -> `7.57.0`](https://renovatebot.com/diffs/npm/@sentry%2fnextjs/7.56.0/7.57.0) | [![age](https://badges.renovateapi.com/packages/npm/@sentry%2fnextjs/7.57.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@sentry%2fnextjs/7.57.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@sentry%2fnextjs/7.57.0/compatibility-slim/7.56.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@sentry%2fnextjs/7.57.0/confidence-slim/7.56.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/client](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.32.0` -> `10.33.0`](https://renovatebot.com/diffs/npm/@trpc%2fclient/10.32.0/10.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.33.0/compatibility-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.33.0/confidence-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/next](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.32.0` -> `10.33.0`](https://renovatebot.com/diffs/npm/@trpc%2fnext/10.32.0/10.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.33.0/compatibility-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.33.0/confidence-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/react-query](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.32.0` -> `10.33.0`](https://renovatebot.com/diffs/npm/@trpc%2freact-query/10.32.0/10.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.33.0/compatibility-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.33.0/confidence-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/server](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.32.0` -> `10.33.0`](https://renovatebot.com/diffs/npm/@trpc%2fserver/10.32.0/10.33.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.33.0/compatibility-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.33.0/confidence-slim/10.32.0)](https://docs.renovatebot.com/merge-confidence/) |
| [i18next](https://www.i18next.com) ([source](https://togithub.com/i18next/i18next)) | [`23.2.3` -> `23.2.6`](https://renovatebot.com/diffs/npm/i18next/23.2.3/23.2.6) | [![age](https://badges.renovateapi.com/packages/npm/i18next/23.2.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/i18next/23.2.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/i18next/23.2.6/compatibility-slim/23.2.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/i18next/23.2.6/confidence-slim/23.2.3)](https://docs.renovatebot.com/merge-confidence/) |
| [prisma](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`4.16.1` -> `4.16.2`](https://renovatebot.com/diffs/npm/prisma/4.16.1/4.16.2) | [![age](https://badges.renovateapi.com/packages/npm/prisma/4.16.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prisma/4.16.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prisma/4.16.2/compatibility-slim/4.16.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prisma/4.16.2/confidence-slim/4.16.1)](https://docs.renovatebot.com/merge-confidence/) |
| [react-phone-number-input](https://gitlab.com/catamphetamine/react-phone-number-input) | [`3.2.24` -> `3.2.25`](https://renovatebot.com/diffs/npm/react-phone-number-input/3.2.24/3.2.25) | [![age](https://badges.renovateapi.com/packages/npm/react-phone-number-input/3.2.25/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/react-phone-number-input/3.2.25/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/react-phone-number-input/3.2.25/compatibility-slim/3.2.24)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/react-phone-number-input/3.2.25/confidence-slim/3.2.24)](https://docs.renovatebot.com/merge-confidence/) |
| [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.1.5` -> `5.1.6`](https://renovatebot.com/diffs/npm/typescript/5.1.5/5.1.6) | [![age](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/compatibility-slim/5.1.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/5.1.6/confidence-slim/5.1.5)](https://docs.renovatebot.com/merge-confidence/) |
| [webpack](https://togithub.com/webpack/webpack) | [`5.88.0` -> `5.88.1`](https://renovatebot.com/diffs/npm/webpack/5.88.0/5.88.1) | [![age](https://badges.renovateapi.com/packages/npm/webpack/5.88.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/webpack/5.88.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/webpack/5.88.1/compatibility-slim/5.88.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/webpack/5.88.1/confidence-slim/5.88.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>aws-powertools/powertools-lambda-typescript (@&#8203;aws-lambda-powertools/logger)</summary>

### [`v1.11.0`](https://togithub.com/aws-powertools/powertools-lambda-typescript/blob/HEAD/CHANGELOG.md#&#8203;1110-httpsgithubcomaws-powertoolspowertools-lambda-typescriptcomparev1100v1110-2023-06-29)

[Compare Source](https://togithub.com/aws-powertools/powertools-lambda-typescript/compare/v1.10.0...v1.11.0)

##### Features

-   **idempotency:** preserve original error when wrapping into `IdempotencyPersistenceLayerError` ([#&#8203;1552](https://togithub.com/aws-powertools/powertools-lambda-typescript/issues/1552)) ([866837d](https://togithub.com/aws-powertools/powertools-lambda-typescript/commit/866837daf34563698709612351c45769e02daf16))

</details>

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-cognito-identity-provider)</summary>

### [`v3.363.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-cognito-identity-provider/CHANGELOG.md#&#8203;33630-httpsgithubcomawsaws-sdk-js-v3comparev33620v33630-2023-06-29)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.362.0...v3.363.0)

##### Features

-   **clients:** use migrated [@&#8203;smithy](https://togithub.com/smithy) packages ([#&#8203;4873](https://togithub.com/aws/aws-sdk-js-v3/issues/4873)) ([d036e2e](https://togithub.com/aws/aws-sdk-js-v3/commit/d036e2e43cd33cfd497871f97dde907c3078b2fd))

### [`v3.362.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-cognito-identity-provider/CHANGELOG.md#&#8203;33620-httpsgithubcomawsaws-sdk-js-v3comparev33610v33620-2023-06-28)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.360.0...v3.362.0)

**Note:** Version bump only for package [@&#8203;aws-sdk/client-cognito-identity-provider](https://togithub.com/aws-sdk/client-cognito-identity-provider)

</details>

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-s3)</summary>

### [`v3.363.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#&#8203;33630-httpsgithubcomawsaws-sdk-js-v3comparev33620v33630-2023-06-29)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.362.0...v3.363.0)

##### Features

-   **clients:** use migrated [@&#8203;smithy](https://togithub.com/smithy) packages ([#&#8203;4873](https://togithub.com/aws/aws-sdk-js-v3/issues/4873)) ([d036e2e](https://togithub.com/aws/aws-sdk-js-v3/commit/d036e2e43cd33cfd497871f97dde907c3078b2fd))

### [`v3.362.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#&#8203;33620-httpsgithubcomawsaws-sdk-js-v3comparev33610v33620-2023-06-28)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.360.0...v3.362.0)

##### Features

-   **client-s3:** The S3 LISTObjects, ListObjectsV2 and ListObjectVersions API now supports a new optional header x-amz-optional-object-attributes. If header contains RestoreStatus as the value, then S3 will include Glacier restore status i.e. isRestoreInProgress and RestoreExpiryDate in List response. ([5457785](https://togithub.com/aws/aws-sdk-js-v3/commit/54577854eb24a30cdee4099f03c7b26f247f3dc0))

</details>

<details>
<summary>prisma/prisma (@&#8203;prisma/client)</summary>

### [`v4.16.2`](https://togithub.com/prisma/prisma/releases/tag/4.16.2)

[Compare Source](https://togithub.com/prisma/prisma/compare/4.16.1...4.16.2)

Today, we are issuing the `4.16.2` patch release.

#### Fixes in Prisma Client

-   [4.16: (MongoDB) Generated types for list composites are incorrect](https://togithub.com/prisma/prisma/issues/19880)
-   [Getting wrong types with prisma client extensions](https://togithub.com/prisma/prisma/issues/19958)
-   [Prisma Client fluent API does not work with extends anymore on 4.16.1](https://togithub.com/prisma/prisma/issues/19921)
-   [Prisma Client Extensions: `$allModels: { $allOperations }` sets query type to `never` ](https://togithub.com/prisma/prisma/issues/19888)
-   [Result types are incorrectly inferred when `undefined` explicitly passed to `select`/`include`](https://togithub.com/prisma/prisma/issues/19997)

</details>

<details>
<summary>getsentry/sentry-javascript (@&#8203;sentry/nextjs)</summary>

### [`v7.57.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#&#8203;7570)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.56.0...7.57.0)

##### Important Changes

-   **build: Update typescript from 3.8.3 to 4.9.5 ([#&#8203;8255](https://togithub.com/getsentry/sentry-javascript/issues/8255))**

This release version [bumps the internally used typescript version from 3.8.x to 4.9.x](https://togithub.com/getsentry/sentry-javascript/pull/8255).
We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9.
This means that this change should be fully backwards compatible and not have any noticable user impact,
but if you still encounter issues please let us know.

-   **feat(types): Add tracePropagationTargets to top level options ([#&#8203;8395](https://togithub.com/getsentry/sentry-javascript/issues/8395))**

Instead of passing `tracePropagationTargets` to the `BrowserTracing` integration, you can now define them on the top level:

```js
Sentry.init({
  tracePropagationTargets: ['api.site.com'],
});
```

-   **fix(angular): Filter out `TryCatch` integration by default ([#&#8203;8367](https://togithub.com/getsentry/sentry-javascript/issues/8367))**

The Angular and Angular-ivy SDKs will not install the TryCatch integration anymore by default.
This integration conflicted with the `SentryErrorHander`, sometimes leading to duplicated errors and/or missing data on events.

-   **feat(browser): Better event name handling for non-Error objects ([#&#8203;8374](https://togithub.com/getsentry/sentry-javascript/issues/8374))**

When capturing non-errors via `Sentry.captureException()`, e.g. `Sentry.captureException({ prop: "custom object" })`,
we now generate a more helpful value for the synthetic exception. Instead of e.g. `Non-Error exception captured with keys: currentTarget, isTrusted, target, type`, you'll now get messages like:

    Object captured as exception with keys: prop1, prop2
    Event `MouseEvent` (type=click) captured as exception
    Event `ErrorEvent` captured as exception with message `Script error.`

##### Other Changes

-   feat(browser): Send profiles in same envelope as transactions ([#&#8203;8375](https://togithub.com/getsentry/sentry-javascript/issues/8375))
-   feat(profiling): Collect timings on profiler stop calls ([#&#8203;8409](https://togithub.com/getsentry/sentry-javascript/issues/8409))
-   feat(replay): Do not capture replays < 5 seconds (GA) ([#&#8203;8277](https://togithub.com/getsentry/sentry-javascript/issues/8277))
-   feat(tracing): Add experiment to capture http timings ([#&#8203;8371](https://togithub.com/getsentry/sentry-javascript/issues/8371))
-   feat(tracing): Add `http.response.status_code` to `span.data` ([#&#8203;8366](https://togithub.com/getsentry/sentry-javascript/issues/8366))
-   fix(angular): Stop routing spans on navigation cancel and error events ([#&#8203;8369](https://togithub.com/getsentry/sentry-javascript/issues/8369))
-   fix(core): Only start spans in `trace` if tracing is enabled ([#&#8203;8357](https://togithub.com/getsentry/sentry-javascript/issues/8357))
-   fix(nextjs): Inject init calls via loader instead of via entrypoints ([#&#8203;8368](https://togithub.com/getsentry/sentry-javascript/issues/8368))
-   fix(replay): Mark ui.slowClickDetected `clickCount` as optional ([#&#8203;8376](https://togithub.com/getsentry/sentry-javascript/issues/8376))
-   fix(serverless): Export `autoDiscoverNodePerformanceMonitoringIntegrations` from SDK ([#&#8203;8382](https://togithub.com/getsentry/sentry-javascript/issues/8382))
-   fix(sveltekit): Check for cached requests in client-side fetch instrumentation ([#&#8203;8391](https://togithub.com/getsentry/sentry-javascript/issues/8391))
-   fix(sveltekit): Only instrument SvelteKit `fetch` if the SDK client is valid ([#&#8203;8381](https://togithub.com/getsentry/sentry-javascript/issues/8381))
-   fix(tracing): Instrument Prisma client in constructor of integration ([#&#8203;8383](https://togithub.com/getsentry/sentry-javascript/issues/8383))
-   ref(replay): More graceful `sessionStorage` check ([#&#8203;8394](https://togithub.com/getsentry/sentry-javascript/issues/8394))
-   ref(replay): Remove circular dep in replay eventBuffer ([#&#8203;8389](https://togithub.com/getsentry/sentry-javascript/issues/8389))

</details>

<details>
<summary>trpc/trpc (@&#8203;trpc/client)</summary>

### [`v10.33.0`](https://togithub.com/trpc/trpc/releases/tag/v10.33.0)

[Compare Source](https://togithub.com/trpc/trpc/compare/v10.32.0...v10.33.0)

#### What's Changed

-   feat(`next`): add some cache primitives to data fetching by [@&#8203;juliusmarminge](https://togithub.com/juliusmarminge) in [trpc/trpc#4375

#### New Contributors

-   [@&#8203;iuioiua](https://togithub.com/iuioiua) made their first contribution in [trpc/trpc#4563

**Full Changelog**: trpc/trpc@v10.32.0...v10.33.0

</details>

<details>
<summary>i18next/i18next (i18next)</summary>

### [`v23.2.6`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#&#8203;2326)

[Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.5...v23.2.6)

-   Re-allow unknown keys, when a defaultValue is provided [1867](https://togithub.com/i18next/i18next/issues/1867)

### [`v23.2.5`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#&#8203;2325)

[Compare Source](https://togithub.com/i18next/i18next/compare/v23.2.3...v23.2.5)

-   Clean language code before passing to formatters [1988](https://togithub.com/i18next/i18next/pull/1988)

</details>

<details>
<summary>catamphetamine/react-phone-number-input (react-phone-number-input)</summary>

### [`v3.2.25`](https://gitlab.com/catamphetamine/react-phone-number-input/compare/v3.2.24...v3.2.25)

[Compare Source](https://gitlab.com/catamphetamine/react-phone-number-input/compare/v3.2.24...v3.2.25)

</details>

<details>
<summary>webpack/webpack (webpack)</summary>

### [`v5.88.1`](https://togithub.com/webpack/webpack/releases/tag/v5.88.1)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.88.0...v5.88.1)

#### Developer Experience

-   Significantly improve TypeScript coverage for Library Plugins by [@&#8203;alexander-akait](https://togithub.com/alexander-akait) in [webpack/webpack#17414

**Full Changelog**: webpack/webpack@v5.88.0...v5.88.1

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] 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).



PR-URL: #641
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
♻️ autoupdate @trpc/client @trpc/next 🕸 www Stuff to do with the website (`/www` folder)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants