What changed
- Supports only PHP 8.2 and PHP 8.3
- Removed support for PHP 8.1
- Updated CI workflows to remove PHP 8.1
- Updated dependencies in
composer.json(requireandrequire-dev), including packages such asdotkernel/dot-annotated-services,dotkernel/dot-controller,dotkernel/dot-mail,mezzio/mezzio,phpunit/phpunit,rector/rector, andvimeo/psalm. - Updated npm dependencies in
packagist.json- recommended to use npm v10.0.4 and Node.js v20.11.0. - Removed
PhpFileCacheusage from configuration files (required due to the class no longer being available):- Updated
doctrine.global.php - Removed the
use Doctrine\Common\Cache\PhpFileCache;statement - Removed the parameters used by the
configurationandcachecache settings
- Updated
- Fixed Psalm and PHPCS issues - updated type hints and indentation.
Next on the roadmap: implementing these changes in the Dotkernel Frontend live projects and processing the feedback.
Frequently Asked Questions
What update adds PHP 8.3 support to Dotkernel Frontend? +
The Dotkernel team updated the Frontend application to version 4.2.0 so it can take advantage of PHP 8.3 support in the newest packages.
Which PHP versions does Dotkernel Frontend 4.2.0 support? +
Version 4.2.0 supports only PHP 8.2 and PHP 8.3. Support for PHP 8.1 was removed, similar to the earlier Admin update.
What changed with caching in this update? +
The no-longer-available PhpFileCache class is no longer supported until a replacement is implemented. The related parameters were removed from configuration files, including removing the `use Doctrine\Common\Cache\PhpFileCache;` statement and the configuration and cache parameters in `doctrine.global.php`.
What npm and Node.js versions are recommended for this update? +
Alongside updated npm dependencies in packagist.json, it is recommended to use npm v10.0.4 and Node.js v20.11.0.
Where can I find the full list of file changes for this update? +
The full list of file changes is linked in the article, pointing to the corresponding pull request on the Dotkernel Frontend GitHub repository.