Skip to content

Commit

Permalink
Add upgrade guide for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
otsch committed Sep 14, 2022
1 parent 1ae5e6a commit cf959cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Upgrade from 1.x to 2.0.0

- Required minimum PHP version is now 8.0.
- Access to url components via class properties (instead of methods) using magic getter and setter was removed. So if you've been using components like `$url->host`, `$url->path` and so on (see https://www.crwlr.software/packages/url/components), you need to change those to method calls, so just: `$url->host()`, `$url->path()`. The property access was just an alias.

# Upgrade from 0.x to 1.0.0

- Required minimum PHP version is now 7.2.
Expand Down

0 comments on commit cf959cd

Please sign in to comment.