Skip to content

Commit

Permalink
updated changelog and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nemoitis committed Mar 19, 2024
1 parent 29b0144 commit 9216f54
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
8 changes: 1 addition & 7 deletions CHANGELOG.md → CHANGELOG-1.x.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG-2.x.md
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9216f54

Please sign in to comment.