- Revert "Change JavaScript package to
type: module
"
- Change JavaScript package to
type: module
-
A SwupBundle was added - which allows for integration with symfony/asset-mapper.
-
Add support for symfony/asset-mapper
-
The JavaScript events now bubble up.
-
Add
assets/src
to.gitattributes
to 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.json
file is updated accordingly.
- Support for
stimulus
version 2 was removed and support for@hotwired/stimulus
version 3 was added. See the @symfony/stimulus-bridge CHANGELOG for more details. - All options were changed from
data-
attributes to Stimulus values. See The README for updated instructions. - Added a new
swup:pre-connect
event. - Support added for Symfony 6.
- [DEPENDENCY CHANGE]
swup
(and a few themes/plugins) is no longer included automatically (#93), butsymfony/flex
will automatically add all the required libraries yourpackage.json
file when upgrading. Additionallysymfony/flex
1.13 or higher is now required if installed.