Skip to content

Releases: symfony/ux

2.31.0 : E2E Tests with Playwright

23 Oct 13:28
v2.31.0
375415b

Choose a tag to compare

Live Components

  • Fix new URL generation when using LiveProp with custom fieldName by @Kocal in #3058
  • Small update to explicit custom template path on components by @DocFX in #3072
  • Improve performance for LiveUrlSubscriber by @dannyvw in #3077
  • Replace the browser's URL before triggering render:finished hook by @xDeSwa in #3088
  • Add missing import to code snippet by @rgeraads in #3127
  • Add dispatch browser event assertion in InteractsWithLiveComponents by @Develog in #3136

Twig Components

Icons

Map

  • Add fitBoundsToMarkers option to Twig extension and component by @ker0x in #3114
  • Display warning when trying to define a custom icon for a Marker that already has an Icon by @ker0x in #3118

Vue

StimulusBundle

Toolkit

Translator

Site

  • Add examples listing on homepage, improve example page by @Kocal in #3078
  • Fix UX Translator demo on "price" parameter by @Kocal in #3081
  • Lock icons by @Kocal in #3084
  • Fix port to 9044 and upgrade UX dependencies by @Kocal in #3093

Miscellaneous

  • Fix highest jobs with Doctrine ^3.0 by @Kocal in #3059
  • Configure .gitattributes to ignore Vitest and Playwright config files from export by @Kocal in #3062
  • PHP CS Fixer - apply const->var annotation conversion by @keradus in #3065
  • Prevent pnpm to install new packages published the same day by @Kocal in #3083
  • Fix deprecations with zenstruck/foundry:^2.7 by @Kocal in #3089
  • Add doc for E2E steps + minor modifications by @raphael-geffroy in #3086
  • Refactor "test_package.sh" to its original purpose, add multiples checks for packages definition by @Kocal in #3090
  • Fix composer config to avoid modifying package.json automatically by @Crovitche-1623 in #3091
  • Remove explicit configuration twig.exception_controller from Kernel for testing by @Kocal in #3106
  • Remove duplicated matrix entry for Symfony version in unit-tests.yaml by @Kocal in #3108
  • Add --json flag to composer config command by @Kocal in #3139
  • Configure OIDC for trusted auto-publishing by @Kocal in #3142

New Contributors

Full Changelog: v2.30.0...v2.31.0

2.30.0 : PHP 8.5

27 Aug 18:29
v2.30.0
3ef2856

Choose a tag to compare

Hey UX'ers!

This release focuses on stability and compatibility: Live Components and Maps get key
bug fixes, React and Icons see small improvements, and Symfony UX is now fully compatible
with PHP 8.5.

Twig Components

Live Components

  • Return empty string for data-value="" instead of falling back to null by @mercuryseries in #3031
  • Clean versionadded by @smnandre in #3049
  • Refactor and fix some edge cases on new URL generation with path + query LiveProps by @Kocal in #3053
  • Fix BC Break when defining LiveProp properties with PHPDoc type and no-native type, when using TypeInfo by @norkunas in #3043

Map

React

  • Fix importmap to require react-dom/client by @Kocal in #3030

Icons

  • Fallback to default dimensions 16/16 when Icon's dimensions on Iconify are missing by @stlgaits in #3042

Miscellaneous

New Contributors

Full Changelog: v2.29.2...v2.30.0

2.29.2 : fix LiveProp

19 Aug 12:13
v2.29.2
466612a

Choose a tag to compare

Hey UX'ers!

This release fixes a Live Component, LiveProp URL generation bug, it now correctly re-use the previous logic with support of Serializer and custom modifiers.

Live Components

  • Fix new URL calculation with LiveProp using Serializer (and attributes), and when using custom modifier by @Kocal in #2988

Icons

ToolKit

  • Improve CI workflows for linting Kits by @Kocal in #2984
  • Rework kits architecture, change term for "recipe" by @Kocal in #2986

Miscellaneous

  • Remove unnecessary checks for PHP <8.1 (in tests) by @Kocal in #2999
  • Make the Windows CI green by @Kocal in #3000
  • Ensure UX Map assets are built first by @Kocal in #3001
  • Remove PHP-CS-Fixer job by @Kocal in #3002
  • Run latest PHP-CS-Fixer with improved configuration by @Kocal in #3003
  • Fix highest dev jobs by @Kocal in #3004
  • Configure Vitest for unit and browser tests (use @puppeteer/browsers and webdriverio) by @Kocal in #3010
  • Use Playwright for Browser testing by @Kocal in #3013

Full Changelog: v2.29.1...v2.29.2

2.29.1 : npm fix

08 Aug 12:47
v2.29.1
d1c9b2b

Choose a tag to compare

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 using file:vendor/symfony/ux-*-map/assets by @Kocal in #2983

Full Changelog: v2.29.0...v2.29.1

2.29.0 : Symfony 8!

08 Aug 11:45
v2.29.0
608fc42

Choose a tag to compare

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

30 Jul 12:27
v2.28.2
6940885

Choose a tag to compare

Hey UX'ers!

This fixes a LiveComponent regression added in 2.28.0.

Live Components

Icons

  • Change xmlns attribute of downloaded icons to http://www.w3.org/2000/svg by @roverwolf in #2959

Miscellaneous

New Contributors

Full Changelog: v2.28.1...v2.28.2

2.28.1 : Whoopsie

28 Jul 20:46
v2.28.1
8ab561f

Choose a tag to compare

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 from vendor/ PHP packages by @Kocal in #2952

Full Changelog: v2.28.0...v2.28.1

2.28.0 : Map Graduates 🎓

28 Jul 19:26
v2.28.0
0ecca4c

Choose a tag to compare

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

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] property x when getter getX 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

Map

  • Rewrite documentation about extra data by @Kocal in #2871
  • Add options minZoom and maxZoom by @Kocal in #2896
  • Mark package as non-experimental by @Kocal in #2945
  • Replace deprecation Vitest option browser.name to browser.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, use tsx 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

Full Changelog: v2.27.0...v2.28.0

2.27.0 : Map Powerup

27 Jun 12:30
v2.27.0
11f3cd4

Choose a tag to compare

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

  • Ensure default plugins are nicely merged with user-defined plugins by @Kocal in #2841

Twig Components

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 with Circle and Rectangle by @Kocal in #2858
  • Minor improvements on TypeScript types by @Kocal in #2859
  • Deprecate property rawOptions from ux:map:*:before-create events, in favor of bridgeOptions 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 to Map by @Kocal in #2863

Icons

Site

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

Full Changelog: v2.26.1...v2.27.0

2.26.1 : Conflict Resolution

06 Jun 20:31
v2.26.1
ca79ddd

Choose a tag to compare

Hey UX'ers!

Just a small release to fix a Live Component composer conflict.

Live Components

  • Fix conflict with symfony/type-info by @Kocal in #2828

Miscellaneous

Full Changelog: v2.26.0...v2.26.1