[3.x] Migrate to Intervention Image v4#4544
Conversation
|
Thanks for this Oliver — the migration work looks good and this is something we definitely want to do. The blocker is that Intervention Image is used directly by extensions in the ecosystem — fof/upload being a notable example. The v3 → v4 API changes mean this would be a silent breaking change for any extension that instantiates We're going to add this to the 3.0 roadmap where we can signal the breaking change properly and give extension authors time to migrate alongside us. We'll keep this PR open for reference when that work begins. |
Okay, I assumed it would still work in 2.0, since it's only in beta so far. |
This PR makes the necessary changes to migrate to the just released Intervention Image Version 4.
Please note that the new version requires at least PHP 8.3.
I recommend a thorough review. However, I think this is a good start and takes care of most of the work for the update.
If you have any questions, feel free to reach out to me.
PS: For your reference, here is the upgrade guide
Reviewers should focus on:
Necessity
Confirmed
composer test).