v10.8.0
版本发布时间: 2023-01-06 20:00:48
trpc/trpc最新发布版本:v10.45.2(2024-03-11 16:42:37)
What's Changed
- feat(client): add base client for integrations by @bautistaaa & @KATT in https://github.com/trpc/trpc/pull/3389, https://github.com/trpc/trpc/pull/3479
- chore: deprecate usage of
createHooksInternal
by @KATT in https://github.com/trpc/trpc/pull/3480 - chore: pruned some never-used code by @JoshuaKGoldberg in https://github.com/trpc/trpc/pull/3487
- fix(react-query): fix import from dist folder by @gspetrou in https://github.com/trpc/trpc/pull/3499
- feat: accept function param in
initTRPC.context
by @juliusmarminge in https://github.com/trpc/trpc/pull/3495 - feat: handle reserved properties key collisions by @sachinraja in https://github.com/trpc/trpc/pull/3466
- feat(react-query): added
initialData
overloads foruseQuery
by @JoshuaKGoldberg in https://github.com/trpc/trpc/pull/3500 - feat: add
resHeaders
to fetch-adapter'screateContext
by @sachinraja in https://github.com/trpc/trpc/pull/3532 - Add cloudflare-page-plugin-trpc into the Awesome tRPC collection list by @toyamarinyon in https://github.com/trpc/trpc/pull/3531
- fix(client): use constant of websocket impl by @nohum in https://github.com/trpc/trpc/pull/3542
- chore(client): rm redundant
getLinks()
from client factory by @KATT in https://github.com/trpc/trpc/pull/3541
New Contributors
- @JoshuaKGoldberg made their first contribution in https://github.com/trpc/trpc/pull/3482
- @mishankov made their first contribution in https://github.com/trpc/trpc/pull/3492
- @guushamann made their first contribution in https://github.com/trpc/trpc/pull/3493
- @gspetrou made their first contribution in https://github.com/trpc/trpc/pull/3499
- @zihan-ch made their first contribution in https://github.com/trpc/trpc/pull/3511
- @roj1512 made their first contribution in https://github.com/trpc/trpc/pull/3515
- @nfabredev made their first contribution in https://github.com/trpc/trpc/pull/3457
- @hrstmr made their first contribution in https://github.com/trpc/trpc/pull/3519
Full Changelog: https://github.com/trpc/trpc/compare/v10.7.0...v10.8.0