From 8926e7e708cdc965f1ee9e124f90b72553a8c156 Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 20 Oct 2017 22:46:01 +0200 Subject: [PATCH] Improve general upgrade guide in migration notes --- Migration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Migration.md b/Migration.md index 5b5aa62..7c40afb 100644 --- a/Migration.md +++ b/Migration.md @@ -16,6 +16,12 @@ Update your version of this library via Composer [[?]](https://github.com/deligh $ composer update delight-im/auth ``` +If you want to perform a major version upgrade (e.g. from version `1.x.x` to version `2.x.x`), the version constraints defined in your `composer.json` [[?]](https://github.com/delight-im/Knowledge/blob/master/Composer%20(PHP).md) may not allow this. In that case, just add the dependency again to overwrite it with the latest version (or optionally with a specified version): + +``` +$ composer require delight-im/auth +``` + ## From `v6.x.x` to `v7.x.x` * The method `logOutButKeepSession` from class `Auth` is now simply called `logOut`. Therefore, the former method `logout` is now called `logOutAndDestroySession`. With both methods, mind the capitalization of the letter “O”.