✨ Batch Reqeusts/Responses
The Batch Request/Response Plugin allows you to combine multiple requests and responses into a single batch, reducing the overhead of sending each one separately. Read more
🚨 Breaking Changes 🚨
- Renamed
success
toisSuccess
in thesafe
utility for clarity. - Updated the
onFinish
callback state to align with thesafe
utility's output. - Revised configuration options for
RPCLink
,OpenAPILink
, interceptors, and plugins. - Included the full response data in
MalformedResponseError
to simplify debugging.
✨ Features ✨
- Added dynamic retry logic support to the
ClientRetry
plugin. - Introduced
StrictGetMethodPlugin
(enabled by default forRPCHandler
) to enforce GET usage. - Added a simple CSRF protection plugin.
- Added a request/response batching plugin.
- Links (
RPCLink
,OpenAPILink
) now support search queries directly in the base URL. - Made plugin execution order configurable.
🐞 Bug Fixes 🐞
- Fixed OpenAPI spec generation for optional response bodies.
- Fixed file deserialization errors involving empty filenames.
- Resolved issues using
onSuccess
/onError
hooks as middleware. - Improved type inference in certain scenarios.
- Fixed issues resulting from repeated
.next
calls. - Corrected server-side URL prefix handling.
🏎 Performance 🏎
- Optimized the payload size for void returns in
event-iterator
.
🚨 Breaking Changes
🚀 Features
- client:
- client, server:
- server:
🐞 Bug Fixes
.next
broken when calling multiple times - by @unnoq in #337 (25532)- openapi:
- server:
- standard-server: