Releases: blomqma/next-rest-framework
v0.3.1
v0.3.0
v0.2.3
v0.2.2
v0.2.1
v0.2.0
Changed
The public API is changed in a way that the OpenAPI spec generation is split out from the input/output validation. The validation is now done with input and output keywords within the defineEndpoints handler, that generates a minimal OpenAPI spec out of the contents of the input and output definitions and all other OpenAPI generation-related overrides are done inside the openApiSpec object. This makes the separation of the business logic and documentation clearer, while still auto-generating the definitions from the application logic.
v0.1.2
Fixed
- Fix static URL that was used for API route instrumentation. The hardcoded value is now replaced with a dynamic value that should work in all environment. This change also caused the removal of the
getOpenApiSpec
function from the API. This is considered to be an API-breaking change but the early versions are not considered to be in use yet so it's safe to include it here.
v0.1.1
v0.1.0
This is the result of the initial development/MVP
for Next REST Framework. The framework already
includes extensive features like support for OpenAPI
spec auto generations, object-schema support for Zod
and Yup and lots of user config options but the API
is not considered to be fully stable yet.