🚨 Breaking Changes 🚨
- The
.keyutility in@orpc/vue-queryand@orpc/vue-coladano longer accepts refs as values, ensuring that it does not return a reactive value. ClientContextin@orpc/clientnow 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)