Skip to content

v0.13.3

Choose a tag to compare

@mertcanaltin mertcanaltin released this 13 May 15:00
· 132 commits to master since this release

Fixed

  • Validator.bundleStandalone dropped hoisted anyOf/oneOf branch helpers from the bundle output. Schemas whose codegen hoists branch functions like _af1_b0 to the per-schema preamble (e.g. allOf wrapping an anyOf, or schemas pulled into a cross-$ref bundle) emitted JS that referenced these helpers without defining them, so loading the bundle threw ReferenceError: _af1_b0 is not defined on first validation. The standalone preamble now propagates through to the bundle alongside the format-closure serialization that was already there. toStandalone (single-schema) was unaffected. Fixes #24.