Skip to content

Commit f79245c

Browse files
authored
fix(client): inference fix when serializing of json-like return types like z.json() (#6810)
Closes #6804 ## 🎯 Changes - Bumps zod - Trying to fix #6804, see the `serialize.test.ts` ## ✅ 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 ## Summary by CodeRabbit - **Chores** - Updated the "zod" dependency to version ^3.25.51 across multiple example projects and packages. - **New Features** - Enhanced type serialization logic for JSON-compatible types. - **Tests** - Added comprehensive type-level tests to validate serialization behavior. - Removed outdated test suites related to complex serialization, type inference, and symbol key handling. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 5d43656 commit f79245c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"superjson": "^1.12.4",
5555
"tsx": "^4.19.3",
5656
"ws": "^8.0.0",
57-
"zod": "^3.25.49"
57+
"zod": "^3.25.51"
5858
},
5959
"devDependencies": {
6060
"@playwright/test": "^1.50.1",

0 commit comments

Comments
 (0)