All Notable changes to League\Uri\Schemes
will be documented in this file
- None
- Bug fix regression in scheme resolution see #13 by @mudhoney
Uri::formatRegisteredName
throws aUnexpectedValueException
if the Intl extension is misconfigured.- Library is now tested against PHP7.3 via travis
- None
- None
MissingIdnSupport
exception which is thrown when trying to process a possible RFC3987 compliant host when theintl
extension is missing or the ICU minimum version is not supported.- IPvFuture support
Factory::create
now always remove dot segmentsFactory::create
create with a relative path- Using PHPstan
- Improve Host parsing according to RFC3986
- Improve Parsing performance
- None
- remove
mbstring
requirement
- None
- improve host normalization. now convert urlencoded label into punycode
- update Uri\Parser dependency requirement
- update PHP7.0.13 minimal version because of PHP bugs in earlier version
- None
- None
League\Uri\create
a function to ease URI object creationLeague\Uri\Factory
League\Uri\Uri
default URI object which validate RFC3986League\Uri\AbstractUri
League\Uri\Data
League\Uri\File
League\Uri\Ftp
League\Uri\Http
League\Uri\UriException
League\Uri\Ws
- improve path and user info component encoding
- enable invalid characters in with* methods they are now safely encoded against component rules
The League\Uri\Schemes
namespace is deprecated. URI object are now define directly in the League\Uri
namespace.
League\Uri\Schemes\AbstractUri
replace byLeague\Uri\AbstractUri
League\Uri\Schemes\Data
replace byLeague\Uri\Data
League\Uri\Schemes\File
replace byLeague\Uri\File
League\Uri\Schemes\Ftp
replace byLeague\Uri\Ftp
League\Uri\Schemes\Http
replace byLeague\Uri\Http
League\Uri\Schemes\UriException
replace byLeague\Uri\UriException
League\Uri\Schemes\Ws
replace byLeague\Uri\Ws
- None
- None
- Bug fix label conversion depending on locale issue #102
- None
- None
- None
- Improve
Http::createFromServer
to handle IIS servers see PR #3 and issue #101
- None
- None
- None
- Bug fix Host normalization
League\Uri\Schemes\AbstractUri::formatHost
see issue #5
- None
- None
- None
- Bug fix
$_SERVER['SERVER_PORT']
value withLeague\Uri\Schemes\Http::createFromServer
see #PR1
- None
- None
- None
- Improved
League\Uri\Schemes\Http::createFromServer
with$_SERVER['REQUEST_URI']
- None
- None
- None
League\Uri\Schemes\Http::createFromComponents
with invalid Host
- None
- None
- None
- Improve
League\Uri\Schemes\Http::createFromServer
static method
- None
- PHP5 support
- Added
League\Uri\Schemes\UriException
to replaceLeague\Uri\Schemes\Exceptions\Exception
League\Uri\Schemes\AbstractUri
implementsLeague\Uri\Interfaces\Uri
League\Uri\Schemes\File
host normalization is done when the host is empty
- None
League\Uri\Schemes\Exceptions\Exception
- Re-instate
createFromComponents
named constructor to allow swapping the URI parser - Added specific exceptions class extending InvalidArgumentException to isolate the library exceptions.
- Improve components encoding
- userInfo encoding
File::createFromUnixPath
encodingFile::createFromWindowsPath
encodingHttp::createFromServer
user info encoding- Host normalisation now convert host into RFC3986 encoding using punycode if needed
- None
- Dependency to league uri components
League\Uri\Schemes\File
- None
createFromString
named constructor you should use the constructor directly
createFromComponents
named constructor