Hey UX-ers!
This is a big new release with a lot of bug fixes, quality of live improvements, and a
new UX Map package. A new live_action()
Twig function was added to dramatically reduce
the boilerplate for Live Component actions.
Translator
- Revert Fix changing dump directory using AssetMapper by @maelanleborgne in #1913
- Disable cache warmup when translator is identity translator by @SanderVerkuil in #1965
- Fix CS on TranslatorCompilerPass by @Kocal in #1996
- Add configuration to filter dumped translations by domain by @maelanleborgne in #1930
Turbo
- Fix Doctrine Proxy are not Broadcasted by @smnandre in #1929
- Modernize code (ppp, types..) by @smnandre in #1931
- Fix mercure config-file by @Chris53897 in #1928
Twig Components
- Ignore array|sequence in exception message by @smnandre in #1940
- Allow @ prefix in nested attributes by @smnandre in #1966
- Allow attributes to be prefixed with
@
by @kbond in #1960 - Minor syntax fixes in the Twig component docs by @javiereguiluz in #1977
- Fix wrong example for HTML syntax by @WebMamba in #1985
- Fix null props not overwrite parent context by @WebMamba in #1989
- Fix random errors are throw when empty props by @WebMamba in #1988
- Mention that boolean properties require the dynamic syntax by @javiereguiluz in #1991
- Minor syntax fix in Twig Components docs by @javiereguiluz in #2021
Live Components
- Tokenize classes on all allowed whitespaces by @aleho in #1828
- Fix typing for loading hooks + HookManager by @YummYume in #1921
- Fix (de)hydration of composite and/or foreign ID entities by @MatTheCat in #1957
- Typo in LiveComponentHydrator.php by @JeanDavidDaviet in #1972
- Handle
loading="lazy"
for LiveComponent only by @smnandre in #1976 - Allow updates in arrays of DTOs by @cgrabenstein in #1990
- Add a new helper to interact with forms in functional tests by @yoye in #1992
- Fix 'onUpdated' hook call by @kempha in #1980
- Add 'live_action' twig function by @pierredup in #1946
- Document how to use
extra_options
in the Ajax-powered autocomplete by @jakubtobiasz in #1702 - Add missing end delimiter by @JanoschOltmanns in #2037
Dropzone
Icons
- Expose IconRendererInterface by @smnandre in #1889
- Emphasis HTML syntax requires TwigComponent by @smnandre in #1994
- Fix some misc issues in UX Icons docs by @javiereguiluz in #2027
- Add
ignore_not_found
config option by @smnandre in #2023
React
Lazy Image
Map
- Create Map component by @Kocal in #1937
- Rename "symfony/ux-map-%s" to "symfony/ux-%s-map" by @Kocal in #2031
- Fix custom attribute "data-controller" usage by @Kocal in #2032
- [Leaflet] Fix Marker inside-circle by @Kocal in #2036
- [Leaflet] Fix Popup's automatic-content by @Kocal in #2035
- Change "BeforeConnect" for "BeforeCreate" in documentation by @Kocal in #2039
- Add "extra" data for markers and infowindows by @Kocal in #2040
- Fix some comments in component defer part by @Nek- in #2043
Miscellaneous
- Upgrade target from es2017 to es2021 by @Kocal in #1987
- Drop ESLint and Prettier for Biome by @Kocal in #1848
- Upgrade Biomejs, fix patterns, don't use yarn workspaces by @Kocal in #2015
- Update README.md by @94noni in #2038
New Contributors
- @aleho made their first contribution in #1828
- @MatTheCat made their first contribution in #1957
- @SanderVerkuil made their first contribution in #1965
- @cgrabenstein made their first contribution in #1990
- @Chris53897 made their first contribution in #1928
- @yoye made their first contribution in #1992
- @kempha made their first contribution in #1980
- @JanoschOltmanns made their first contribution in #2037
- @Nek- made their first contribution in #2043
Full Changelog: v2.18.1...v2.19.0