🚨 Breaking Changes 🚨
- The
.key
utility in@orpc/vue-query
and@orpc/vue-colada
no longer accepts refs as values, ensuring that it does not return a reactive value. ClientContext
in@orpc/client
now behaves like the context on the server:- It is optional when all fields are optional.
- It must match the
Record<string, any>
condition.
🌟 .call
Utility 🌟
The .call
utility is now available in @orpc/react-query
, @orpc/vue-query
, and @orpc/vue-colada
. It serves as an alias for the client, allowing you to call the client directly.
const client = createORPCClient<typeof router>()
const orpc = createORPCReactQueryUtils(client)
client.ping() === orpc.ping.call()
🚨 Breaking Changes
- contract, client: Enforce stricter client context - by @unnoq in #141 (b4e6d)
- vue-query, vue-colada: Disallow using refs in
.key
- by @unnoq in #137 (a8ad3)