Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 25, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? πŸ’– Please sponsor : )

oleasteo and others added 29 commits October 20, 2024 12:14
…ll (#6144)

fix(server/util): dangling event listener in `AbortSignal.any` ponyfill

As suggested by KATT.
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: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Misleading call to `query()` for getting data in server component
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Nick-Lucas and others added 28 commits February 26, 2025 23:03
Closes #

* Add routeKey and routeFilter so that routes and single procedures can
be invalidate entirely and with a nicer interface (no input needed)
* Add infiniteQueryKey and infiniteQueryFilter
* Make infinite methods only appear when there's a cursor (stolen the
interface from old package)
* Support getQueryKeyInternal without 2nd and 3rd param for route
methods
* Some refactoring to reduce complexity
* Add suspense infinite query test since we were lacking that
* Adds a useTRPCClient hook to get the typed vanilla client
* Revamps testing for codemod to include more granular snapshot testing
and also run spec files against the before/after

## 🎯 Changes

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

<!--
Note: once you create a Pull request, we will automatically fix
auto-fixable lint issues in your branch
-->

## βœ… Checklist

- [ ] I have followed the steps listed in the [Contributing
guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md).
- [ ] If necessary, I have added documentation related to the changes
made.
- [ ] I have added or updated the tests related to the changes made.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
  - Introduced a new hook for accessing client functionality directly.
- Added improved support for infinite queries and optimistic updates,
providing smoother data-fetching experiences.
  - Enhanced query invalidation methods for better cache management.
  - Added new methods for handling path-based queries and filters.

- **Refactor**
- Standardized core API method names to better align with routing
concepts.
- Enhanced context management for clearer separation between client
access and utility operations.

- **Documentation**
- Updated usage guides and migration instructions to reflect the new
hooks and API changes.
- Clarified documentation on new filtering capabilities and query
management.

- **Tests**
- Expanded testing coverage to validate suspense queries, cache
invalidation, and skip token behaviors.
- Introduced new tests for optimistic updates and improved handling of
query options.
- Added tests for the new routing functionalities and query filter
methods.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: juliusmarminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
## 🎯 Changes

There's a missing word, causing the sentence to not make sense.

<!--
Note: once you create a Pull request, we will automatically fix
auto-fixable lint issues in your branch
-->

## βœ… Checklist

