Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Version 27

### v27.2.6

- Limited Zod compatibility to `~4.3.4` (<4.4.0):
- Zod 4.4.0 introduced a breaking change to how `brand` method works, making the current plugin approach incompatible;
- `@express-zod-api/zod-plugin` version bumped to `^4.1.1` (limited Zod compatibility as well);
- Supporting Zod 4.4+ requires a breaking change and will be addressed in v28 (next major version);
Comment thread
RobinTail marked this conversation as resolved.
Outdated
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated

### v27.2.5

- Reduced memory footprint at runtime: deferred population of well-known headers to Documentation;
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ catalogs:
prod:
"ramda": "^0.32.0"
peer:
"zod": "^4.3.4"
"zod": "~4.3.4"
dev:
"@types/compression": "^1.8.1"
"@types/express": "^5.0.6"
Expand All @@ -66,7 +66,7 @@ catalogs:
"http-errors": "^2.0.1"
"typescript": "^6.0.2"
"typescript-eslint": "^8.51.0"
"zod": "^4.3.4"
"zod": "~4.3.4"
overrides:
"@scarf/scarf": "-"
"lightningcss": "-"
6 changes: 6 additions & 0 deletions zod-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Version 4

### v4.1.1

- Limited compatibility to Zod versions `~4.3.4` (<4.4.0):
- Zod 4.4.0 introduced a breaking change to how `brand` method works, making the current plugin approach incompatible;
- Support for Zod 4.4+ will be added in v5 (the next major version).

### v4.1.0

- Added `x-brand` type to the augmentation of Zod's `GlobalMeta` interface:
Expand Down
3 changes: 2 additions & 1 deletion zod-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ This module extends Zod functionality when it's imported:

## Requirements

- Zod `^4.3.4`
- Compatible with Zod versions `~4.3.4` (<4.4.0);
- Zod 4.4+ support will be available in v5 (the next major version).

## Basic usage

Expand Down
Loading