zod-nest 0.10.0 → 0.11.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/README.md +13 -0
- package/dist/index.js +406 -257
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +407 -258
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -449,6 +449,19 @@ A compact, link-out index. Type signatures and detailed semantics live in the co
|
|
|
449
449
|
| Exception classes | [`docs/exceptions.md`](docs/exceptions.md) |
|
|
450
450
|
| Recipes | [`docs/recipes/`](docs/recipes/) |
|
|
451
451
|
|
|
452
|
+
## Compatibility matrix
|
|
453
|
+
|
|
454
|
+
`zod-nest` declares broad peer-dep ranges in `package.json`: `zod >= 4.4.0`, `@nestjs/common >= 10`, `@nestjs/core >= 10`, `@nestjs/swagger >= 8`, `rxjs >= 7`, Node `>= 22`. CI validates those claims by running the full test suite against the cells below; a red cell is a real blocker.
|
|
455
|
+
|
|
456
|
+
| Cell | `zod` | `@nestjs/common` | `@nestjs/core` | `@nestjs/swagger` |
|
|
457
|
+
|---|---|---|---|---|
|
|
458
|
+
| `floor` | 4.4.0 | 10.0.0 | 10.0.0 | 8.0.0 |
|
|
459
|
+
| `zod-latest` | latest | 10.0.0 | 10.0.0 | 8.0.0 |
|
|
460
|
+
| `nest-latest` | 4.4.0 | latest | latest | latest |
|
|
461
|
+
| `all-latest` | latest | latest | latest | latest |
|
|
462
|
+
|
|
463
|
+
Cell definitions live in [`.github/compat-matrix.json`](.github/compat-matrix.json). The CI workflow ([`.github/workflows/compat-matrix.yml`](.github/workflows/compat-matrix.yml)) runs on every push to `main` and weekly on Monday — when a cell fails, the workflow opens (or comments on) a GitHub issue labelled `compat-matrix-failure` so the regression is tracked outside the Actions UI. Editing the JSON is the formal way to extend or shrink supported ranges — Node + rxjs are not currently matrixed (Node floor `22` is enforced by `engines`; rxjs has been stable enough not to need cells yet).
|
|
464
|
+
|
|
452
465
|
## Migration from `nestjs-zod`
|
|
453
466
|
|
|
454
467
|
If you're coming from `nestjs-zod`, the headline changes are:
|