Skip to content

Commit 5ec4770

Browse files
committed
Add upgrade guide
1 parent c72abb8 commit 5ec4770

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Diff for: README.md

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Automatically detect and set an app locale that matches your visitor's preferenc
2222
- PHP >= 7.1
2323
- Laravel >= 5.6
2424

25+
## ⬆️ Upgrade
26+
27+
Upgrading to a new major version?
28+
Check our [upgrade guide](UPGRADE.md) for instructions.
29+
2530
## 📦 Install
2631

2732
Install this package with Composer:

Diff for: UPGRADE.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Upgrade Guide
2+
3+
## Upgrading To 2.0 From 1.x
4+
5+
Every config option that contained a `-` (dash) in its name has been updated and the dash is replaced by an `_` (underscore).
6+
This is done mainly for consistency across other packages.
7+
8+
Review and update your published config file accordingly.

0 commit comments

Comments
 (0)