This repository was archived by the owner on Nov 23, 2017. It is now read-only.
Releases: thephpleague/url
Releases · thephpleague/url
Release list
version 3.3.5
Fixed
- Bug fix path get relative pull request #81
version 3.3.4
Fixed
- Bug fix Query parsing pull request #79
version 3.3.3
Fixed
- Update
True\Punycoderequirement to 2.0.0 to allow PHP7 support
More informations can be found on the documentation website
This is the last release in the League\Url 3.x series
version 4.0.0-beta3
Added
isEmptymethod toLeague\Url\Interfaces\Urlto tell whether a URL is empty or notisSupportedstatic method toLeague\Url\Schemeto tell whether a specified scheme is supported by the library- Add support for the
gopherscheme
Fixed
- Improve Punycode decoding/encoding issue #73
Remove
- Support for the pseuod
gitandsvnprotocol
version 4.0.0-beta2
Fixed
- remove useless optional argument from
Path::getUriComponent
Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes
version 4.0.0-beta1
Added
- Package structure is changed to better reflect the importance of each component.
- Package is now more RFC3986 compliant
League\Url\UserInfoclass added to better manipulate URL user info partLeague\Url\Output\Formatterclass added to ease URL and URL components formatting.- All Url related classes are now immutable value objects.
League\Url\UrlimplementsPsr\Http\Message\UriInterface- Methods to ease complete or partial component modifications are added to
League\Url\Url - Url components and Url Parts can now be compared to each other using the
sameValueAsmethod League\Url\Host,League\Url\Pathcomponent public API are simplified.League\Url\Hostnow supports IP style hosts and FQDNLeague\Url\Host::__toStringmethod now always return the ascii version of the hostname- More methods are added to the
League\Url\Pathobject to extract generic path info as well as modifying the path according to RFC3986 (i.e.: removing dot segments) League\Url\Querypublic API is simplified to remove ambiguityLeague\Url\Queryno longer depends on phpparse_strandhttp_build_queryLeague\Url\SchemeandLeague\Url\Portare rewritten completely
Fixed
- Handling of legacy hostname suffixed with a "." when using
Url::createFromServer
Remove
League\Url\UserandLeague\Url\Passare replaced by the more genericLeague\Url\Component- Support for
PHP 5.3 League\Url\UrlImmutableclass is replaced byLeague\Url\Urlwhich is now immutable- Most of the public API is removed :
- to comply to
RFC3986; - to enable immutable value object;
- to implement
PSR7UriInterface;
- to comply to
Please refers to the documentation or the library CHANGELOG for more details and a complete list of changes
version 3.3.2
Fixed
- Bug fix URL parsing issue #65
version 3.3.1
version 3.3.0
Added
- adding the
toArraymethod toLeague\Url\AbstractUrlto output the URL like PHP nativeparse_urlissue #56
Fixed
League\Url\Components\Querybug fix remove parameter only if the value equalsnullissue #58
More informations can be found on the documentation website
version 3.2.1
League\Url\AbstractUrl::createFromServerbug fix handling of$_SERVER['HTTP_HOST']