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: expose querykey getter and fix some querykey stuff #3302

Merged
merged 51 commits into from Dec 23, 2022
Merged

Conversation

juliusmarminge
Copy link
Member

@juliusmarminge juliusmarminge commented Nov 27, 2022

🎯 Changes

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

Docs link: https://www-git-julius-querykeys-trpc.vercel.app/docs/useContext#-the-function-i-want-isnt-here

API

Since we can't distinguish routers and procedures in runtime, we can't dynamically decide the QueryType to call getArrayQueryKey with. Therefore, I made these explicit arguments that the user inputs:

getQueryKey(undefined, "any")   // for routers
getQueryKey(TInput, "infinite") // for infinite queries
getQueryKey(TInput, "query")    // for regular queries

The default QueryType is any.

Usage is as follows:

import { useQueryClient } from "@tanstack/react-query";
import { trpc } from "~/utils/trpc";

const MyComp = () => {
  const qc = useQueryClient();
  const qKey = trpc.post.getQueryKey(undefined, "any");
  setQueryDefaults(qKey, { staleTime: 30 * 60 * 1000 });
}

Another usage is for route prefetching:

loader: async () => {
const postKey = trpc.post.all.getQueryKey(undefined, 'query');
queryClient.getQueryData(postKey) ??
(await queryClient.prefetchQuery(postKey, getPosts));
return {};
},

✅ 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 Nov 27, 2022

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

Name Status Preview Comments Updated
next-prisma-starter ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Dec 23, 2022 at 9:17AM (UTC)
og-image ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Dec 23, 2022 at 9:17AM (UTC)
todomvc 🔄 Building (Inspect) 💬 Add your feedback Dec 23, 2022 at 9:17AM (UTC)
www ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Dec 23, 2022 at 9:17AM (UTC)

KATT
KATT previously approved these changes Dec 22, 2022
Comment on lines +200 to +203
return (
JSON.stringify(path) === JSON.stringify(['count']) &&
(rest as any)?.input === 'test'
);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm I found it and fixed it here instead

Copy link
Member

@KATT KATT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, is this a breaking change?

