✨ [NEW] OpenAPI Reference Plugin (Swagger/Scalar)
Easy serve beautiful OpenAPI Reference Client UI powered by Scalar
const handler = new OpenAPIHandler(router, {
plugins: [
new OpenAPIReferencePlugin({
schemaConverters: [
new ZodToJsonSchemaConverter(),
],
specGenerateOptions: {
info: {
title: 'ORPC Playground',
version: '1.0.0',
},
},
}),
]
})✨ [NEW] Partical React Native Support
React Native includes a Fetch API, so you can use oRPC out of the box. However, the Fetch API in React Native has limitations. oRPC features like File, Blob, and AsyncIteratorObject aren't supported. Follow Support Stream #27741 for updates.
🚀 Features
- client: Batch Plugin auto‑infer context from link - by @dinwwwh in #427 (ff41b)
- openapi: OpenAPI Reference Plugin - by @dinwwwh in #442 (7336c)
- server: Allow .concat middlewares with narrowed input types - by @dinwwwh in #420 (2d41a)
- standard-server: Support React Native by explicitly checking body - by @dinwwwh in #445 (41631)