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",