- The
Rollerworks\Component\SplitToken\SplitTokenFactory::fromString()method now also accepts aStringableobject orHiddenString. Unless a custom factory implementation is used this should not effect your code.
-
Support for PHP 8.1 and lower was dropped;
-
Now always uses Aragon2id instead of Aragon2i;
-
The
Argon2SplitTokenFactorynow expects aDateIntervalor string with a date-interval as second argument to constructor. Previously this required aDateTimeImmutable; -
The
SplitTokenFactory::generate()now allows aDateTimeImmutableorDateIntervalwhich is calculated relative to "now" or thenow()as provided by theClockInterface.Use
setClock()on the factory to set an active Clock instance, this is also the recommended way for using theFakeSplitTokenFactory().