Releases: blomqma/next-rest-framework
Releases · blomqma/next-rest-framework
v6.0.5
v6.0.4
v6.0.3
v6.0.2
v6.0.1
v6.0.0
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.
v6.0.0-beta.2
Added
- Add support for validating path parameters with error responses for app router & using Zod-parsed path parameters.
- Add 10s form parsing timeout for pages router.
Fixed
- Fix
req.json()
returning JSON serialized Zod-parsed request body instead of raw Zod-parsed body. - Fix RPC route response serialization for form data (app router and pages router) and File/Blob responses (pages router).
v6.0.0-beta.1
This is a breaking change that improves handling form data requests for both app router and pages router routes and RPC routes.
Added
- Add support for strongly typed form data.
- Add support for overriding generated JSON schema with a custom JSON schema for request bodies, search params and response bodies.
- Add support for (strongly typed) form data for RPC routes.
Changed
- Rename response body schema in output objects from
schema
->body
for consistent naming conventions.
Fixed
- Misc docs fixes.