npm @trpc/client 10.2.0

latest releases: 11.0.0-alpha-tmp-app-router-example.388, 11.0.0-alpha-tmp-app-router-example.387, 11.0.0-rc.402...
18 months ago

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:

Date turns into a string type

by @KATT in #3261

New Contributors

Full Changelog: v10.1.0...v10.2.0

Don't miss a new client release

NewReleases is sending notifications on new releases.