From de0b34984b32b9304a5036d3863896c02765eb82 Mon Sep 17 00:00:00 2001 From: Sowren Sen <80112748+nemoitis@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:00:42 +0600 Subject: [PATCH] updated changelog and cleanup --- CHANGELOG.md | 12 ++++++++++++ src/Exceptions/InvalidCornerRadius.php | 11 ----------- src/Exceptions/InvalidFontSizeException.php | 11 ----------- src/Exceptions/InvalidGradientRotationException.php | 11 ----------- src/Exceptions/InvalidGradientStopException.php | 13 ------------- src/Exceptions/InvalidSvgSizeException.php | 11 ----------- src/Exceptions/InvalidUrlException.php | 11 ----------- src/Exceptions/MissingTextException.php | 11 ----------- 8 files changed, 12 insertions(+), 79 deletions(-) delete mode 100644 src/Exceptions/InvalidCornerRadius.php delete mode 100644 src/Exceptions/InvalidFontSizeException.php delete mode 100644 src/Exceptions/InvalidGradientRotationException.php delete mode 100644 src/Exceptions/InvalidGradientStopException.php delete mode 100644 src/Exceptions/InvalidSvgSizeException.php delete mode 100644 src/Exceptions/InvalidUrlException.php delete mode 100644 src/Exceptions/MissingTextException.php diff --git a/CHANGELOG.md b/CHANGELOG.md index a44a81c..d990415 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to `svg-avatar-generator` will be documented in this file. +## 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. diff --git a/src/Exceptions/InvalidCornerRadius.php b/src/Exceptions/InvalidCornerRadius.php deleted file mode 100644 index 065df0c..0000000 --- a/src/Exceptions/InvalidCornerRadius.php +++ /dev/null @@ -1,11 +0,0 @@ -