All notable changes to this project will be documented in this file, in reverse chronological order by release.
2.1.0 - 2020-09-09
- Allow installing with PHP 8 (#20).
2.0.0 - 2018-12-30
- PHP 7.1 is now minimum requirement
- All methods have return types
- All methods are typehinted
- All type juggling is removed
1.0.1 - 2018-12-27
- The unused and undocumented second parameter from static proxy methods. Parameter was accidentally forgotten into the code. This could be considered a BC break. However since there have been practically no installs for 1.0.0 yet I doubt this will break anyones code.
1.0.0 - 2018-12-20
- Tests are now run with all character sets (#14).
0.11.1 - 2018-09-11
- GMP driver output was not matching others when binary data had leading 0x00 (#13).
0.11.0 - 2018-09-05
0.10.0 - 2018-03-28
- The
decode()
anddecodeInteger()
methods now throwInvalidArgumentException
if the input string contains invalid characters (#6). - Constructor now throws
InvalidArgumentException
if given character set is invalid (#7).
0.9.0 - 2017-10-09
- Implicit
decodeInteger()
andencodeInteger()
methods.
- PHP encoder was returning returning wrong output when encoding integers and the float representation of the integer was wider than 53 bits. If your application uses big integers and PHP encoder only might be BC issues with
0.8.0
. GMP and BCMath encoders were not affected.
0.8.0 - 2017-03-12
This release is not compatible with 0.7.0
. Object syntax is now default. A quick way to upgrade is to add the following to your code:
use Tuupola\Base62Proxy as Base62;
- Possibility to use custom character sets.
- Static proxy for those who want to use static syntax
use Tuupola\Base62Proxy as Base62; Base62::decode("foo");
0.7.0 - 2016-10-09
- Allow using object syntax, for example
$base62->decode("foo")
. - Optional BCMath encoder. Mostly a curiosity since it is slower than pure PHP encoder.
0.6.0 - 2016-05-06
- Encode integers as integers. Before they were cast as strings before encoding.
Initial realese.