@ts-rest/fastify
Advanced tools
Comparing version 3.27.0-rc.0 to 3.27.0
# @ts-rest/fastify | ||
## 3.27.0-rc.0 | ||
## 3.27.0 | ||
### Patch Changes | ||
- 55411ad: Upgrade zod to 3.21.4 | ||
Upgrade @anatine/zod-openapi to 2.0.1 | ||
- f14ad97: Re-throw errors from route handlers | ||
- 4444929: Pass the parsed request body from zod to the route handler instead of the original request. | ||
## 3.26.4 | ||
## 3.26.3 | ||
## 3.26.2 | ||
@@ -6,0 +17,0 @@ |
@@ -80,2 +80,5 @@ 'use strict'; | ||
} | ||
else { | ||
throw err; | ||
} | ||
}; | ||
@@ -97,3 +100,3 @@ }; | ||
request, | ||
body: request.body, | ||
body: validationResults.bodyResult.data, | ||
reply, | ||
@@ -100,0 +103,0 @@ }); |
{ | ||
"name": "@ts-rest/fastify", | ||
"version": "3.27.0-rc.0", | ||
"version": "3.27.0", | ||
"peerDependencies": { | ||
"fastify": "^4.0.0", | ||
"zod": "^3.0.0", | ||
"@ts-rest/core": "3.27.0-rc.0" | ||
"zod": "^3.21.0", | ||
"@ts-rest/core": "3.27.0" | ||
}, | ||
@@ -9,0 +9,0 @@ "peerDependenciesMeta": { |
@@ -55,3 +55,3 @@ # ts-rest | ||
Fulfil the contract on your sever, with a type-safe router: | ||
Fulfil the contract on your server, with a type-safe router: | ||
@@ -125,2 +125,3 @@ ```typescript | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/baryla"><img src="https://avatars.githubusercontent.com/u/10336085?v=4?s=100" width="100px;" alt="Adrian Barylski"/><br /><sub><b>Adrian Barylski</b></sub></a><br /><a href="https://github.com/ts-rest/ts-rest/commits?author=baryla" title="Code">💻</a> <a href="https://github.com/ts-rest/ts-rest/commits?author=baryla" title="Documentation">📖</a> <a href="https://github.com/ts-rest/ts-rest/commits?author=baryla" title="Tests">⚠️</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://nad.dev"><img src="https://avatars.githubusercontent.com/u/6670753?v=4?s=100" width="100px;" alt="Neil A. Dobson"/><br /><sub><b>Neil A. Dobson</b></sub></a><br /><a href="https://github.com/ts-rest/ts-rest/commits?author=neildobson-au" title="Code">💻</a></td> | ||
</tr> | ||
@@ -127,0 +128,0 @@ </tbody> |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
23234
291
1
149