express-zod-api 12.1.0-beta1 → 12.1.0-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
## Version 12
|
|
4
4
|
|
|
5
|
+
### v12.1.0
|
|
6
|
+
|
|
7
|
+
- This version fixes the issue 1182 introduced in version 10.0.0-beta1, manifesting as Typescript errors `TS4023` and
|
|
8
|
+
`TS4094` only when `declarations` feature is enabled in cosumer's `tsconfig.json`.
|
|
9
|
+
- Several protected properties of `Endpoint` are made entirely private.
|
|
10
|
+
- Several types are exposed: `CommonConfig`, `MiddlewareDefinition`, `ResultHandlerDefinition`, `BasicSecurity`,
|
|
11
|
+
`BearerSecurity`, `CookieSecurity`, `CustomHeaderSecurity`, `InputSecurity`, `OAuth2Security`, `OpenIdSecurity`.
|
|
12
|
+
- They are not meant to be used in your implementation and only needed to prevent the error in particular case.
|
|
13
|
+
- Instead of `CommonConfig` type use `createConfig()` method.
|
|
14
|
+
- Instead of `MiddlewareDefinition` type use `createMiddleware()` method.
|
|
15
|
+
- Instead of `ResultHandlerDefinition` type use `createResultHandler()` method.
|
|
16
|
+
- Instead of the mentioned security types use the `security` property of the `createMiddleware()` argument.
|
|
17
|
+
- The issue 1182 is the continuation of the issue 952 "Infussicient exports" (for consumer's declaration).
|
|
18
|
+
|
|
5
19
|
### v12.0.2
|
|
6
20
|
|
|
7
21
|
- `express-fileupload` version is 1.4.1.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "express-zod-api",
|
|
3
|
-
"version": "12.1.0-
|
|
3
|
+
"version": "12.1.0-beta2",
|
|
4
4
|
"description": "A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|