Skip to content

v0.5.0

Choose a tag to compare

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

What's Changed

💥 Breaking Changes

  • Lifecycle Events Default On: Managed lifecycle events and field interaction subscriptions are now enabled by default, and the host must supply events.recordKind ('new' or 'existing') because a missing value is now a configuration error. Add engineOptions={{ events: { recordKind: 'new' } }} (or 'existing'), or set lifecycle: false to keep the legacy root load/edit/change behavior and fieldInteractions: [] to opt out of interactions (51ea37a)
  • form0-core Requirement: Raised the form0-core dependency from ^0.5.1 to ^0.8.1 (d630a26)

🚀 New Features

  • Repeatable Entry Mode: Added the repeatableEntryMode option ('readonly' by default, or 'edit') so existing rows open in view or edit mode at every nesting level, with an Edit action in view mode and no schema or record changes (583166d)
  • Accepted Views: Preserved accepted calculation views across the main thread and the worker (aa8e58f)
  • Submission Preparation: Adopted shared record preparation and worker-based reviews for submission (2b129f3)

🐛 Bug Fixes

  • Automatic Click Events: Reserved automatic click events for activation fields, since no built-in control emits click (4426b7b)
  • Repeatable Choices: Normalized repeatable choice operations in events (8d93c7f)
  • Other Selection: Preserved the Other selection when its text is cleared (189663f)
  • Editor Session: Fixed submission acknowledgement to use the current editor session (d4d141a)
  • Submission Pauses: Reduced pauses during submission and guarded cooperative delivery (854f79d)
  • Security Hardening: Guarded worker paths and generated event literals (e326038)
  • Vitest Vulnerabilities: Patched Vitest mock registration vulnerabilities by updating @vitest/* packages (b21bed5)
  • Funding Metadata: Added the funding URL to package.json and package-lock.json (58861e7)

📚 Documentation

  • README Updates: Documented recordKind in examples, the new event defaults, the form0-core 0.8.1 requirement, and the repeatableEntryMode option with its view/edit behavior (51ea37a, 583166d)

🔧 Maintenance

  • Node.js Pinning: Pinned CI and publish workflows to patched Node.js runtimes (22.23.4 and 24.22.1) (6278297)
  • Renderer Tests: Added tests for live calculations across cached evaluations and for schema reload replacing calculations and events (222dbd9, 9f28145)
  • Event Tests: Updated tests to await state publication after change operations (c7d61a3)
  • Development Merge: Merged pull request #84 from development (ce26869)
  • Version Bump: Bumped version to 0.5.0 (d630a26)

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