Releases: symfony/ux
2.29.1 : npm fix
Hey UX'ers!
Small bug fix release to fix installing the Map bridges with npm.
Map
- Allows Bridges JavaScript assets to be installed with
npm
when usingfile:vendor/symfony/ux-*-map/assets
by @Kocal in #2983
Full Changelog: v2.29.0...v2.29.1
2.29.0 : Symfony 8!
Hey UX'ers!
This release adds Symfony 8 support for all packages! In Map, we've added clustering support.
We've also deprecated the TogglePassword package, Symfony UX 3.0 will drop this package.
Autocomplete
Map
Live Components
- Fix
#[LiveProp(writable: true, url: true)]
that was not updated as a query parameter by @mbuliard in #2976 - Fix typo on
Valid
constraint name by @Seb33300 in #2980
TogglePassword
Vue
Miscellaneous
New Contributors
Full Changelog: v2.28.2...v2.29.0
2.28.2 : Whoopsie 2
Hey UX'ers!
This fixes a LiveComponent regression added in 2.28.0.
Live Components
Icons
- Change
xmlns
attribute of downloaded icons tohttp://www.w3.org/2000/svg
by @roverwolf in #2959
Miscellaneous
- Rework
app-tests
job to usenpm
as user's packages manager by @Kocal in #2953 - Fix npm releases with pnpm by @Kocal in #2954
- Add Fabbot as a GitHub Actions by @Kocal in #2955
- Apply fabbot rules by @nicolas-grekas in #2957
New Contributors
- @roverwolf made their first contribution in #2959
Full Changelog: v2.28.1...v2.28.2
2.28.1 : Whoopsie
Hey UX'ers!
We got a little too fancy in our package.json
files.
Miscellaneous
- Fix
package.json
files to not use "catalog" feature from PNPM, as it breaks installation fromvendor/
PHP packages by @Kocal in #2952
Full Changelog: v2.28.0...v2.28.1
2.28.0 : Map Graduates 🎓
Hey UX'ers!
Map now has minZoom
/maxZoom
options and has graduated from experimental to stable! 🎉
In LiveComponents, the LiveProp
can now map to a routing parameter. Autocomplete now
has the ability to disable plugins.
Warning
If using React with symfony/asset-mapper
and NOT symfony/flex
, there is a small BC break.
See the CHANGELOG for mitigation details.
Autocomplete
- Force installation of CSS files for AssetMapper by @leevigraham in #2902
- Upgrade Foundry to ^2.0 by @Kocal in #2928
- Allow plugins to be disabled through
tom_select_options.plugins.<plugin> = false
by @maartendekeizer in #401
Live Components
- Update css to cover more data-loading use cases by @barlito in #2891
- Fix BC break when using
PropertyTypeExtractorInterface::getType()
on a#[LiveProp]
propertyx
when gettergetX
exists by @Kocal in #2922 - Add validation modifiers (min_length, max_length, min_value, max_value) to data-model inputs by @xDeSwa in #2926
- Add the possibility to map
LiveProp
as a path parameter by @mbuliard in #2673
Icons
- Don't disable commands based on debug by @kbond in #2884
- Document
icon_sets
configuration by @Kocal in #2938 - Fix
icon_sets
configuration documentation, follow #2938 by @Kocal in #2939 - Some fixes on LiveComponent assets by @Kocal in #2940
Map
- Rewrite documentation about extra data by @Kocal in #2871
- Add options
minZoom
andmaxZoom
by @Kocal in #2896 - Mark package as non-experimental by @Kocal in #2945
- Replace deprecation Vitest option
browser.name
tobrowser.instances
by @Kocal in #2947
Translator
- Minor fixes in tests context by @Kocal in #2870
- Add functional test to ensure only enabled locales are dumped by @Kocal in #2946
Swup
🚧 Toolkit 🚧
Site
Miscellaneous
- Run JS tests under multiple JS versions, define
.nvmrc
to 22.6 by @Kocal in #2865 - Migrate PHPUnit configs and homogenize them by @Kocal in #2867
- Fix functional tests Turbo (Chrome 137 & dev-tools) by @Kocal in #2873
- Migrate
bin/*.js
to TypeScript, usetsx
by @Kocal in #2866 - Upgrade Rollup dependencies by @Kocal in #2876
- Remove Babel dependencies by @Kocal in #2877
- Remove
@symfony/stimulus-testing
dev dependencies by @Kocal in #2879 - Remove useless
eslint-
comments by @Kocal in #2880 - (Re-)use
ramsey/composer-install
action when possible by @Kocal in #2885 - Run unit and functional tests under Windows too by @Kocal in #2816
- Fix components assets compilation on Windows server by @Kocal in #2890
- Fix typo
CONTRIBUTING.md
by @xDeSwa in #2927 - Explicitly import Vitest APIs instead of relying on globals by @Kocal in #2931
- Replace Yarn Berry by PNPM by @Kocal in #2932
- Upgrade Vitest to ^3.2.4 by @Kocal in #2933
- Modernize and simplify our packages building tools, replace Rollup by tsup by @Kocal in #2944
- Download only Chromium browser for Vitest/Playwright tests by @Kocal in #2948
New Contributors
- @barlito made their first contribution in #2891
- @maxperei made their first contribution in #2893
- @leevigraham made their first contribution in #2902
- @mbuliard made their first contribution in #2673
Full Changelog: v2.27.0...v2.28.0
2.27.0 : Map Powerup
Hey UX'ers!
This release adds a bunch of new features to Map: Circle and Rectangle support, attribution and zoom control
options, and more. Fixes, improvements, and optimizations are also included in Autocomplete, Twig Components,
and Live Components.
Autocomplete
Twig Components
- Fix escaping of Alpine.js attribute keys containing numeric characters by @klausi85 in #2833
- Update the docs about nested Twig components by @javiereguiluz in #2847
- Update the docs about the
mount()
method of Twig components by @javiereguiluz in #2843
Live Components
- Fix query string decoding with no
=
by @smnandre in #2829 - Optimize
LiveComponentStack::getCurrentLiveComponent()
by @Kocal in #2821 - Add events assertions in
InteractsWithLiveComponents
by @Arkalo2 in #2712
Map
- Add option to configure attribution and zoom control by @dannyvw in #2792
- Do not override
fitBoundsToMarkers
when using LiveComponent by @dannyvw in #2811 - Fix missing dynamic attributes on
<twig:ux:map>
example by @raphael-geffroy in #2840 - Add Circle support by @Valmonzo in #2838
- [Google] Fix race conditions when loading Google Maps API, when rendering >=2 maps by @Kocal in #2854
- Add Rectangle support by @Valmonzo in #2845
- [Google] Fix
InfoWindow
compatibility withCircle
andRectangle
by @Kocal in #2858 - Minor improvements on TypeScript types by @Kocal in #2859
- Deprecate property
rawOptions
fromux:map:*:before-create
events, in favor ofbridgeOptions
by @Kocal in #2860 - Allows Map options customization in
ux:map:pre-connect
event (e.g.:zoom
,options
,bridgeOptions
...) by @Kocal in #2861 - Update test to include circle and rectangle data attributes by @Valmonzo in #2862
- Add
extra
data toMap
by @Kocal in #2863
Icons
- Docs: Merging code blocks; language improvements by @ThomasLandauer in #2793
- Explain Icons SVG size by @dbu in #2670
Site
- Trim Icon's DataList's
<dd>
to get a better copy value by @CyrilKrylatov in #2836
Miscellaneous
- Add missing return type in test Kernel by @smnandre in #2830
- Fix
link
script by adding Bridges support by @Kocal in #2839 - PHPStan: use PHP version from the matrix by @alexislefebvre in #2842
- Configure
doctrine.orm.enable_native_lazy_objects
to fix deprecation in PHP 8.4+ by @Kocal in #2851 - Reduce number of PHPStan jobs by @Kocal in #2852
- Prevent
yarn watch
to exit if TypeScript plugin is unable to compile by @Kocal in #2853 - Upgrade Biome.js to ^2 by @Kocal in #2856
New Contributors
- @CyrilKrylatov made their first contribution in #2836
- @klausi85 made their first contribution in #2833
- @Arkalo2 made their first contribution in #2712
Full Changelog: v2.26.1...v2.27.0
2.26.1 : Conflict Resolution
Hey UX'ers!
Just a small release to fix a Live Component composer conflict.
Live Components
Miscellaneous
Full Changelog: v2.26.0...v2.26.1
2.26.0 : Package Deprecations
Hey UX'ers!
This release deprecates 3 packages: symfony/ux-typed
, symfony/ux-lazy-image
and symfony/ux-swup
. These will be removed in 3.0. Their respective README files
have migration guides to help you move to alternatives.
Also included are many bug fixes and improvements, including multipolygon support
in symfony/ux-map
!
Twig Components
Live Components
- Add missing
DefaultActionTrait
in a LiveComponent code example by @welcoMattic in #2758 - Key is more reliable with child components by @weaverryan in #2699
LiveProp
: Pass the property name as second parameter of themodifier
callback by @jannes-io in #2744- Improve misleading smart render algorithm docs by @norkunas in #2741
- Fix
PropertyTypeExtractorInterface::getTypes()
deprecation, use TypeInfo ^7.2Type
by @mtarld in #2607
Map
- Add definition to after create events in controller by @mart-insiders in #2763
- Add return type to
__toString()
by @dannyvw in #2772 - Remove invalid marker icon example by @dannyvw in #2771
- Add multipolygon support by @dannyvw in #2762
- Add missing dependency for
spatie/phpunit-snapshot-assertions
torequire-dev
by @dannyvw in #2773 - Optional leaflet tilelayer by @dannyvw in #2779
Icons
- Check for empty paths before calling Finder in
ux:icons:lock
by @ameotoko in #2723 - Fix typos by @ThomasLandauer in #2781
- Remove broken link by @ThomasLandauer in #2788
- Fix links to
symfony/ux-twig-component
by @ThomasLandauer in #2789
StimulusBundle
- Skip mapping
.ts
controller if.js
version is available by @phasdev in #2702 - Replace
chart
examples byhello
to avoid confusion with the ChartJS component by @welcoMattic in #2707
React
Turbo
🚧 Toolkit 🚧
- Add components metadata (for dependencies) by @Kocal in #2726
- Remove
FileType
by @Kocal in #2800 - Remove old
FileType
references by @Kocal in #2802 - Add myself to Toolkit code-owners by @Kocal in #2804
- Remove
Kit::$uxIcon
, make icons internal to the website by @Kocal in #2807
Typed
LazyImage
Swup
Miscellaneous
- Configure Git username/email to github-actions(bot) when committing version updates by @Kocal in #2759
- Rework
tests-php
job matrix, better covers different PHP/SF versions, test all components in a single job by @Kocal in #2734 - Re-organize workflows: split unit/functional/app tests, split code quality workflow by @Kocal in #2764
- Remove oldest versionadded by @smnandre in #2706
- Homogenize PHP-CS-Fixer configuration with
symfony/symfony
, and run it by @Kocal in #2768 - Replace
ramsey/composer-install
bycomposer install
inapp-tests
workflow by @Kocal in #2780 - Re-add PHP-CS-Fixer by @Kocal in #2803
New Contributors
- @phasdev made their first contribution in #2702
- @teklakct made their first contribution in #2006
- @ameotoko made their first contribution in #2723
- @mart-insiders made their first contribution in #2763
- @dannyvw made their first contribution in #2772
- @ThomasLandauer made their first contribution in #2781
Full Changelog: v2.25.2...v2.26.0
2.25.2 : StimulusAttribute fix
Hey UX'ers!
Just a small bug fix release to fix using StimulusAttributes
with Twig Components.
Twig Components
- Fix
ComponentAttributes
rendering when usingStimulusAttributes
as default attributes by @Kocal in #2757
Map
Toolkit
Full Changelog: v2.25.1...v2.25.2
2.25.1 : CVE-2025-47946
Hey UX'ers!
Important
This release addresses CVE-2025-47946. See the blog post for more details.
Twig Components
Full Changelog: v2.25.0...v2.25.1