Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.55 KB

CHANGELOG-1.x.md

File metadata and controls

56 lines (37 loc) · 1.55 KB

Changelog

All notable changes to svg-avatar-generator v1.x will be documented in this file.

1.4.3

  • Separate workflow and branch for Laravel 11.
  • Fixed typo in files.

1.4.2

  • 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.

1.4.1

  • Laravel 11 support.

1.4.0

  • Support for custom fonts.
  • New keys custom_font_url and font_family in config.
  • Moved font family config to font-family.blade.php file.

1.3.1

  • Revert Shape::CIRCLE back as default shape which was changed to Shape::RECTANGLE by mistake.

1.3.0

  • Support for rounded corners.
  • Support for route middleware.
  • New keys corner_radius and middleware in config.

1.2.0

  • Support for custom extractor.
  • New key extractor in svg-avatar config.

1.1.0

  • 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.

1.0.0

  • Initial release