Skip to content

Tags: symfony/webpack-encore-bundle

Tags

v2.2.0

Verified

This commit was signed with the committer’s verified signature.
Kocal Hugo Alliaume
bug #237 Fix missing integrity hash on preload tags (arnaud-ritti, Ko…

…cal)

This PR was merged into the 2.x branch.

Discussion
----------

Fix missing integrity hash on preload tags

I wasn't able to edit #161, so I've opened a new PR and made changes here.

Fix #101, fix #225

On an existing app, integrity hashes and other attributes are nicely injected into `Link` header:
<img width="1101" alt="image" src="https://github.com/user-attachments/assets/3733d80f-1927-49d9-8f0e-c8e340f7ed69">

Commits
-------

b8219a8 Pass all attributes to `Link` header
707cd49 style: php-cs-fixer
2025c41 Fix missing integrity hash on preload

v2.1.1

phpcs

v2.1.0

Merge branch 'main' into 2.x

* main:
  Increasing priority of pass to remove before Twig tries to use it
  Fix incorrect classes assignation and controller rendering

v1.17.2

bug #208 Fix incorrect classes assignation and controller rendering (…

…ker0x)

This PR was merged into the main branch.

Discussion
----------

Fix incorrect classes assignation and controller rendering

Fix incorrect class assignation mentioned by `@pbories` in #206 (comment)

Commits
-------

e716638 Fix incorrect classes assignation and controller rendering

v2.0.1

bug #217 Relaxing symfony/service-contracts requirement (weaverryan)

This PR was merged into the 2.x branch.

Discussion
----------

Relaxing symfony/service-contracts requirement

Fixes #214. For 2.0, I was tightening up & updating version constraints. This one was over-tightened. The 1.1.9 and 2.1.3 versions were when 8.0 support was fixed/added. We only need this contract for the `ResetInterface`, I believe.

Cheers!

Commits
-------

b80b896 Relaxing service contracts requirement

v1.17.1

bug #213 Increasing priority of pass to remove before Twig tries to u…

…se it (weaverryan)

This PR was merged into the main branch.

Discussion
----------

Increasing priority of pass to remove before Twig tries to use it

Hi!

In 1.17.0, a compiler pass was added to remove the Twig extension that supplies the `stimulus_` functions if StimulusBundle is installed (because it supplies those instead). However, the priority needs to be higher, else (depending on the order your bundles are installed) Twig might try to use the service *first*... and then we remove it. Results in:

> 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"?

Cheers!

Commits
-------

49f9302 Increasing priority of pass to remove before Twig tries to use it

v2.0.0

feature #212 Updates for WebpackEncoreBundle 2.0 (weaverryan)

This PR was squashed before being merged into the 2.x branch.

Discussion
----------

Updates for WebpackEncoreBundle 2.0

Hi!

Soon we will release the final 1.17, which will deprecate the `stimulus_*` Twig functions in favor of `symfony/stimulus-bundle`.

I plan to release 2.0 at the same time, which will be equivalent to 1.17, except without the deprecated code paths. Also the PHP and Symfony minimum requirements are bumped.

Cheers!

Commits
-------

06a7eb5 Updates for WebpackEncoreBundle 2.0

v1.17.0

feature #211 [WIP] Deprecating the stimulus functionality in favor of…

… an upcoming StimulusBundle (weaverryan)

This PR was squashed before being merged into the main branch.

Discussion
----------

[WIP] Deprecating the stimulus functionality in favor of an upcoming StimulusBundle

Hi!

This isn't ready yet, but a new StimulusBundle is being created that will now be the home of the `stimulus_` Twig functions 🎆 . This PR is to deprecate those functions and only load them if the StimulusBundle is not present.

Cheers!

Commits
-------

2a15b75 [WIP] Deprecating the stimulus functionality in favor of an upcoming StimulusBundle

v1.16.1

bug #202 Fix double escaping in stimulus DTOs when using toArray() in…

… combination with form methods (jeroennoten)

This PR was merged into the main branch.

Discussion
----------

Fix double escaping in stimulus DTOs when using toArray() in combination with form methods

This fixes a double-escaping bug when the `toArray()` methods are used in combination with the `form_` functions, as described in the README.

`toArray()` should return an array with non-escaped attribute key-value pairs, because they will be escaped when printed.

Therefore, I moved the escaping of the values to the `toString()` methods and I added some additional tests for the DTO classes to verify the change.

This additionally fixes a missed escape for the `data-[controller]-[key]-class` attribute values.

Commits
-------

0d40126 Fix double escaping in stimulus DTOs when using toArray() in combination with form methods

v1.16.0

bumping 1.16 CHANGELOG