Skip to content
No code?Want forms without writing any code?Build them in KraftWizard

Changelog

What changed, release by release.

All six packages share a version number. Saved forms keep loading across releases: migrateSchema brings an older schema up to date when it loads.

Placeholder releases. Nothing is published to npm yet. These entries show the format the real changelog will use, filled with changes made in the repository.

0.2.0Preview

Forms that behave the way they look

@kraftwizard/forms-core MIT

Added

  • formRef: a handle with getValues, setValues, reset(values?), validate and submit. A record that arrives after the form is on screen now loads, until the user starts editing.
  • validateSchema and migrateSchema for schemas that arrive at run time, and a JSON Schema for form files: @kraftwizard/forms-core/schema.json.
  • Right-to-left layout for Arabic, Hebrew, Persian and Urdu, plural forms in messages, and locale fallback from de-AT to de-DE.
  • Each field's DOM id carries a prefix unique to its form, so two forms on a page never repeat an id. idPrefix chooses it.

Changed

  • Validation and submission follow what conditions put on screen. A hidden field, or one in a hidden section, is neither checked nor submitted; settings.submitHiddenFields sends hidden values anyway.
  • A show rule without else hides its field until the rule holds, as the designer always drew it.
  • Errors set with setError or setErrors, such as your server's, stay on their field until it changes and block submit meanwhile.
  • A rule naming a validator that isn't registered fails with “This field could not be checked” instead of passing silently.

Fixed

  • Fields with an explicit row no longer vanish when an unrowed field follows them.
  • Computed values settle in the form store, so two fields that depend on each other can't freeze the page.
  • One submit runs at a time: a double click while onSubmit waits no longer posts twice.
  • A field that throws while rendering shows a short notice, and the rest of the form keeps working.

@kraftwizard/forms-components MIT

Added

  • toFormData(values) to post forms with files, and size limits written with their unit, such as "5MB".

Fixed

  • styles.css no longer restyles your app: its classes apply only inside a form, and Tailwind's or Bootstrap's .hidden, .flex and .container behave as before.
  • Importing one export no longer brings the whole package into your bundle.
  • HTML fields show on server-rendered pages: their text first, the sanitized HTML once the page is live.
  • Phone numbers are stored as valid E.164, without the national trunk prefix.

@kraftwizard/forms-builder Licensed

Added

  • The canvas and structure tree work by keyboard and screen reader: one tab stop per field, Alt with the arrows to move, and drags announced by field name.
  • Each designer has its own state, and its draft its own storageKey.
  • PDF export in any script with a font of your choice, mirrored for right-to-left forms, with the answers printed through values.

Fixed

  • @kraftwizard/forms-builder/styles.css ships every utility the designer uses, so it no longer depends on your Tailwind build.
  • Shortcuts act only on keys pressed inside the designer, never in your page's own fields.
  • Licence keys verify on pages served over plain HTTP, signing keys can rotate, and a single key can be revoked.
  • Every exported block checks the licence, inside BuilderLicense or on its own.

@kraftwizard/expressions MIT

Changed

  • Every evaluation is bounded in time and in the size of the text and lists it produces, as well as in steps.
  • today(), year() and daysBetween() work in local time.

Migration

  • Stored schemas load as they are. If your backend expects every key, including those of hidden fields, set settings.submitHiddenFields: true.
0.1.1Preview

Cleaner installs, a smaller designer

@kraftwizard/forms-builder Licensed

Fixed

  • The package no longer ships source maps carrying the designer's full source: 850 kB of its 1,459 kB.

@kraftwizard/forms-components MIT

Fixed

  • Installs and type-checks cleanly on React 19, with no peer-dependency warnings.

@kraftwizard/sanitize-dompurify MIT

Fixed

  • Requires DOMPurify 3.4.16 or later, the first release with fixes for both GHSA-p98j-92pf-mc4p and GHSA-6688-9rhm-gjv2.
0.1.0Preview

First preview

@kraftwizard/forms-core MIT

Added

  • One renderer for the designer's canvas, its preview, your production form and the PDF export.
  • Values keyed by each field's name: a submission is {"email": "…"}, not a generated id.
  • A registry of field types: registerFieldType drives the palette, the properties panel, default values and export.
  • Conditions with 17 operators, 6 actions and and / or nesting; field actions with debounce, scoped to each form.
  • HTML escaped by default, a navigate action that refuses javascript: URLs, and callApi off until you list its hosts.

@kraftwizard/forms-components, @kraftwizard/forms-themes MIT

Added

  • 64 accessible field components, tested with axe for every registered type, and five themes on --kwf-* tokens.

@kraftwizard/expressions, @kraftwizard/sanitize-dompurify MIT

Added

  • An expression evaluator with no eval, so computed fields run under a strict CSP, and a DOMPurify sanitizer for HTML fields.

@kraftwizard/forms-builder Licensed

Added

  • The drag-and-drop designer: palette, canvas, properties panel, templates, preview, generated React and Zod code, and an offline licence check.