Skip to content

Releases: sowrensen/svg-avatar-generator

v2.0.0

22 Mar 06:43
Compare
Choose a tag to compare
  • Supports Laravel 11 and onwards only.
  • New validator for foreground and gradient_colors config.
  • Dropped support for named colors, e.g. red, green in foreground and gradient_colors.
  • Use rules() static method instead of $rules property to define validation rules.
  • New GradientColorSet rule class to validate gradient colors structure.

v1.4.3

19 Mar 14:13
Compare
Choose a tag to compare
  • Separate workflow and branch for Laravel 11.
  • Fixed typo in files.

v1.4.2

05 Mar 07:06
1bf9547
Compare
Choose a tag to compare
  • Use laravel validation instead of manually checking configs.
  • Added ConfigValidator class to define and perform validations.
  • Changed modifiers for $config and $extractor in SvgAvatarGenerator class.
  • Removed stale exception classes.
  • Laravel 11 github workflows.

v1.4.1

28 Feb 14:13
7bc13a9
Compare
Choose a tag to compare
  • Laravel 11 support

v1.4.0

02 May 08:38
Compare
Choose a tag to compare
  • Support for custom fonts.
  • New keys custom_font_url and font_family in config.
  • Moved font family config to font-family.blade.php file.

v1.3.1

01 Apr 16:31
Compare
Choose a tag to compare
  • Revert Shape::CIRCLE back as default shape which was changed to Shape::RECTANGLE by mistake.

v1.3.0

24 Mar 10:31
b72d1fd
Compare
Choose a tag to compare
  • Support for rounded corners.
  • Support for route middleware.
  • New keys corner_radius and middleware in config.

v1.2.0

14 Mar 08:22
5ae3668
Compare
Choose a tag to compare
  • Support for custom extractor.
  • New key extractor in svg-avatar config.

v1.1.0

01 Mar 13:06
Compare
Choose a tag to compare
  • Support for setting multiple sets of gradient colors.
  • Random gradient generation from defined presets in config.
  • setGradientColors() method on SvgAvatarGenerator class now accepts multiple integer/array arguments.
  • Option to set gradient stops via setGradientStops() method.
  • New $gradientSet attribute—with related getters and setters—which holds the randomly picked gradient set.
  • Use blade templates to create SVG instead of PHP heredoc.
  • New render() method on Shape enum class.
  • Moved some helper methods to Tool trait.

v1.0.0

17 Feb 08:00
e4d6a01
Compare
Choose a tag to compare

Initial release