npm @trpc/react 8.0.0

latest releases: 10.0.0-proxy-beta.20, 10.0.0-proxy-beta.19, 10.0.0-proxy-beta.18...
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 react release

NewReleases is sending notifications on new releases.