Skip to content

Commit 3435a6e

Browse files
authored
deps(v26): Elevating min zod version requirements (#3086)
Due to the fix of an external issue by #3084
1 parent 024e2bc commit 3435a6e

5 files changed

Lines changed: 13 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
### v26.0.0
66

7+
- Supported `zod` versions: `^4.1.13`:
8+
- This Zod patch contains an [important fix](https://github.com/colinhacks/zod/pull/5452) that makes the
9+
`globalRegistry` really global across both CJS and ESM bundles of Zod distribution;
10+
- Though, the requirement on running the framework in ESM environment remains, I consider the fix critical in order
11+
to avoid unexpected behaviour such as [loosing metadata](https://github.com/RobinTail/express-zod-api/issues/3059);
12+
- The issue was found and reported by [@shadone](https://github.com/shadone).
713
- `DependsOnMethod` removed:
814
- You can now specify methods as direct keys of an assigned object in `Routing`;
915
- That object can still contain nested paths as before;

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Therefore, many basic tasks can be accomplished faster and easier, in particular
8686

8787
These people contributed to the improvement of the framework by reporting bugs, making changes and suggesting ideas:
8888

89+
[<img src="https://github.com/shadone.png" alt="@shadone" width="50" />](https://github.com/shadone)
8990
[<img src="https://github.com/squishykid.png" alt="@squishykid" width="50" />](https://github.com/squishykid)
9091
[<img src="https://github.com/jakub-msqt.png" alt="@jakub-msqt" width="50" />](https://github.com/jakub-msqt)
9192
[<img src="https://github.com/misha-z1nchuk.png" alt="@misha-z1nchuk" width="50" />](https://github.com/misha-z1nchuk)

compat-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"http-errors": "npm:http-errors@2.0.0",
1616
"typescript": "npm:typescript@5.1.3",
1717
"typescript-eslint": "npm:typescript-eslint@8.0.0",
18-
"zod": "npm:zod@4.0.0"
18+
"zod": "npm:zod@4.1.13"
1919
}
2020
}

pnpm-lock.yaml

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ catalogs:
4444
prod:
4545
"ramda": "^0.32.0"
4646
peer:
47-
"zod": "^4.0.0"
47+
"zod": "^4.1.13"
4848
dev:
4949
"@types/compression": "^1.8.1"
5050
"@types/express": "^5.0.3"
@@ -59,6 +59,6 @@ catalogs:
5959
"http-errors": "^2.0.0"
6060
"typescript": "^5.9.2"
6161
"typescript-eslint": "^8.46.1"
62-
"zod": "^4.0.0"
62+
"zod": "^4.1.13"
6363
overrides:
6464
"@scarf/scarf": "npm:empty-npm-package@1.0.0"

0 commit comments

Comments
 (0)