Version 2.4.0
The biggest change (besides unit testing) in this release is the optimization of Curve25519 field arithmetic by using object properties instead of an internal array. This skips some internal overhead in PHP (i.e., hash tables and memory allocation) that we ultimately never needed.
Beyond that, we mostly expanded our unit test coverage. We're running Infection to identify code that can be mutated without the test suite failing, and it's identified a lot of false positives but also some useful information. The end result? We've fixed a few bugs.
What's Changed
- Optimize curve25519 field element by removing array by @paragonie-security in https://github.com/paragonie/sodium_compat/pull/198
- Remove dead or redundant code of
Util::(strlen|substr)by @takaram in https://github.com/paragonie/sodium_compat/pull/201 - Improve Unit Testing Coverage by @paragonie-security in https://github.com/paragonie/sodium_compat/pull/200
- Bigfixes and Improved Test Coverage by @paragonie-security in https://github.com/paragonie/sodium_compat/pull/202
New Contributors
- @takaram made their first contribution in https://github.com/paragonie/sodium_compat/pull/201
Full Changelog: https://github.com/paragonie/sodium_compat/compare/v2.3.1...v2.4.0