All Versions
53
Latest Version
Avg Release Cycle
127 days
Latest Release
1576 days ago

Changelog History
Page 4

  • v1.1.3 Changes

    December 09, 2015

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

  • v1.1.2 Changes

    December 09, 2015

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

  • v1.1.1 Changes

    November 30, 2015

    ๐Ÿ›  Fix a performance issue with /dev/urandom buffering.

  • v1.1.0 Changes

    November 09, 2015

    ๐Ÿ›  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.

  • v1.0.10 Changes

    October 23, 2015
    • ๐ŸŽ 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.
  • v1.0.9 Changes

    October 20, 2015

    There is an outstanding issue mcrypt_create_iv() and PHP 7's random_bytes() ๐Ÿ on Windows reported by @nicolas-grekas caused by proc_open() and environment variable handling (discovered by Appveyor when developing Symfony).

    Since the break is consistent, it's not our responsibility to fix it, but we ๐Ÿ‘ป should fail the same way PHP 7 will (i.e. throw an Exception rather than raise ๐Ÿ‘ป an error and then throw an Exception).

  • v1.0.8 Changes

    October 18, 2015
    • ๐Ÿ›  Fix usability issues with Windows (new COM('CAPICOM.Utilities.1') is not always available).
    • โœ… You can now test all the possible drivers by running phpunit.sh each in the tests directory.
  • v1.0.7 Changes

    October 16, 2015

    ๐Ÿ›  Several large integer handling bugfixes were contributed by @oittaa.

  • v1.0.6 Changes

    October 15, 2015

    Don't let the version number fool you, this was a pretty significant change.

    ๐Ÿ‘ 1. Added support for ext-libsodium, if it exists on the system. This is morally equivalent to adding getrandom(2) support without having to expose the syscall interface in PHP-land.

    1. Relaxed open_basedir restrictions. In previous versions, if open_basedir was set, PHP wouldn't even try to read from /dev/urandom. Now it will still do so if you can. ๐Ÿ›  3. Fixed integer casting inconsistencies between random_compat and PHP 7.
    2. Handle edge cases where an integer overflow turns one of the parameters into a float.

    One change that we discussed was making random_bytes() and random_int() strict typed; meaning you could only pass integers to either function. While most veteran programmers are probably only doing this already (we strongly encourage it), it wouldn't be consistent with how these functions behave in PHP

    1. Please use these functions responsibly.

    ๐Ÿš€ We've had even more of the PHP community involved in this release; the โšก๏ธ contributors list has been updated. If I forgot anybody, I promise you it's not because your contributions (either code or ideas) aren't valued, it's because I'm a bit overloaded with information at the moment. Please let me know immediately and I will correct my oversight.

    ๐Ÿ‘ Thanks everyone for helping make random_compat better.

  • v1.0.5 Changes

    October 08, 2015

    Got rid of the methods in the Throwable interface, which was causing problems ๐Ÿ‘ on PHP 5.2. While we would normally not care about 5.2 (since 5.4 and earlier are EOL'd), we do want to encourage widespread adoption (e.g. Wordpress).