Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 10:51
· 69 commits to main since this release

What's Changed

🚀 New Features

  • Managed Events: Added opt-in lifecycle integration via engineOptions.events (lifecycle, recordKind, fieldInteractions) covering load, new/edit, change, change-status, cancel and unload events for the main record and repeatable rows (0b88039)
  • Event Controller: Added onEventController callback exposing a controller with promise-based dispatch() and prepareSave() methods (0b88039)
  • Save Preparation: Added prepareSave to validate, run the pre-save hook, await delegated operations and return an eligible payload without persisting or closing the editor (0b88039)
  • Custom Validation: Added INVALID(message) for validation-only findings in validate-record handlers, plus save-record and save-repeatable pre-save hooks (0b88039)
  • Field Interactions: Added optional focus, blur and click events supported by the built-in text and numeric inputs (0b88039)

📚 Documentation

  • README Update: Added a "Managed events and save preparation" section and clarified the repeatable-row event note, which stays application-owned unless events.lifecycle is enabled (0b88039)

🔧 Maintenance

  • Core Dependency: Updated form0-core from ^0.4.1 to ^0.5.1, now the minimum for managed events (da45907)
  • Version Bump: Bumped package version to 0.5.0 (0050ccc)

Full Changelog: v0.4.0...v0.5.0