Skip to content

Commit

Permalink
- Changelog and README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
IndexZer0 committed Mar 8, 2024
1 parent 89affe1 commit 4f53042
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to `laravel-validation-provider` will be documented in this file.

## v2.1.0 - 2024-03-08
### Added
- Ability to define validation `rules`, `messages` and `attributes` by class properties.
- New core validation provider.
- `MapAttributesValidationProvider`.
- Fluent API.
- `map()`
- Documentation updates.

## v2.0.0 - 2024-03-05
### Added
- Fluent API.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ class ExcludeAttributesValidationProvider extends AbstractValidationProvider {}
$validationProvider = new ExcludeAttributesValidationProvider(
['one'],
new CustomValidationProvider([
'one' => ['required',],
'two' => ['required',]
'one' => ['required'],
'two' => ['required']
])
);
$validationProvider->rules();
Expand Down

0 comments on commit 4f53042

Please sign in to comment.