Skip to content

Commit c310688

Browse files
Added reference to EnumInterface BCs in v4
1 parent d0735b5 commit c310688

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- Dropped PHP 8.0 support
88
- Dropped Enum v3 Support
99
- Changed minimum Enum version to v4.1
10-
- Changed all enum interfaces to extend the root `EnumInterface`
10+
- BC: Changed all enum interfaces to extend the root `EnumInterface`
1111
- BC: added the `iso2Code()` and the `getName()` methods to the `Country` interface
1212
- Added firstname, lastname, company_name, email, phone, address2, access_code, tax_nr and registration_nr fields to the Address table/model
1313

docs/upgrade.md

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ The new minimal requirements are:
88
- Laravel 10
99
- Enum 4.1
1010

11+
### Enum Interface
12+
13+
The `AddressType`, `Gender`, `NameOrder`, `ProvinceType`, `ZoneMemberType`, and `ZoneScope`
14+
interfaces now extend the v4.1 `EnumInterface`, meaning they have more methods than before.
15+
16+
It's almost certain that you don't need to do anything with it, because the base Enum class
17+
implements those methods anyway. Regardless of that, it's a breaking change.
18+
1119
## 1.x -> 2.x
1220

1321
The new minimal requirements are:

0 commit comments

Comments
 (0)