From 8cbd10ba7e5d5e5edb5be5e52e6b42e1cc841942 Mon Sep 17 00:00:00 2001 From: Luiz Marin <67489841+luizcmarin@users.noreply.github.com> Date: Sat, 25 May 2024 03:55:30 -0300 Subject: [PATCH] Update UPGRADE.md (#64) * Update UPGRADE.md * Update UPGRADE.md Co-authored-by: Sergei Predvoditelev --------- Co-authored-by: Sergei Predvoditelev --- UPGRADE.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index 104557e..4c062f9 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 In order to switch from version 1 to version 2 you need to update initialization code: