Skip to content

Commit 1474ad5

Browse files
committed
Document some 5.8 breaking changes
1 parent 6bad852 commit 1474ad5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

upgrade.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,22 @@ The `firstWhere` method signature [has changed](https://github.com/laravel/frame
4949
*/
5050
public function firstWhere($key, $operator = null, $value = null);
5151

52+
### Console
53+
54+
#### The `Kernel` Contract
55+
56+
**Likelihood Of Impact: Very Low**
57+
58+
The `terminate` method [has been added to the `Illuminate/Contracts/Console/Kernel` contract](https://github.com/laravel/framework/pull/26393). If you are implementing this interface, you should add this method to your implementation.
59+
60+
### Container
61+
62+
#### The `Container` Contract
63+
64+
**Likelihood Of Impact: Very Low**
65+
66+
[The `Illuminate\Contracts\Container\Container` contract](https://github.com/laravel/framework/pull/26378) now extends the `ArrayAccess` contract. If you are implementing the `Container` interface, your implementation should now also satisfy the `ArrayAccess` contract.
67+
5268
### Database
5369

5470
#### Unquoted MySQL JSON Values
@@ -75,6 +91,21 @@ As a result, the `->>` operator is no longer supported or necessary.
7591

7692
As of Laravel 5.8 the [oldest supported SQLite version](https://github.com/laravel/framework/pull/25995) is SQLite 3.7.11. If you are using an older SQLite version, you should update it (SQLite 3.8.8+ is recommended).
7793

94+
### Eloquent
95+
96+
#### The `originalIsEquivalent` Method
97+
98+
**Likelihood Of Impact: Very Low**
99+
100+
The `originalIsEquivalent` method of the `Illuminate\Database\Eloquent\Concerns\HasAttributes` trait [has been changed](https://github.com/laravel/framework/pull/26391) from `protected` to `public`.
101+
102+
### Events
103+
104+
#### The `fire` Method
105+
106+
The `fire` method (which was deprecated in Laravel 5.4) of the `Illuminate/Events/Dispatcher` class [has been removed](https://github.com/laravel/framework/pull/26392).
107+
Use the `dispatch` method instead.
108+
78109
### Exception Handling
79110

80111
#### The `ExceptionHandler` Contract

0 commit comments

Comments
 (0)