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_map
Twig functionux_map
by @smnandre in #2073 - Fix bridges
.gitattributes
by @smnandre in #2080 - Fix a Twig function name in docs by @javiereguiluz in #2107
- Misc updates in the docs by @javiereguiluz in #2112
- Rename
leaflet
toL
in event's payloads by @Kocal in #2113 - Adjust changelogs and fix
render_map
deprecated 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
Throwable
get 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
$tag
parameter from*Node
, as it is now deprecated bytwig/twig
3.12 by @Kocal in #2114 - Add notice about needing
phpdocumentor/reflection-docblock
by @dejagersh in #2102 - Add some explanation about mixing Twig and HTML syntax in nested components by @javiereguiluz in #2125
- Deprecate
cva
twig function by @Kocal in #2144 - Update
index.rst
by @LaurentMarquet in #2170 - Use a
RuntimeExtension
by @smnandre in #2168 - Optimize the
ComponentLoggerListener
by @smnandre in #2167 - Fix HTML in the profiler panel by @javiereguiluz in #2181
- Optimize
ComponentFactory
by @smnandre in #2201
Live Components
- Fix PHP 8.4 errors + deprecations by @smnandre in #2079
- Add
setRouteLocale
inTestLiveComponent
by @smnandre in #2124 - Update CSRF token after component request by @tijnema in #2022
- Fix
DeferLiveComponentSubscriber
service 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_icon
function 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
StimulusAttributes
rendering performances by switching tohtml
escaping 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_TEMPLATE
by @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