@weierophinney weierophinney released this Dec 4, 2018 · 1 commit to master since this release

Assets 2

Added

  • #40 adds support for PHP 7.3.

  • #38 adds support for paragonie/random_compat 9.99.99.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

@weierophinney weierophinney released this Dec 4, 2018 · 128 commits to master since this release

Assets 2

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #37 adds the static method isSupported to the Zend\Math\Source\HashTiming
    class, to ensure it fulfills the RandomLib\Source interface from version 2.7
    and up.

@weierophinney weierophinney released this Jul 10, 2018 · 24 commits to master since this release

Assets 2

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #34 fixes the docblock for Rand::getFloat to indicate that the bottom boundary
    can include 0.

  • #36 removes all references to ircmaxell/random-lib from the component. While
    it was no longer used internally, references still existed that caused confusion for
    some users.

@weierophinney weierophinney released this Apr 26, 2018 · 43 commits to master since this release

Assets 2

Added

  • #31 adds support for PHP 7.1 and 7.2.

Changed

  • #33 modifies the Bcmath BigInteger class to no longer change the global
    bcscale, but instead send the 0 scale value explicitly to each bcmath operation. This prevents
    side effects when using bcmath in other scenarios.

  • #29 modifies how caught exceptions are re-thrown; all such cases now provide
    the original exception as the previous exception.

Deprecated

  • Nothing.

Removed

  • #31 removes support for PHP 5.5.

  • #31 removes support for HHVM.

Fixed

  • Nothing.

@weierophinney weierophinney released this Apr 28, 2016 · 107 commits to master since this release

Assets 2

This version contains a number of changes to required dependencies, error handling, and internals; please read the migration document for full details.

Added

Deprecated

  • Nothing.

Removed

  • #18 removes the
    $strong optional parameter from the following methods, as the component now
    ensures a cryptographically secure pseudo-random number generator is always
    used:
    • Rand::getBytes($length)
    • Rand::getBoolean()
    • Rand::getInteger($min, $max)
    • Rand::getFloat()
    • Rand::getString($length, $charlist = null)
  • #18 removes the
    requirement on ircmaxell/random-lib, in favor of paragonie/random_compat (as
    noted above); this also resulted in the removal of:
    • direct usage of mcrypt (this is delegated to paragonie/random_compat)
    • direct usage of /dev/urandom or COM (this is delegated to
      random_bytes() and/or paragonie/random_compat)
    • Zend\Math\Source\HashTiming, as it was used only with RandomLib.

Fixed

  • #18 updates the code to
    replace usage of substr() and strlen() with mb_substr() and
    mb_strlen(); these ensure that all string manipulations within the component
    remain binary safe.

@ezimuel ezimuel released this Apr 7, 2016 · 128 commits to master since this release

Assets 2

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #16 updates
    Zend\Math\Rand to use PHP 7's random_bytes() and random_int() or mcrypt
    when detected, and fallback to ircmaxell/RandomLib otherwise, instead of using
    openssl. This provides more cryptographically secure pseudo-random generation.