@@ -186,7 +186,7 @@ describe('invalidateQueries()', () => {
<button
data-testid="invalidate-4-predicate"
onClick={() => {
utils.invalidate({
utils.invalidate(undefined, {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this changing the behaviour? 🤔

Looks like a breaking change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean yea theoretically although it wasnt working before so its more of a fix?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned this here: https://discord.com/channels/867764511159091230/1055437438266392646/1055450208424706099

We always take the first arg as input no matter what the types said so any filters applied would actually end up being supressed

@@ -192,12 +192,15 @@ describe('invalidateQueries()', () => {
<button
data-testid="invalidate-5-predicate"
onClick={() => {
utils.invalidateQueries({
utils.invalidateQueries(undefined, {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breaking chaange?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

@KATT KATT enabled auto-merge (squash) December 23, 2022 09:13
@TkDodo
Copy link
Collaborator

TkDodo commented Dec 23, 2022

awesome - thanks for this ❤️

nfabredev pushed a commit to nfabredev/trpc that referenced this pull request Dec 23, 2022
kodiakhq bot added a commit to weareinreach/InReach that referenced this pull request Dec 30, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core) ([source](https://togithub.com/babel/babel)) | [`7.20.5` -> `7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.20.5/7.20.7) | [![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/compatibility-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/confidence-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/) |
| [@tabler/icons](https://tabler-icons.io) ([source](https://togithub.com/tabler/tabler-icons)) | [`1.117.0` -> `1.119.0`](https://renovatebot.com/diffs/npm/@tabler%2ficons/1.117.0/1.119.0) | [![age](https://badges.renovateapi.com/packages/npm/@tabler%2ficons/1.119.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@tabler%2ficons/1.119.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@tabler%2ficons/1.119.0/compatibility-slim/1.117.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@tabler%2ficons/1.119.0/confidence-slim/1.117.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@tomfreudenberg/next-auth-mock](https://togithub.com/TomFreudenberg/next-auth-mock) | [`0.5.5` -> `0.5.6`](https://renovatebot.com/diffs/npm/@tomfreudenberg%2fnext-auth-mock/0.5.5/0.5.6) | [![age](https://badges.renovateapi.com/packages/npm/@tomfreudenberg%2fnext-auth-mock/0.5.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@tomfreudenberg%2fnext-auth-mock/0.5.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@tomfreudenberg%2fnext-auth-mock/0.5.6/compatibility-slim/0.5.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@tomfreudenberg%2fnext-auth-mock/0.5.6/confidence-slim/0.5.5)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/client](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.6.0` -> `10.7.0`](https://renovatebot.com/diffs/npm/@trpc%2fclient/10.6.0/10.7.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.7.0/compatibility-slim/10.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.7.0/confidence-slim/10.6.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/next](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.6.0` -> `10.7.0`](https://renovatebot.com/diffs/npm/@trpc%2fnext/10.6.0/10.7.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.7.0/compatibility-slim/10.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.7.0/confidence-slim/10.6.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/react-query](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.6.0` -> `10.7.0`](https://renovatebot.com/diffs/npm/@trpc%2freact-query/10.6.0/10.7.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.7.0/compatibility-slim/10.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.7.0/confidence-slim/10.6.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/server](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.6.0` -> `10.7.0`](https://renovatebot.com/diffs/npm/@trpc%2fserver/10.6.0/10.7.0) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.7.0/compatibility-slim/10.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.7.0/confidence-slim/10.6.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`16.18.10` -> `16.18.11`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.10/16.18.11) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.11/compatibility-slim/16.18.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.11/confidence-slim/16.18.10)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.0.9` -> `18.0.10`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.0.9/18.0.10) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.0.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.0.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.0.10/compatibility-slim/18.0.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.0.10/confidence-slim/18.0.9)](https://docs.renovatebot.com/merge-confidence/) |
| [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.47.0` -> `5.47.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.47.0/5.47.1) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.47.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.47.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.47.1/compatibility-slim/5.47.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.47.1/confidence-slim/5.47.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.47.0` -> `5.47.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.47.0/5.47.1) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.47.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.47.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.47.1/compatibility-slim/5.47.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.47.1/confidence-slim/5.47.0)](https://docs.renovatebot.com/merge-confidence/) |
| [aws-sdk](https://togithub.com/aws/aws-sdk-js) | [`2.1278.0` -> `2.1285.0`](https://renovatebot.com/diffs/npm/aws-sdk/2.1278.0/2.1285.0) | [![age](https://badges.renovateapi.com/packages/npm/aws-sdk/2.1285.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/aws-sdk/2.1285.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/aws-sdk/2.1285.0/compatibility-slim/2.1278.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/aws-sdk/2.1285.0/confidence-slim/2.1278.0)](https://docs.renovatebot.com/merge-confidence/) |
| [axios](https://axios-http.com) ([source](https://togithub.com/axios/axios)) | [`1.2.1` -> `1.2.2`](https://renovatebot.com/diffs/npm/axios/1.2.1/1.2.2) | [![age](https://badges.renovateapi.com/packages/npm/axios/1.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/axios/1.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/axios/1.2.2/compatibility-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/axios/1.2.2/confidence-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) |
| [luxon](https://togithub.com/moment/luxon) | [`3.1.1` -> `3.2.0`](https://renovatebot.com/diffs/npm/luxon/3.1.1/3.2.0) | [![age](https://badges.renovateapi.com/packages/npm/luxon/3.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/luxon/3.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/luxon/3.2.0/compatibility-slim/3.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/luxon/3.2.0/confidence-slim/3.1.1)](https://docs.renovatebot.com/merge-confidence/) |
| [next-auth](https://next-auth.js.org) ([source](https://togithub.com/nextauthjs/next-auth)) | [`4.18.6` -> `4.18.7`](https://renovatebot.com/diffs/npm/next-auth/4.18.6/4.18.7) | [![age](https://badges.renovateapi.com/packages/npm/next-auth/4.18.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/next-auth/4.18.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/next-auth/4.18.7/compatibility-slim/4.18.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/next-auth/4.18.7/confidence-slim/4.18.6)](https://docs.renovatebot.com/merge-confidence/) |
| [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) | [`7.18.2` -> `7.21.0`](https://renovatebot.com/diffs/npm/pnpm/7.18.2/7.21.0) | [![age](https://badges.renovateapi.com/packages/npm/pnpm/7.21.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/pnpm/7.21.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/pnpm/7.21.0/compatibility-slim/7.18.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/pnpm/7.21.0/confidence-slim/7.18.2)](https://docs.renovatebot.com/merge-confidence/) |
| [prettier-plugin-prisma](https://togithub.com/umidbekk/prettier-plugin-prisma) | [`4.4.0` -> `4.8.0`](https://renovatebot.com/diffs/npm/prettier-plugin-prisma/4.4.0/4.8.0) | [![age](https://badges.renovateapi.com/packages/npm/prettier-plugin-prisma/4.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier-plugin-prisma/4.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier-plugin-prisma/4.8.0/compatibility-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier-plugin-prisma/4.8.0/confidence-slim/4.4.0)](https://docs.renovatebot.com/merge-confidence/) |
| [storybook-dark-mode](https://togithub.com/hipstersmoothie/storybook-dark-mode) | [`2.0.4` -> `2.0.5`](https://renovatebot.com/diffs/npm/storybook-dark-mode/2.0.4/2.0.5) | [![age](https://badges.renovateapi.com/packages/npm/storybook-dark-mode/2.0.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/storybook-dark-mode/2.0.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/storybook-dark-mode/2.0.5/compatibility-slim/2.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/storybook-dark-mode/2.0.5/confidence-slim/2.0.4)](https://docs.renovatebot.com/merge-confidence/) |
| [type-fest](https://togithub.com/sindresorhus/type-fest) | [`3.4.0` -> `3.5.0`](https://renovatebot.com/diffs/npm/type-fest/3.4.0/3.5.0) | [![age](https://badges.renovateapi.com/packages/npm/type-fest/3.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/type-fest/3.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/type-fest/3.5.0/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/type-fest/3.5.0/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>babel/babel</summary>

### [`v7.20.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7207-2022-12-22)

[Compare Source](https://togithub.com/babel/babel/compare/v7.20.5...v7.20.7)

##### :eyeglasses: Spec Compliance

-   `babel-helper-member-expression-to-functions`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes`
    -   [#&#8203;15223](https://togithub.com/babel/babel/pull/15223) fix: Deleting super property should throw ([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
-   `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-object-super`
    -   [#&#8203;15241](https://togithub.com/babel/babel/pull/15241) fix: Throw correct error types from sed ant class TDZ helpers ([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))

##### :bug: Bug Fix

-   `babel-parser`, `babel-plugin-transform-typescript`
    -   [#&#8203;15209](https://togithub.com/babel/babel/pull/15209) fix: Support auto accessors with TypeScript annotations ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-traverse`
    -   [#&#8203;15287](https://togithub.com/babel/babel/pull/15287) Fix `.parentPath` after rename in `SwitchCase` ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-typescript`, `babel-traverse`
    -   [#&#8203;15284](https://togithub.com/babel/babel/pull/15284) fix: Ts import type and func with duplicate name ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-block-scoping`
    -   [#&#8203;15278](https://togithub.com/babel/babel/pull/15278) Fix tdz analysis for reassigned captured for bindings ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-proposal-async-generator-functions`, `babel-preset-env`
    -   [#&#8203;15235](https://togithub.com/babel/babel/pull/15235) fix: Transform `for await` with shadowed variables ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-generator`, `babel-plugin-proposal-optional-chaining`
    -   [#&#8203;15258](https://togithub.com/babel/babel/pull/15258) fix: Correctly generate `(a ?? b) as T` ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-react-jsx`, `babel-types`
    -   [#&#8203;15233](https://togithub.com/babel/babel/pull/15233) fix: Emit correct sourcemap ranges for `JSXText` ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-core`, `babel-helpers`, `babel-plugin-transform-computed-properties`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
    -   [#&#8203;15232](https://togithub.com/babel/babel/pull/15232) fix: Computed properties should keep original definition order ([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
-   `babel-helper-member-expression-to-functions`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes`
    -   [#&#8203;15223](https://togithub.com/babel/babel/pull/15223) fix: Deleting super property should throw ([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
-   `babel-generator`
    -   [#&#8203;15216](https://togithub.com/babel/babel/pull/15216) fix: Print newlines for leading Comments of `TSEnumMember` ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### :nail_care: Polish

-   `babel-plugin-transform-block-scoping`, `babel-traverse`
    -   [#&#8203;15275](https://togithub.com/babel/babel/pull/15275) Improve relative execution tracking in fn exprs ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### :house: Internal

-   `babel-helper-define-map`, `babel-plugin-transform-property-mutators`
    -   [#&#8203;15274](https://togithub.com/babel/babel/pull/15274) Inline & simplify `@babel/helper-define-map` ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-core`, `babel-plugin-proposal-class-properties`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-parameters`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-traverse`
    -   [#&#8203;15200](https://togithub.com/babel/babel/pull/15200) Rewrite `transform-block-scoping` plugin ([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### :running_woman: Performance

-   `babel-helper-compilation-targets`
    -   [#&#8203;15228](https://togithub.com/babel/babel/pull/15228) perf: Speed up `getTargets` ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

</details>

<details>
<summary>tabler/tabler-icons</summary>

### [`v1.119.0`](https://togithub.com/tabler/tabler-icons/releases/tag/v1.119.0): Release 1.119.0

[Compare Source](https://togithub.com/tabler/tabler-icons/compare/v1.118.0...v1.119.0)

![tabler-icons-1 119 0](https://user-images.githubusercontent.com/1282324/210014228-7745cb81-e81a-4bdd-bfbc-1ea065634e25.png)

##### 20 new icons:

-   `brand-amd`
-   `brand-etsy`
-   `brand-funimation`
-   `brand-google-podcasts`
-   `brand-hbo`
-   `brand-ted`
-   `carousel-horizontal`
-   `carousel-vertical`
-   `cat`
-   `chart-histogram`
-   `coins`
-   `currency-afghani`
-   `currency-peso`
-   `dog`
-   `jacket`
-   `timeline-event-exclamation`
-   `timeline-event-minus`
-   `timeline-event-plus`
-   `timeline-event-text`
-   `timeline-event-x`

Fixed icons: `building-stadium`, `man`, `square`, `timeline-event`, `woman`

### [`v1.118.0`](https://togithub.com/tabler/tabler-icons/releases/tag/v1.118.0): Release 1.118.0

[Compare Source](https://togithub.com/tabler/tabler-icons/compare/v1.117.0...v1.118.0)

![tabler-icons-1 118 0](https://user-images.githubusercontent.com/1282324/209139493-bef663b0-6830-4608-a632-565504df1230.png)

##### 18 new icons:

-   `building-stadium`
-   `circle-chevrons-down`
-   `circle-chevrons-left`
-   `circle-chevrons-right`
-   `circle-chevrons-up`
-   `device-airpods-case`
-   `device-ipad-horizontal`
-   `device-ipad`
-   `device-landline-phone`
-   `school-bell`
-   `square-chevrons-down`
-   `square-chevrons-left`
-   `square-chevrons-right`
-   `square-chevrons-up`
-   `square-rounded-chevrons-down`
-   `square-rounded-chevrons-left`
-   `square-rounded-chevrons-right`
-   `square-rounded-chevrons-up`

</details>

<details>
<summary>trpc/trpc</summary>

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

[Compare Source](https://togithub.com/trpc/trpc/compare/v10.6.0...v10.7.0)

##### What's Changed

-   feat/bug(server): ability to have `context`  & `meta` as `interface`s by [@&#8203;KATT](https://togithub.com/KATT) in #[#&#8203;3462](https://togithub.com/trpc/trpc/issues/3462)
-   feat(client + react-query): require transformers on frontend when present on the backend by [@&#8203;QuiiBz](https://togithub.com/QuiiBz) in [https://github.com/trpc/trpc/pull/3289](https://togithub.com/trpc/trpc/pull/3289)
-   feat(react-query): expose queryKey getter and fix some subtle issues by [@&#8203;juliusmarminge](https://togithub.com/juliusmarminge) in [https://github.com/trpc/trpc/pull/3302](https://togithub.com/trpc/trpc/pull/3302) ([docs](https://trpc.io/docs/useContext#-the-function-i-want-isnt-here)). Thanks to [@&#8203;TkDodo](https://togithub.com/TkDodo) for reporting and assisting

##### New Contributors

-   [@&#8203;andykenward](https://togithub.com/andykenward) made their first contribution in [https://github.com/trpc/trpc/pull/3408](https://togithub.com/trpc/trpc/pull/3408)

**Full Changelog**: https://github.com/trpc/trpc/compare/v10.6.0...v10.7.0

</details>

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/eslint-plugin)</summary>

### [`v5.47.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5471-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5470v5471-2022-12-26)

[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1)

##### Bug Fixes

-   **ast-spec:** correct some incorrect ast types ([#&#8203;6257](https://togithub.com/typescript-eslint/typescript-eslint/issues/6257)) ([0f3f645](https://togithub.com/typescript-eslint/typescript-eslint/commit/0f3f64571ea5d938081b1a9f3fd1495765201700))
-   **eslint-plugin:** \[member-ordering] correctly invert optionalityOrder ([#&#8203;6256](https://togithub.com/typescript-eslint/typescript-eslint/issues/6256)) ([ccd45d4](https://togithub.com/typescript-eslint/typescript-eslint/commit/ccd45d4a998946b7be1161f8c8216bc458e50b4e))

</details>

<details>
<summary>typescript-eslint/typescript-eslint (@&#8203;typescript-eslint/parser)</summary>

### [`v5.47.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5471-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5470v5471-2022-12-26)

[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1)

**Note:** Version bump only for package [@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

</details>

<details>
<summary>aws/aws-sdk-js</summary>

### [`v2.1285.0`](https://togithub.com/aws/aws-sdk-js/blob/HEAD/CHANGELOG.md#&#8203;212850)

[Compare Source](https://togithub.com/aws/aws-sdk-js/compare/v2.1284.0...v2.1285.0)

-   feature: EMR: Added GetClusterSessionCredentials API to allow Amazon SageMaker Studio to connect to EMR on EC2 clusters with runtime roles and AWS Lake Formation-based access control for Apache Spark, Apache Hive, and Presto queries.
-   feature: SecretsManager: Added owning service filter, include planned deletion flag, and next rotation date response parameter in ListSecrets.
-   feature: Wisdom: This release extends Wisdom CreateContent and StartContentUpload APIs to support PDF and MicrosoftWord docx document uploading.

### [`v2.1284.0`](https://togithub.com/aws/aws-sdk-js/blob/HEAD/CHANGELOG.md#&#8203;212840)

[Compare Source](https://togithub.com/aws/aws-sdk-js/compare/v2.1283.0...v2.1284.0)

-   feature: ElastiCache: This release allows you to modify the encryption in transit setting, for existing Redis clusters. You can now change the TLS configuration of your Redis clusters without the need to re-build or re-provision the clusters or impact application availability.
-   feature: NetworkFirewall: AWS Network Firewall now provides status messages for firewalls to help you troubleshoot when your endpoint fails.
-   feature: RDS: This release adds support for Custom Engine Version (CEV) on RDS Custom SQL Server.
-   feature: Route53RecoveryControlConfig: Added support for Python paginators in the route53-recovery-control-config List\* APIs.

### [`v2.1283.0`](https://togithub.com/aws/aws-sdk-js/blob/HEAD/CHANGELOG.md#&#8203;212830)

[Compare Source](https://togithub.com/aws/aws-sdk-js/compare/v2.1282.0...v2.1283.0)

-   feature: MemoryDB: This release adds support for MemoryDB Reserved nodes which provides a significant discount compared to on-demand node pricing. Reserved nodes are not physical nodes, but rather a billing discount applied to the use of on-demand nodes in your account.
-   feature: Transfer: Add additional operations to throw ThrottlingExceptions

### [`v2.1282.0`](https://togithub.com/aws/aws-sdk-js/blob/HEAD/CHANGELOG.md#&#8203;212820)

[Compare Source](https://togithub.com/aws/aws-sdk-js/compare/v2.1281.0...v2.1282.0)

-   feature: Connect: Support for Routing Profile filter, SortCriteria, and grouping by Routing Profiles for GetCurrentMetricData API. Support for RoutingProfiles, UserHierarchyGroups, and Agents as filters, NextStatus and AgentStatusName for GetCurrentUserData. Adds ApproximateTotalCount to both APIs.
-   feature: ConnectParticipant: Amazon Connect Chat introduces the Message Receipts feature. This feature allows agents and customers to receive message delivered and read receipts after they send a chat message.
-   feature: Detective: This release adds a missed AccessDeniedException type to several endpoints.
-   feature: FSx: Fix a bug where a recent release might break certain existing SDKs.
-   feature: Inspector2: Amazon Inspector adds support for scanning NodeJS 18.x and Go 1.x AWS Lambda function runtimes.

### [`v2.1281.0`](https://togithub.com/aws/aws-sdk-js/blob/HEAD/CHANGELOG.md#&#8203;212810)

[Compare Source](https://togithub.com/aws/aws-sdk-js/compare/v2.1280.0...v2.1281.0)

-   feature: ComputeOptimizer: This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for ecs services running on Fargate.
-   feature: Connect: Amazon Connect Chat introduces the Idle Participant/Autodisconnect feature, which allows users to set timeouts relating to the activity of chat participants, using the new UpdateParticipantRoleConfig API.
-   feature: IotDeviceAdvisor: This release adds the following new features: 1) Documentation updates for IoT Device Advisor APIs. 2) Updated required request parameters for IoT Device Advisor APIs. 3) Added new service feature: ability to provide the test endpoint when customer executing the StartSuiteRun API.
-   feature: KinesisVideoWebRTCStorage: Amazon Kinesis Video Streams offers capabilities to stream video and audio in real-time via WebRTC to the cloud for storage, playback, and analytical processing. Customers can use our enhanced WebRTC SDK and cloud APIs to enable real-time streaming, as well as media ingestion to the cloud.
-   feature: RDS: Add support for managing master user password in AWS Secrets Manager for the DBInstance and DBCluster.

### [`v2.1280.0`](https://togithub.com/aws/aws-sdk-js/blob/HEAD/CHANGELOG.md#&#8203;212800)

[Compare Source](https://togithub.com/aws/aws-sdk-js/compare/v2.1279.0...v2.1280.0)

-   feature: Connect: Amazon Connect Chat now allows for JSON (application/json) message types to be sent as part of the initial message in the StartChatContact API.
-   feature: ConnectParticipant: Amazon Connect Chat now allows for JSON (application/json) message types to be sent in the SendMessage API.
-   feature: LicenseManagerLinuxSubscriptions: AWS License Manager now offers cross-region, cross-account tracking of commercial Linux subscriptions on AWS. This includes subscriptions purchased as part of EC2 subscription-included AMIs, on the AWS Marketplace, or brought to AWS via Red Hat Cloud Access Program.
-   feature: Macie2: This release adds support for analyzing Amazon S3 objects that use the S3 Glacier Instant Retrieval (Glacier_IR) storage class.
-   feature: SageMaker: This release enables adding RStudio Workbench support to an existing Amazon SageMaker Studio domain. It allows setting your RStudio on SageMaker environment configuration parameters and also updating the RStudioConnectUrl and RStudioPackageManagerUrl parameters for existing domains
-   feature: Scheduler: Updated the ListSchedules and ListScheduleGroups APIs to allow the NamePrefix field to start with a number. Updated the validation for executionRole field to support any role name.
-   feature: Transfer: This release adds support for Decrypt as a workflow step type.

### [`v2.1279.0`](https://togithub.com/aws/aws-sdk-js/blob/HEAD/CHANGELOG.md#&#8203;212790)

[Compare Source](https://togithub.com/aws/aws-sdk-js/compare/v2.1278.0...v2.1279.0)

-   feature: Batch: Adds isCancelled and isTerminated to DescribeJobs response.
-   feature: EC2: Adds support for pagination in the EC2 DescribeImages API.
-   feature: LookoutEquipment: This release adds support for listing inference schedulers by status.
-   feature: MediaLive: This release adds support for two new features to AWS Elemental MediaLive. First, you can now burn-in timecodes to your MediaLive outputs. Second, we now now support the ability to decode Dolby E audio when it comes in on an input.
-   feature: Nimble: Amazon Nimble Studio now supports configuring session storage volumes and persistence, as well as backup and restore sessions through launch profiles.
-   feature: ResourceExplorer2: Documentation updates for AWS Resource Explorer.
-   feature: Route53Domains: Use Route 53 domain APIs to change owner, create/delete DS record, modify IPS tag, resend authorization. New: AssociateDelegationSignerToDomain, DisassociateDelegationSignerFromDomain, PushDomain, ResendOperationAuthorization. Updated: UpdateDomainContact, ListOperations, CheckDomainTransferability.
-   feature: SageMaker: Amazon SageMaker Autopilot adds support for new objective metrics in CreateAutoMLJob API.
-   feature: TranscribeService: Enable our batch transcription jobs for Swedish and Vietnamese.

</details>

<details>
<summary>axios/axios</summary>

### [`v1.2.2`](https://togithub.com/axios/axios/blob/HEAD/CHANGELOG.md#&#8203;122---2022-12-29)

[Compare Source](https://togithub.com/axios/axios/compare/v1.2.1...1.2.2)

##### Fixed

-   fix(ci): fix release script inputs [#&#8203;5392](https://togithub.com/axios/axios/pull/5392)
-   fix(ci): prerelease scipts [#&#8203;5377](https://togithub.com/axios/axios/pull/5377)
-   fix(ci): release scripts [#&#8203;5376](https://togithub.com/axios/axios/pull/5376)
-   fix(ci): typescript tests [#&#8203;5375](https://togithub.com/axios/axios/pull/5375)
-   fix: Brotli decompression [#&#8203;5353](https://togithub.com/axios/axios/pull/5353)
-   fix: add missing HttpStatusCode [#&#8203;5345](https://togithub.com/axios/axios/pull/5345)

##### Chores

-   chore(ci): set conventional-changelog header config [#&#8203;5406](https://togithub.com/axios/axios/pull/5406)
-   chore(ci): fix automatic contributors resolving [#&#8203;5403](https://togithub.com/axios/axios/pull/5403)
-   chore(ci): improved logging for the contributors list generator [#&#8203;5398](https://togithub.com/axios/axios/pull/5398)
-   chore(ci): fix release action [#&#8203;5397](https://togithub.com/axios/axios/pull/5397)
-   chore(ci): fix version bump script by adding bump argument for target version [#&#8203;5393](https://togithub.com/axios/axios/pull/5393)
-   chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 [#&#8203;5342](https://togithub.com/axios/axios/pull/5342)
-   chore(ci): GitHub Actions Release script [#&#8203;5384](https://togithub.com/axios/axios/pull/5384)
-   chore(ci): release scripts [#&#8203;5364](https://togithub.com/axios/axios/pull/5364)

##### Contributors to this release

-   ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4\&s=16) [Dmitriy Mozgovoy](https://togithub.com/DigitalBrainJS)
-   ![avatar](https://avatars.githubusercontent.com/u/1652293?v=4\&s=16) [Winnie](https://togithub.com/winniehell)

</details>

<details>
<summary>moment/luxon</summary>

### [`v3.2.0`](https://togithub.com/moment/luxon/blob/HEAD/CHANGELOG.md#&#8203;320-2022-12-29)

[Compare Source](https://togithub.com/moment/luxon/compare/3.1.1...3.2.0)

-   Allow timeZone to be specified as an intl option
-   Fix for diff's handling of end-of-month when crossing leap years ([#&#8203;1340](https://togithub.com/moment/luxon/issues/1340))
-   Add Interval.toLocaleString() ([#&#8203;1320](https://togithub.com/moment/luxon/issues/1320))

</details>

<details>
<summary>nextauthjs/next-auth</summary>

### [`v4.18.7`](https://togithub.com/nextauthjs/next-auth/releases/tag/next-auth%40v4.18.7)

[Compare Source](https://togithub.com/nextauthjs/next-auth/compare/next-auth@v4.18.6...next-auth@v4.18.7)

#### Bugfixes

-   **next-auth**: revert to 4.17 and replay other fixes ([https://github.com/nextauthjs/next-auth/pull/6132](https://togithub.com/nextauthjs/next-auth/pull/6132))

</details>

<details>
<summary>pnpm/pnpm</summary>

### [`v7.21.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.21.0)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.20.0...v7.21.0)

#### Minor Changes

-   The `pnpm dlx` command supports the `--shell-mode` (or `-c`) option. When used, the script is executed by a shell [#&#8203;5679](https://togithub.com/pnpm/pnpm/issues/5679).

#### Patch Changes

-   The config command should work with the `--location=global` CLI option [#&#8203;5841](https://togithub.com/pnpm/pnpm/issues/5841).
-   Only the `pnpm add --global <pkg>` command should fail if there is no global pnpm bin directory in the system PATH [#&#8203;5841](https://togithub.com/pnpm/pnpm/issues/5841).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nhost.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nhost_light.svg" />
            <img src="https://pnpm.io/img/users/nhost.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" />
            <img src="https://pnpm.io/img/users/novu.svg" width="180" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" />
            <img src="https://pnpm.io/img/users/prisma.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" />
            <img src="https://pnpm.io/img/users/vercel.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/doppler.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/doppler_light.svg" />
            <img src="https://pnpm.io/img/users/doppler.svg" width="280" />
          </picture>
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.20.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.20.0)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.19.0...v7.20.0)

#### Minor Changes

-   pnpm gets its own implementation of the following commands:

    -   `pnpm config get`
    -   `pnpm config set`
    -   `pnpm config delete`
    -   `pnpm config list`

    In previous versions these commands were passing through to npm CLI.

    PR: [#&#8203;5829](https://togithub.com/pnpm/pnpm/pull/5829)
    Related issue: [#&#8203;5621](https://togithub.com/pnpm/pnpm/issues/5621)

-   Add show alias to `pnpm view` [#&#8203;5835](https://togithub.com/pnpm/pnpm/pull/5835).

-   pnpm reads settings from its own global configuration file at `$XDG_CONFIG_HOME/pnpm/rc` [#&#8203;5829](https://togithub.com/pnpm/pnpm/pull/5829).

-   Add the 'description'-field to the licenses output [#&#8203;5836](https://togithub.com/pnpm/pnpm/pull/5836).

#### Patch Changes

-   `pnpm rebuild` should not fail if `node_modules` was created by pnpm version 7.18 or older [#&#8203;5815](https://togithub.com/pnpm/pnpm/issues/5815).
-   `pnpm env` should print help.
-   Run the prepublish scripts of packages installed from Git [#&#8203;5826](https://togithub.com/pnpm/pnpm/issues/5826).
-   `pnpm rebuild` should print a better error message when a hoisted dependency is not found [#&#8203;5815](https://togithub.com/pnpm/pnpm/issues/5815).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nhost.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nhost_light.svg" />
            <img src="https://pnpm.io/img/users/nhost.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" />
            <img src="https://pnpm.io/img/users/novu.svg" width="180" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" />
            <img src="https://pnpm.io/img/users/prisma.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" />
            <img src="https://pnpm.io/img/users/vercel.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/doppler.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/doppler_light.svg" />
            <img src="https://pnpm.io/img/users/doppler.svg" width="280" />
          </picture>
        </a>
      </td>
    </tr>
  </tbody>
</table>

### [`v7.19.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.19.0)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.18.2...v7.19.0)

#### Minor Changes

-   New setting supported in the `package.json` that is in the root of the workspace: `pnpm.requiredScripts`. Scripts listed in this array will be required in each project of the worksapce. Otherwise, `pnpm -r run <script name>` will fail [#&#8203;5569](https://togithub.com/pnpm/pnpm/issues/5569).
-   When the hoisted node linker is used, preserve `node_modules` directories when linking new dependencies. This improves performance, when installing in a project that already has a `node_modules` directory [#&#8203;5795](https://togithub.com/pnpm/pnpm/pull/5795).
-   When the hoisted node linker is used, pnpm should not build the same package multiple times during installation. If a package is present at multipe locations because hoisting could not hoist them to a single directory, then the package should only built in one of the locations and copied to the rest [#&#8203;5814](https://togithub.com/pnpm/pnpm/pull/5814).

#### Patch Changes

-   `pnpm rebuild` should work in projects that use the hoisted node linker [#&#8203;5560](https://togithub.com/pnpm/pnpm/issues/5560).
-   `pnpm patch` should print instructions about how to commit the changes [#&#8203;5809](https://togithub.com/pnpm/pnpm/pull/5809).
-   Allow the `-S` flag in command shims [pnpm/cmd-shim#&#8203;42](https://togithub.com/pnpm/cmd-shim/pull/42).
-   Don't relink injected directories if they were not built [#&#8203;5792](https://togithub.com/pnpm/pnpm/pull/5792).

#### Our Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://nhost.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nhost.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nhost_light.svg" />
            <img src="https://pnpm.io/img/users/nhost.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://novu.co/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/novu.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/novu_light.svg" />
            <img src="https://pnpm.io/img/users/novu.svg" width="180" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" />
            <img src="https://pnpm.io/img/users/prisma.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.flightcontrol.dev/?ref=pnpm" target="_blank"><img src="https://pnpm.io/img/users/flightcontrol.png" width="240"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" />
            <img src="https://pnpm.io/img/users/vercel.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.takeshape.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <img src="https://pnpm.io/img/users/takeshape.svg" width="280">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://doppler.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/doppler.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/doppler_light.svg" />
            <img src="https://pnpm.io/img/users/doppler.svg" width="280" />
          </picture>
        </a>
      </td>
    </tr>
  </tbody>
</table>

</details>

<details>
<summary>umidbekk/prettier-plugin-prisma</summary>

### [`v4.8.0`](https://togithub.com/avocadowastaken/prettier-plugin-prisma/releases/tag/v4.8.0)

[Compare Source](https://togithub.com/umidbekk/prettier-plugin-prisma/compare/v4.7.1...v4.8.0)

-   feat: Bump `@prisma/prisma-fmt-wasm` to `4.8.0`.  [`a88ee50`](https://togithub.com/umidbekk/prettier-plugin-prisma/commit/a88ee50)

### [`v4.7.1`](https://togithub.com/avocadowastaken/prettier-plugin-prisma/releases/tag/v4.7.1)

[Compare Source](https://togithub.com/umidbekk/prettier-plugin-prisma/compare/v4.7.0...v4.7.1)

-   feat: Bump `@prisma/prisma-fmt-wasm` to `4.7.1`.  [`9a211ac`](https://togithub.com/umidbekk/prettier-plugin-prisma/commit/9a211ac)

### [`v4.7.0`](https://togithub.com/avocadowastaken/prettier-plugin-prisma/releases/tag/v4.7.0)

[Compare Source](https://togithub.com/umidbekk/prettier-plugin-prisma/compare/v4.6.1...v4.7.0)

-   feat: Bump `@prisma/prisma-fmt-wasm` to `4.7.0`.  [`d2dafed`](https://togithub.com/umidbekk/prettier-plugin-prisma/commit/d2dafed)

### [`v4.6.1`](https://togithub.com/avocadowastaken/prettier-plugin-prisma/releases/tag/v4.6.1)

[Compare Source](https://togithub.com/umidbekk/prettier-plugin-prisma/compare/v4.6.0...v4.6.1)

-   feat: Bump `@prisma/prisma-fmt-wasm` to `4.6.1`.  [`175eb0f`](https://togithub.com/umidbekk/prettier-plugin-prisma/commit/175eb0f)

### [`v4.6.0`](https://togithub.com/avocadowastaken/prettier-plugin-prisma/releases/tag/v4.6.0)

[Compare Source](https://togithub.com/umidbekk/prettier-plugin-prisma/compare/v4.5.0...v4.6.0)

-   feat: Bump `@prisma/prisma-fmt-wasm` to `4.6.0`.  [`b1d5c8f`](https://togithub.com/umidbekk/prettier-plugin-prisma/commit/b1d5c8f)

### [`v4.5.0`](https://togithub.com/avocadowastaken/prettier-plugin-prisma/releases/tag/v4.5.0)

[Compare Source](https://togithub.com/umidbekk/prettier-plugin-prisma/compare/v4.4.0...v4.5.0)

-   feat: Bump `@prisma/prisma-fmt-wasm` to `4.5.0`.  [`0b09556`](https://togithub.com/umidbekk/prettier-plugin-prisma/commit/0b09556)
-   chore: Bump dependencies.  [`6afada3`](https://togithub.com/umidbekk/prettier-plugin-prisma/commit/6afada3)
-   chore: Drop NodeJS 12 support  [`e957616`](https://togithub.com/umidbekk/prettier-plugin-prisma/commit/e957616)

</details>

<details>
<summary>hipstersmoothie/storybook-dark-mode</summary>

### [`v2.0.5`](https://togithub.com/hipstersmoothie/storybook-dark-mode/blob/HEAD/CHANGELOG.md#v205-Thu-Dec-29-2022)

[Compare Source](https://togithub.com/hipstersmoothie/storybook-dark-mode/compare/v2.0.4...v2.0.5)

:tada: This release contains work from a new contributor! :tada:

Thank you, Beltrán Rengifo ([@&#8203;beltranrengifo](https://togithub.com/beltranrengifo)), for all your work!

##### 🐛 Bug Fix

-   Fix: `current` param not being respected by the dark OS color mode [#&#8203;207](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/207) ([@&#8203;beltranrengifo](https://togithub.com/beltranrengifo))

##### 🔩 Dependency Updates

-   Bump ini from 1.3.5 to 1.3.8 [#&#8203;189](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/189) ([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot]))
-   Bump minimatch from 3.0.4 to 3.1.2 [#&#8203;196](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/196) ([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot]))
-   Bump y18n from 4.0.0 to 4.0.3 [#&#8203;190](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/190) ([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot]))
-   Bump async from 3.2.0 to 3.2.4 [#&#8203;188](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/188) ([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot]))
-   Bump ajv from 6.10.0 to 6.12.6 [#&#8203;175](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/175) ([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot]))
-   Bump lodash from 4.17.11 to 4.17.21 [#&#8203;152](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/152) ([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot]))

##### Authors: 2

-   [@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot])
-   Beltrán Rengifo ([@&#8203;beltranrengifo](https://togithub.com/beltranrengifo))

***

</details>

<details>
<summary>sindresorhus/type-fest</summary>

### [`v3.5.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.0)

[Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.4.0...v3.5.0)

##### New types

-   [`IsEqual`](https://togithub.com/sindresorhus/type-fest/blob/main/source/is-equal.d.ts) ([#&#8203;522](https://togithub.com/sindresorhus/type-fest/issues/522))  [`e5a3a57`](https://togithub.com/sindresorhus/type-fest/commit/e5a3a57)

##### Improvements

-   `Join`: Support const tuple values ([#&#8203;533](https://togithub.com/sindresorhus/type-fest/issues/533))  [`db81191`](https://togithub.com/sindresorhus/type-fest/commit/db81191)
-   `TsConfigJson`: Sync with latest TypeScript version ([#&#8203;529](https://togithub.com/sindresorhus/type-fest/issues/529))  [`9f04028`](https://togithub.com/sindresorhus/type-fest/commit/9f04028)

##### Fixes

-   `CamelCase`: Fix handling of non-literal strings ([#&#8203;531](https://togithub.com/sindresorhus/type-fest/issues/531))  [`00b13f8`](https://togithub.com/sindresorhus/type-fest/commit/00b13f8)

</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://app.renovatebot.com/dashboard#github/weareinreach/InReach).



PR-URL: https://github.com/weareinreach/InReach/pull/121
Co-authored-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>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
♻️ autoupdate @trpc/react-query 🕸 www Stuff to do with the website (`/www` folder)
Projects
None yet
7 participants