Releases: symfony/webpack-encore-bundle
v2.2.0
Hi Webpackers!
Almost a year later, here's a new release containing support for PHP 8.3 and 8.4, support remote entrypoints.json
file, and the addition of the integrity
attribute in the Link
header for preloading.
Features
- Ensure PHP 8.3 and 8.4 are supported by @Kocal in #233
- Allow entrypoints.json to be hosted remotely by @rlvdx and @Kocal in #236
Bug
- fix: correctly wire the build-time file into kernel.build_dir by @dkarlovi in #232
- Fix missing integrity hash on preload tags by @arnaud-ritti and @Kocal in #237
Other
- Minor rewording by @ThomasLandauer in #219
- Re-configure and run PHP-CS-Fixer by @Kocal in #234
New Contributors
- @rlvdx made their first contribution in #97 (and #236)
- @arnaud-ritti made their first contribution in #161 (and #237)
- @dkarlovi made their first contribution in #232
Full Changelog: v2.1.1...v2.2.0
Happy packing!
Fix type support for Symfony 7
Hi Webpackers!
A small bug fix to match return types in Symfony 7.
Full Changes: v2.1.0...v2.1.1
Have fun!
Adding Symfony 7 support
Fix Stimulus bug with controller classes
Relaxing symfony/service-contracts requirement
Hi Webpackers!
This release is relaxes the version requirements for symfony/service-contracts
to allow upgrading on 5.4 projects - see #214
Diff: v2.0.0...v2.0.1
Happy packing!
Fix: StimulusBundle compatibility with webpack_encore.twig_stimulus_extension
Hi Webpackers!
A quick fix for version 1.17.0 that fixes this error when used with StimulusBundle:
The service "twig" has a dependency on a non-existent service "webpack_encore.twig_stimulus_extension". Did you mean this: "webpack_encore.twig_entry_files_extension"
Upgrading should resolve the error. See #213.
Diff: v1.17.0...v1.17.1
Happy packing!
WebpackEncoreBundle 2.0: Removal of deprecations
Hi Webpackers!
This release is identical to 1.17.0 except that it removes deprecated code.
Version 2.0 also requires PHP 8.1 or higher and Symfony 5.4 or higher.
Recipe Upgrade Note
If you're using symfony/flex
, when you upgrade your symfony/webpack-encore-bundle
recipe to the 2.0 version, it may try to remove certain files like assets/controllers.json
or assets/bootstrap.js
. You should ignore these changes and restore the files. This happens because these files moved from the recipe for symfony/webpack-encore-bundle
to symfony/stimulus-bundle
. To the update system, it looks like the files are being removed.
Diff: v1.17.0...v2.0.0
Happy packing!
Deprecating stimulus_* Twig functions in favor of symfony/stimulus-bundle
Hi Webpackers!
This release deprecates the stimulus_controller()
, stimulus_action()
and stimulus_target
functions because they are now included with the new symfony/stimulus-bundle
. Run composer require symfony/stimulus-bundle
to grab the functions from that package instead.
Diff: v1.16.1...v1.17.0
Happy packing!
Fix double-escaping of stimulus_ functions with form system
Hi Webpackers!
This release fixes a bug if using the stimulus_*
functions most commonly with the form system - see #178 (comment)
Bug Fix
- #202 - Fix double escaping in stimulus DTOs when using toArray() in combination with form methods - @jeroennoten
Diff: v1.16.0...v1.16.1
Happy packing!
Support for Stimulus CSS classes
Hi Webpackers!
This release adds support for Stimulus CSS Classes - https://stimulus.hotwired.dev/reference/css-classes.
Feature
Diff: v1.15.1...v1.16.0
Happy packing!