Releases: arokettu/php-random-polyfill
Releases · arokettu/php-random-polyfill
1.0.1
- Rely on symfony/polyfill-php82 for interface implementations and Random\Engine\Secure (#6),
thanks to @nicolas-grekas
- Added compatibility with PHP regression fix: php/php-src#9839 (#5)
1.0.0
Since RC1/RC2 are compatible with last 4 release candidates of PHP 8.2 (RC2-RC5),
RC2 is re-released as stable.
- No user facing changes since RC2
1.0.0-rc2
- Speed up 32 bit calculations in 64 bit envs
1.0.0-rc1
Secure
engine throws RandomException
instead of Exception
- Added verification of the number of elements in serialized data
- Generated data is truncated to 64 bits in
Randomizer::getBytes()
- Fixed integer overflow in the upstream math lib
1.99.0
Empty release for PHP >= 8.2
1.0.0-beta1
- Fix incompatibility with PHP 8.2.0 RC1
0.5.0
Hopefully the last alpha
- Exceptions are now compatible in most known cases
- Full coverage
- GMP is now an optional dependency (but highly recommended)
0.4.0
- Verified compatibility with PHP 8.2.0 beta 3
- Tests ported from the PHP engine
- Various compatibility fixes
- Exceptions compatibility (mostly)
0.3.0
- Verified compatibility with PHP 8.2.0 beta 2
PcgOneseq128XslRr64
Xoshiro256StarStar
- Split
nextInt()
and getInt($min, $max)
like in beta 2