Releases: samsonasik/ErrorHeroModule
Released: ErrorHeroModule 6.0.0
Released: ErrorHeroModule 6.0.0
🎉 🎉 🎉 This release to support PHP 8.4, and bump requirement to PHP 8.2 🎉 🎉 🎉
BC Break
- Removed aura/di support
- Configuration needs update for mezzio usage or if you override config with
Laminas\Log\LoggerAbstractServiceFactory
, change with:
-use Laminas\Log\LoggerAbstractServiceFactory;
+use ErrorHeroModule\Compat\LoggerAbstractServiceFactory;
to use ErrorHeroModule
compatible logger for PHP 8.4 support.
Note
If you're on PHP 8.3+ and uses doctrine/doctrine-orm-module
or on PHP 8.4, you may need to run:
composer update --ignore-platform-reqs
due to dependencies not explicitely defined as support php 8.3+
What's Changed
- [Rector] Enable SetList::STRICT_BOOLEANS by @samsonasik in #97
- Add PHP 8.4 support by @samsonasik in #100
- Bump requirement to PHP 8.2 by @samsonasik in #101
Full Changelog: 5.1.0...6.0.0
Sponsor me 💖💖💖
Maintaining this module has required a lot of effort and dedication. If you’d like to support my work, you can do so by sponsoring me. Thank you for your support! 💖💖💖 https://github.com/sponsors/samsonasik
5.1.0
Released: ErrorHeroModule 5.1.0
Feature
✔️ Support doctrine/doctrine-orm-module
^5.0
You can support my work by sponsor me, thank you 💖 💖 💖 https://github.com/sponsors/samsonasik
5.0.1
- Utilize ArrayLookup Library
5.0.0
Released: ErrorHeroModule 5.0.0
Feature
✔️ Support laminas-cli
out of the box (for laminas-servicemanager
container)
The usage for laminas-cli
can just extends the ErrorHeroModule\Command\BaseLoggingCommand
namespace Application\Command;
use ErrorHeroModule\Command\BaseLoggingCommand;
use Exception;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
final class HelloWorld extends BaseLoggingCommand
{
protected function execute(InputInterface $input, OutputInterface $output): int
{
throw new Exception('some exception logged to DB');
}
}
and register to your service like in the documentation, that's it!
✔️ Support PHP 8.1+
Removal
- Drop support of laminas-mvc-console
- Drop support php 8.0
It took a lot of works to make it reality 💪. You can support my work by sponsor me, thank you 💖 💖 💖 https://github.com/sponsors/samsonasik
4.2.1
clean up composer.json keyword
4.2.0
Remove Auryn support
4.1.1
- composer 2.2 support
- clean up stubs
- PHPStan 1.x level max
4.1.0
4.0.3
Code Quality improvement with add more Rector setlist
4.0.2
Fix example preview console notice -> warning on php 8