- [x] I have followed the steps listed in the [Contributing
guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md).
- [x] If necessary, I have added documentation related to the changes
made.
- [x] I have added or updated the tests related to the changes made.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Documentation**
- Updated wording in the lazy loading example to improve clarity in the
documentation.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Nick Lucas <[email protected]>
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [next](https://nextjs.org)
([source](https://redirect.github.com/vercel/next.js)) | [`15.1.7` ->
`15.2.0`](https://renovatebot.com/diffs/npm/next/15.1.7/15.2.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/next/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/next/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/next/15.1.7/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/next/15.1.7/15.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/next.js (next)</summary>

###
[`v15.2.0`](https://redirect.github.com/vercel/next.js/compare/v15.1.7...v15.2.0)

[Compare
Source](https://redirect.github.com/vercel/next.js/compare/v15.1.7...v15.2.0)

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Closes #

## 🎯 Changes

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

<!--
Note: once you create a Pull request, we will automatically fix
auto-fixable lint issues in your branch
-->

## βœ… Checklist

- [ ] I have followed the steps listed in the [Contributing
guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md).
- [ ] If necessary, I have added documentation related to the changes
made.
- [ ] I have added or updated the tests related to the changes made.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced new types for enhanced infinite data handling and error
management.
- Added a retry mechanism in Playwright configuration for improved test
reliability.

- **Refactor**
- Updated type definitions for improved clarity and specificity in query
and error handling.

- **Tests**
- Enhanced type safety in test cases for infinite query options,
ensuring accurate data structure validation.
- Improved error type validation in query tests for more robust error
handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
…6569)

Closes #6456

## 🎯 Changes

Updated to use cookie-es to correctly handle the splitting safely for
values with expiry. Also the initial test cases weren't actually valid
cookies as they by minimum needed the = sign so updated them.

## βœ… Checklist

- [x] I have followed the steps listed in the [Contributing
guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md).
- [x] If necessary, I have added documentation related to the changes
made.
- [x] I have added or updated the tests related to the changes made.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced cookie handling now accurately extracts detailed attributes
from HTTP cookie headersβ€”including values, expiration dates, and domain
settingsβ€”to improve session management.
  
- **Bug Fixes**
- Addressed issues with parsing cookie header strings, ensuring cookies
with complex formatting are consistently and correctly processed.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Closes #6558

## 🎯 Changes

> The problem seems to be that you're creating the SSG helpers outside
of the `getStaticProps()` so they will reshare the same `QueryClient`
which means it will contain a pending `promise` which cannot be
hydrated.
> 
> `promise` wasn't a property in TanStack Query v4
> 
> I will make it be omitted 

_Originally posted by @KATT in
[#6558](#6558 (comment)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced server-side data handling to ensure that only complete data
is processed during static page generation, resulting in more reliable
content display.

- **Tests**
- Expanded testing to verify that server-rendered pages consistently
receive fully processed data, even when reusing the same rendering
instance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.17.19` ->
`20.17.21`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.19/20.17.21)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.17.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.17.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.17.19/20.17.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.17.19/20.17.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.17.21` ->
`20.17.22`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.21/20.17.22)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.17.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.17.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.17.21/20.17.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.17.21/20.17.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Closes #

## 🎯 Changes

Bumps typescript to 5.8

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Upgraded the project’s TypeScript dependency to version 5.8.2 across
various modules, which may offer improved performance, reliability, and
additional enhancements.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [valibot](https://valibot.dev)
([source](https://redirect.github.com/fabian-hiller/valibot)) |
[`1.0.0-rc.2` ->
`1.0.0-rc.3`](https://renovatebot.com/diffs/npm/valibot/1.0.0-rc.2/1.0.0-rc.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/valibot/1.0.0-rc.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/valibot/1.0.0-rc.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/valibot/1.0.0-rc.2/1.0.0-rc.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/valibot/1.0.0-rc.2/1.0.0-rc.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fabian-hiller/valibot (valibot)</summary>

###
[`v1.0.0-rc.3`](https://redirect.github.com/fabian-hiller/valibot/releases/tag/v1.0.0-rc.3)

[Compare
Source](https://redirect.github.com/fabian-hiller/valibot/compare/v1.0.0-rc.2...v1.0.0-rc.3)

Many thanks to
[@&#8203;andreww2012](https://redirect.github.com/andreww2012) for
contributing to this release.

- Change `_addIssue` to not ignore empty strings as error message (pull
request
[#&#8203;1065](https://redirect.github.com/fabian-hiller/valibot/issues/1065))

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Related to TanStack/query#8670

## 🎯 Changes

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

<!--
Note: once you create a Pull request, we will automatically fix
auto-fixable lint issues in your branch
-->

## βœ… Checklist

- [ ] I have followed the steps listed in the [Contributing
guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md).
- [ ] If necessary, I have added documentation related to the changes
made.
- [ ] I have added or updated the tests related to the changes made.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Upgraded the data query library to version 5.67.1 across the project.
This update may deliver enhanced performance, improved stability, and
bug fixes for a smoother user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.17.22` ->
`20.17.23`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.22/20.17.23)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.17.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.17.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.17.22/20.17.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.17.22/20.17.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS40IiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [next](https://nextjs.org)
([source](https://redirect.github.com/vercel/next.js)) | [`15.2.0` ->
`15.2.1`](https://renovatebot.com/diffs/npm/next/15.2.0/15.2.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/next/15.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/next/15.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/next/15.2.0/15.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/next/15.2.0/15.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/next.js (next)</summary>

###
[`v15.2.1`](https://redirect.github.com/vercel/next.js/compare/v15.2.0...633878112ef34fd569486c969261c3350509680d)

[Compare
Source](https://redirect.github.com/vercel/next.js/compare/v15.2.0...v15.2.1)

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS40IiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.17.23` ->
`20.17.24`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.23/20.17.24)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.17.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.17.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.17.23/20.17.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.17.23/20.17.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS40IiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Closes #

## 🎯 Changes

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

<!--
Note: once you create a Pull request, we will automatically fix
auto-fixable lint issues in your branch
-->

## βœ… Checklist

- [ ] I have followed the steps listed in the [Contributing
guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md).
- [ ] If necessary, I have added documentation related to the changes
made.
- [ ] I have added or updated the tests related to the changes made.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced data extraction now supports nested and complex query
responses, offering more accurate and up-to-date information.
- Improved state update mechanisms ensure that changes in data trigger
refreshed views more reliably.
- **Refactor**
- Streamlined internal transformation logic to accommodate a broader
range of data patterns, contributing to smoother component behavior.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [next](https://nextjs.org)
([source](https://redirect.github.com/vercel/next.js)) | [`15.2.1` ->
`15.2.2`](https://renovatebot.com/diffs/npm/next/15.2.1/15.2.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/next/15.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/next/15.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/next/15.2.1/15.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/next/15.2.1/15.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/next.js (next)</summary>

###
[`v15.2.2`](https://redirect.github.com/vercel/next.js/compare/v15.2.1...f4552826e1ed15fbeb951be552d67c5a08ad0672)

[Compare
Source](https://redirect.github.com/vercel/next.js/compare/v15.2.1...v15.2.2)

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE5NC4xIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [valibot](https://valibot.dev)
([source](https://redirect.github.com/fabian-hiller/valibot)) |
[`1.0.0-rc.3` ->
`1.0.0-rc.4`](https://renovatebot.com/diffs/npm/valibot/1.0.0-rc.3/1.0.0-rc.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/valibot/1.0.0-rc.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/valibot/1.0.0-rc.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/valibot/1.0.0-rc.3/1.0.0-rc.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/valibot/1.0.0-rc.3/1.0.0-rc.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fabian-hiller/valibot (valibot)</summary>

###
[`v1.0.0-rc.4`](https://redirect.github.com/fabian-hiller/valibot/releases/tag/v1.0.0-rc.4)

[Compare
Source](https://redirect.github.com/fabian-hiller/valibot/compare/v1.0.0-rc.3...v1.0.0-rc.4)

Many thanks to
[@&#8203;ssalbdivad](https://redirect.github.com/ssalbdivad),
[@&#8203;matthew-dean](https://redirect.github.com/matthew-dean),
[@&#8203;Dominic-Preap](https://redirect.github.com/Dominic-Preap),
[@&#8203;emilesabatier](https://redirect.github.com/emilesabatier) and
[@&#8203;tats-u](https://redirect.github.com/tats-u) for contributing to
this release.

- Change `RFC_EMAIL_REGEX` to exactly match HTML specification (pull
request
[#&#8203;1068](https://redirect.github.com/fabian-hiller/valibot/issues/1068))
- Change `ISO_DATE_TIME_REGEX` and `ISO_TIMESTAMP_REGEX` to support
space as separator (pull request
[#&#8203;1064](https://redirect.github.com/fabian-hiller/valibot/issues/1064))
- Change `forward`, `forwardCheck`, `partialCheck` and
`partialCheckAsync` to improve TypeScript performance (issue
[#&#8203;987](https://redirect.github.com/fabian-hiller/valibot/issues/987))
- Change pipe tuple of `pipe` and `pipeAsync` to be readonly by default

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE5NC4xIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Streamlined the deployment configuration to support a new websockets
example, updating the build and start commands for improved deployment
consistency.
- Enhanced deployment settings for the chat example, including a shift
to Nixpacks, updated health check paths, and new runtime configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [bunchee](https://redirect.github.com/huozhi/bunchee) | [`6.4.0` ->
`6.5.0`](https://renovatebot.com/diffs/npm/bunchee/6.4.0/6.5.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/bunchee/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/bunchee/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/bunchee/6.4.0/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/bunchee/6.4.0/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>huozhi/bunchee (bunchee)</summary>

###
[`v6.5.0`](https://redirect.github.com/huozhi/bunchee/releases/tag/v6.5.0)

[Compare
Source](https://redirect.github.com/huozhi/bunchee/compare/v6.4.0...v6.5.0)

##### Enhancement

- enhance: share common swc helpers chunk by
[@&#8203;huozhi](https://redirect.github.com/huozhi) in
[https://github.com/huozhi/bunchee/pull/665](https://redirect.github.com/huozhi/bunchee/pull/665)

##### Patches

- fix: `prepare` append EOL to `package.json` by
[@&#8203;SukkaW](https://redirect.github.com/SukkaW) in
[https://github.com/huozhi/bunchee/pull/664](https://redirect.github.com/huozhi/bunchee/pull/664)
- fix: prepare overriding conditions by
[@&#8203;huozhi](https://redirect.github.com/huozhi) in
[https://github.com/huozhi/bunchee/pull/668](https://redirect.github.com/huozhi/bunchee/pull/668)

**Full Changelog**:
huozhi/bunchee@v6.4.0...v6.5.0

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [valibot](https://valibot.dev)
([source](https://redirect.github.com/fabian-hiller/valibot)) |
[`1.0.0-rc.4` ->
`1.0.0`](https://renovatebot.com/diffs/npm/valibot/1.0.0-rc.4/1.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/valibot/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/valibot/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/valibot/1.0.0-rc.4/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/valibot/1.0.0-rc.4/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fabian-hiller/valibot (valibot)</summary>

###
[`v1.0.0`](https://redirect.github.com/fabian-hiller/valibot/releases/tag/v1.0.0)

[Compare
Source](https://redirect.github.com/fabian-hiller/valibot/compare/v1.0.0-rc.4...v1.0.0)

This is a summary of the changes between v0 and v1. Many thanks to
everyone who contributed to this release.

- Add `assert` method to assert values (issue
[#&#8203;862](https://redirect.github.com/fabian-hiller/valibot/issues/862))
- Add `checkItemsAsync` action (pull request
[#&#8203;856](https://redirect.github.com/fabian-hiller/valibot/issues/856))
- Add `graphemes`, `maxGraphemes`, `minGraphemes` and `notGraphemes`
action (pull request
[#&#8203;853](https://redirect.github.com/fabian-hiller/valibot/issues/853))
-   Add `words`, `maxWords`, `minWords` and `notWords` action
- Add `args` and `returns` action to transform functions (issue
[#&#8203;243](https://redirect.github.com/fabian-hiller/valibot/issues/243))
- Add `rfcEmail` action to validate RFC 5322 email addresses (pull
request
[#&#8203;912](https://redirect.github.com/fabian-hiller/valibot/issues/912))
- Add `gtValue` and `ltValue` action for greater than and less than
validation (pull request
[#&#8203;978](https://redirect.github.com/fabian-hiller/valibot/issues/978),
[#&#8203;985](https://redirect.github.com/fabian-hiller/valibot/issues/985))
- Add `values` and `notValues` action for easier multi-value validation
(pull request
[#&#8203;919](https://redirect.github.com/fabian-hiller/valibot/issues/919))
- Add `slug` action to validate URL slugs (pull request
[#&#8203;910](https://redirect.github.com/fabian-hiller/valibot/issues/910))
- Add support for `ReadonlyMap` and `ReadonlySet` to `readonly` action
(issue
[#&#8203;1059](https://redirect.github.com/fabian-hiller/valibot/issues/1059))
- Add `entriesFromObjects` util to improve tree shaking (pull request
[#&#8203;1023](https://redirect.github.com/fabian-hiller/valibot/issues/1023))
- Add new overload signature to `pipe` and `pipeAync` method to support
unlimited pipe items of same input and output type (issue
[#&#8203;852](https://redirect.github.com/fabian-hiller/valibot/issues/852))
- Add `@__NO_SIDE_EFFECTS__` notation to improve tree shaking (pull
request
[#&#8203;995](https://redirect.github.com/fabian-hiller/valibot/issues/995))
- Add `exactOptional` and `exactOptionalAsync` schema (PR
[#&#8203;1013](https://redirect.github.com/fabian-hiller/valibot/issues/1013))
-   Change types and implementation to support Standard Schema
- Change behaviour of `minValue` and `maxValue` for `NaN` (pull request
[#&#8203;843](https://redirect.github.com/fabian-hiller/valibot/issues/843))
- Change type and behaviour of `nullable`, `nullableAsync`, `nullish`,
`nullishAsync`, `optional`, `optionalAsync`, `undefinedable` and
`undefinedableAsync` for undefined default value (issue
[#&#8203;878](https://redirect.github.com/fabian-hiller/valibot/issues/878))
- Change type signature of `partialCheck` and `partialCheckAsync` action
to add `.pathList` property in a type-safe way
- Change type signature of `findItem` action to support type predicates
(issue
[#&#8203;867](https://redirect.github.com/fabian-hiller/valibot/issues/867))
- Change validation of missing object entries in `looseObject`,
`looseObjectAsync`, `object`, `objectAsync`, `objectWithRest`,
`objectWithRestAsync`, `strictObject` and `strictObject` (PR
[#&#8203;1013](https://redirect.github.com/fabian-hiller/valibot/issues/1013))
- Change type signature of `optional` and `optionalAsync` when used
within an object schema (PR
[#&#8203;1013](https://redirect.github.com/fabian-hiller/valibot/issues/1013))
- Change `MarkOptional` type to fix order of entries and TS error when
using generic schemas (issue
[#&#8203;1021](https://redirect.github.com/fabian-hiller/valibot/issues/1021))
- Change `VariantOption` and `VariantOptionAsync` type to fix TS error
when using generic schemas (issue
[#&#8203;842](https://redirect.github.com/fabian-hiller/valibot/issues/842))
- Change implementation of `variant` and `variantAsync` to support
optional discriminators using `exactOptional`, `exactOptionalAsync`,
`optional`, `optionalAsync`, `nullish` or `nullishAsync`
- Change `_addIssue` to not ignore empty strings as error message (pull
request
[#&#8203;1065](https://redirect.github.com/fabian-hiller/valibot/issues/1065))
- Change `ISO_DATE_TIME_REGEX` and `ISO_TIMESTAMP_REGEX` to support
space as separator (pull request
[#&#8203;1064](https://redirect.github.com/fabian-hiller/valibot/issues/1064))
- Change pipe tuple of `pipe` and `pipeAsync` to be readonly by default
- Change `forward`, `forwardCheck`, `partialCheck` and
`partialCheckAsync` to improve TypeScript performance (issue
[#&#8203;987](https://redirect.github.com/fabian-hiller/valibot/issues/987))
- Change `DECIMAL_REGEX` to support floats that start with a dot (pull
request
[#&#8203;1086](https://redirect.github.com/fabian-hiller/valibot/issues/1086))
-   Change exports to export only public types to reduce noise
-   Refactor `bytes`, `maxBytes`, `minBytes` and `notBytes` action
- Fix implementation of `nonOptional`, `nonOptionalAsync`,
`nonNullable`, `nonNullableAsync`, `nonNullish` and `nonNullishAsync`
schema in edge cases (issue
[#&#8203;909](https://redirect.github.com/fabian-hiller/valibot/issues/909))
- Fix instantiation error for `any` in `PathKeys` type (issue
[#&#8203;929](https://redirect.github.com/fabian-hiller/valibot/issues/929))
- Fix TypeScript error of `keyof` method for objects with many keys
(pull request
[#&#8203;988](https://redirect.github.com/fabian-hiller/valibot/issues/988))
- Fix options filtering in `enum_` schema (pull request
[#&#8203;941](https://redirect.github.com/fabian-hiller/valibot/issues/941))
- Fix `partialCheck` and `partialCheckAsync` action for typed data with
issues

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/trpc/trpc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Closes #6110

## 🎯 Changes

- Fixes so we use the right generic when concating
- Remove `unstable_`-prefix
# Add `waitFor` import restriction

## Description
Adds an ESLint rule to prevent importing `waitFor` from
`@testing-library/dom` and `@testing-library/react`, enforcing the use
of `vi.waitFor` instead.

## Motivation
When using fake timers in tests, the `waitFor` utility from Testing
Library doesn't work correctly because it uses real timers internally.
Using `vi.waitFor` from Vitest ensures proper functionality with fake
timers, leading to more reliable tests.

## Changes
- Added ESLint import restriction for `waitFor` from Testing Library
packages
- Added explanatory message directing developers to use `vi.waitFor`
instead


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Enhanced linting guidelines to enforce best practices for asynchronous
testing.
- Updated configuration dependencies to align with recent tooling
adjustments, ensuring smoother integration and improved development
reliability.
- Replaced `waitFor` function from `@testing-library/react` with
`vi.waitFor` across various test cases to improve asynchronous operation
handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Closes #

## 🎯 Changes

Effect example was out of date, referred to `@effect/schema` which is
deprecated, and doesn't use the new `standardSchemaV1` helper which I
think is better than the `decodeUnknownSync` that's there currently

<!--
Note: once you create a Pull request, we will automatically fix
auto-fixable lint issues in your branch
-->

## βœ… Checklist

- [x] I have followed the steps listed in the [Contributing
guide](https://github.com/trpc/trpc/blob/main/CONTRIBUTING.md).
- [x] If necessary, I have added documentation related to the changes
made.
- [ ] I have added or updated the tests related to the changes made.
(hmm maybe should check for tests too? I ran this on my own repo
manually)

Note:

Should probably explicitly mention standard-schema elsewhere, but
thought this small change is worth doing either way.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Upgraded the data validation process to ensure more consistent and
robust handling of inputs and outputs.
- **Chore**
- Streamlined internal dependency integration to improve overall backend
reliability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
@KATT KATT deleted the branch Necmttn:next March 21, 2025 09:54
@KATT KATT deleted the next branch March 21, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.