unstale

npm / json-schema-faker

json-schema-faker

What changed in json-schema-faker 0.6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

1 breaking6 new APIs and options17 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

json-schema-faker 0.624 changes

Breaking changes 1

  • A bare $ref value of #/ now throws Unresolved $ref instead of silently self-referencing the root schema.

    0.6.2release notes

New APIs and options 6

  • Adds a synchronous generator-creation API.

    0.6.3release notes

  • Adds support for the dependentRequired keyword.

    0.6.3release notes

  • Adds support for the dependentSchemas keyword.

    0.6.3release notes

  • Adds a synchronous generation API.

    0.6.3release notes

  • Custom keyword callbacks now receive GenerateContext as the third define() argument.

    0.6.1release notes

  • Added support for outputTransform with generated output JSON pointer paths.

    0.6.1release notes

Fixes and other changes 17

  • Isolates autoIncrement counters by schema path.

    0.6.3release notes

  • Uses trampolining for recursive schema walks to avoid stack overflow on deep schemas.

    0.6.3release notes

  • Fixes scoped $defs resolution.

    0.6.3release notes

  • Avoids double generation when a property appears in both required and properties.

    0.6.3release notes

  • Allows extensions to proceed into subschemas.

    0.6.3release notes

  • Allows refResolver in generateSync(); it throws only if refResolver returns a Promise.

    0.6.3release notes

  • Fixes handling of quoted JSONPath keys, including bracket-quoted keys.

    0.6.3release notes

  • Fixes recursive descent handling in JSONPath.

    0.6.3release notes

  • Registers nested local definitions during schema walking.

    0.6.3release notes

  • Applies optional property filtering to root examples and default values.

    0.6.3release notes

  • Prevents unhandled promise rejections at sync-mode async boundaries.

    0.6.3release notes

  • Local $ref values pointing to arbitrary JSON pointer paths now resolve against the root schema instead of throwing Unresolved $ref.

    0.6.2release notes

  • Fixed nested allOf merging so all nested branches are preserved.

    0.6.1release notes

  • Fixed autoIncrement sequences across array items.

    0.6.1release notes

  • Added compatibility handling for ignoreProperties.

    0.6.1release notes

  • Added compatibility handling for requiredOnly.

    0.6.1release notes

  • Restored useDefaultValue precedence over enum.

    0.6.1release notes