- 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->pathand 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.
- Required minimum PHP version is now 7.2.
- Instances of the
Urlclass can now be created from relative references (without scheme). In v0.1 creating a new instance from a relative reference threw an Exception. If your application expects this behavior, you can use theisRelativeReferencemethod of theUrlobject to find out if the URL in question is a relative reference. - If you're using any other class than the
Urlclass directly in your code, please take a look at theCHANGELOG.mdentry for v1.0.0.