Skip to content

Releases: paragonie/constant_time_encoding

Version 3.1.3

24 Sep 15:08
v3.1.3
d5b01a3

Choose a tag to compare

This release fixes a bug with base64 codecs when ext-sodium installed.

What's Changed

New Contributors

Full Changelog: v3.1.2...v3.1.3

Version 3.1.2

24 Sep 01:23
v3.1.2
5bd79e0

Choose a tag to compare

Thanks @TimWolla for identifying a performance hit caused by attempting to find global functions such as strlen() in the current namespace before the global namespace.

What's Changed

Full Changelog: v3.1.1...v3.1.2

Version 2.8.2

24 Sep 15:13
v2.8.2
e30811f

Choose a tag to compare

Backported fix from https://github.com/paragonie/constant_time_encoding/releases/tag/v3.1.3

What's Changed

Full Changelog: v2.8.1...v2.8.2

Version 2.8.1

24 Sep 01:41
v2.8.1
e6352b9

Choose a tag to compare

I'm going to continue backporting important fixes to v2.x for PHP 7 support while there is still significant v2 usage.

What's Changed

Full Changelog: v2.8.0...v2.8.1

Version 3.1.1

22 Sep 21:01
v3.1.1

Choose a tag to compare

What's Changed

  • Remove mbstring.func_overload compatibility layer by @TimWolla in #58
  • Fixed #27 by making the test less redundant.

Full Changelog: v3.1.0...v3.1.1

Version 3.1.0

22 Sep 20:09
v3.1.0

Choose a tag to compare

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

Full Changelog: v3.0.0...v3.1.0

Version 2.8.0

22 Sep 20:43
v2.8.0
ce27936

Choose a tag to compare

This release backports the ext-sodium performance enhancement from v3.1.0.

What's Changed

Full Changelog: v2.7.0...v2.8.0

Version 3.0.0

08 May 12:37
v3.0.0

Choose a tag to compare

  • New major bump due to increased minimum PHP requirements (from PHP 7 to PHP 8)
  • Supports PHP 8.4 without deprecation warnings for implicit null

Version 2.7.0

08 May 12:21
v2.7.0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.6.3...v2.7.0

Version 2.6.3

14 Jun 06:59
v2.6.3

Choose a tag to compare

  • #40 - Improved performance of Hex
  • #43 / #46 - Add .gitattributes to .gitattributes
  • #41 - Consistent use of \ global namespace qualifiers