Releases: symfony/webpack-encore-bundle
Clarifying fix for stimulus_* function arguments
Hi Webpackers!
This release follows up on the new superpowers of stimulus_controller()
, stimulus_action()
and stimulus_target()
from 1.15.0 with some internal changes regarding how the code is deprecated and documented
Bug
- #189 - Moving deprecated code handling for stimulus_ functions into Twig extension - @weaverryan
- #187 - Improve Stimulus phpdoc - @jmsche
- #186 - Stimulus: move deprecations from DTOs to filters/functions - @jmsche
Diff: v1.15.0...v1.15.1
Happy packing!
Form-Friendly stimulus_* Functions!
Hi Webpackers!
This release makes stimulus_controller()
, stimulus_action()
and stimulus_target()
much more user-friendly when you either (A) need to add multiple controllers/actions/targets or if you want to pass a controller/action/target into Symfony's form system. For example:
{{ form_row(form.password, {
attr: stimulus_action('hello-controller', 'checkPasswordStrength').toArray()
}) }}
How cool is that?
Feature
- #178 - Add Stimulus Twig filters, handle action parameters & allow filters/functions to return array - @jmsche
Diff: v1.14.1...v1.15.0
Happy packing!
Fixing sub requests & duplicate asset files
Hi Webpackers!
This release contains an important bug fix for a bug that was introduced in 1.14.0 if you use sub-requests (e.g. {{ render(controller(...)) }}
or similar). If you have any continued problems, let us know. See #166.
v1.14.1
May 3rd, 2022
Bug
- #172 - Fixing reset assets trigger on sub-requests - @TarikAmine
- #171 - Do not JSON encode stringable values - @jderusse
Diff: v1.14.0...v1.14.1
Happy packing!
Resetting Assets on FINISH_REQUEST + encore_entry_exists()
Hi Webpackers!
This release contains one small feature and one big fix, which affects how encore assets are handled during sub-requests.
v1.14.0
February 14th, 2022
Feature
Bug Fix
Diff: v1.13.2...v1.14.0
Happy packing!
Fix Symfony 6 install: allow deprecations-contract v3
Hi Webpackers!
This release contains just one fix to help install when using Symfony 6.
v1.13.2
December 2nd, 2021
Bug Fix
- #155 - Increase version constraint of symfony/service-contracts - @luca-rath
Diff: v1.13.1...v1.13.2
Happy packing!
Fix for stimulus_controller() and passing `null` values
Hi Webpackers!
This release contains a fix for stimulus_controller
when passing null
to one of the values.
v1.13.1
November 28th, 2021
Bug Fix
Diff: v1.13.0...v1.13.1
Happy packing!
Symfony 6 Support
Hi Webpackers!
This release contains support for Symfony 6 + 1 bug fix!
v1.13.0
November 19th, 2021
Feature
- #136 - Allow Symfony6 - @Kocal, @weaverryan
Bug Fix
Diff: v1.12.0...v1.13.0
Happy packing!
New stimulus_action() and stimulus_target() functions!
Hi Webpackers!
This release contains 2 new functions to help when working with Stimulus.
Feature
- #124 - feat(twig): implements stimulus_action() and stimulus_target() Twig functions, close #119 - @Kocal
Bug Fix
- #111 - fix: fix EntrypointLookup Exception - @jeremyFreeAgent
Diff: v1.11.2...v1.12.0
Happy packing!
Fix for boolean stimulus_controller values & deprecations
Hi Webpackers!
This release contains a bug fix for when using stimulus_controller
with a boolean "value" and cleans up some deprecations:
- bug #121 [stimulus-controller] fix bool attributes from being rendered incorrectly (@jrushlow)
- bug #122 handle request deprecations (@jrushlow)
Diff: v1.11.1...v1.11.2
Happy packing!
Bug fix for disabling a "script_attributes"
Hi Webpackers!
This release contains a bug fix for the script_attributes
and link_attributes
feature introduced in v1.9.0.
Previously, you could not disable an attribute by setting it to false - for example:
webpack_encore:
script_attributes:
defer: false
Before this release, this would add a defer=""
attribute. Now it correctly will not include the attribute.
Setting an attribute to null - defer: null
- WILL include the attribute.
See #113 for more details.
Also see #112 where the new stimulus_controller()
function's "safety" was limited to HTML attributes thanks to @stof.
Diff: v1.11.0...v1.11.1
Happy packing!