Skip to content

Swiss AI Hub v0.291.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Jun 15:36
· 47 commits to main since this release

Changed

  • 🔄 Refined getNestedValue utility: The getNestedValue function has been refactored to operate as a pure
    read-only function, specifically for retrieving nested arrays. This change prevents unintended mutations of form data
    during render-time and mitigates potential recursive render loops in reactive contexts. It now strictly returns an
    array or an empty array if the specified path does not lead to an array.

Fixed

  • 🛠️ Improved Repeater Initialization: FormKit repeater fields now correctly materialize as an empty array during
    form loading if their default value is undefined. This proactive initialization ensures a consistent array structure
    for repeaters, preventing unexpected behavior and improving stability in reactive render contexts.