Goodbye "Experimental" Status! Plus features & fixes
Hi UX people!
This release removes the "experimental" flag from Symfony UX, with the exception of symfony/ux-live-component, which is still experimental.
To prepare, the internal directory structure of most of the bundles was updated to follow best-practices. When updating the packages, Flex will automatically update the package path in package.json. In a few cases (Autocomplete & LiveComponent), the routing file location changes. Use composer recipes:update to handle that change.
**Note prefix: /_components. See the entry below for LiveComponent.
Diff: v2.5.0...v2.6.0
Autocomplete
- [BC BREAK]: The path to
routes.phpchanged and you should update your
route import accordingly:
# config/routes/ux_autocomplete.yaml
ux_autocomplete:
- resource: '@AutocompleteBundle/Resources/routes.php'
+ resource: '@AutocompleteBundle/config/routes.php'
prefix: '/autocomplete'- Add support for
tom-selectversion2.2.2and made this the minimum-supported
version. - Added support for the
preloadTomSelect option. - Fix don't add WHERE IN criteria without params (#561).
- Fix issue where
max_resultswas not passed as a Stimulus value (#538). - Add all possible stylesheets for tom-select to the autoimport to choose from.
Typed
- [BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly.
Turbo
-
[BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly. -
The directory structure of the bundle was updated to match modern best practices.
Swup
- [BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly.
React
-
[BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly. -
The directory structure of the bundle was updated to match modern best-practices.
Notify
-
[BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly. -
The directory structure of the bundle was updated to match modern best-practices.
LiveComponent
- [BC BREAK]: The path to
live_component.xmlchanged and the import now
MUST have aprefix: you should update your route import accordingly (the
name of the route also changed toux_live_component):
# config/routes/ux_live_component.yaml
live_component:
- resource: '@LiveComponentBundle/Resources/config/routing/live_component.xml'
+ resource: '@LiveComponentBundle/config/routes.php'
+ prefix: /_components- Removed
Content-Typeheader when returning the empty response redirect. - Fixed bug when re-rendering SVG's (.#557)
LazyImage
-
[BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly. -
The directory structure of the bundle was updated to match modern best-practices.
Dropzone
-
[BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly. -
The directory structure of the bundle was updated to match modern best-practices.
Cropperjs
-
[BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly. -
The directory structure of the bundle was updated to match modern best-practices.
Chartjs
-
[BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make
sure the path in yourpackage.jsonfile is updated accordingly. -
The directory structure of the bundle was updated to match modern best-practices.
Cheers!