-
Notifications
You must be signed in to change notification settings - Fork 22
Upgrade dependencies #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade dependencies #59
Conversation
|
Adding to this with bits I find when testing: I noticed you updated the collections package to v12, but this sets a minimum PHP requirement to 8.3. I'll play with downgrading this to v10 instead, which sets the minimum requirement to PHP 8.1. The switch to Encryption also requires an APP_KEY to be set and it errors if there isn't one. You can't even run the |
Dependency Upgrades
Upgrades major version of most packages. This will form the basis of an 8.0 release.
Waiting on updates:
Breaking Changes
PHP - 8.1 - 8.4
Support for PHP < 8.1 has been removed.
Laminas Zend Framework Bridge removed
Any imports that start with
Zend\Diactorosmust be re-written toLaminas\DiactorosFacades -
blast/facadesremovedBlast facades was 10 years out of date, and has been removed. We've decided to take ownership of this code.
All facades will need to be modified as follows:
Internally, any calls to
\Blast\Facades\FacadeFactoryshould be replaced by\Rareloop\Lumberjack\FacadeManagerFuture work on this looks like adding Laravel-style mocking features.
Encryption
mmeyer2k/dcrypt appears to be stale, and doesn't support PHP 8.4. In light of this we've switched to
illuminate/encryption.We've removed the
Encrypterclass and contract, projects using it should switch toilluminate/encryption. Most uses should be a simple import path change.Log levels
We now use
Monolog\Levelobjects throughout Lumberjack. Any instances ofMonolog\Loggerneed to be replaced.For example:
'logs' => [ 'enabled' => true, 'path' => false, - 'level' => Monolog\Logger::ERROR, + 'level' => Monolog\Level::Error, ],Non-breaking changes
Ignition
We've moved from
symfony/debugtospatie/ignition- mirroring #56. This addresses deprecation warnings in #52.PHPUnit
PHPUnit hasn't been upgraded, but has had the configuration migrated to the new format. There will be sweeping changes if we're to upgrade to PHPUnit 10.x and beyond.