Important: If you enable ext-sodium, some codecs will now be faster with our library: hex, base64, base64url. This requires the actual extension be installed; sodium_compat will not provide these implementations.
As with the recent sodium_compat release, this library now incorporates fuzz-testing and mutation testing as part of our development strategy. Fuzz testing is enabled on pull requests; mutation tests on releases.
The current metrics for a mutation test run (using the latest version of Infection):
1782 mutations were generated:
1470 mutants were killed by Test Framework
296 covered mutants were not detected
5 errors were encountered
11 time outs were encountered
Metrics:
Mutation Code Coverage: 100%
Covered Code MSI: 83%
We set the minimum MSI for covered code to 80% by policy, but will slowly be increasing it in future releases.
What's Changed
- Add parameter type to
Base32::doEncode()’s$padparameter by @TimWolla in #60 - Re-enable CI for Pull Requests by @TimWolla in #59
- Use ext-sodium (if available) to accelerate performance. by @paragonie-security in #61
- Test improvements (+PHP 8.5) by @paragonie-security in #62
Full Changelog: v3.0.0...v3.1.0