Skip to content

Commit

Permalink
[5.x] Update upgrade guide (#885)
Browse files Browse the repository at this point in the history
* Update upgrade guide

* Update

* Update

* Update UPGRADE.md

Co-authored-by: Taylor Otwell <[email protected]>
  • Loading branch information
driesvints and taylorotwell authored Sep 8, 2020
1 parent c1541f0 commit 9904898
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

### Changed
- Switch from Chronos to Carbon ([#826](https://github.com/laravel/horizon/pull/826))
- Rename `retryUntil` to `backoff` ([6d00eb9](https://github.com/laravel/horizon/commit/6d00eb9b80a599d3ac403108b7a8d65629af2c59))
- Rename `timeoutAt` to `retryUntil` & `delay` to `backoff` ([6d00eb9](https://github.com/laravel/horizon/commit/6d00eb9b80a599d3ac403108b7a8d65629af2c59))
- Bump minimum PHP version to PHP 7.3 ([ca9ddda](https://github.com/laravel/horizon/commit/ca9dddacdf1b08ef5ba494d1a954c79a52c7ab9a))
- Merge tags from payload ([#843](https://github.com/laravel/horizon/pull/843))

Expand Down
29 changes: 27 additions & 2 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,38 @@
With every upgrade, make sure to publish Horizon's assets:

php artisan horizon:publish


## Upgrading To 5.0 From 4.x

### Minimum PHP Version

PHP 7.3 is now the minimum required version.

### Minimum Laravel Version

Laravel 8.0 is now the minimum required version.

### Chronos Replaced By Carbon

PR: https://github.com/laravel/horizon/pull/826

The internal usage of Chronos has been replaced by Carbon to be consistent with the rest of the Laravel ecosystem.

### `timeoutAt` & `delay` Flags Deprecated

PR: https://github.com/laravel/horizon/commit/6d00eb9b80a599d3ac403108b7a8d65629af2c59

`timeoutAt` has been deprecated in favor of `retryUntil`, while `delay` has been deprecated in favor of `backoff`. See the related Laravel PR for more information: https://github.com/laravel/framework/pull/32728


## Upgrading To 4.0 From 3.x

### Minimum Laravel Version

PR: https://github.com/laravel/horizon/pull/710

Laravel 7.0 is now the minimum supported version of the framework.
Laravel 7.0 is now the minimum required version of the framework.

### Predis No Longer Required

Expand All @@ -30,8 +54,9 @@ PR: https://github.com/laravel/horizon/pull/696

The `horizon:assets` command has been renamed to `horizon:publish` to be similar to other first party packages.


## Upgrading To 3.0 From 2.x

### Minimum Laravel version

Laravel 5.7 is now the minimum supported version of the framework and you should upgrade to continue using Horizon.
Laravel 5.7 is now the minimum required version of the framework and you should upgrade to continue using Horizon.

0 comments on commit 9904898

Please sign in to comment.