Skip to content

Releases: arokettu/monsterid

2.1.0

08 Sep 21:05
Compare
Choose a tag to compare

2.0.0 (discarded because of faulty random generation)

  • 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() and build_monster_gd()
  • New object methods: getImage, writeToStream(), getGdImage()
  • build() now triggers deprecation warning

2.1.0

  • Fixed random generation

1.3.0

07 Sep 17:18
Compare
Choose a tag to compare
  • 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 in 2.0 3.0

1.2.0

30 Jul 20:29
Compare
Choose a tag to compare
  • Changed base namespace to SandFox

1.1.1

03 Apr 20:54
Compare
Choose a tag to compare
  • Relicensed to MIT to sync with upstream [#1]
  • Shrinked zip package a bit by adding some development files to .gitattributes

1.1.0

12 Dec 05:02
Compare
Choose a tag to compare
  • Added Monster object for OOP style calls
  • Added protection from possible resource leaks
  • Bumped PHP requirement to 5.5 due fo usage of finally

1.0.2

10 Dec 05:25
Compare
Choose a tag to compare
  • Change composer library name from sandfox-im/monsterid to sandfoxme/monsterid
  • Change namespace from SandFoxIM\MonsterID to SandFoxMe\MonsterID

As the library seems unused currently, the old package will be just deleted from packagist

1.0.1

30 Oct 04:27
Compare
Choose a tag to compare

replaced one last missed die() with exception

1.0.0 "Halloween"

30 Oct 01:44
Compare
Choose a tag to compare

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