Skip to content

Commit 56d27a0

Browse files
authored
improve markdown
1 parent ad99428 commit 56d27a0

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,71 +2,76 @@
22

33
## Next release
44

5-
65
## 2.1.0 - 2020-04-08 - minor release
76

87
### Added
9-
- Implementation of the `Castable` interface of Laravel 7.5
108

9+
- Implementation of the `Castable` interface of Laravel 7.5
1110

1211
## 2.0.0 - 2020-03-29 - major release
1312

1413
### Added
14+
1515
- Laravel 7.x support
1616
- Laravel 7 custom casts
1717
- `Configurable`-trait for enums
1818

1919
### Changed
20+
2021
- Dropped Support for version of Laravel lower than 7.0
2122
- Dropped Support for versions of PHP lower than 7.3
2223
- Removed `HasEnums`-trait in favor of custom casts
2324
- Removed possibility to set weight path by static property to prevent notices when accessing undefined properties
2425

25-
2626
## 1.3.0 - 2019-08-31 - minor release
2727

2828
### Added
29+
2930
- weighted enums
3031

3132
### Changed
32-
- various fixes regarding the readme
3333

34+
- various fixes regarding the readme
3435

3536
## 1.2.0 - 2019-07-24 - minor release
3637

3738
### Changed
39+
3840
- `__toString` has proper return type hint
3941
- Dependencies now properly allow laravel 5.7+
4042

4143
### Added
44+
4245
- `is(EnumValue)` method to `Enumeration` (#2)
4346
- `is<EnumValue>()` methods to `Enumeration` via `__call` (#2)
4447

45-
4648
## 1.1.0 - 2019-04-04 - minor release
4749

4850
### Fixed
51+
4952
- the `lint:phpmd`-script no longer searches for a non existing directory
5053
- localization for the `EnumerationValue`-message
5154

5255
### Changed
56+
5357
- `__toString` now returns the value and not the key of the member
5458

5559
### Added
60+
5661
- `defaultMember` method to `Enumeration`
5762
- `HasEnums` trait for laravel models
5863

59-
6064
## 1.0.1 - 2019-03-07 - patch release
6165

6266
### Fixed
67+
6368
- return type hint in doc block for `makeRuleWithWhitelist` in `Sourceboat\Enumeration\Enumeration`
6469
- typo in readme
6570

66-
6771
## 1.0.0 - 2019-03-06 - inital release
6872

6973
### Added
74+
7075
- abstract enumeration class
7176
- rule for validation
7277
- command to generate enum: `artisan make:enum`

0 commit comments

Comments
 (0)