2.20.0 : Performance and Optimization!
Hey UX-ers!
This release is packed full of bug fixes and new features. You can now add Polygons in Map and configure icon sets and aliases in Icons. There are also some great performance optimizations, especially in Twig/Live components and StimulusBundle.
Map
- Rename render_mapTwig functionux_mapby @smnandre in #2073
- Fix bridges .gitattributesby @smnandre in #2080
- Fix a Twig function name in docs by @javiereguiluz in #2107
- Misc updates in the docs by @javiereguiluz in #2112
- Rename leaflettoLin event's payloads by @Kocal in #2113
- Adjust changelogs and fix render_mapdeprecated version by @Kocal in #2138
- Render map from Twig with ux_map()and<twig:ux:map />by @smnandre in #2117
- Fix Google/Leaflet bridges when using Webpack Encore by @Kocal in #2199
- Adding polygons to google and leaflet + info window by @rrr63 in #2162
- Fixed typo in links to Symfony UX repo by @sblum51 in #2193
- Fix some links in docs by @javiereguiluz in #2198
Twig Components
- Original Throwableget lost during component render by @cuchac in #2030
- Fix debug command by @yceruto in #2088
- Twig code style & "boolean props" part by @smnandre in #2082
- Remove $tagparameter from*Node, as it is now deprecated bytwig/twig3.12 by @Kocal in #2114
- Add notice about needing phpdocumentor/reflection-docblockby @dejagersh in #2102
- Add some explanation about mixing Twig and HTML syntax in nested components by @javiereguiluz in #2125
- Deprecate cvatwig function by @Kocal in #2144
- Update index.rstby @LaurentMarquet in #2170
- Use a RuntimeExtensionby @smnandre in #2168
- Optimize the ComponentLoggerListenerby @smnandre in #2167
- Fix HTML in the profiler panel by @javiereguiluz in #2181
- Optimize ComponentFactoryby @smnandre in #2201
Live Components
- Fix PHP 8.4 errors + deprecations by @smnandre in #2079
- Add setRouteLocaleinTestLiveComponentby @smnandre in #2124
- Update CSRF token after component request by @tijnema in #2022
- Fix DeferLiveComponentSubscriberservice definition by @smnandre in #2200
Autocomplete
- Reset form state on each request for applications that reuse the Symfony application between requests by @dotdevio in #2094
- Translate "Add ..." text by @jmsche in #2108
Icons
- Icon aliases by @smnandre in #2127
- Fix issues found by DOCtor-RST by @Kocal in #2145
- Add support for int/float attribute to ux_iconfunction by @Kocal in #2149
- Add versionadded for Icon Aliases to doc by @kbond in #2163
- Configure icon sets: path, alias & icon attributes by @smnandre in #2156
Dropzone
Translator
- Option to throw an exception instead of returning the message as is when the message is not found. by @Crovitche-1623 in #2185
StimulusBundle
- Improve StimulusAttributesrendering performances by switching tohtmlescaping strategy by @Kocal in #2180
Miscellaneous
- Run PHP-CS-Fixer by @Kocal in #2074
- Update php-cs-fixer config by @smnandre in #2077
- Configure ISSUE_TEMPLATEby @smnandre in #2084
- Upgrade JS build dependencies by @Kocal in #2075
- Fix Twig extension return types by @smnandre in #2076
- Link to UX support page by @smnandre in #2093
- Upgrade Vitest, use a real browser for Map Bridges tests by @Kocal in #2146
- Add tests on PHP8.4 by @smnandre in #2169
New Contributors
- @cuchac made their first contribution in #2030
- @dotdevio made their first contribution in #2094
- @dejagersh made their first contribution in #2102
- @tijnema made their first contribution in #2022
- @LaurentMarquet made their first contribution in #2170
- @chadyred made their first contribution in #2188
- @Crovitche-1623 made their first contribution in #2185
- @sblum51 made their first contribution in #2193
- @rrr63 made their first contribution in #2162
Full Changelog: v2.19.3...v2.20.0