Breaking changes in v0.3
The breaking changes in the v0.3 update.
Applies to svelte-flexiboards v0.3.0, released 27 August 2025. This page is kept for reference; new projects should install @flexiboards/svelte and follow Migrating to v1.0.
1. FlexiDelete changes
Prior to v0.3, the FlexiDelete did not use a controller, and it did not render any DOM element by itself.
To improve accessibility, we changed that: the FlexiDelete component now renders a div that wraps the children content. This has led to the following breaking changes:
- The
propsproperty passed to thechildrensnippet (with membersonpointerenterandonpointerleave) is now redundant. Delete it, since it goes away in the next version. - You may now need to style around the addition of the wrapper
div. Aclassprop has been added to let you do this. - The contents of your
childrensnippet no longer needs to be hoverable. - If you give the deleter no label, put a screen-reader only
span(for example, classsr-onlyin TailwindCSS) inside thechildrensnippet to name it.
The Numbers example has been updated to reflect this change.
2. FlexiAdd changes
For the same reason, the FlexiAdd now renders its own button element, with the children content inside it. This means:
propsis now redundant inside the snippet (with membersonpointerdownandstyle), so you no longer spread it. Remove it.- You may now need to style around the addition of the wrapper
button. Aclassprop has been added to let you do this. - The contents of your
childrensnippet no longer needs to be a button.
The Numbers example has been updated to reflect this change.
3. Internal controller changes
Earlier releases let controllers, especially the FlexiWidgetController, expose methods and properties that were never intended for external use. In v0.3, those methods are no longer available.