Skip to content

Releases: symfony/webpack-encore-bundle

v2.2.0

02 Oct 07:34
e335394
Compare
Choose a tag to compare

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

Other

New Contributors

Full Changelog: v2.1.1...v2.2.0

Happy packing!

Fix type support for Symfony 7

22 Oct 18:54
Compare
Choose a tag to compare

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

26 Sep 14:43
Compare
Choose a tag to compare

Hi Webpackers!

Full Changelog: v2.0.1...v2.1.0

Happy packing!

Fix Stimulus bug with controller classes

26 Sep 14:40
Compare
Choose a tag to compare

Hi Webpackers!

  • Fix incorrect classes assignation and controller rendering by @ker0x in #208

Diff: v1.17.1...v1.17.2

Happy packing!

Relaxing symfony/service-contracts requirement

31 May 14:30
Compare
Choose a tag to compare

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

29 May 00:20
Compare
Choose a tag to compare

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

26 May 17:15
Compare
Choose a tag to compare

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

26 May 17:13
Compare
Choose a tag to compare

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

18 Jan 19:40
Compare
Choose a tag to compare

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

18 Oct 15:26
Compare
Choose a tag to compare

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!