Skip to content

Commit

Permalink
v3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blomqma committed Oct 23, 2023
1 parent 079fc25 commit c6b1871
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
All notable changes to this project will be documented in this file.
We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.

### 3.4.0 - 2023-10-24

### Added

- Add support for strongly-typed response content-type headers.

### 3.3.0 - 2023-10-23

### Added
Expand Down
2 changes: 1 addition & 1 deletion apps/example/public/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Next REST Framework",
"description": "This is an autogenerated documentation by Next REST Framework.",
"version": "v3.3.0"
"version": "v3.4.0"
},
"paths": {
"/api/api-routes/todos": {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const handler = routeHandler({
export { handler as GET, handler as POST };
```

The `TypedNextResponse` ensures that the response status codes are type-checked. You can still use the regular `NextResponse` if you prefer to have less type-safety.
The `TypedNextResponse` ensures that the response status codes and content-type headers are type-checked. You can still use the regular `NextResponse` if you prefer to have less type-safety.

#### Pages Router:

Expand Down
2 changes: 1 addition & 1 deletion packages/next-rest-framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const handler = routeHandler({
export { handler as GET, handler as POST };
```

The `TypedNextResponse` ensures that the response status codes are type-checked. You can still use the regular `NextResponse` if you prefer to have less type-safety.
The `TypedNextResponse` ensures that the response status codes and content-type headers are type-checked. You can still use the regular `NextResponse` if you prefer to have less type-safety.

#### Pages Router:

Expand Down
2 changes: 1 addition & 1 deletion packages/next-rest-framework/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-rest-framework",
"version": "3.3.0",
"version": "3.4.0",
"description": "Next REST Framework - write type-safe, self-documenting REST APIs in Next.js",
"keywords": [
"nextjs",
Expand Down

2 comments on commit c6b1871

@vercel
Copy link

@vercel vercel bot commented on c6b1871 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-rest-framework-demo – ./apps/example

next-rest-framework-demo-blomqma.vercel.app
next-rest-framework-demo.vercel.app
next-rest-framework-demo-git-main-blomqma.vercel.app

@vercel
Copy link

@vercel vercel bot commented on c6b1871 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-rest-framework – ./docs

next-rest-framework-git-main-blomqma.vercel.app
next-rest-framework.vercel.app
next-rest-framework-blomqma.vercel.app

Please sign in to comment.