Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Update upgrade guide #885

Merged
merged 4 commits into from
Sep 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.