Skip to content

[Composer] Remove outdated twig/twig conflicts from bundles#18702

Merged
GSadee merged 6 commits intoSylius:1.14from
Rafikooo:1.14-remove-twig-conflicts
Jan 15, 2026
Merged

[Composer] Remove outdated twig/twig conflicts from bundles#18702
GSadee merged 6 commits intoSylius:1.14from
Rafikooo:1.14-remove-twig-conflicts

Conversation

@Rafikooo
Copy link
Copy Markdown
Contributor

@Rafikooo Rafikooo commented Jan 5, 2026

Remove legacy twig/twig version conflicts that blocked users of standalone bundles from upgrading to Twig 3.x:

  • Remove ^3.0 conflict added in 2019, already removed in Sylius 2.0+
  • Remove ^1.0 conflict (Twig 1.x reached EOL years ago)
  • Keep 3.9.0 conflict as it's a specific buggy version documented in CONFLICTS.md

Since Twig 2.x reached EOL in December 2023, these conflicts were blocking users who use Sylius bundles standalone from upgrading.

Also adds friendsofsymfony/rest-bundle and jms/serializer-bundle to UserBundle require-dev - they're used in functional tests but were previously installed as transitive dependencies of sylius/resource-bundle (moved from require to require-dev in ResourceBundle 1.13).

Additionally adds conflict for liip/imagine-bundle: 2.17.0 - this version was released on 2026-01-05 and breaks container compilation when AssetMapper is not used (unrelated to twig changes).

Affected bundles: AddressingBundle, CustomerBundle, CurrencyBundle, InventoryBundle, LocaleBundle, MoneyBundle, OrderBundle, PaymentBundle, PromotionBundle, ReviewBundle, ShippingBundle, TaxationBundle, TaxonomyBundle, UiBundle, UserBundle

Closes #18700

@Rafikooo Rafikooo requested a review from a team as a code owner January 5, 2026 11:53
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jan 5, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 5, 2026

❌ Preview Environment deleted from Bunnyshell

Available commands:

  • 🚀 /bns:deploy to redeploy the environment

@Rafikooo Rafikooo force-pushed the 1.14-remove-twig-conflicts branch 4 times, most recently from de48dc2 to ed47490 Compare January 5, 2026 12:49
@probot-autolabeler probot-autolabeler bot added the API APIs related issues and PRs. label Jan 5, 2026
@Rafikooo Rafikooo force-pushed the 1.14-remove-twig-conflicts branch from 40561a9 to 3b8e02c Compare January 5, 2026 14:27
@probot-autolabeler probot-autolabeler bot added the Admin AdminBundle related issues and PRs. label Jan 5, 2026
Remove legacy twig/twig version conflicts:
- Remove ^3.0 conflict (added in 2019, already removed in Sylius 2.0+)
- Remove ^1.0 conflict (Twig 1.x reached EOL years ago)

Keep twig/twig:3.9.0 conflict as it's a specific buggy version
documented in CONFLICTS.md.

Since Twig 2.x reached EOL in December 2023, these conflicts blocked
users of standalone bundles from upgrading to Twig 3.x.

Closes Sylius#18700
ResourceBundle 1.12 moved several packages from require to require-dev.
Bundle functional tests that use these packages now need explicit deps.
… require-dev

ResourceBundle 1.12 moved willdurand/hateoas-bundle from require to require-dev.
These bundles use BazingaHateoasBundle in their test kernels.
@Rafikooo Rafikooo force-pushed the 1.14-remove-twig-conflicts branch from d263b0a to c9bfc5b Compare January 5, 2026 15:01
Rafikooo and others added 2 commits January 5, 2026 16:06
Version 2.17.0 adds AssetMapper support but breaks container compilation
when AssetMapper is not being used.
@probot-autolabeler probot-autolabeler bot added the Maintenance CI configurations, READMEs, releases, etc. label Jan 14, 2026
@TheMilek TheMilek force-pushed the 1.14-remove-twig-conflicts branch 3 times, most recently from 6c3be6d to 4f8f660 Compare January 15, 2026 12:56
…d add upgrade file to inform about recommendations
@TheMilek TheMilek force-pushed the 1.14-remove-twig-conflicts branch from 4f8f660 to fb74928 Compare January 15, 2026 13:19
@GSadee GSadee added the Dependencies Pull requests that update a dependency file label Jan 15, 2026
@GSadee GSadee merged commit e4aefc2 into Sylius:1.14 Jan 15, 2026
50 of 51 checks passed
@loevgaard
Copy link
Copy Markdown
Contributor

Thanks!

@GSadee GSadee mentioned this pull request Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin AdminBundle related issues and PRs. API APIs related issues and PRs. Dependencies Pull requests that update a dependency file Maintenance CI configurations, READMEs, releases, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants