# What changed in zod-from-json-schema

> 15 changes in zod-from-json-schema 0.5 from its official release notes, upgrade guides and advisories: 2 breaking, 7 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/zod-from-json-schema/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## zod-from-json-schema 0.5

### Breaking changes

- patternProperties are enforced even without properties, required, or additionalProperties: false. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- Properties with a default are still enforced as required. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)

### New APIs and options

- The dependentRequired keyword is now supported. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- The dependentSchemas keyword is now supported. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- Conditional schemas using if, then, and else are now supported. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- JSON Schema propertyNames is now supported. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- Internal JSON Schema references are now supported, including $ref, $id, $anchor, and $dynamicRef. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- Adds support for ZodFile in JSON Schema conversion. (0.5.2) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.2)
- Schema now has basic support for defaults. (0.5.1) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.1)

### Fixes and other changes

- Can now represent bare object schemas and sibling-less anyOf schemas. (0.5.6) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.6)
- Draft-4 boolean exclusiveMaximum is translated instead of disabling the number type. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- Draft-4 boolean exclusiveMinimum is translated instead of disabling the number type. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- Declared properties are validated against matching patternProperties. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- The converter skips __proto__ when building a raw shape from a JSON Schema object. (0.5.4) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.4)
- Fixed handling of the oneOf JSON Schema keyword. (0.5.3) — [release notes](https://github.com/glideapps/zod-from-json-schema/releases/tag/v0.5.3)
