Repository navigation
v0.5.0
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
onEventControllercallback exposing a controller with promise-baseddispatch()andprepareSave()methods (0b88039) - Save Preparation: Added
prepareSaveto 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 invalidate-recordhandlers, plussave-recordandsave-repeatablepre-save hooks (0b88039) - Field Interactions: Added optional
focus,blurand 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.lifecycleis enabled (0b88039)
🔧 Maintenance
- Core Dependency: Updated
form0-corefrom^0.4.1to^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