Jan 3, 2024
$string
parameter is mandatory- Added getResponse() method to build PSR-7 response object
- Removed all custom exceptions
Sep 7, 2023
- Added RNG compatible with the original implementation (DefaultV0Factory)
Dec 27, 2022
Forked from 2.3.0
- PHP 8.0 is now required
- The package was renamed to
arokettu/monsterid
- In newly published package the broken 2.0.0 version was skipped
- The namespace was changed to
Arokettu\MonsterID
- Deprecated
build()
method was removed - GD resources are now properly type hinted as classes
Sep 7, 2023
- Added RNG compatible with the original implementation (DefaultV0Factory)
Dec 27, 2022
- Fix crash in the autoloader
Dec 27, 2022
- Introduce future compatibility by supporting
Arokettu\MonsterID
namespace
Nov 26, 2022
- Custom sequence generators
- V1 compatible-ish
- Future compatible V3
- Current one is designated as V2
- Users can create a custom one, compatible with PHP ext-random
Nov 30, 2021
- Allow symfony/contracts v3
Sep 25, 2021
- The resource type is now properly checked before writing to it
Sep 8, 2021
- Fixed random generation
Sep 7, 2021
!!! Random generation in this version is terrible, please don't use it
Forked from 1.3.0
- PHP version bumped to 7.1
- New randomization algorithm that does not use
rand()
/srand()
functions and does not alter global random state. This algorithm will generate images that are different from 1.x results - Monster object is now immutable and serializable
- New functions:
stream_monster()
andbuild_monster_gd()
- New object methods:
getImage
,writeToStream()
,getGdImage()
build()
now triggers deprecation warning
Dec 27, 2022
- Introduce future compatibility by supporting
Arokettu\MonsterID
namespace
Sep 7, 2021
- Added default
$size
to the constructor for forward compatibility with 2.0 - Added
getImage()
method for forward compatibility with 2.0 - Deprecated
build()
method. It will be removed in2.03.0
Apr 9, 2019
- Changed base namespace to SandFox
Apr 3, 2018
- Relicensed to MIT to sync with upstream [Github#1]
- Shrinked zip package a bit by adding some development files to .gitattributes
Dec 12, 2017
- Added Monster object for OOP style calls
- Added protection from possible resource leaks
- Bumped PHP requirement to 5.5 due fo usage of
finally
Dec 10, 2017
- Change composer library name from
sandfox-im/monsterid
tosandfoxme/monsterid
- Change namespace from
SandFoxIM\MonsterID
toSandFoxMe\MonsterID
As the library seems unused currently, the old package will be just deleted from packagist
Oct 30, 2015
replaced one last missed die() with exception
Oct 30, 2015
Initial release
Main differences from vanilla MonsterID:
- function returns png image file content, not sends it to the user
- function is namespaced
- die()'s replaced with exceptions