We have completed upgrading Magento external dependencies in the scope of the PHP 8 Compatibility project. These changes will be available in the 2.4.3 release. We are still working to update internal dependencies to provide full PHP 8.0 compatibility. Also, based on our experience we have decided to eliminate some of the least active dependencies so that we can accelerate efforts to make Magento compatible with new PHP versions in the future; particularly for PHP 8.1.
While full PHP 8.0 compatibility is not yet available in a stable release, we are planning to provide it to the participants of our our beta program to help them prepare their extensions and customizations. Meanwhile, we are already looking into PHP 8.1 compatibility. In order for us to plan releases, including support/compatibility for new PHP versions, we are looking for your input. Please take this quick survey. Your input will help us make the right decision.
Changed dependencies
The following external dependencies have been updated in the scope of the project:
The following external dependencies have been removed in the scope of the project:
The following external dependencies have been added in the scope of the project:
Backward incompatible changes
Upgrading some of the dependencies required introducing backward incompatible changes to our API. Here is the list of such changes:
To address these backward incompatible changes for your customization or extensions, the classes extending the Magento\Email\Model\Template\Filter class and calling the Magento\Email\Model\Template\Filter constructor or using the $emogrifier protected property should be updated:
Additionally, it is always a good idea to use the Upgrade Compatibility Tool to analyse customization/extension code and identify possible compatibility issues with a newer Magento version.
Thanks to contributors!
The PHP 8 Compatibility project has been fully completed by our awesome Magento community. We would like to say a huge thank you to everyone involved! And special thanks to the most invested contributors:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.