v10.2.0
版本发布时间: 2022-11-26 01:38:22
trpc/trpc最新发布版本:v10.45.2(2024-03-11 16:42:37)
What's Changed
✨ Automatically serialize JSON to the equivalent type
If you're not using a Data Transformer, we will now do our best to serialize the response the same way JSON.serialize()
does.
Example: Below a Date
is automatically turns into a string
, because that's what JSON.stringify()
does:
by @KATT in https://github.com/trpc/trpc/pull/3261
New Contributors
- @neo773 made their first contribution in https://github.com/trpc/trpc/pull/3239
- @QuiiBz made their first contribution in https://github.com/trpc/trpc/pull/3253
- @Nsttt made their first contribution in https://github.com/trpc/trpc/pull/3255
Full Changelog: https://github.com/trpc/trpc/compare/v10.1.0...v10.2.0