github unnoq/orpc v1.1.0

latest releases: v1.8.8, v1.8.7, v1.8.6...
4 months ago

✨ [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 @unnoq in #427 (ff41b)
  • openapi: OpenAPI Reference Plugin  -  by @unnoq in #442 (7336c)
  • server: Allow .concat middlewares with narrowed input types  -  by @unnoq in #420 (2d41a)
  • standard-server: Support React Native by explicitly checking body  -  by @unnoq in #445 (41631)

   🐞 Bug Fixes

  • deps: Update dependency rou3 to ^0.6.0  -  in #423 (16739)
    View changes on GitHub

Don't miss a new orpc release

NewReleases is sending notifications on new releases.