From 2feaca10bd5abb7170357f2cb479fabaf82dc36c Mon Sep 17 00:00:00 2001 From: Markus Blomqvist Date: Sat, 4 May 2024 12:25:17 +0300 Subject: [PATCH] v6.0.0 --- CHANGELOG.md | 10 ++++++++++ apps/example/public/openapi.json | 2 +- packages/next-rest-framework/package.json | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ea433b..d4735b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ All notable changes to this project will be documented in this file. We follow the [Semantic Versioning 2.0.0](http://semver.org/) format. +### 6.0.0 - 2024-05-04 + +#### Fixed + +- Fix TS errors when using an async middleware. + +#### Added + +- Export typings for `TypedNextRequest`, `TypedNextApiRequest` and `TypedNextApiResponse` so that they can be used for custom abstractions. + ### 6.0.0-beta.4 - 2024-04-17 #### Fixed diff --git a/apps/example/public/openapi.json b/apps/example/public/openapi.json index 283421e..fb5f639 100644 --- a/apps/example/public/openapi.json +++ b/apps/example/public/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Next REST Framework", "description": "This is an autogenerated documentation by Next REST Framework.", - "version": "v6.0.0-beta.4" + "version": "v6.0.0" }, "paths": { "/api/v1/form-data/multipart": { diff --git a/packages/next-rest-framework/package.json b/packages/next-rest-framework/package.json index 29385e2..45ec406 100644 --- a/packages/next-rest-framework/package.json +++ b/packages/next-rest-framework/package.json @@ -1,6 +1,6 @@ { "name": "next-rest-framework", - "version": "6.0.0-beta.4", + "version": "6.0.0", "description": "Next REST Framework - Type-safe, self-documenting APIs for Next.js", "keywords": [ "nextjs",