Skip to content

Releases: paragonie/random_compat

Version 1.4.3

04 Apr 21:50
v1.4.3
Compare
Choose a tag to compare
  • Fix version number in constant in lib/random.php
  • Upgrade your dependency from ^1 to ^1|^2 if you want other changes (i.e. better compatibility with type-safety), because the v2 branch is where most of the development effort is focused. Continued support for v1.x is considered "only for emergencies".

Version 2.0.11

27 Sep 21:46
v2.0.11
Compare
Choose a tag to compare
  • Minor docblock corrections.
  • Re-issuing a PHP Archive to attempt to address an issue with the Phar provided.
    See #134.

Version 2.0.10

13 Mar 16:28
v2.0.10
Compare
Choose a tag to compare
  • Mcrypt can now be used on PHP < 5.3.7 if you're not on Windows.
  • Minor boyscouting changes.

Version 1.4.2

13 Mar 16:25
v1.4.2
Compare
Choose a tag to compare

Backported changes from version 2:

  • Version 2.0.10 - 2017-03-13
    • Mcrypt can now be used on PHP < 5.3.7 if you're not on Windows.
  • Version 2.0.9 - 2017-03-03
    • More Psalm integration fixes.
  • Version 2.0.8 - 2017-03-03
    • Prevent function already declared error for random_int() caused by misusing
      the library (really you should only ever include lib/random.php and never any
      of the other files). See #125.
  • Version 2.0.6, 2.0.7 - 2017-02-27
    • Just updates to psalm.xml to silence false positives.
  • Version 2.0.5 - 2017-02-27
    • Run random_compat through the static analysis tool, psalm,
      as part of our continuous integration process.
    • Minor readability enhancements (#122
      and several docblock changes).
  • Version 2.0.4 - 2016-11-07
    • Don't unnecessarily prevent mcrypt_create_iv() from being used.
      See #111.
  • Version 2.0.3 - 2016-10-17
  • Version 2.0.2 - 2016-04-03
    • Added a consistency check (discovered by Taylor Hornby in his PHP encryption library). It wasn't likely causing any trouble for us.

Version 2.0.9

03 Mar 20:48
v2.0.9
Compare
Choose a tag to compare

More Psalm integration fixes.

Version 2.0.8

03 Mar 14:20
v2.0.8
Compare
Choose a tag to compare

Prevent function already declared error for random_int() caused by misusing the library (really you should only ever include lib/random.php and never any of the other files). See #125.

Version 2.0.7

27 Feb 17:14
v2.0.7
Compare
Choose a tag to compare

Apparently psalm locally works, but psalm on Travis CI likes to randomly fail to recognize that a constant exists when it does.

Yeah.... no.

I didn't bother updating the changelog. It's a ditto for 2.0.6.

Version 2.0.6

27 Feb 17:06
v2.0.6
Compare
Choose a tag to compare
  • Just an update to psalm.xml to silence false positives.

Version 2.0.5

27 Feb 16:50
v2.0.5
Compare
Choose a tag to compare
  • Run random_compat through the static analysis tool, psalm,
    as part of our continuous integration process.
  • Minor readability enhancements (#122
    and several docblock changes).

Version 2.0.4

07 Nov 23:42
v2.0.4
Compare
Choose a tag to compare
  • Don't unnecessarily prevent mcrypt_create_iv() from being used.
    See #111.

Please speak up if this change causes issues for you.