Skip to content

Commit ce05968

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 ab05bab commit ce05968

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
@@ -19,7 +19,7 @@
1919
"react": "^19.1.0",
2020
"react-dom": "^19.1.0",
2121
"react-hook-form": "^7.53.2",
22-
"zod": "^3.25.49",
22+
"zod": "^3.25.51",
2323
"zod-form-data": "^2.0.1"
2424
},
2525
"devDependencies": {

0 commit comments

Comments
 (0)