- Minimum required Symfony version is now 7.4
- Minimum required PHP version is now 8.4
- Remove old compatibility layer with deprecated
StimulusTwigExtensionfrom WebpackEncoreBundle ^1.0, use StimulusBundle instead
- Allow Symfony UX 3.x packages
-
Add support for React 19.
Dependencies
reactandreact-domneed to be updated together to version^19.0if you want to use React 19.
- Ensure compatibility with PHP 8.5
- Add Symfony 8 support
-
[BC BREAK] By modernizing our building tools, the file
dist/render_controller.jsnow does not contain any useless code related todevelopmentenvironment.This file is now smaller and faster to load, but the imported module changed from
react-domtoreact-dom/client:- You are not impacted if you are using the Symfony AssetMapper and Symfony Flex, or Webpack Encore.
- You are impacted if you are using the Symfony AssetMapper but not Symfony Flex, you need to :
php bin/console importmap:remove react-dom php bin/console importmap:require react-dom/client
- Improve error handling when resolving a React component
- Add
permanentoption to thereact_componentTwig function, to prevent the unmounting when the component is deconnected and immediately re-connected
- Revert "Change JavaScript package to
type: module"
- Add Symfony 7 support.
- Change JavaScript package to
type: module
-
Add support for symfony/asset-mapper
-
Replace
symfony/webpack-encore-bundlebysymfony/stimulus-bundlein dependencies -
Minimum PHP version is now 8.1
-
Add
assets/srcto.gitattributesto exclude source TypeScript files from installing. -
TypeScript types are now included.
-
[BC BREAK] The
assets/directory was moved fromResources/assets/toassets/. Make sure the path in yourpackage.jsonfile is updated accordingly. -
The directory structure of the bundle was updated to match modern best-practices.
- Component added