hashids-bundle icon indicating copy to clipboard operation
hashids-bundle copied to clipboard

Symfony 7.x compatibility

Open seizan8 opened this issue 3 months ago • 1 comments

The bundle does not support symfony 7.x currently.

Requiring the bundle in symfony 7.x will load version 1.1 Newer versions specify the symfony like so

"symfony/http-kernel": "^4.4 || ^5.3 || ^6.0",
"symfony/http-foundation": "^4.4 || ^5.3 || ^6.0" 

However, version 1.x does not work with Symfony 7 due to Roukmoute\HashidsBundle\DependencyInjection\Configuration->getConfigTreeBuilder() missing the return type and therefore not matching the ConfigurationInterface.

Ideally, hasids v1.x would conflict with symfony >= 7

When is symfony 7 support coming for this bundle? I assume it should be a rather simple upgrade from 6.

seizan8 avatar Oct 22 '25 14:10 seizan8

sensio/framework-extra-bundle is no longer supported by symfony 7.

The param converter could be replaced with a custom value resolver.

https://symfony.com/doc/current/controller/value_resolver.html#adding-a-custom-value-resolver

seizan8 avatar Oct 27 '25 09:10 seizan8