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

React to ref changes #1132

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

zeorin
Copy link
Contributor

@zeorin zeorin commented Feb 8, 2024

  • Use a callback ref
  • Re-run the effect when the ref changes
  • Updated docs
    • Fix: TS doesn't actually infer the type of the ref automatically, this was already the case regardless of whether the ref is a ref object or a ref callback

When reacting to ref changes, it's easiest when:

  • the ref is a callback ref function, this way React will call your callback whenever the ref changes,
  • you store the instance React gives you in your callback in state. That way, when your callback is called, simply update the state, and anything that depends on it will just react as normal. Conveniently, one can just use the setState function directly as a callback ref function.

I reused the test from #1117.

Fixes #1116.

- Use a ref callback
- Re-run the effect when the ref changes
- Updated docs
  - Fix: TS doesn't actually infer the type of the ref
    automatically, this was already the case regardless of whether the
    ref is a ref object or a ref callback
Copy link

vercel bot commented Feb 8, 2024

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

Name Status Preview Comments Updated (UTC)
react-hotkeys-hook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2024 2:37pm

@vilemj-Viclick
Copy link

Nice!
I'm glad you found the test useful. I'll see to it that my Pull Request #1117 is abandoned.

@zeorin
Copy link
Contributor Author

zeorin commented Apr 18, 2024

@JohannesKlauss I would be most grateful if you could review this PR. 🙏

In the meantime, I've worked around this by applying my changes to my project using yarn's package patching feature.

@JohannesKlauss JohannesKlauss merged commit 88264ea into JohannesKlauss:main Aug 19, 2024
2 checks passed
@JohannesKlauss
Copy link
Owner

Sorry that it took so long, thank you for your PR!

simonknittel referenced this pull request in simonknittel/sinister-incorporated Sep 10, 2024
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [@prisma/client](https://www.prisma.io)
([source](https://redirect.github.com/prisma/prisma/tree/HEAD/packages/client))
| dependencies | minor | [`5.18.0` ->
`5.19.1`](https://renovatebot.com/diffs/npm/@prisma%2fclient/5.18.0/5.19.1)
| |
|
[@tailwindcss/typography](https://redirect.github.com/tailwindlabs/tailwindcss-typography)
| devDependencies | patch | [`0.5.14` ->
`0.5.15`](https://renovatebot.com/diffs/npm/@tailwindcss%2ftypography/0.5.14/0.5.15)
| |
| [@tanstack/react-query](https://tanstack.com/query)
([source](https://redirect.github.com/TanStack/query/tree/HEAD/packages/react-query))
| dependencies | minor | [`5.52.2` ->
`5.53.3`](https://renovatebot.com/diffs/npm/@tanstack%2freact-query/5.52.2/5.53.3)
| `5.55.4` (+5) |
| [@tanstack/react-query-devtools](https://tanstack.com/query)
([source](https://redirect.github.com/TanStack/query/tree/HEAD/packages/react-query-devtools))
| dependencies | minor | [`5.52.2` ->
`5.54.0`](https://renovatebot.com/diffs/npm/@tanstack%2freact-query-devtools/5.52.2/5.54.0)
| `5.55.4` (+5) |
| [@trpc/client](https://trpc.io)
([source](https://redirect.github.com/trpc/trpc/tree/HEAD/packages/client))
| dependencies | patch | [`11.0.0-rc.485` ->
`11.0.0-rc.498`](https://renovatebot.com/diffs/npm/@trpc%2fclient/11.0.0-rc.485/11.0.0-rc.498)
| `11.0.0-rc.502` (+2) |
| [@trpc/next](https://trpc.io)
([source](https://redirect.github.com/trpc/trpc/tree/HEAD/packages/next))
| dependencies | patch | [`11.0.0-rc.485` ->
`11.0.0-rc.498`](https://renovatebot.com/diffs/npm/@trpc%2fnext/11.0.0-rc.485/11.0.0-rc.498)
| `11.0.0-rc.502` (+2) |
| [@trpc/react-query](https://trpc.io)
([source](https://redirect.github.com/trpc/trpc/tree/HEAD/packages/react))
| dependencies | patch | [`11.0.0-rc.485` ->
`11.0.0-rc.498`](https://renovatebot.com/diffs/npm/@trpc%2freact-query/11.0.0-rc.485/11.0.0-rc.498)
| `11.0.0-rc.502` (+2) |
| [@trpc/server](https://trpc.io)
([source](https://redirect.github.com/trpc/trpc/tree/HEAD/packages/server))
| dependencies | patch | [`11.0.0-rc.485` ->
`11.0.0-rc.498`](https://renovatebot.com/diffs/npm/@trpc%2fserver/11.0.0-rc.485/11.0.0-rc.498)
| `11.0.0-rc.502` (+2) |
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| devDependencies | patch | [`20.16.1` ->
`20.16.3`](https://renovatebot.com/diffs/npm/@types%2fnode/20.16.1/20.16.3)
| `20.16.5` (+1) |
|
[@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react))
| devDependencies | patch | [`18.3.4` ->
`18.3.5`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.4/18.3.5)
| |
|
[actions/upload-artifact](https://redirect.github.com/actions/upload-artifact)
| action | minor | `v4.3.6` -> `v4.4.0` | |
| [aws](https://registry.terraform.io/providers/hashicorp/aws)
([source](https://redirect.github.com/hashicorp/terraform-provider-aws))
| required_provider | minor | `5.64.0` -> `5.65.0` | `5.66.0` |
|
[eslint-config-next](https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config)
([source](https://redirect.github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next))
| devDependencies | patch | [`14.2.6` ->
`14.2.7`](https://renovatebot.com/diffs/npm/eslint-config-next/14.2.6/14.2.7)
| `14.2.9` (+1) |
| [next](https://nextjs.org)
([source](https://redirect.github.com/vercel/next.js)) | dependencies |
patch | [`14.2.6` ->
`14.2.7`](https://renovatebot.com/diffs/npm/next/14.2.6/14.2.7) |
`14.2.9` (+1) |
| [openai](https://redirect.github.com/openai/openai-node) |
dependencies | minor | [`4.56.0` ->
`4.57.0`](https://renovatebot.com/diffs/npm/openai/4.56.0/4.57.0) |
`4.58.2` (+5) |
| [postcss](https://postcss.org/)
([source](https://redirect.github.com/postcss/postcss)) |
devDependencies | patch | [`8.4.41` ->
`8.4.44`](https://renovatebot.com/diffs/npm/postcss/8.4.41/8.4.44) |
`8.4.45` |
| [prisma](https://www.prisma.io)
([source](https://redirect.github.com/prisma/prisma/tree/HEAD/packages/cli))
| devDependencies | minor | [`5.18.0` ->
`5.19.1`](https://renovatebot.com/diffs/npm/prisma/5.18.0/5.19.1) | |
|
[react-hotkeys-hook](https://johannesklauss.github.io/react-hotkeys-hook/)
([source](https://redirect.github.com/JohannesKlauss/react-keymap-hook))
| dependencies | patch | [`4.5.0` ->
`4.5.1`](https://renovatebot.com/diffs/npm/react-hotkeys-hook/4.5.0/4.5.1)
| |
| [vercel](https://vercel.com)
([source](https://redirect.github.com/vercel/vercel/tree/HEAD/packages/cli))
| devDependencies | minor | [`37.1.2` ->
`37.2.1`](https://renovatebot.com/diffs/npm/vercel/37.1.2/37.2.1) |
`37.4.0` (+1) |

---

### Release Notes

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

###
[`v5.19.1`](https://redirect.github.com/prisma/prisma/releases/tag/5.19.1)

[Compare
Source](https://redirect.github.com/prisma/prisma/compare/5.19.0...5.19.1)

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

##### What's Changed

We've fixed the following issues:

-
[https://github.com/prisma/prisma/issues/25103](https://redirect.github.com/prisma/prisma/issues/25103)
-
[https://github.com/prisma/prisma/issues/25137](https://redirect.github.com/prisma/prisma/issues/25137)
-
[https://github.com/prisma/prisma/issues/25104](https://redirect.github.com/prisma/prisma/issues/25104)
-
[https://github.com/prisma/prisma/issues/25101](https://redirect.github.com/prisma/prisma/issues/25101)

**Full Changelog**:
https://github.com/prisma/prisma/compare/5.19.0...5.19.x,
https://github.com/prisma/prisma-engines/compare/5.19.0...5.19.x

###
[`v5.19.0`](https://redirect.github.com/prisma/prisma/releases/tag/5.19.0)

[Compare
Source](https://redirect.github.com/prisma/prisma/compare/5.18.0...5.19.0)

Today, we are excited to share the `5.19.0` stable release 🎉

🌟 **Help us spread the word about Prisma by starring the repo or
[posting on
X](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@&#8203;prisma%20release%20v5.19.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.19.0)
about the release.** 🌟

##### Highlights

##### Introducing TypedSQL

TypedSQL is a brand new way to interact with your database from Prisma
Client. After enabling the `typedSql` Preview feature, you’re able to
write SQL queries in a new `sql` subdirectory of your `prisma`
directory. These queries are then checked by Prisma during using the new
`--sql` flag of `prisma generate` and added to your client for use in
your code.

To get started with TypedSQL:

1. Make sure that you have the latest version of `prisma` and
`@prisma/client` installed:

        npm install -D prisma@latest
        npm install @&#8203;prisma/client@latest

2.  Enable the `typedSql` Preview feature in your Prisma Schema.

           generator client {
             provider = "prisma-client-js"
             previewFeatures = ["typedSql"]
           }

3.  Create a `sql` subdirectory of your `prisma` directory.

        mkdir -p prisma/sql

4. You can now add `.sql` files to the `sql` directory! Each file can
contain one sql query and the name must be a valid JS identifier. For
this example, say you had the file `getUsersWithPosts.sql` with the
following contents:

    ```sql
    SELECT u.id, u.name, COUNT(p.id) as "postCount"
    FROM "User" u
    LEFT JOIN "Post" p ON u.id = p."authorId"
    GROUP BY u.id, u.name
    ```

5. Import your SQL query into your code with the `@prisma/client/sql`
import:

    ```tsx
       import { PrismaClient } from '@&#8203;prisma/client'
       import { getUsersWithPosts } from '@&#8203;prisma/client/sql'

       const prisma = new PrismaClient()

const usersWithPostCounts = await
prisma.$queryRawTyped(getUsersWithPosts)
       console.log(usersWithPostCounts)
    ```

There’s a lot more to talk about with TypedSQL. We think that the
combination of the high-level Prisma Client API and the low-level
TypedSQL will make for a great developer experience for all of our
users.

To learn more about behind the “why” of TypedSQL [be sure to check out
our announcement blog post](https://pris.ly/typedsql-blog).

For docs, check out our new [TypedSQL
section](https://pris.ly/d/typedsql).

##### Bug fixes

##### Driver adapters and D1

A few issues with our `driverAdapters` Preview feature and Cloudflare D1
support were resolved via
[https://github.com/prisma/prisma-engines/pull/4970](https://redirect.github.com/prisma/prisma-engines/pull/4970)
and
[https://github.com/prisma/prisma/pull/24922](https://redirect.github.com/prisma/prisma/pull/24922)

- Mathematic operations such as `max`, `min`, `eq`, etc in queries when
using Cloudflare D1.
- Resolved issues when comparing `BigInt` IDs when
`relationMode="prisma"` was enabled and Cloudflare D1 was being used.

##### Joins

-
[https://github.com/prisma/prisma/issues/23742](https://redirect.github.com/prisma/prisma/issues/23742)
fixes Prisma Client not supporting deeply nested `some` clauses when the
`relationJoins` Preview feature was enabled.

##### MongoDB

The MongoDB driver for Rust (that our query engine users under the hood)
had behavior that prioritized IPv4 connections over IPv6 connections. In
IPv6-only environments, this could lead to significant "cold starts"
where the query engine had to wait for IPv4 to fail before the driver
would try IPv6.

With help from the MongoDB team, this has been resolved. The driver will
now try IPv4 and IPv6 connections in parallel and then move forward with
the first response. This should prevent cold start issues that have been
seen with MongoDB in Prisma Accelerate.

Thank you to the MongoDB team!

##### Join us

Looking to make an impact on Prisma in a big way? We're now hiring
engineers for the ORM team!

- [Senior Engineer
(TypeScript)](https://boards.greenhouse.io/prisma/jobs/5350820002): This
person will be primarily working on the TypeScript side and evolving our
Prisma client. Rust knowledge (or desire to learn Rust) is a plus.
- [Senior Engineer
(Rust)](https://boards.greenhouse.io/prisma/jobs/6940273002): This
person will be focused on the `prisma-engines` Rust codebase. TypeScript
knowledge (or, again, a desire to learn) is a plus.

##### Credits

Huge thanks to
[@&#8203;mcuelenaere](https://redirect.github.com/mcuelenaere),
[@&#8203;pagewang0](https://redirect.github.com/pagewang0),
[@&#8203;Druue](https://redirect.github.com/Druue),
[@&#8203;key-moon](https://redirect.github.com/key-moon),
[@&#8203;Jolg42](https://redirect.github.com/Jolg42),
[@&#8203;pranayat](https://redirect.github.com/pranayat),
[@&#8203;ospfranco](https://redirect.github.com/ospfranco),
[@&#8203;yubrot](https://redirect.github.com/yubrot),
[@&#8203;skyzh](https://redirect.github.com/skyzh) for helping!

</details>

<details>
<summary>tailwindlabs/tailwindcss-typography
(@&#8203;tailwindcss/typography)</summary>

###
[`v0.5.15`](https://redirect.github.com/tailwindlabs/tailwindcss-typography/blob/HEAD/CHANGELOG.md#0515---2024-08-28)

[Compare
Source](https://redirect.github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.14...v0.5.15)

##### Fixed

- Support installing with alpha versions of Tailwind CSS v4
([#&#8203;358](https://redirect.github.com/tailwindlabs/tailwindcss-typography/pull/358))

</details>

<details>
<summary>TanStack/query (@&#8203;tanstack/react-query)</summary>

###
[`v5.53.3`](https://redirect.github.com/TanStack/query/releases/tag/v5.53.3)

[Compare
Source](https://redirect.github.com/TanStack/query/compare/v5.53.2...v5.53.3)

Version 5.53.3 - 9/2/24, 12:32 PM

##### Changes

##### Fix

- query-core: remove error thrown inside `replaceData`
([#&#8203;8004](https://redirect.github.com/TanStack/query/issues/8004))
([`fb9d4f6`](https://redirect.github.com/TanStack/query/commit/fb9d4f6))
by Bohdan Yefimenko

##### Docs

- vue-query: update SSR guide for nuxt2
([#&#8203;8001](https://redirect.github.com/TanStack/query/issues/8001))
([`cd91357`](https://redirect.github.com/TanStack/query/commit/cd91357))
by Damian Osipiuk

##### Packages

-
[@&#8203;tanstack/query-core](https://redirect.github.com/tanstack/query-core)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/query-broadcast-client-experimental](https://redirect.github.com/tanstack/query-broadcast-client-experimental)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/query-persist-client-core](https://redirect.github.com/tanstack/query-persist-client-core)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/query-sync-storage-persister](https://redirect.github.com/tanstack/query-sync-storage-persister)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/react-query](https://redirect.github.com/tanstack/react-query)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/react-query-devtools](https://redirect.github.com/tanstack/react-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/react-query-persist-client](https://redirect.github.com/tanstack/react-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/react-query-next-experimental](https://redirect.github.com/tanstack/react-query-next-experimental)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/solid-query](https://redirect.github.com/tanstack/solid-query)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/solid-query-devtools](https://redirect.github.com/tanstack/solid-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/solid-query-persist-client](https://redirect.github.com/tanstack/solid-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/svelte-query](https://redirect.github.com/tanstack/svelte-query)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/svelte-query-devtools](https://redirect.github.com/tanstack/svelte-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/svelte-query-persist-client](https://redirect.github.com/tanstack/svelte-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/vue-query](https://redirect.github.com/tanstack/vue-query)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/vue-query-devtools](https://redirect.github.com/tanstack/vue-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/angular-query-experimental](https://redirect.github.com/tanstack/angular-query-experimental)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/query-async-storage-persister](https://redirect.github.com/tanstack/query-async-storage-persister)[@&#8203;5](https://redirect.github.com/5).53.3
-
[@&#8203;tanstack/angular-query-devtools-experimental](https://redirect.github.com/tanstack/angular-query-devtools-experimental)[@&#8203;5](https://redirect.github.com/5).53.3

###
[`v5.53.2`](https://redirect.github.com/TanStack/query/releases/tag/v5.53.2)

[Compare
Source](https://redirect.github.com/TanStack/query/compare/v5.53.1...v5.53.2)

Version 5.53.2 - 9/1/24, 8:41 PM

##### Changes

##### Fix

- vue-query: invalidate queries immediately after calling
`invalidateQueries`
([#&#8203;7930](https://redirect.github.com/TanStack/query/issues/7930))
([`c91c720`](https://redirect.github.com/TanStack/query/commit/c91c720))
by [@&#8203;Mini-ghost](https://redirect.github.com/Mini-ghost)

##### Chore

- angular-query: add injection context tests
([#&#8203;7993](https://redirect.github.com/TanStack/query/issues/7993))
([`cc20045`](https://redirect.github.com/TanStack/query/commit/cc20045))
by Arnoud
- deps: update to
[@&#8203;tanstack/config](https://redirect.github.com/tanstack/config)
0.13.1
([#&#8203;7986](https://redirect.github.com/TanStack/query/issues/7986))
([`4b2c8c5`](https://redirect.github.com/TanStack/query/commit/4b2c8c5))
by Lachlan Collins

##### Docs

- angular-query: update overview and readme
([#&#8203;7994](https://redirect.github.com/TanStack/query/issues/7994))
([`4977296`](https://redirect.github.com/TanStack/query/commit/4977296))
by Arnoud

##### Packages

-
[@&#8203;tanstack/query-core](https://redirect.github.com/tanstack/query-core)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/react-query](https://redirect.github.com/tanstack/react-query)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/solid-query](https://redirect.github.com/tanstack/solid-query)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/vue-query](https://redirect.github.com/tanstack/vue-query)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/angular-query-experimental](https://redirect.github.com/tanstack/angular-query-experimental)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/query-broadcast-client-experimental](https://redirect.github.com/tanstack/query-broadcast-client-experimental)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/query-persist-client-core](https://redirect.github.com/tanstack/query-persist-client-core)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/query-sync-storage-persister](https://redirect.github.com/tanstack/query-sync-storage-persister)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/react-query-devtools](https://redirect.github.com/tanstack/react-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/react-query-persist-client](https://redirect.github.com/tanstack/react-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/react-query-next-experimental](https://redirect.github.com/tanstack/react-query-next-experimental)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/solid-query-devtools](https://redirect.github.com/tanstack/solid-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/solid-query-persist-client](https://redirect.github.com/tanstack/solid-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/svelte-query](https://redirect.github.com/tanstack/svelte-query)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/svelte-query-devtools](https://redirect.github.com/tanstack/svelte-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/svelte-query-persist-client](https://redirect.github.com/tanstack/svelte-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/vue-query-devtools](https://redirect.github.com/tanstack/vue-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/angular-query-devtools-experimental](https://redirect.github.com/tanstack/angular-query-devtools-experimental)[@&#8203;5](https://redirect.github.com/5).53.2
-
[@&#8203;tanstack/query-async-storage-persister](https://redirect.github.com/tanstack/query-async-storage-persister)[@&#8203;5](https://redirect.github.com/5).53.2

###
[`v5.53.1`](https://redirect.github.com/TanStack/query/releases/tag/v5.53.1)

[Compare
Source](https://redirect.github.com/TanStack/query/compare/v5.52.3...v5.53.1)

Version 5.53.1 - 8/30/24, 10:29 AM

##### Changes

##### Fix

- query-core: handle errors that occur inside `setData` method
([#&#8203;7966](https://redirect.github.com/TanStack/query/issues/7966))
([`50315ac`](https://redirect.github.com/TanStack/query/commit/50315ac))
by Bohdan Yefimenko

##### Chore

- deps: use ESLint v9
([#&#8203;7985](https://redirect.github.com/TanStack/query/issues/7985))
([`82bfc34`](https://redirect.github.com/TanStack/query/commit/82bfc34))
by Lachlan Collins
- deps: update eslint plugins
([#&#8203;7984](https://redirect.github.com/TanStack/query/issues/7984))
([`8fe9010`](https://redirect.github.com/TanStack/query/commit/8fe9010))
by Lachlan Collins

##### Packages

-
[@&#8203;tanstack/query-core](https://redirect.github.com/tanstack/query-core)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/react-query](https://redirect.github.com/tanstack/react-query)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/query-broadcast-client-experimental](https://redirect.github.com/tanstack/query-broadcast-client-experimental)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/query-persist-client-core](https://redirect.github.com/tanstack/query-persist-client-core)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/query-sync-storage-persister](https://redirect.github.com/tanstack/query-sync-storage-persister)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/react-query-devtools](https://redirect.github.com/tanstack/react-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/react-query-persist-client](https://redirect.github.com/tanstack/react-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/react-query-next-experimental](https://redirect.github.com/tanstack/react-query-next-experimental)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/solid-query](https://redirect.github.com/tanstack/solid-query)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/solid-query-devtools](https://redirect.github.com/tanstack/solid-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/solid-query-persist-client](https://redirect.github.com/tanstack/solid-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/svelte-query](https://redirect.github.com/tanstack/svelte-query)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/svelte-query-devtools](https://redirect.github.com/tanstack/svelte-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/svelte-query-persist-client](https://redirect.github.com/tanstack/svelte-query-persist-client)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/vue-query](https://redirect.github.com/tanstack/vue-query)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/vue-query-devtools](https://redirect.github.com/tanstack/vue-query-devtools)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/angular-query-experimental](https://redirect.github.com/tanstack/angular-query-experimental)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/query-async-storage-persister](https://redirect.github.com/tanstack/query-async-storage-persister)[@&#8203;5](https://redirect.github.com/5).53.1
-
[@&#8203;tanstack/angular-query-devtools-experimental](https://redirect.github.com/tanstack/angular-query-devtools-experimental)[@&#8203;5](https://redirect.github.com/5).53.1

###
[`v5.52.3`](https://redirect.github.com/TanStack/query/releases/tag/v5.52.3)

[Compare
Source](https://redirect.github.com/TanStack/query/compare/v5.52.2...v5.52.3)

Version 5.52.3 - 8/29/24, 11:03 PM

##### Changes

##### Fix

- angular-query: fix type of isSuccess, isError, isPending, isIdle on
mutation result
([#&#8203;7923](https://redirect.github.com/TanStack/query/issues/7923))
([`eee80af`](https://redirect.github.com/TanStack/query/commit/eee80af))
by divdavem

##### Chore

- deps: update
[@&#8203;algolia/client-search](https://redirect.github.com/algolia/client-search)
to v5 (major)
([#&#8203;7979](https://redirect.github.com/TanStack/query/issues/7979))
([`189e0c5`](https://redirect.github.com/TanStack/query/commit/189e0c5))
by renovate\[bot]
- deps: update material-ui monorepo to v6 (major)
([#&#8203;7978](https://redirect.github.com/TanStack/query/issues/7978))
([`f240106`](https://redirect.github.com/TanStack/query/commit/f240106))
by renovate\[bot]
- deps: update dependency jscodeshift to v17
([#&#8203;7977](https://redirect.github.com/TanStack/query/issues/7977))
([`7f55169`](https://redirect.github.com/TanStack/query/commit/7f55169))
by renovate\[bot]
- deps: update dependency eslint-plugin-jsdoc to v50
([#&#8203;7976](https://redirect.github.com/TanStack/query/issues/7976))
([`b227998`](https://redirect.github.com/TanStack/query/commit/b227998))
by renovate\[bot]
- deps: update dependency jsdom to v25
([#&#8203;7975](https://redirect.github.com/TanStack/query/issues/7975))
([`21bddeb`](https://redirect.github.com/TanStack/query/commit/21bddeb))
by renovate\[bot]
- simplify clean commands
([#&#8203;7973](https://redirect.github.com/TanStack/query/issues/7973))
([`907a38b`](https://redirect.github.com/TanStack/query/commit/907a38b))
by Lachlan Collins
- better type vs value import separation
([#&#8203;7972](https://redirect.github.com/TanStack/query/issues/7972))
([`86d8438`](https://redirect.github.com/TanStack/query/commit/86d8438))
by Lachlan Collins
- devtools: consistent casing of devtools types
([#&#8203;7971](https://redirect.github.com/TanStack/query/issues/7971))
([`756164a`](https://redirect.github.com/TanStack/query/commit/756164a))
by Lachlan Collins

##### Docs

- Add known limitation about cancellation with suspense hooks
([#&#8203;7958](https://redirect.github.com/TanStack/query/issues/7958))
([`804357b`](https://redirect.github.com/TanStack/query/commit/804357b))
by Romain Trotard

##### Packages

-
[@&#8203;tanstack/eslint-plugin-query](https://redirect.github.com/tanstack/eslint-plugin-query)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/query-async-storage-persister](https://redirect.github.com/tanstack/query-async-storage-persister)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/query-broadcast-client-experimental](https://redirect.github.com/tanstack/query-broadcast-client-experimental)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/query-core](https://redirect.github.com/tanstack/query-core)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/query-devtools](https://redirect.github.com/tanstack/query-devtools)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/query-persist-client-core](https://redirect.github.com/tanstack/query-persist-client-core)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/query-sync-storage-persister](https://redirect.github.com/tanstack/query-sync-storage-persister)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/react-query](https://redirect.github.com/tanstack/react-query)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/react-query-devtools](https://redirect.github.com/tanstack/react-query-devtools)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/react-query-persist-client](https://redirect.github.com/tanstack/react-query-persist-client)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/react-query-next-experimental](https://redirect.github.com/tanstack/react-query-next-experimental)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/solid-query](https://redirect.github.com/tanstack/solid-query)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/solid-query-devtools](https://redirect.github.com/tanstack/solid-query-devtools)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/solid-query-persist-client](https://redirect.github.com/tanstack/solid-query-persist-client)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/svelte-query](https://redirect.github.com/tanstack/svelte-query)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/svelte-query-devtools](https://redirect.github.com/tanstack/svelte-query-devtools)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/svelte-query-persist-client](https://redirect.github.com/tanstack/svelte-query-persist-client)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/vue-query](https://redirect.github.com/tanstack/vue-query)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/vue-query-devtools](https://redirect.github.com/tanstack/vue-query-devtools)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/angular-query-devtools-experimental](https://redirect.github.com/tanstack/angular-query-devtools-experimental)[@&#8203;5](https://redirect.github.com/5).52.3
-
[@&#8203;tanstack/angular-query-experimental](https://redirect.github.com/tanstack/angular-query-experimental)[@&#8203;5](https://redirect.github.com/5).52.3

</details>

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

###
[`v11.0.0-rc.498`](https://redirect.github.com/trpc/trpc/compare/b6a8518701f86b52d8b75e4a40e3567cc73ceb5d...5714423cc8d807a11466663b22eff67ec7286909)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/b6a8518701f86b52d8b75e4a40e3567cc73ceb5d...5714423cc8d807a11466663b22eff67ec7286909)

###
[`v11.0.0-rc.490`](https://redirect.github.com/trpc/trpc/compare/6b483e3752e666c3fb200f0234c1c8d10c89620e...b6a8518701f86b52d8b75e4a40e3567cc73ceb5d)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/6b483e3752e666c3fb200f0234c1c8d10c89620e...b6a8518701f86b52d8b75e4a40e3567cc73ceb5d)

###
[`v11.0.0-rc.489`](https://redirect.github.com/trpc/trpc/compare/3cf8f49f5b2ca262d7a13ad780f3e76956922cbb...6b483e3752e666c3fb200f0234c1c8d10c89620e)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/3cf8f49f5b2ca262d7a13ad780f3e76956922cbb...6b483e3752e666c3fb200f0234c1c8d10c89620e)

###
[`v11.0.0-rc.487`](https://redirect.github.com/trpc/trpc/compare/1c1d824cd61bb00bf115c91010147f11fe026154...3cf8f49f5b2ca262d7a13ad780f3e76956922cbb)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/1c1d824cd61bb00bf115c91010147f11fe026154...3cf8f49f5b2ca262d7a13ad780f3e76956922cbb)

</details>

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

###
[`v11.0.0-rc.498`](https://redirect.github.com/trpc/trpc/compare/b6a8518701f86b52d8b75e4a40e3567cc73ceb5d...5714423cc8d807a11466663b22eff67ec7286909)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/b6a8518701f86b52d8b75e4a40e3567cc73ceb5d...5714423cc8d807a11466663b22eff67ec7286909)

###
[`v11.0.0-rc.490`](https://redirect.github.com/trpc/trpc/compare/6b483e3752e666c3fb200f0234c1c8d10c89620e...b6a8518701f86b52d8b75e4a40e3567cc73ceb5d)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/6b483e3752e666c3fb200f0234c1c8d10c89620e...b6a8518701f86b52d8b75e4a40e3567cc73ceb5d)

###
[`v11.0.0-rc.489`](https://redirect.github.com/trpc/trpc/compare/3cf8f49f5b2ca262d7a13ad780f3e76956922cbb...6b483e3752e666c3fb200f0234c1c8d10c89620e)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/3cf8f49f5b2ca262d7a13ad780f3e76956922cbb...6b483e3752e666c3fb200f0234c1c8d10c89620e)

###
[`v11.0.0-rc.487`](https://redirect.github.com/trpc/trpc/compare/1c1d824cd61bb00bf115c91010147f11fe026154...3cf8f49f5b2ca262d7a13ad780f3e76956922cbb)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/1c1d824cd61bb00bf115c91010147f11fe026154...3cf8f49f5b2ca262d7a13ad780f3e76956922cbb)

</details>

<details>
<summary>trpc/trpc (@&#8203;trpc/react-query)</summary>

###
[`v11.0.0-rc.498`](https://redirect.github.com/trpc/trpc/compare/b6a8518701f86b52d8b75e4a40e3567cc73ceb5d...5714423cc8d807a11466663b22eff67ec7286909)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/b6a8518701f86b52d8b75e4a40e3567cc73ceb5d...5714423cc8d807a11466663b22eff67ec7286909)

###
[`v11.0.0-rc.490`](https://redirect.github.com/trpc/trpc/compare/6b483e3752e666c3fb200f0234c1c8d10c89620e...b6a8518701f86b52d8b75e4a40e3567cc73ceb5d)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/6b483e3752e666c3fb200f0234c1c8d10c89620e...b6a8518701f86b52d8b75e4a40e3567cc73ceb5d)

###
[`v11.0.0-rc.489`](https://redirect.github.com/trpc/trpc/compare/3cf8f49f5b2ca262d7a13ad780f3e76956922cbb...6b483e3752e666c3fb200f0234c1c8d10c89620e)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/3cf8f49f5b2ca262d7a13ad780f3e76956922cbb...6b483e3752e666c3fb200f0234c1c8d10c89620e)

###
[`v11.0.0-rc.487`](https://redirect.github.com/trpc/trpc/compare/1c1d824cd61bb00bf115c91010147f11fe026154...3cf8f49f5b2ca262d7a13ad780f3e76956922cbb)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/1c1d824cd61bb00bf115c91010147f11fe026154...3cf8f49f5b2ca262d7a13ad780f3e76956922cbb)

</details>

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

###
[`v11.0.0-rc.498`](https://redirect.github.com/trpc/trpc/compare/b6a8518701f86b52d8b75e4a40e3567cc73ceb5d...5714423cc8d807a11466663b22eff67ec7286909)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/b6a8518701f86b52d8b75e4a40e3567cc73ceb5d...5714423cc8d807a11466663b22eff67ec7286909)

###
[`v11.0.0-rc.490`](https://redirect.github.com/trpc/trpc/compare/6b483e3752e666c3fb200f0234c1c8d10c89620e...b6a8518701f86b52d8b75e4a40e3567cc73ceb5d)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/6b483e3752e666c3fb200f0234c1c8d10c89620e...b6a8518701f86b52d8b75e4a40e3567cc73ceb5d)

###
[`v11.0.0-rc.489`](https://redirect.github.com/trpc/trpc/compare/3cf8f49f5b2ca262d7a13ad780f3e76956922cbb...6b483e3752e666c3fb200f0234c1c8d10c89620e)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/3cf8f49f5b2ca262d7a13ad780f3e76956922cbb...6b483e3752e666c3fb200f0234c1c8d10c89620e)

###
[`v11.0.0-rc.487`](https://redirect.github.com/trpc/trpc/compare/1c1d824cd61bb00bf115c91010147f11fe026154...3cf8f49f5b2ca262d7a13ad780f3e76956922cbb)

[Compare
Source](https://redirect.github.com/trpc/trpc/compare/1c1d824cd61bb00bf115c91010147f11fe026154...3cf8f49f5b2ca262d7a13ad780f3e76956922cbb)

</details>

<details>
<summary>actions/upload-artifact (actions/upload-artifact)</summary>

###
[`v4.4.0`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.4.0)

[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v4.3.6...v4.4.0)

##### Notice: Breaking Changes :warning:

We will no longer include hidden files and folders by default in the
`upload-artifact` action of this version. This reduces the risk that
credentials are accidentally uploaded into artifacts. Customers who need
to continue to upload these files can use a new option,
`include-hidden-files`, to continue to do so.

See ["Notice of upcoming deprecations and breaking changes in GitHub
Actions
runners"](https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/)
changelog and [this
issue](https://redirect.github.com/actions/upload-artifact/issues/602)
for more details.

##### What's Changed

- Exclude hidden files by default by
[@&#8203;joshmgross](https://redirect.github.com/joshmgross) in
[https://github.com/actions/upload-artifact/pull/598](https://redirect.github.com/actions/upload-artifact/pull/598)

**Full Changelog**:
https://github.com/actions/upload-artifact/compare/v4.3.6...v4.4.0

</details>

<details>
<summary>hashicorp/terraform-provider-aws (aws)</summary>

###
[`v5.65.0`](https://redirect.github.com/hashicorp/terraform-provider-aws/blob/HEAD/CHANGELOG.md#5650-August-29-2024)

[Compare
Source](https://redirect.github.com/hashicorp/terraform-provider-aws/compare/v5.64.0...v5.65.0)

NOTES:

- provider: Updates to Go 1.23. We do not expect this change to impact
most users. For macOS, Go 1.23 requires macOS 11 Big Sur or later;
support for previous versions has been discontinued.
([#&#8203;38999](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38999))

FEATURES:

- **New Data Source:** `aws_shield_protection`
([#&#8203;37524](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37524))
- **New Resource:** `aws_glue_catalog_table_optimizer`
([#&#8203;38052](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38052))

ENHANCEMENTS:

- data-source/aws_elb_hosted_zone_id: Add hosted zone ID for
`ap-southeast-5` AWS Region
([#&#8203;39052](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39052))
- data-source/aws_lb_hosted_zone_id: Add hosted zone IDs for
`ap-southeast-5` AWS Region
([#&#8203;39052](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39052))
- data-source/aws_s3\_bucket: Add hosted zone ID for `ap-southeast-5`
AWS Region
([#&#8203;39052](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39052))
- provider: Support `ap-southeast-5` as a valid AWS Region
([#&#8203;39049](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39049))
- resource/aws_cognito_user_pool: Add
`password_policy.password_history_size` argument
([#&#8203;39043](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39043))
- resource/aws_elastic_beanstalk_application_version: Add `process`
argument
([#&#8203;25468](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/25468))
- resource/aws_elasticsearch_domain: Treat `SUCCEEDED_WITH_ISSUES`
status as success when upgrading cluster
([#&#8203;38086](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38086))
- resource/aws_emr_cluster: Support `io2` as a valid value for
`ebs_config.type`
([#&#8203;37740](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37740))
- resource/aws_emr_instance_fleet: Support `io2` as a valid value for
`instance_type_configs.ebs_config.type`
([#&#8203;37740](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37740))
- resource/aws_emr_instance_group: Support `io2` as a valid value for
`instance_type_configs.ebs_config.type`
([#&#8203;37740](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37740))
- resource/aws_glue_job: Add `job_run_queuing_enabled` argument
([#&#8203;39027](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39027))
- resource/aws_lambda_event_source_mapping: Add `kms_key_arn` argument
([#&#8203;39055](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39055))
- resource/aws_verifiedaccess_endpoint: Set PolicyEnabled flag to
`false` on update if `policy_document` is empty
([#&#8203;38675](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38675))

BUG FIXES:

- resource/aws_amplify_app: Fix crash updating
`auto_branch_creation_config`
([#&#8203;39041](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39041))
- resource/aws_elasticsearch_domain_policy: Change `domain_name` to
[ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew)
([#&#8203;38086](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38086))
- resource/aws_elbv2\_listener: Fix crash when reading forward actions
not configured in state
([#&#8203;39039](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39039))
- resource/aws_emr_instance_group: Properly send an `instance_count`
value of `0` on create when configured
([#&#8203;37740](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/37740))
- resource/aws_gamelift_game_server_group: Fix crash while reading
server group with a nil auto scaling group ARN
([#&#8203;39022](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39022))
- resource/aws_guardduty_invite_accepter: Fix `BadRequestException: The
request is rejected because an invalid or out-of-range value is
specified as an input parameter` errors on resource Create
([#&#8203;39084](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39084))
- resource/aws_lakeformation_permissions: Fix error when revoking
`data_cells_filter` permissions
([#&#8203;39026](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39026))
- resource/aws_neptune_cluster: Mark
`neptune_cluster_parameter_group_name` as Computed
([#&#8203;38980](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38980))
- resource/aws_neptune_cluster_instance: Mark
`neptune_parameter_group_name` as Computed
([#&#8203;38980](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/38980))
- resource/aws_ssm_parameter: Fix `ValidationException: Parameter ARN is
not supported for this operation` errors when deleting resources
imported by ARN
([#&#8203;39067](https://redirect.github.com/hashicorp/terraform-provider-aws/issues/39067))

</details>

<details>
<summary>vercel/next.js (eslint-config-next)</summary>

###
[`v14.2.7`](https://redirect.github.com/vercel/next.js/releases/tag/v14.2.7)

[Compare
Source](https://redirect.github.com/vercel/next.js/compare/v14.2.6...v14.2.7)

> \[!NOTE]\
> This release is backporting bug fixes. It does **not** include all
pending features/changes on canary.

##### Core Changes

- Revert "chore: externalize undici for bundling"
([#&#8203;65727](https://redirect.github.com/vercel/next.js/issues/65727))
- Refactor internal routing headers to use request meta
([#&#8203;66987](https://redirect.github.com/vercel/next.js/issues/66987))
- fix(next): add cross origin in react dom preload
([#&#8203;67423](https://redirect.github.com/vercel/next.js/issues/67423))
- build: upgrade edge-runtime
([#&#8203;67565](https://redirect.github.com/vercel/next.js/issues/67565))
- GTM dataLayer parameter should take an object, not an array of strings
([#&#8203;66339](https://redirect.github.com/vercel/next.js/issues/66339))
- fix: properly patch lockfile against swc bindings
([#&#8203;66515](https://redirect.github.com/vercel/next.js/issues/66515))
- Add deployment id header for rsc payload if present
([#&#8203;67255](https://redirect.github.com/vercel/next.js/issues/67255))
- Update font data
([#&#8203;68639](https://redirect.github.com/vercel/next.js/issues/68639))
- fix i18n data pathname resolving
([#&#8203;68947](https://redirect.github.com/vercel/next.js/issues/68947))
- pages router: ensure x-middleware-cache is respected
([#&#8203;67734](https://redirect.github.com/vercel/next.js/issues/67734))
- Fix bad modRequest in flight entry manifest
[#&#8203;68888](https://redirect.github.com/vercel/next.js/issues/68888)
- Reject next image urls in image optimizer
[#&#8203;68628](https://redirect.github.com/vercel/next.js/issues/68628)
- Fix hmr assetPrefix escaping and reuse logic from other files
[#&#8203;67983](https://redirect.github.com/vercel/next.js/issues/67983)

##### Credits

Huge thanks to [@&#8203;kjugi](https://redirect.github.com/kjugi),
[@&#8203;huozhi](https://redirect.github.com/huozhi),
[@&#8203;ztanner](https://redirect.github.com/ztanner),
[@&#8203;SukkaW](https://redirect.github.com/SukkaW),
[@&#8203;marlier](https://redirect.github.com/marlier),
[@&#8203;Kikobeats](https://redirect.github.com/Kikobeats),
[@&#8203;syi0808](https://redirect.github.com/syi0808),
[@&#8203;ijjk](https://redirect.github.com/ijjk), and
[@&#8203;samcx](https://redirect.github.com/samcx) for helping!

</details>

<details>
<summary>openai/openai-node (openai)</summary>

###
[`v4.57.0`](https://redirect.github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4570-2024-08-29)

[Compare
Source](https://redirect.github.com/openai/openai-node/compare/v4.56.2...v4.57.0)

Full Changelog:
[v4.56.2...v4.57.0](https://redirect.github.com/openai/openai-node/compare/v4.56.2...v4.57.0)

##### Features

- **api:** add file search result details to run steps
([#&#8203;1023](https://redirect.github.com/openai/openai-node/issues/1023))
([d9acd0a](https://redirect.github.com/openai/openai-node/commit/d9acd0a2c52b27983f8db6a8de6a776078b1d41b))

##### Bug Fixes

- install examples deps as part of bootstrap script
([#&#8203;1022](https://redirect.github.com/openai/openai-node/issues/1022))
([eae8e36](https://redirect.github.com/openai/openai-node/commit/eae8e36fd5514eb60773646ec775badde50e783c))

###
[`v4.56.2`](https://redirect.github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4562-2024-08-29)

[Compare
Source](https://redirect.github.com/openai/openai-node/compare/v4.56.1...v4.56.2)

Full Changelog:
[v4.56.1...v4.56.2](https://redirect.github.com/openai/openai-node/compare/v4.56.1...v4.56.2)

##### Chores

- run tsc as part of lint script
([#&#8203;1020](https://redirect.github.com/openai/openai-node/issues/1020))
([4942347](https://redirect.github.com/openai/openai-node/commit/49423472f2b0a0b63961174bedfc00bfd99d47f9))

###
[`v4.56.1`](https://redirect.github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4561-2024-08-27)

[Compare
Source](https://redirect.github.com/openai/openai-node/compare/v4.56.0...v4.56.1)

Full Changelog:
[v4.56.0...v4.56.1](https://redirect.github.com/openai/openai-node/compare/v4.56.0...v4.56.1)

##### Chores

- **ci:** check for build errors
([#&#8203;1013](https://redirect.github.com/openai/openai-node/issues/1013))
([7ff2127](https://redirect.github.com/openai/openai-node/commit/7ff21273091a605e05173502654cfb9c90a4382e))

</details>

<details>
<summary>postcss/postcss (postcss)</summary>

###
[`v8.4.44`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8444)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.4.43...8.4.44)

-   Another way to fix `markClean is not a function` error.

###
[`v8.4.43`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8443)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.4.42...8.4.43)

-   Fixed `markClean is not a function` error.

###
[`v8.4.42`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8442)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.4.41...8.4.42)

- Fixed CSS syntax error on long minified files (by
[@&#8203;varpstar](https://redirect.github.com/varpstar)).

</details>

<details>
<summary>JohannesKlauss/react-keymap-hook (react-hotkeys-hook)</summary>

###
[`v4.5.1`](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/releases/tag/v4.5.1)

[Compare
Source](https://redirect.github.com/JohannesKlauss/react-keymap-hook/compare/v4.5.0...v4.5.1)

#### What's Changed

- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1136](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1136)
- chore(deps): update dependency
[@&#8203;types/react](https://redirect.github.com/types/react) to
v18.2.56 by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1140](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1140)
- fix: example code in use-hotkeys docs by
[@&#8203;jvn4dev](https://redirect.github.com/jvn4dev) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1142](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1142)
- chore(deps): update actions/setup-node action to v4 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1141](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1141)
- chore(deps): update actions/checkout action to v4 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1137](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1137)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1147](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1147)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1149](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1149)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1156](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1156)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1158](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1158)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1162](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1162)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1166](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1166)
- chore(deps): update dependency
[@&#8203;types/react](https://redirect.github.com/types/react) to
v18.2.79 by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1169](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1169)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1171](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1171)
- chore(deps): update all non-major dependencies to v7.24.5 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1173](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1173)
- chore(deps): update dependency
[@&#8203;types/react](https://redirect.github.com/types/react) to
v18.3.2 by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1175](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1175)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1178](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1178)
- chore(deps): update dependency eslint-plugin-react to v7.34.2 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1182](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1182)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1185](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1185)
- Fix: example code in is-hotkey-pressed docs by
[@&#8203;nakker1218](https://redirect.github.com/nakker1218) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1184](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1184)
- fix(deps): update dependency clsx to v2 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1174](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1174)
- chore(deps): update testing-library monorepo (major) - autoclosed by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1170](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1170)
- chore(deps): update typescript-eslint monorepo to v7 (major) by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1159](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1159)
- Bump follow-redirects from 1.15.0 to 1.15.4 in /documentation by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1118](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1118)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1192](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1192)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1196](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1196)
- Update README.md by
[@&#8203;stt045](https://redirect.github.com/stt045) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1194](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1194)
- Bump braces from 3.0.2 to 3.0.3 in /documentation by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1193](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1193)
- Bump ws from 7.5.7 to 7.5.10 in /documentation by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1191](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1191)
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /documentation by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1190](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1190)
- Bump express from 4.18.1 to 4.19.2 in /documentation by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1189](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1189)
- Bump follow-redirects from 1.15.4 to 1.15.6 in /documentation by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1188](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1188)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1197](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1197)
- chore(deps): update all non-major dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1199](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1199)
- Bump ws by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1201](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1201)
- chore(deps): update typescript-eslint monorepo to v8 (major) by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1200](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1200)
- chore(deps): update all non-major dependencies to v8.0.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1202](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1202)
- Fix default value for mapKey by
[@&#8203;nperez0111](https://redirect.github.com/nperez0111) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1124](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1124)
- React to ref changes by
[@&#8203;zeorin](https://redirect.github.com/zeorin) in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1132](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1132)

#### New Contributors

- [@&#8203;jvn4dev](https://redirect.github.com/jvn4dev) made their
first contribution in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1142](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1142)
- [@&#8203;nakker1218](https://redirect.github.com/nakker1218) made
their first contribution in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1184](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1184)
- [@&#8203;stt045](https://redirect.github.com/stt045) made their first
contribution in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1194](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1194)
- [@&#8203;nperez0111](https://redirect.github.com/nperez0111) made
their first contribution in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1124](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1124)
- [@&#8203;zeorin](https://redirect.github.com/zeorin) made their first
contribution in
[https://github.com/JohannesKlauss/react-hotkeys-hook/pull/1132](https://redirect.github.com/JohannesKlauss/react-hotkeys-hook/pull/1132)

**Full Changelog**:
https://github.com/JohannesKlauss/react-hotkeys-hook/compare/v4.5.0...v4.5.1

</details>

<details>
<summary>vercel/vercel (vercel)</summary>

###
[`v37.2.1`](https://redirect.github.com/vercel/vercel/blob/HEAD/packages/cli/CHANGELOG.md#3721)

[Compare
Source](https://redirect.github.com/vercel/vercel/compare/vercel@37.2.0...vercel@37.2.1)

##### Patch Changes

- Fixes integration not found error when using `vercel install`
([#&#8203;12035](https://redirect.github.com/vercel/vercel/pull/12035))

###
[`v37.2.0`](https://redirect.github.com/vercel/vercel/blob/HEAD/packages/cli/CHANGELOG.md#3720)

[Compare
Source](https://redirect.github.com/vercel/vercel/compare/vercel@37.1.2...vercel@37.2.0)

##### Minor Changes

- Add `vc install` and `vc integration add` commands
([#&#8203;12033](https://redirect.github.com/vercel/vercel/pull/12033))

##### Patch Changes

- \[cli] Remove existing metrics gathering behavior
([#&#8203;12026](https://redirect.github.com/vercel/vercel/pull/12026))

- Remove redundant formatting on a few lines of output
([#&#8203;12011](https://redirect.github.com/vercel/vercel/pull/12011))

- Updated dependencies
\[[`06337ed0b`](https://redirect.github.com/vercel/vercel/commit/06337ed0bb1ab4becd1554642c162c75bdcc91c2),
[`2fc9e6d81`](https://redirect.github.com/vercel/vercel/commit/2fc9e6d8104a3d6308873ef8dafa27c32f0b97be)]:
-
[@&#8203;vercel/build-utils](https://redirect.github.com/vercel/build-utils)[@&#8203;8](https://redirect.github.com/8).3.8
-
[@&#8203;vercel/node](https://redirect.github.com/vercel/node)[@&#8203;3](https://redirect.github.com/3).2.10
-
[@&#8203;vercel/static-build](https://redirect.github.com/vercel/static-build)[@&#8203;2](https://redirect.github.com/2).5.20

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 7am on Tuesday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43My41IiwidXBkYXRlZEluVmVyIjoiMzguNzMuNSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Attaching resulting ref to a different element stops the shortcuts/hotkeys from working
3 participants