# What changed in json-schema-faker

> 24 changes in json-schema-faker 0.6 from its official release notes, upgrade guides and advisories: 1 breaking, 6 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/npm/json-schema-faker/

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

## json-schema-faker 0.6

### Breaking changes

- A bare $ref value of #/ now throws Unresolved $ref instead of silently self-referencing the root schema. (0.6.2) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.2)

### New APIs and options

- Adds a synchronous generator-creation API. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Adds support for the dependentRequired keyword. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Adds support for the dependentSchemas keyword. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Adds a synchronous generation API. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Custom keyword callbacks now receive GenerateContext as the third define() argument. (0.6.1) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.1)
- Added support for outputTransform with generated output JSON pointer paths. (0.6.1) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.1)

### Fixes and other changes

- Isolates autoIncrement counters by schema path. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Uses trampolining for recursive schema walks to avoid stack overflow on deep schemas. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Fixes scoped $defs resolution. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Avoids double generation when a property appears in both required and properties. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Allows extensions to proceed into subschemas. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Allows refResolver in generateSync(); it throws only if refResolver returns a Promise. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Fixes handling of quoted JSONPath keys, including bracket-quoted keys. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Fixes recursive descent handling in JSONPath. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Registers nested local definitions during schema walking. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Applies optional property filtering to root examples and default values. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Prevents unhandled promise rejections at sync-mode async boundaries. (0.6.3) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.3)
- Local $ref values pointing to arbitrary JSON pointer paths now resolve against the root schema instead of throwing Unresolved $ref. (0.6.2) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.2)
- Fixed nested allOf merging so all nested branches are preserved. (0.6.1) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.1)
- Fixed autoIncrement sequences across array items. (0.6.1) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.1)
- Added compatibility handling for ignoreProperties. (0.6.1) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.1)
- Added compatibility handling for requiredOnly. (0.6.1) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.1)
- Restored useDefaultValue precedence over enum. (0.6.1) — [release notes](https://github.com/json-schema-faker/json-schema-faker/releases/tag/v0.6.1)
