Skip to content

Releases: blomqma/next-rest-framework

v0.3.0

15 Jan 18:15
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Added

  • Added support for typed query parameters. This changes the input
    object API by renaming the schema attribute to body and adding a
    query attribute that can be used to type and validate
    query parameters for endpoints.

v0.2.3

15 Jan 18:14
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release

Fixed

  • Fixed an issue when using multiple output objects with
    different types - now the output types are combined
    with a union type to allow multiple different outputs.

v0.2.2

15 Jan 18:14
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release

Fixed

Fix documentation on readme included with the NPM package.

v0.2.1

15 Jan 18:14
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Changed

  • Changed the Swagger UI layout by adding a custom navbar and footer components.
  • Changed the include Swagger UI by loading the assets from unpkg CDN and significantly reducing the bundle size.

v0.2.0

03 Jan 00:06
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

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

09 Dec 22:58
Compare
Choose a tag to compare
v0.1.2 Pre-release
Pre-release

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

09 Dec 22:15
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

Fixed

  • Fix NPM package not working due to CommonJS and
    ESM interoperability issue.
  • Fix missing summary field from OpenAPI paths.
  • Fix miscellaneous typos in README.

v0.1.0

06 Dec 20:30
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

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.