Skip to content

Releases: blomqma/next-rest-framework

v0.5.0

27 Mar 23:25
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Changed

  • Change OpenAPI generation by generating a local OpenAPI spec file that is dynamically updated in local development and used in production for the OpenAPI endpoints. Rename the openApiSpec config option to openApiSpecOverrides for better clarity with the added localOpenApiSpec path option.

v0.4.2

21 Mar 18:40
Compare
Choose a tag to compare
v0.4.2 Pre-release
Pre-release

Fixed

  • Fix bug with middlewares and error handlers that responded to the API request and the execution was not stopped.

v0.4.1

20 Mar 19:10
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

Fixed

  • Fix the getting started docs containing a typo that caused an error.

v0.4.0

15 Mar 21:14
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Fixed

  • Fix the OpenAPI instrumentation for dynamic routes containing parameters that were not displayed correctly in the Swagger UI.

Changed

  • Defining content type and request body are no longer required in the input object. Making the endpoint definition friendlier for different types of requests.

v0.3.7

09 Mar 16:32
Compare
Choose a tag to compare
v0.3.7 Pre-release
Pre-release

Fixed

  • Fix previous release not reflecting the latest changes introduced in the release notes of v0.3.6.

v0.3.6

07 Mar 22:48
Compare
Choose a tag to compare
v0.3.6 Pre-release
Pre-release

0.3.6 - 2023-03-08

Fixed

  • Fix a bug that prevented nested API routes from being included into the OpenAPI spec.

Special thanks to @Cajuteq for pointing our the issue & providing a fix.

v0.3.5

21 Feb 17:59
Compare
Choose a tag to compare
v0.3.5 Pre-release
Pre-release

Fixed

  • Fix content type header bug by removing the content type header parameters from the header validation logic. This caused e.g. form data requests to fail at runtime.

v0.3.4

20 Feb 22:49
Compare
Choose a tag to compare
v0.3.4 Pre-release
Pre-release

Fixed

  • Fix Zod/Yup typings so that both of those dependencies are no longer needed for using the framework.

v0.3.3

20 Feb 21:46
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

Fixed

  • This fixes some compability issues with user-defined
    API routes that are not using Next REST Framework.
    There was a bug in the API route path matching where
    the comparison to the reserved paths was not exact,
    making some user-defined API routes to be completely
    skipped in some cases.
  • Other fix here is that the instrumentation requests are now
    aborted after 200ms in case the user-defined APIs do not
    respond in that time.

v0.3.2

20 Feb 21:00
Compare
Choose a tag to compare
v0.3.2 Pre-release
Pre-release

Added

  • Add support for projects using a src folder with a new config option called apiRoutesPath.