npm @trpc/client 8.0.0

latest releases: 11.0.0-rc.621, 11.0.0-rc.619, 11.0.0-rc.608...
3 years ago
  • Align to JSON-RPC2 (#532)
  • Move transformers to router (#545)
  • delete useLiveQuery - #568
  • delete subscriptions on http
  • remove transformer as part of http handler (previously deprecated) #545 / #571
  • flatten client.fetchOpts - #570
  • withTRPC() refactor - now only accepts 1 argument - #572
  • change http req id to null

Upgrade guide

  • Update all trpc-deps: npx npm-check-updates --filter /@trpc/ -u && yarn
  • Update withTRPC() - see docs
  • Update to use router.transform() over transform in http handlers - docs

Don't miss a new client release

NewReleases is sending notifications on new releases.