All Notable changes to league-uri-parser
will be documented in this file
- None
- Improve Scheme parsing according to RFC3986 see #19
Parser
throws anUnexpectedValueException
if the Intl extension is misconfigured on the PHP platform.
- None
- None
MissingIdnSupport
exception which is thrown when trying to parse a possible RFC3987 compliant host when theext/intl
extension is missing or the ICU minimum version is not supported.- IPvFuture support
- Improve Host parsing according to RFC3986
- Improve Parsing performance
- Using PHPstan
- The library only requires the
intl
extension if you need to parse RFC3987 compliant host.
Parser::INVALID_URI_CHARS
internal constants no longer in useParser::CHEME_VALID_STARTING_CHARS
internal constants no longer in useParser::SCHEME_VALID_CHARS
internal constants no longer in useParser::LABEL_VALID_STARTING_CHARS
internal constants no longer in useParser::LOCAL_LINK_PREFIX
internal constants no longer in useParser::UB_DELIMITERS
internal constants no longer in useParser::isIpv6host
internal method no longer in useParser::isHostLabel
internal method no longer in useParser::toAscii
internal method no longer in use
- None
- Much requested
Parser::parse
method
- Improve Host parsing according to RFC3986 rules see #107
- None
- None
League\Uri\Parser::isScheme
League\Uri\is_scheme
function version ofLeague\Uri\Parser::isScheme
League\Uri\Parser::isPort
League\Uri\is_port
function version ofLeague\Uri\Parser::isPort
- None
- None
- None
League\Uri\build
function de build and URI from the result fromLeague\Uri\Parser::__invoke
orparse_url
League\Uri\parse
function version ofLeague\Uri\Parser::__invoke
League\Uri\is_host
function version ofLeague\Uri\Parser::isHost
- None
- None
- None
- None
- issue #5 Improve
Parser::isHost
validation of registered name
- None
- None
- None
- issue #3 the
-
(hyphen) character is a valid one for a scheme.
- None
- None
- None
- idn_to_ascii uses
INTL_IDNA_VARIANT_UTS46
asINTL_IDNA_VARIANT_2003
will be deprecated
- None
- None
- None
- Notice when an invalid host starts with an empty label
- None
- None
- None
- PHP version constraint in composer.json
- None
- None
League\Uri\Exception::createFromInvalidHostname
League\Uri\Parser::isHost
method improved
- None
- Support for PHP5
- Benchmark test
League\Uri\Exception
replacesLeague\Uri\ParserException
League\Uri\Parser::isHost
methodLeague\Uri\Exception::createFromInvalidScheme
replacesParserException::createFromInvalidState
usageLeague\Uri\Exception::createFromInvalidPath
replacesParserException::createFromInvalidState
usage
- None
- None
League\Uri\ParserException
replaced byLeague\Uri\Exception
League\Uri\ParserException::createFromInvalidState
League\Uri\HostValidation
trait
League\Uri\ParserException
class which extends SPLInvalidArgumentException
League\Uri\HostValidation
trait to ease Host validation without the parser
- Improve Performance by removing all regular expressions see issue #2
- None
- None
- None
- Improve RFC3986 compliance
- None
- None