🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
MIT License
Bot releases are visible (Hide)
Published by KATT almost 2 years ago
reset()
to utils proxy by @v1narth in https://github.com/trpc/trpc/pull/3142
Full Changelog: https://github.com/trpc/trpc/compare/v10.3.0...v10.4.0
Published by KATT almost 2 years ago
Full Changelog: https://github.com/trpc/trpc/compare/v10.2.0...v10.3.0
Published by KATT almost 2 years ago
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
Full Changelog: https://github.com/trpc/trpc/compare/v10.1.0...v10.2.0
Published by KATT almost 2 years ago
meta
to unstable_overrides
' onSuccess
callback by @KATT in https://github.com/trpc/trpc/pull/3228
Full Changelog: https://github.com/trpc/trpc/compare/v10.0.0...v10.1.0
Published by KATT almost 2 years ago
Full Changelog: https://github.com/trpc/trpc/compare/v9.26.0...v10.0.0
Published by KATT almost 2 years ago
useSuspenseQuery()
by @KATT in https://github.com/trpc/trpc/pull/3137, docs at https://trpc.io/docs/suspense
Most likely, this is not something that affects anyone, but the way we store the underlying query keys has changed. See #3170 for more info.
Full Changelog: https://github.com/trpc/trpc/compare/v10.0.0-rc.6...v10.0.0-rc.8
Published by KATT almost 2 years ago
.invalidate()
& setData
/setInfiniteData
by @KATT in https://github.com/trpc/trpc/pull/3124
Full Changelog: https://github.com/trpc/trpc/compare/v10.0.0-rc.3...v10.0.0-rc.6
Published by KATT almost 2 years ago
useQueryClient
in useMutation
by @Pruxis in https://github.com/trpc/trpc/pull/3098
Full Changelog: https://github.com/trpc/trpc/compare/v10.0.0-rc.2...v10.0.0-rc.3
Published by KATT almost 2 years ago
Full Changelog: https://github.com/trpc/trpc/compare/v10.0.0-rc.1...v10.0.0-rc.2
Published by KATT almost 2 years ago
The first tRPC 10 Release Candidate is out!
We might still have some minor changes before hitting 10.0.0, but you should definitely start using it.
See the migration guide at https://trpc.io/docs/v10/migrate-from-v9-to-v10
Published by KATT about 2 years ago
TRPCClientError.cause
by @KATT in https://github.com/trpc/trpc/pull/2878
Full Changelog: https://github.com/trpc/trpc/compare/v9.27.2...v9.27.4
Published by KATT about 2 years ago
Full Changelog: https://github.com/trpc/trpc/compare/v9.27.1...v9.27.2
Published by KATT about 2 years ago
maxBatchSize
edge-case bug. Thanks, @zomars for reporting in #2008 & @relm923 for providing reproduction in #2486Full Changelog: https://github.com/trpc/trpc/compare/v9.27.0...v9.27.1
Published by KATT about 2 years ago
Full Changelog: https://github.com/trpc/trpc/compare/v9.26.2...v9.27.0
Published by KATT over 2 years ago
@trpc/react
to react-query
3 by @KATT in https://github.com/trpc/trpc/pull/2245
@trpc/react
has an updated peer dependency: react-query
^3.37.0
rather than ^3.37.0 || ^4.0.0-alpha.4"
This is because react-query
4
is introducing a series of breaking changes that can't be addressed in a cross-compatible way.
We will likely to a light breaking change to the
^9.x.x
-series (the first ever) in order to have support forreact-query
4. - See discussion in https://github.com/trpc/trpc/issues/2243
Full Changelog: https://github.com/trpc/trpc/compare/v9.26.1...v9.26.2
Published by KATT over 2 years ago
Full Changelog: https://github.com/trpc/trpc/compare/v9.26.0...v9.26.1
Published by KATT over 2 years ago
OnErrorFunction
type for AWS Lambda adapter's onError
method by @pekala in https://github.com/trpc/trpc/pull/2157
Full Changelog: https://github.com/trpc/trpc/compare/v9.25.3...v9.26.0
Published by KATT over 2 years ago
WebSocket
by @KATT, reported by @futpib -- https://github.com/trpc/trpc/pull/2010
Full Changelog: https://github.com/trpc/trpc/compare/v9.25.2...v9.25.3
Published by KATT over 2 years ago
>=4.6.0
by @KATT in https://github.com/trpc/trpc/pull/1977
Full Changelog: https://github.com/trpc/trpc/compare/v9.25.1...v9.25.2