Skip to content

Releases: roukmoute/hashids-bundle

v3.1.0: Support dependencies for Symfony 6

09 Dec 14:23
Compare
Choose a tag to compare

v3.0.0

05 Dec 23:19
Compare
Choose a tag to compare
  • The internal functioning has been completely recoded.
  • PHP 8 support
  • Move internal Container configuration from XML to PHP
  • Removed the setMinHashLength() method
  • Removed the encodeWithCustomHashLength() method
  • New "auto_convert" option
  • The variable must be prefixed with _hash_ in order to be decoded

Add Symfony 5 compatibility

23 Dec 19:13
Compare
Choose a tag to compare
v2.3.1

Add Symfony 5 compatibility

v2.3.0: Switch from \twig_extension to AbstractExtension (#11)

28 Nov 23:37
Compare
Choose a tag to compare

Pass the root node name to TreeBuilder

03 Sep 13:59
Compare
Choose a tag to compare
Fixed configuration loading, deprecated since Symfony 4.2. (#9)

See: https://symfony.com/doc/4.2/components/config/definition.html#defining-a-hierarchy-of-configuration-values-using-the-treebuilder

getIdentifier() method must be of the type string

16 Apr 06:22
Compare
Choose a tag to compare
Fixed getIdentifier() must be of the type string (#7)

When `$configuration->getName()` is `null`, which is possible with the default `@ParamConverter` from `FrameworkExtraBundle` an exception will be thrown because `getIdentifier` requires a string as third param. 
Using `?string $name` is not allowed since the bundle should be compatible with php >= 7.1

`private function getIdentifier(Request $request, $options, string $name): string`

Allow autowiring

18 Mar 22:27
Compare
Choose a tag to compare

Use Hashids\HashidsInterface as alias to hashids service in order to allow autowiring.

v2.0.0

27 Mar 08:29
0b4896a
Compare
Choose a tag to compare

This release provides several improvements and fixes, including:

  • PHP 7.1+ requirement
  • Update all dependencies (remove all doctrine dependencies)
  • DoctrineParamConverter is not used anymore
  • This bundle only converts hashid into an id
  • Replace autowire with passthrough.
    This new parameter which allows to continue with the next param converters available.

Make `hashids` service public

20 Mar 13:28
Compare
Choose a tag to compare

Services are going to be private by default in Symfony 4.0.

Loosened symfony/http-kernel version restriction

15 Mar 23:14
Compare
Choose a tag to compare
v1.5.0

Loosened symfony/http--kernel version restriction (#4)