Releases: blomqma/next-rest-framework
Releases · blomqma/next-rest-framework
v6.0.6
Fixed
- Do not include route group names to generated OpenAPI spec.
v6.0.5
Changed
- Silence generate errors for finding NRF config from docs routes.
v6.0.4
Fixed
- Add support for CJS imports in generate.
v6.0.3
Added
- Add proper error handling for generating OpenAPI paths from routes & API routes.
v6.0.2
Fixed
- Fix inferred request body type for RPC API routes.
Added
- Add dynamically included JSON schemas for request body, query and path parameter validation errors when validation schemas for them exist.
v6.0.1
Fixed
- Fix dynamic server usage in app router docs endpoint by reading the headers from a cloned request object.
v6.0.0
Fixed
- Fix TS errors when using an async middleware.
Added
- Export typings for
TypedNextRequest
, TypedNextApiRequest
and TypedNextApiResponse
so that they can be used for custom abstractions.
v6.0.0-beta.4
Fixed
- Fix CLI commands causing ESBuild errors with third-party dependencies by parsing the OpenAPI specifications from the source code instead using
tsx
.
v6.0.0-beta.3
Added
- Add support for validating path parameters separately from query parameters with pages router.