## CHANGELOG

## v2.4.1 (2025-03-11)

- [#139](https://github.com/Sylius/Sylius/issues/139) PHP 8.4 fix ([@codingioanniskrikos](https://github.com/codingioanniskrikos))
- [#138](https://github.com/Sylius/Sylius/issues/138) Replace check for master request with isMainRequest in first theme documentation ([@alexander-schranz](https://github.com/alexander-schranz))

## v2.4.0 (2024-07-19)

- [#133](https://github.com/Sylius/SyliusThemeBundle/issues/133) Upgrade psalm to 5.20 ([@alexander-schranz](https://github.com/alexander-schranz))
- [#132](https://github.com/Sylius/SyliusThemeBundle/issues/132) Upgrade rector to 1.0 ([@alexander-schranz](https://github.com/alexander-schranz))
- [#131](https://github.com/Sylius/SyliusThemeBundle/issues/131) Allow installation with Symfony 7 ([@alexander-schranz](https://github.com/alexander-schranz))
- [#134](https://github.com/Sylius/SyliusThemeBundle/issues/134) Fix ThemeCollector Symfony 7 compatibility ([@alexander-schranz](https://github.com/alexander-schranz))
- [#129](https://github.com/Sylius/SyliusThemeBundle/issues/129) doc: Update "Your first theme" documentation ([@pocky](https://github.com/pocky))
- [#135](https://github.com/Sylius/SyliusThemeBundle/issues/135) Bump up PHP and Symfony 6 versions ([@GSadee](https://github.com/GSadee))
- [#128](https://github.com/Sylius/SyliusThemeBundle/issues/128) Remove performNoDeepMerging to authorise additional custom theme folders ([@lanfisis](https://github.com/lanfisis))
- [#136](https://github.com/Sylius/SyliusThemeBundle/issues/136) Revert "Remove performNoDeepMerging to authorise additional custom theme folders" ([@GSadee](https://github.com/GSadee))

## v2.3.0 (2022-09-04)

#### Details

- [#110](https://github.com/Sylius/SyliusThemeBundle/issues/110) Use PHP 7.4 syntax ([@Zales0123](https://github.com/Zales0123))
- [#113](https://github.com/Sylius/SyliusThemeBundle/issues/113) Drop support for PHP7.4, Symfony version upgraded to 5.4 ([@Rafikooo](https://github.com/Rafikooo))
- [#120](https://github.com/Sylius/SyliusThemeBundle/issues/120) [Maintenance] Allow flex plugin during plugin installation ([@lchrusciel](https://github.com/lchrusciel))
- [#122](https://github.com/Sylius/SyliusThemeBundle/issues/122) Fix coding standard ([@loic425](https://github.com/loic425), [@lchrusciel](https://github.com/lchrusciel))
- [#121](https://github.com/Sylius/SyliusThemeBundle/issues/121) Add support for Symfony 6 ([@macintoshplus](https://github.com/macintoshplus), [@loic425](https://github.com/loic425))
- [#125](https://github.com/Sylius/SyliusThemeBundle/issues/125) [GH] Allow to trigger GH Actions manually ([@lchrusciel](https://github.com/lchrusciel))

## v2.3.0-ALPHA.1 (2022-08-24)

#### Details

- [#110](https://github.com/Sylius/SyliusThemeBundle/issues/110) Use PHP 7.4 syntax ([@Zales0123](https://github.com/Zales0123))
- [#113](https://github.com/Sylius/SyliusThemeBundle/issues/113) Drop support for PHP7.4, Symfony version upgraded to 5.4 ([@Rafikooo](https://github.com/Rafikooo))
- [#120](https://github.com/Sylius/SyliusThemeBundle/issues/120) [Maintenance] Allow flex plugin during plugin installation ([@lchrusciel](https://github.com/lchrusciel))
- [#122](https://github.com/Sylius/SyliusThemeBundle/issues/122) Fix coding standard ([@loic425](https://github.com/loic425), [@lchrusciel](https://github.com/lchrusciel))
- [#121](https://github.com/Sylius/SyliusThemeBundle/issues/121) Add support for Symfony 6 ([@macintoshplus](https://github.com/macintoshplus), [@loic425](https://github.com/loic425))
- [#125](https://github.com/Sylius/SyliusThemeBundle/issues/125) [GH] Allow to trigger GH Actions manually ([@lchrusciel](https://github.com/lchrusciel))

### v2.2.0 (2021-03-19)

#### TL;DR

- Added support for PHP 8, while dropping support for PHP 7.3
- Added support for Symfony 5.2
- Added support for using the updated bunlde directory structure (`FooBundle/public` instead of `FooBundle/Resources/public`)

#### Details

- [#89](https://github.com/Sylius/SyliusThemeBundle/issues/89) Allow PHP8 ([@plozmun](https://github.com/plozmun))
- [#95](https://github.com/Sylius/SyliusThemeBundle/issues/95) Add support for bundles using the updated bundle directory structure ([@mbabker](https://github.com/mbabker))
- [#96](https://github.com/Sylius/SyliusThemeBundle/issues/96) Fix the build by requiring new version of ECS ([@pamil](https://github.com/pamil))
- [#97](https://github.com/Sylius/SyliusThemeBundle/issues/97) Drop support for PHP 7.3 and Symfony 5.1 ([@pamil](https://github.com/pamil))

## CHANGELOG FOR `2.1.x`

### v2.1.1 (2021-01-13)

#### Details

- [#73](https://github.com/Sylius/SyliusThemeBundle/issues/73) Update vimeo/psalm requirement from 4.1.1 to 4.2.1 ([@dependabot-preview](https://github.com/dependabot-preview)[[@bot](https://github.com/bot)])
- [#78](https://github.com/Sylius/SyliusThemeBundle/issues/78) Fix deprecated array_key_exists in TranslatorResourceProviderPass ([@alexander-schranz](https://github.com/alexander-schranz))

### v2.1.0 (2020-11-05)

#### Details

- [#64](https://github.com/Sylius/SyliusThemeBundle/issues/64) Switch from Travis to GitHub Actions ([@pamil](https://github.com/pamil))
- [#65](https://github.com/Sylius/SyliusThemeBundle/issues/65) Remove PHPStan ([@pamil](https://github.com/pamil))
- [#66](https://github.com/Sylius/SyliusThemeBundle/issues/66) Upgrade to Psalm 4 ([@pamil](https://github.com/pamil))
- [#67](https://github.com/Sylius/SyliusThemeBundle/issues/67) Update dependencies ([@pamil](https://github.com/pamil))
- [#68](https://github.com/Sylius/SyliusThemeBundle/issues/68) Add tests for symfony/translation-contracts ^1.1 and ^2.0 ([@pamil](https://github.com/pamil), [@dpfaffenbauer](https://github.com/dpfaffenbauer))
- [#69](https://github.com/Sylius/SyliusThemeBundle/issues/69) Normalise composer.json ([@pamil](https://github.com/pamil))

## CHANGELOG FOR `2.0.x`

### v2.0.1 (2020-07-27)

#### Details

- [#61](https://github.com/Sylius/SyliusThemeBundle/issues/61) Rename `Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManager` service to `Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface` ([@pamil](https://github.com/pamil))

### v2.0.0 (2020-07-23)

#### TL;DR

For actionable information about the upgrade, please refer to [UPGRADE.md](UPGRADE.md) file.

- Added support for Symfony 5
- Added support for PHP 7.4
- Added support for theming all the assets
- Completely refactored template loaders
- Modified theme structure to stay closer to Symfony standards
- Introduced `legacy_mode` to be compatible with themes using the old structure 
- Removed support for `symfony/templating`

#### Details

- [#35](https://github.com/Sylius/SyliusThemeBundle/issues/35) Update Symfony to 4.4 ([@GSadee](https://github.com/GSadee), [@Tomanhez](https://github.com/Tomanhez))
- [#38](https://github.com/Sylius/SyliusThemeBundle/issues/38) Theme Bundle v2.0 - Symfony 5 support and internal refactoring ([@GSadee](https://github.com/GSadee), [@pamil](https://github.com/pamil))
- [#45](https://github.com/Sylius/SyliusThemeBundle/issues/45) Provide optional, backwards-compatible legacy loaders ([@pamil](https://github.com/pamil))
- [#46](https://github.com/Sylius/SyliusThemeBundle/issues/46) TemplateReferenceInterface "support", cleanup and UPGRADE.md entries ([@pamil](https://github.com/pamil))
- [#47](https://github.com/Sylius/SyliusThemeBundle/issues/47) Require PHP ^7.3 ([@pamil](https://github.com/pamil))
- [#48](https://github.com/Sylius/SyliusThemeBundle/issues/48) Remove obsolete doctrine/common dependency ([@pamil](https://github.com/pamil))
- [#49](https://github.com/Sylius/SyliusThemeBundle/issues/49) Remove obsolete symfony/dom-crawler dependency ([@pamil](https://github.com/pamil))
- [#51](https://github.com/Sylius/SyliusThemeBundle/issues/51) Fallback to default asset paths if themed assets not found ([@pamil](https://github.com/pamil))
- [#52](https://github.com/Sylius/SyliusThemeBundle/issues/52) Refactor PathResolver ([@pamil](https://github.com/pamil))
- [#56](https://github.com/Sylius/SyliusThemeBundle/issues/56) Remove Zend/Hydrator dependency ([@pamil](https://github.com/pamil))
- [#58](https://github.com/Sylius/SyliusThemeBundle/issues/58) [Docs] Fix spelling ([@onEXHovia](https://github.com/onEXHovia))
- [#59](https://github.com/Sylius/SyliusThemeBundle/issues/59) Follow symlinks in themes/ ([@jacquesbh](https://github.com/jacquesbh))

### v2.0.0-alpha.2 (2020-05-24)

#### Details

- [#56](https://github.com/Sylius/SyliusThemeBundle/issues/56) Remove Zend/Hydrator dependency ([@pamil](https://github.com/pamil))

### v2.0.0-alpha.1 (2020-05-07)

#### TL;DR

For actionable information about the upgrade, please refer to [UPGRADE.md](UPGRADE.md) file.

- Added support for Symfony 5
- Added support for PHP 7.4
- Added support for theming all the assets
- Completely refactored template loaders
- Modified theme structure to stay closer to Symfony standards
- Introduced `legacy_mode` to be compatible with themes using the old structure 
- Removed support for `symfony/templating`

#### Details

- [#35](https://github.com/Sylius/SyliusThemeBundle/issues/35) Update Symfony to 4.4 ([@GSadee](https://github.com/GSadee), [@Tomanhez](https://github.com/Tomanhez))
- [#38](https://github.com/Sylius/SyliusThemeBundle/issues/38) Theme Bundle v2.0 - Symfony 5 support and internal refactoring ([@GSadee](https://github.com/GSadee), [@pamil](https://github.com/pamil))
- [#45](https://github.com/Sylius/SyliusThemeBundle/issues/45) Provide optional, backwards-compatible legacy loaders ([@pamil](https://github.com/pamil))
- [#46](https://github.com/Sylius/SyliusThemeBundle/issues/46) TemplateReferenceInterface "support", cleanup and UPGRADE.md entries ([@pamil](https://github.com/pamil))
- [#47](https://github.com/Sylius/SyliusThemeBundle/issues/47) Require PHP ^7.3 ([@pamil](https://github.com/pamil))
- [#48](https://github.com/Sylius/SyliusThemeBundle/issues/48) Remove obsolete doctrine/common dependency ([@pamil](https://github.com/pamil))
- [#49](https://github.com/Sylius/SyliusThemeBundle/issues/49) Remove obsolete symfony/dom-crawler dependency ([@pamil](https://github.com/pamil))
- [#51](https://github.com/Sylius/SyliusThemeBundle/issues/51) Fallback to default asset paths if themed assets not found ([@pamil](https://github.com/pamil))
- [#52](https://github.com/Sylius/SyliusThemeBundle/issues/52) Refactor PathResolver ([@pamil](https://github.com/pamil))

## CHANGELOG FOR `1.5.x`

### v1.5.1 (2020-05-05)

- [#50](https://github.com/Sylius/SyliusThemeBundle/issues/50) Disable Twig services if templating is disabled ([@pamil](https://github.com/pamil))

### v1.5.0 (2019-10-10)

- [#29](https://github.com/Sylius/SyliusThemeBundle/issues/29) Ambiguous class resolution for symfony/contracts ([@Prometee](https://github.com/Prometee))
- [#30](https://github.com/Sylius/SyliusThemeBundle/issues/30) Support for Symfony 3.4 / 4.3+ ([@pamil](https://github.com/pamil))
- [#31](https://github.com/Sylius/SyliusThemeBundle/issues/31) Enforce coding standard ([@pamil](https://github.com/pamil))
- [#32](https://github.com/Sylius/SyliusThemeBundle/issues/32) Introduce Psalm ([@pamil](https://github.com/pamil))

## CHANGELOG FOR `1.4.x`

### v1.4.6 (2019-05-17)

#### Details

- [#27](https://github.com/Sylius/SyliusThemeBundle/issues/27) TranslatorInterface and Symfony3. ([@plotek](https://github.com/plotek))

### v1.4.5 (2019-04-19)

#### Details

- [#25](https://github.com/Sylius/SyliusThemeBundle/issues/25) Fix ThemeAwareTranslator for Symfony 4.2.7 ([@pierre-H](https://github.com/pierre-H))

### v1.4.4 (2019-03-22)

#### Details

- [#22](https://github.com/Sylius/SyliusThemeBundle/issues/22) Cast name from TemplateReference to string before passing to Twig_Source ([@mkilmanas](https://github.com/mkilmanas))
- [#23](https://github.com/Sylius/SyliusThemeBundle/issues/23) Remove conflict with Twig 2.7.3 ([@pamil](https://github.com/pamil))

### v1.4.3 (2019-03-22)

#### Details

- [#21](https://github.com/Sylius/SyliusThemeBundle/issues/21) Add conflict with Twig v2.7.3 ([@pamil](https://github.com/pamil))

### v1.4.2 (2019-02-28)

#### Details

- [#19](https://github.com/Sylius/SyliusThemeBundle/issues/19) [HotFix] Allow to pass `TemplateReference` to `findTemplate` function ([@Zales0123](https://github.com/Zales0123))
- [#20](https://github.com/Sylius/SyliusThemeBundle/issues/20) Move string parsing to `findTemplate` method ([@Zales0123](https://github.com/Zales0123))

### v1.4.1 (2019-02-26)

#### TL;DR

- The first release after splitting the bundle to be a standalone package with its own release cycle.

#### Details

- [#11](https://github.com/Sylius/SyliusThemeBundle/issues/11) Set up Travis CI for 1.1 ([@pamil](https://github.com/pamil))
- [#12](https://github.com/Sylius/SyliusThemeBundle/issues/12) Set up Travis CI for 1.3 ([@pamil](https://github.com/pamil))
- [#13](https://github.com/Sylius/SyliusThemeBundle/issues/13) Organise directory structure of the project ([@pamil](https://github.com/pamil))
- [#14](https://github.com/Sylius/SyliusThemeBundle/issues/14) Add PHPStan to the build ([@pamil](https://github.com/pamil))
- [#15](https://github.com/Sylius/SyliusThemeBundle/issues/15) Refreshed docs & readme ([@pamil](https://gith
- [#16](https://github.com/Sylius/SyliusThemeBundle/issues/16) Add SyliusLabs/CodingStandard ([@pamil](https://github.com/pamil))
- [#17](https://github.com/Sylius/SyliusThemeBundle/issues/17) Test with different versions of Symfony on Travis CI ([@pamil](https://github.com/pamil))

## CHANGELOG FOR `1.3.x`

### v1.3.14 (2019-05-17)

#### Details

- [#27](https://github.com/Sylius/SyliusThemeBundle/issues/27) TranslatorInterface and Symfony3. ([@plotek](https://github.com/plotek))

### v1.3.13 (2019-04-19)

#### Details

- [#25](https://github.com/Sylius/SyliusThemeBundle/issues/25) Fix ThemeAwareTranslator for Symfony 4.2.7 ([@pierre-H](https://github.com/pierre-H))

### v1.3.12 (2019-03-22)

#### Details

- [#22](https://github.com/Sylius/SyliusThemeBundle/issues/22) Cast name from TemplateReference to string before passing to Twig_Source ([@mkilmanas](https://github.com/mkilmanas))
- [#23](https://github.com/Sylius/SyliusThemeBundle/issues/23) Remove conflict with Twig 2.7.3 ([@pamil](https://github.com/pamil))

### v1.3.11 (2019-03-22)

#### Details

- [#21](https://github.com/Sylius/SyliusThemeBundle/issues/21) Add conflict with Twig v2.7.3 ([@pamil](https://github.com/pamil))

### v1.3.10 (2019-02-28)

#### Details

- [#19](https://github.com/Sylius/SyliusThemeBundle/issues/19) [HotFix] Allow to pass `TemplateReference` to `findTemplate` function ([@Zales0123](https://github.com/Zales0123))
- [#20](https://github.com/Sylius/SyliusThemeBundle/issues/20) Move string parsing to `findTemplate` method ([@Zales0123](https://github.com/Zales0123))

### v1.3.9 (2019-02-26)

#### TL;DR

- The first release after splitting the bundle to be a standalone package with its own release cycle.

#### Details

- [#11](https://github.com/Sylius/SyliusThemeBundle/issues/11) Set up Travis CI for 1.1 ([@pamil](https://github.com/pamil))
- [#12](https://github.com/Sylius/SyliusThemeBundle/issues/12) Set up Travis CI for 1.3 ([@pamil](https://github.com/pamil))
- [#13](https://github.com/Sylius/SyliusThemeBundle/issues/13) Organise directory structure of the project ([@pamil](https://github.com/pamil))
- [#14](https://github.com/Sylius/SyliusThemeBundle/issues/14) Add PHPStan to the build ([@pamil](https://github.com/pamil))
- [#15](https://github.com/Sylius/SyliusThemeBundle/issues/15) Refreshed docs & readme ([@pamil](https://gith
- [#16](https://github.com/Sylius/SyliusThemeBundle/issues/16) Add SyliusLabs/CodingStandard ([@pamil](https://github.com/pamil))
- [#17](https://github.com/Sylius/SyliusThemeBundle/issues/17) Test with different versions of Symfony on Travis CI ([@pamil](https://github.com/pamil))

## CHANGELOG FOR `1.2.x`

### v1.2.17 (2019-03-25)

#### Details

- [#22](https://github.com/Sylius/SyliusThemeBundle/issues/22) Cast name from TemplateReference to string before passing to Twig_Source ([@mkilmanas](https://github.com/mkilmanas))

### v1.2.16 (2019-02-26)

#### TL;DR

- The first release after splitting the bundle to be a standalone package with its own release cycle.

#### Details

- [#11](https://github.com/Sylius/SyliusThemeBundle/issues/11) Set up Travis CI for 1.1 ([@pamil](https://github.com/pamil))

## CHANGELOG FOR `1.1.x`

### v1.1.17 (2019-03-25)

#### Details

- [#22](https://github.com/Sylius/SyliusThemeBundle/issues/22) Cast name from TemplateReference to string before passing to Twig_Source ([@mkilmanas](https://github.com/mkilmanas))

### v1.1.16 (2019-02-26)

#### TL;DR

- The first release after splitting the bundle to be a standalone package with its own release cycle.

#### Details

- [#11](https://github.com/Sylius/SyliusThemeBundle/issues/11) Set up Travis CI for 1.1 ([@pamil](https://github.com/pamil))
