|
2 | 2 |
|
3 | 3 | ## Next release
|
4 | 4 |
|
5 |
| - |
6 | 5 | ## 2.1.0 - 2020-04-08 - minor release
|
7 | 6 |
|
8 | 7 | ### Added
|
9 |
| -- Implementation of the `Castable` interface of Laravel 7.5 |
10 | 8 |
|
| 9 | +- Implementation of the `Castable` interface of Laravel 7.5 |
11 | 10 |
|
12 | 11 | ## 2.0.0 - 2020-03-29 - major release
|
13 | 12 |
|
14 | 13 | ### Added
|
| 14 | + |
15 | 15 | - Laravel 7.x support
|
16 | 16 | - Laravel 7 custom casts
|
17 | 17 | - `Configurable`-trait for enums
|
18 | 18 |
|
19 | 19 | ### Changed
|
| 20 | + |
20 | 21 | - Dropped Support for version of Laravel lower than 7.0
|
21 | 22 | - Dropped Support for versions of PHP lower than 7.3
|
22 | 23 | - Removed `HasEnums`-trait in favor of custom casts
|
23 | 24 | - Removed possibility to set weight path by static property to prevent notices when accessing undefined properties
|
24 | 25 |
|
25 |
| - |
26 | 26 | ## 1.3.0 - 2019-08-31 - minor release
|
27 | 27 |
|
28 | 28 | ### Added
|
| 29 | + |
29 | 30 | - weighted enums
|
30 | 31 |
|
31 | 32 | ### Changed
|
32 |
| -- various fixes regarding the readme |
33 | 33 |
|
| 34 | +- various fixes regarding the readme |
34 | 35 |
|
35 | 36 | ## 1.2.0 - 2019-07-24 - minor release
|
36 | 37 |
|
37 | 38 | ### Changed
|
| 39 | + |
38 | 40 | - `__toString` has proper return type hint
|
39 | 41 | - Dependencies now properly allow laravel 5.7+
|
40 | 42 |
|
41 | 43 | ### Added
|
| 44 | + |
42 | 45 | - `is(EnumValue)` method to `Enumeration` (#2)
|
43 | 46 | - `is<EnumValue>()` methods to `Enumeration` via `__call` (#2)
|
44 | 47 |
|
45 |
| - |
46 | 48 | ## 1.1.0 - 2019-04-04 - minor release
|
47 | 49 |
|
48 | 50 | ### Fixed
|
| 51 | + |
49 | 52 | - the `lint:phpmd`-script no longer searches for a non existing directory
|
50 | 53 | - localization for the `EnumerationValue`-message
|
51 | 54 |
|
52 | 55 | ### Changed
|
| 56 | + |
53 | 57 | - `__toString` now returns the value and not the key of the member
|
54 | 58 |
|
55 | 59 | ### Added
|
| 60 | + |
56 | 61 | - `defaultMember` method to `Enumeration`
|
57 | 62 | - `HasEnums` trait for laravel models
|
58 | 63 |
|
59 |
| - |
60 | 64 | ## 1.0.1 - 2019-03-07 - patch release
|
61 | 65 |
|
62 | 66 | ### Fixed
|
| 67 | + |
63 | 68 | - return type hint in doc block for `makeRuleWithWhitelist` in `Sourceboat\Enumeration\Enumeration`
|
64 | 69 | - typo in readme
|
65 | 70 |
|
66 |
| - |
67 | 71 | ## 1.0.0 - 2019-03-06 - inital release
|
68 | 72 |
|
69 | 73 | ### Added
|
| 74 | + |
70 | 75 | - abstract enumeration class
|
71 | 76 | - rule for validation
|
72 | 77 | - command to generate enum: `artisan make:enum`
|
0 commit comments