Skip to content

Releases: paragonie/random_compat

Version 1.2.1

29 Feb 17:30
Compare
Choose a tag to compare

PHP 5.6.10 - 5.6.12 will hang when mcrypt is used on Unix-based operating systems (PHP bug 69833). If you are running one of these versions, please upgrade (or make sure /dev/urandom is readable) otherwise you're relying on OpenSSL.

Version 1.2.0

06 Feb 03:55
Compare
Choose a tag to compare
  • Whitespace and other cosmetic changes
  • Added a changelog.
  • We now ship with a command line utility to build a PHP Archive from the command line. Every time we publish a new release, we will also upload a .phar to Github. Our ECDSA public key is signed by our GPG key.

Version 1.1.6

29 Jan 16:22
Compare
Choose a tag to compare
  • Eliminate open_basedir warnings by detecting this configuration setting. (Thanks @oucil for reporting this.)
  • Added install instructions to the README.
  • Documentation cleanup (there is, in fact, no MCRYPT_CREATE_IV constant, I meant to write MCRYPT_DEV_URANDOM)

Version 1.1.5

07 Jan 14:41
Compare
Choose a tag to compare

Prevent fatal errors on platforms with older versions of libsodium.

Version 1.1.4

10 Dec 14:49
Compare
Choose a tag to compare

Thanks @narfbg for critiquing the previous patch and suggesting a fix.

Version 1.1.3

09 Dec 19:36
Compare
Choose a tag to compare

The test for COM in disabled_classes is now case-insensitive.

Version 1.1.2

09 Dec 17:26
Compare
Choose a tag to compare

Don't instantiate COM if it's a disabled class. Removes the E_WARNING on Windows.

Version 1.1.1

01 Dec 15:21
Compare
Choose a tag to compare

Fix a performance issue with /dev/urandom buffering.

Version 1.1.0

10 Nov 00:50
Compare
Choose a tag to compare

Fix performance issues with ancient versions of PHP on Windows, but dropped support for PHP < 5.4.1 without mcrypt on Windows 7+ in the process. Since this is a BC break, semver dictates a minor version bump.

Version 1.0.10

23 Oct 13:24
Compare
Choose a tag to compare
  • Avoid a performance killer with OpenSSL on Windows PHP 5.3.0 - 5.3.3 that was affecting WordPress users.
  • Use $var = null instead of unset($var) to avoid triggering the garbage collector and slowing things down.