Repository navigation
3.0.0
Version 3 drops support for older PHP versions, and lays the groundwork for upcoming ones.
Upgrading
The only necessary change is to replace static method calls to Algorithm to constant names; e.g. Algorithm::HMAC_SHA_256() becomes Algorithm::HMAC_SHA_256.
See UPGRADING.md
BC Breaks
- Algorithm is no longer a fake-enum. This should allow an easier upgrade path to supporting native enums in PHP 8.1
- PHP < 7.4 is no longer supported
Other Changes
- A lot of type information has been cleaned up
- Tests and other non-core files should no longer ship with installed version