From 575042b418d15fddb7e59938372ddf86fd8b8387 Mon Sep 17 00:00:00 2001 From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com> Date: Fri, 24 May 2024 10:28:46 -0300 Subject: [PATCH 1/2] Update UPGRADE.md --- UPGRADE.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index 104557e..23f5920 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,8 +1,13 @@ -# Yii Rate Limiter Middleware Upgrading Instructions +# Upgrading Instructions for Yii Rate Limiter Middleware -This file contains notes that highlight changes that could break your application when you upgrade it from one major version to another. +This file contains the upgrade notes. These notes highlight changes that could break your +application when you upgrade the package from one version to another. -## 2.0.0 +> **Important!** The following upgrading instructions are cumulative. That is, if you want +> to upgrade from version A to version C and there is version B between A and C, you need +> to following the instructions for both A and B. + +## Upgrade from 1.x to 2.0.0 In order to switch from version 1 to version 2 you need to update initialization code: From dc83d5dee4d4e7ceb45f7b99f7e700978fbb24a9 Mon Sep 17 00:00:00 2001 From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com> Date: Fri, 24 May 2024 12:49:57 -0300 Subject: [PATCH 2/2] Update UPGRADE.md Co-authored-by: Sergei Predvoditelev --- UPGRADE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADE.md b/UPGRADE.md index 23f5920..4c062f9 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -7,7 +7,7 @@ application when you upgrade the package from one version to another. > to upgrade from version A to version C and there is version B between A and C, you need > to following the instructions for both A and B. -## Upgrade from 1.x to 2.0.0 +## Upgrade from 1.x In order to switch from version 1 to version 2 you need to update initialization code: