diff --git a/CHANGELOG.md b/CHANGELOG-1.x.md similarity index 81% rename from CHANGELOG.md rename to CHANGELOG-1.x.md index bb8d448..764e801 100644 --- a/CHANGELOG.md +++ b/CHANGELOG-1.x.md @@ -1,12 +1,6 @@ # Changelog -All notable changes to `svg-avatar-generator` will be documented in this file. - -## 1.4.3 - -- New validator for `foreground` and `gradient_colors` config. -- Use `rules()` static method instead of `$rules` property to define validation rules. -- New `GradientColorSet` rule class to validate gradient colors structure. +All notable changes to `svg-avatar-generator` **v1.x** will be documented in this file. ## 1.4.2 diff --git a/CHANGELOG-2.x.md b/CHANGELOG-2.x.md new file mode 100644 index 0000000..6e6537c --- /dev/null +++ b/CHANGELOG-2.x.md @@ -0,0 +1,11 @@ +# Changelog + +All notable changes to `svg-avatar-generator` **v2.x** will be documented in this file. + +## 2.0.0 + +- Laravel 11 supports 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. diff --git a/README.md b/README.md index 9f13489..432a41c 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ Well, this one has some subtle but nifty advantages over available packages, her ## Requirements -- PHP >= 8.1 -- Laravel >= 9.0 +- PHP >= 8.2 +- Laravel >= 11.0 ## Installation @@ -44,7 +44,7 @@ Optionally, you can publish the config file with: ```bash php artisan vendor:publish --tag="svg-avatar-generator-config" ``` -> [!WARNING] +> [!IMPORTANT] > You should republish the config file after updating. ## Usage @@ -78,7 +78,7 @@ class User extends Model } ``` -> [!NOTE] +> [!TIP] > If your accessor is different from the original attribute, you might want to put it in `$appends` array so > that it loads automatically with your model. @@ -161,7 +161,7 @@ composer test ## Changelog -Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. +Please see respective `CHANGELOG-x.x` file for more information on what has changed recently. ## License