Skip to content

Release 1.0, drop unmaintained dependencies and release 2.0 #336

@tacman

Description

@tacman

By having the current release at 0.15, github treats it differently in version management, and it looks like it's still in beta. But this bundle works well enough to be released.

I think, though, that it's being unnecessarily held back by supporting PHP 7 and Symfony 4.4, both long past EOL. But since this version supports them, my idea is:

  • Release the current version as 1.0.
  • Require php 8.2+ and Symfony 6.4+ (although Symfony 5.4 is still supported, anyone requiring it can use 1.0 of this bundle). Drop annotations. Then update the code to include type-hints and property promotion and the ton of goodies you get with PHP 8.
  • Extend AbstractBundle instead of Bundle, so that all the configuration happens in PHP and in one file (gets rid of the /src/DepenencyInjection directory). The autowiring in later versions of Symfony is much better. This isn't necessary, but I've found the DX experience to be much better.
  • Add the debug toolbar that's already been written and is awaiting merge. If the reason it hasn't been merged has to do with supporting unmaintained version of Symfony or php, all the more reason to release 2.0 and only include it there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions