Skip to content

Releases: samsonasik/ErrorHeroModule

Released: ErrorHeroModule 6.0.0

28 Dec 20:42
6.0.0
00623e2
Compare
Choose a tag to compare

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

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

28 May 15:56
5.1.0
3449355
Compare
Choose a tag to compare

Released: ErrorHeroModule 5.1.0

Latest Version ci build Code Coverage PHPStan Downloads

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

11 Jan 11:58
5.0.1
c63d1e6
Compare
Choose a tag to compare
  • Utilize ArrayLookup Library

5.0.0

11 Dec 05:15
5.0.0
a0e686c
Compare
Choose a tag to compare

Released: ErrorHeroModule 5.0.0

Latest Version ci build Code Coverage PHPStan Downloads

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

10 Aug 08:22
4.2.1
1737915
Compare
Choose a tag to compare

clean up composer.json keyword

4.2.0

10 Aug 08:21
4.2.0
e8a879d
Compare
Choose a tag to compare

Remove Auryn support

4.1.1

05 Feb 11:06
4.1.1
fb17fe4
Compare
Choose a tag to compare
  • composer 2.2 support
  • clean up stubs
  • PHPStan 1.x level max

4.1.0

20 Nov 04:49
4.1.0
8534496
Compare
Choose a tag to compare

ci build Code Coverage PHPStan

Feature:

Add Doctrine Dbal 3.0 support 🎉

4.0.3

21 Jul 01:26
4.0.3
f3ed75e
Compare
Choose a tag to compare

Code Quality improvement with add more Rector setlist

4.0.2

26 Jun 05:30
4.0.2
a92f9b3
Compare
Choose a tag to compare

Fix example preview console notice -> warning on php 8