From 4a577078e82a3b91b3d4a5b64efb071cc7dee7f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Mon, 27 Jun 2022 09:06:05 +0200 Subject: [PATCH] Add upgrade notes for 4.x (#689) Add upgrade notes --- UPGRADE.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index f1a9d689a..f3caea7d6 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,3 +1,16 @@ +# From 3.x to 4.x + +- Bump to PHP 8.1 #613 +- Remove the build command (#623): the `build` command has been deprecated since 3.0.0 in favour of `compile`. +- Remove support for legacy compactors (#626). Here are the replacements: + - `Herrera\Box\Compactor\Json` -> `KevinGH\Box\Compactor\Json` + - `Herrera\Box\Compactor\Php` -> `KevinGH\Box\Compactor\Php` +- Drop PHP5.3 support for the RequirementChecker - new min is 7.2.4+ (#674). This is to align the project with Composer. + It is technically possible to restore support for PHP5.3 but requires some work, see + https://github.com/box-project/box/issues/656#issuecomment-1164471935. +- Require sodium & Remove sodium compat layer (#628) + + # From 3.1.3 to 3.2.0 - Changes to the `Php` compactor: