express-zod-api 12.0.0-beta1 → 12.0.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 +10 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,13 +7,22 @@
|
|
|
7
7
|
- **Breaking changes**:
|
|
8
8
|
- `winston` becomes a peer dependency — you need to install it manually.
|
|
9
9
|
- Minimum Node versions supported: 18.0.0 and 20.1.0.
|
|
10
|
-
- Node versions 16 and 19 are EOL no longer supported.
|
|
10
|
+
- Node versions 16 and 19 are EOL and no longer supported.
|
|
11
11
|
- Minimum Typescript version supported: 5.1.3.
|
|
12
12
|
- Minimum Jest version supported: 28 (optional peer dependency for testing endpoints).
|
|
13
13
|
- Other changes:
|
|
14
14
|
- The distribution now consists of 4 files in `dist` directory:
|
|
15
15
|
- for ESM: `index.mjs` and `index.d.mts`,
|
|
16
16
|
- for CJS: `index.js` and `index.d.ts`.
|
|
17
|
+
- Routes having URL params are no longer quoted in the generated documentation.
|
|
18
|
+
- This change is caused by a fix to the `yaml` dependency.
|
|
19
|
+
|
|
20
|
+
```yaml
|
|
21
|
+
before:
|
|
22
|
+
"/v1/user/{id}":
|
|
23
|
+
after:
|
|
24
|
+
/v1/user/{id}:
|
|
25
|
+
```
|
|
17
26
|
|
|
18
27
|
## Version 11
|
|
19
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "express-zod-api",
|
|
3
|
-
"version": "12.0.0-
|
|
3
|
+
"version": "12.0.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": {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"jest": "^29.6.4",
|
|
111
111
|
"make-coverage-badge": "^1.2.0",
|
|
112
112
|
"mockdate": "^3.0.5",
|
|
113
|
-
"prettier": "3.0.
|
|
113
|
+
"prettier": "3.0.3",
|
|
114
114
|
"strip-ansi": "^6.0.1",
|
|
115
115
|
"ts-node": "^10.9.1",
|
|
116
116
|
"tsd": "^0.28.1",
|