This repository has been archived by the owner on Nov 23, 2017. It is now read-only.
Releases: thephpleague/url
Releases · thephpleague/url
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\Punycode
requirement 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
isEmpty
method toLeague\Url\Interfaces\Url
to tell whether a URL is empty or notisSupported
static method toLeague\Url\Scheme
to tell whether a specified scheme is supported by the library- Add support for the
gopher
scheme
Fixed
- Improve Punycode decoding/encoding issue #73
Remove
- Support for the pseuod
git
andsvn
protocol
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\UserInfo
class added to better manipulate URL user info partLeague\Url\Output\Formatter
class added to ease URL and URL components formatting.- All Url related classes are now immutable value objects.
League\Url\Url
implementsPsr\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
sameValueAs
method League\Url\Host
,League\Url\Path
component public API are simplified.League\Url\Host
now supports IP style hosts and FQDNLeague\Url\Host::__toString
method now always return the ascii version of the hostname- More methods are added to the
League\Url\Path
object to extract generic path info as well as modifying the path according to RFC3986 (i.e.: removing dot segments) League\Url\Query
public API is simplified to remove ambiguityLeague\Url\Query
no longer depends on phpparse_str
andhttp_build_query
League\Url\Scheme
andLeague\Url\Port
are rewritten completely
Fixed
- Handling of legacy hostname suffixed with a "." when using
Url::createFromServer
Remove
League\Url\User
andLeague\Url\Pass
are replaced by the more genericLeague\Url\Component
- Support for
PHP 5.3
League\Url\UrlImmutable
class is replaced byLeague\Url\Url
which is now immutable- Most of the public API is removed :
- to comply to
RFC3986
; - to enable immutable value object;
- to implement
PSR7
UriInterface;
- 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
toArray
method toLeague\Url\AbstractUrl
to output the URL like PHP nativeparse_url
issue #56
Fixed
League\Url\Components\Query
bug fix remove parameter only if the value equalsnull
issue #58
More informations can be found on the documentation website
version 3.2.1
League\Url\AbstractUrl::createFromServer
bug fix handling of$_SERVER['HTTP_HOST']