✨ 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
successtoisSuccessin thesafeutility for clarity. - Updated the
onFinishcallback state to align with thesafeutility's output. - Revised configuration options for
RPCLink,OpenAPILink, interceptors, and plugins. - Included the full response data in
MalformedResponseErrorto simplify debugging.
✨ Features ✨
- Added dynamic retry logic support to the
ClientRetryplugin. - 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/onErrorhooks as middleware. - Improved type inference in certain scenarios.
- Fixed issues resulting from repeated
.nextcalls. - Corrected server-side URL prefix handling.
🏎 Performance 🏎
- Optimized the payload size for void returns in
event-iterator.
No significant changes