# Breaking changes in v0.3

> The breaking changes in the v0.3 update.

Source: https://www.flexiboards.dev/docs/breaking-changes-to-03

Framework: Svelte

_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](https://www.flexiboards.dev/docs/breaking-changes-to-10)._

## 1. FlexiDelete changes

Prior to v0.3, the [FlexiDelete](https://www.flexiboards.dev/docs/components/deleter) 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 `props` property passed to the `children` snippet (with members `onpointerenter` and `onpointerleave`) 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`. A `class` prop has been added to let you do this.
- The contents of your `children` snippet no longer needs to be hoverable.
- If you give the deleter no label, put a screen-reader only `span` (for example, class `sr-only` in TailwindCSS) inside the `children` snippet to name it.

The [Numbers](https://www.flexiboards.dev/examples/numbers) example has been updated to reflect this change.

## 2. FlexiAdd changes

For the same reason, the [FlexiAdd](https://www.flexiboards.dev/docs/components/adder) now renders its own button element, with the `children` content inside it. This means:

- `props` is now redundant inside the snippet (with members `onpointerdown` and `style`), so you no longer spread it. Remove it.
- You may now need to style around the addition of the wrapper `button`. A `class` prop has been added to let you do this.
- The contents of your `children` snippet no longer needs to be a button.

The [Numbers](https://www.flexiboards.dev/examples/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.
