- Replace Travis with Drone.io for CI.
- Drop tests for PHP < 7.2
- Add support for PHP 7.3
- Drop PHP < 5.6 support.
- Add support for PHP 7.2.
- Remove codeclimate test.
- Add PHPCS.
- Drop PHP5.3 support.
- Specify mt_srand algorithm to maintain backwards compatibility from PHP 7.1 to earlier versions.
- Initial stable release.
- Refactor BaseConvert class.
- Bump composer dependencies.
- Add
.gitattributes
file to exclude build assets from composer install.
- NiceID class now implements the NiceIdInterface.
- Throw
InvalidArgumentException
if theencode
/decode
method params are not of the correct type.
Warning: NiceIds generated with previous versions will not decode correctly in this version.
- Only pad string if
minLength
greater than 2. - Add _ (underscore) to characters string.
- Throw
LengthException
for PHP_MAX_INT overflow. - Shuffle NiceID in encode function to eliminate consecutive similiar chars.
- Initial release.