Skip to content

Commit

Permalink
v6.0.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
blomqma committed Mar 26, 2024
1 parent ec00287 commit 586205f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
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.1.0-beta.1 - 2024-03-24
### 6.0.0-beta.2 - 2024-03-27

#### Added

- Add support for validating path parameters with error responses for app router & using Zod-parsed path parameters.
- Add 10s form parsing timeout for pages router.

#### Fixed

- Fix `req.json()` returning JSON serialized Zod-parsed request body instead of raw Zod-parsed body.
- Fix RPC route response serialization for form data (app router and pages router) and File/Blob responses (pages router).

### 6.0.0-beta.1 - 2024-03-24

This is a breaking change that improves handling form data requests for both app router and pages router routes and RPC routes.

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": "v6.0.0-beta.1"
"version": "v6.0.0-beta.2"
},
"paths": {
"/api/v1/form-data/multipart": {
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": "6.0.0-beta.1",
"version": "6.0.0-beta.2",
"description": "Next REST Framework - Type-safe, self-documenting APIs for Next.js",
"keywords": [
"nextjs",
Expand Down

0 comments on commit 586205f

Please sign in to comment.