- The
Rollerworks\Component\SplitToken\SplitTokenFactory::fromString()
method now also accepts aStringable
object 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
Argon2SplitTokenFactory
now expects aDateInterval
or string with a date-interval as second argument to constructor. Previously this required aDateTimeImmutable
; -
The
SplitTokenFactory::generate()
now allows aDateTimeImmutable
orDateInterval
which 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()
.