✨ 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.
🚨 Breaking Changes
- Update onFinish state - by @dinwwwh in #332 (aa59d)
- client:
- Rename
successproperty toisSuccessinsafeutility - by @dinwwwh (ee46d) - Update standard link interceptors and plugins options - by @dinwwwh in #333 (6b06c)
- Update standard link options - by @dinwwwh in #338 (4c9dd)
- Include entire response in malformed response error data - by @dinwwwh in #341 (96f9d)
- Rename
🚀 Features
- client:
- client, server:
- server:
🐞 Bug Fixes
.nextbroken when calling multiple times - by @dinwwwh in #337 (25532)- openapi:
- server:
- standard-server: