Releases: blomqma/next-rest-framework
Releases · blomqma/next-rest-framework
v1.1.1
v1.1.0
v1.0.2
Fixed
- Fixed an idempotency issue in the OpenAPI paths generation where the ordering of the generated paths was inconsistent between executions.
Changed
- Changed the OpenAPI spec generation to not make file system calls for API routes files when the config option
apiRoutesPath
is not defined.
v1.0.1
Full details available in this PR: #49
Added
- Add support for Next.js App Router
Removed
- Remove support for global, route and method middlewares.
- Remove support for HTTP TRACE.
- Removed support for Node.js 16.
Changed
- Running
next-rest-framework generate
is no longer encouraged to be run together withnext build
.
v0.8.0
Removed
- Drop support for Yup schemas in order to better support Zod that is the main object-schema validation library used with the framework.
Added
- Add support for all applicable Zod schema types listed in their docs: https://zod.dev
v0.7.2
v0.7.1
v0.7.0
v0.6.0
0.6.0 - 2023-04-11
Added
- Add SwaggerUI customization options for using custom title, description, logo and favicon.
Fixed
- Fix bug that caused custom OpenAPI YAML file paths not working.
- Fix documentation and examples that were using Zod number schemas for query parameter validation, resulting in an error when following the examples.
v0.5.1
Fixed
- Revert the addition of the
localOpenApiSpec
config option. Using a user-defined route resulted in the generated OpenAPI spec file not being included in the Vercel build artifacts, thus making it not work. This issue is fixed by using a static path for the spec file so it will be always calledopenapi.json
and lies in the project root.