From 9904898feb07f0e17d2bbbb9e2e19bf0718178f5 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 8 Sep 2020 15:47:31 +0200 Subject: [PATCH] [5.x] Update upgrade guide (#885) * Update upgrade guide * Update * Update * Update UPGRADE.md Co-authored-by: Taylor Otwell --- CHANGELOG.md | 2 +- UPGRADE.md | 29 +++++++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93c9fa51..67250fb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) diff --git a/UPGRADE.md b/UPGRADE.md index ade5fc6c..87f1badb 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -3,6 +3,30 @@ 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 @@ -10,7 +34,7 @@ With every upgrade, make sure to publish Horizon's assets: 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 @@ -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.