express-zod-api 8.0.0-beta3 → 8.0.0
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 +9 -3
- package/dist/server.d.ts +2 -2
- package/dist-esm/package.json +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,17 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## Version 8
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### v8.0.0
|
|
6
|
+
|
|
7
|
+
- `winston` version is 3.8.2.
|
|
8
|
+
- This version is based on v8.0.0-beta3 and contains breaking changes from v8.0.0-beta1 and v8.0.0-beta2.
|
|
9
|
+
Check out the explanation of these breaking changes below in order to migrate to v8.0.0.
|
|
10
|
+
|
|
11
|
+
### v8.0.0-beta3
|
|
6
12
|
|
|
7
13
|
- This version includes the fix from version 7.9.2.
|
|
8
14
|
- `zod` version is 3.19.0.
|
|
9
15
|
|
|
10
|
-
###
|
|
16
|
+
### v8.0.0-beta2
|
|
11
17
|
|
|
12
18
|
- **Breaking**: removing the signature deprecated in v7.6.1.
|
|
13
19
|
- The argument of `EndpointsFactory::addMiddleware()` has to be the result of `createMiddleware()`.
|
|
14
20
|
|
|
15
|
-
###
|
|
21
|
+
### v8.0.0-beta1
|
|
16
22
|
|
|
17
23
|
- This version is based on v7.9.1.
|
|
18
24
|
- **Breaking**: Only the following Node versions are supported:
|
package/dist/server.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare function attachRouting(config: AppConfig & CommonConfig, routing:
|
|
|
14
14
|
};
|
|
15
15
|
export declare function createServer(config: ServerConfig & CommonConfig, routing: Routing): {
|
|
16
16
|
app: import("express-serve-static-core").Express;
|
|
17
|
-
httpServer: import("http").Server
|
|
18
|
-
httpsServer: https.Server | undefined;
|
|
17
|
+
httpServer: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
|
|
18
|
+
httpsServer: https.Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse> | undefined;
|
|
19
19
|
logger: Logger;
|
|
20
20
|
};
|
package/dist-esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"8.0.0
|
|
1
|
+
{"type":"module","version":"8.0.0"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "express-zod-api",
|
|
3
|
-
"version": "8.0.0
|
|
3
|
+
"version": "8.0.0",
|
|
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": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"openapi3-ts": "3.0.2",
|
|
50
50
|
"ramda": "0.28.0",
|
|
51
51
|
"triple-beam": "1.3.0",
|
|
52
|
-
"winston": "3.8.
|
|
52
|
+
"winston": "3.8.2",
|
|
53
53
|
"zod": "3.19.0",
|
|
54
54
|
"zod-to-ts": "1.1.1"
|
|
55
55
|
},
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"@types/node-fetch": "^2.6.2",
|
|
79
79
|
"@types/ramda": "^0.28.15",
|
|
80
80
|
"@types/triple-beam": "^1.3.2",
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "^5.36.
|
|
82
|
-
"@typescript-eslint/parser": "^5.36.
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
|
82
|
+
"@typescript-eslint/parser": "^5.36.2",
|
|
83
83
|
"chalk": "^4.1.2",
|
|
84
84
|
"cors": "^2.8.5",
|
|
85
85
|
"eslint": "^8.23.0",
|
|
@@ -91,16 +91,16 @@
|
|
|
91
91
|
"form-data": "^4.0.0",
|
|
92
92
|
"has-ansi": "^4.0.1",
|
|
93
93
|
"husky": "^8.0.1",
|
|
94
|
-
"jest": "^29.0.
|
|
94
|
+
"jest": "^29.0.2",
|
|
95
95
|
"make-coverage-badge": "^1.2.0",
|
|
96
96
|
"mockdate": "^3.0.5",
|
|
97
97
|
"node-fetch": "^2.6.7",
|
|
98
98
|
"prettier": "2.7.1",
|
|
99
99
|
"strip-ansi": "^6.0.1",
|
|
100
|
-
"ts-jest": "^29.0.0
|
|
100
|
+
"ts-jest": "^29.0.0",
|
|
101
101
|
"ts-node": "^10.9.1",
|
|
102
102
|
"tsd": "^0.23.0",
|
|
103
|
-
"typescript": "^4.8.
|
|
103
|
+
"typescript": "^4.8.3"
|
|
104
104
|
},
|
|
105
105
|
"engines": {
|
|
106
106
|
"node": "^14.17.0 || ^16.10.0 || ^18.0.0"
|