unstale

npm / nestjs-zod

nestjs-zod

What changed in nestjs-zod 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

2 breaking9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

nestjs-zod 511 changes

Breaking changes 2

  • Adds a check to ensure @Res() is not used without passthrough: true.

    5.5.0release notes

  • OpenAPI 3.0 schemas no longer include id.

    5.3.0release notes

Fixes and other changes 9

  • Fixes a bug with named schemas when using zod ≥ 4.4.

    5.5.0release notes

  • Cleans up parent-metadata and parent-additional-properties from query params.

    5.5.0release notes

  • Nullable enums include null in the enum array when generating OpenAPI 3.0.

    5.4.0release notes

  • Converts exclusiveMaximum for OpenAPI 3.0.

    5.4.0release notes

  • Converts exclusiveMinimum for OpenAPI 3.0.

    5.4.0release notes

  • Converts propertyNames for OpenAPI 3.0.

    5.4.0release notes

  • Optional object properties are removed from the required array when using @nestjs/swagger v7.

    5.4.0release notes

  • Removes the prefix from parameter schemas for strict objects.

    5.4.0release notes

  • Fixes broken deep imports, so developers can use deep import paths reliably.

    5.3.0release notes