Uri Parser Versions Save

RFC3986/RFC3987 compliant URI parser

1.4.1

5 years ago

Added

  • None

Fixed

  • Improve Scheme parsing according to RFC3986 see #19
  • Parser throws an UnexpectedValueException if the Intl extension is misconfigured for PHP on the OS platform.

Deprecated

  • None

Removed

  • None

1.4.0

6 years ago

Added

  • MissingIdnSupport exception which is thrown when trying to parse a possible RFC3987 compliant host when the ext/intl extension is missing or the ICU minimum version is not supported.
  • IPvFuture support

Fixed

  • 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.

Deprecated

  • Parser::INVALID_URI_CHARS internal constants no longer in use
  • Parser::CHEME_VALID_STARTING_CHARS internal constants no longer in use
  • Parser::SCHEME_VALID_CHARS internal constants no longer in use
  • Parser::LABEL_VALID_STARTING_CHARS internal constants no longer in use
  • Parser::LOCAL_LINK_PREFIX internal constants no longer in use
  • Parser::UB_DELIMITERS internal constants no longer in use
  • Parser::isIpv6host internal method no longer in use
  • Parser::isHostLabel internal method no longer in use
  • Parser::toAscii internal method no longer in use

Removed

  • None

1.3.0

6 years ago

Added

  • Much requested Parser::parse method

Fixed

  • Improve Host parsing according to RFC3986 rules see #107

Deprecated

  • None

Removed

  • None

1.2.0

6 years ago

Added

  • League\Uri\Parser::isScheme
  • League\Uri\is_scheme function version of League\Uri\Parser::isScheme
  • League\Uri\Parser::isPort
  • League\Uri\is_port function version of League\Uri\Parser::isPort

Fixed

  • None

Deprecated

  • None

Removed

  • None

1.1.0

6 years ago

Added

  • League\Uri\build function de build and URI from the result from League\Uri\Parser::__invoke or parse_url
  • League\Uri\parse function version of League\Uri\Parser::__invoke
  • League\Uri\is_host function version of League\Uri\Parser::isHost

Fixed

  • None

Deprecated

  • None

Removed

  • None

1.0.5

7 years ago

Added

  • None

Fixed

  • issue #5 Improve Parser::isHost validation of registered name

Deprecated

  • None

Removed

  • None

1.0.4

7 years ago

Added

  • None

Fixed

  • issue #3 the - (hyphen) character is a valid one for a scheme.

Deprecated

  • None

Removed

  • None

1.0.3

7 years ago

Added

  • None

Fixed

  • Using INTL_IDNA_VARIANT_UTS46 instead of INTL_IDNA_VARIANT_2003 to validate host

Deprecated

  • None

Removed

  • None

1.0.2

7 years ago

Added

  • None

Fixed

  • Notice when an invalid host starts with an empty label

Deprecated

  • None

Removed

  • None

1.0.1

7 years ago

Added

  • None

Fixed

  • PHP version constraint in composer.json

Deprecated

  • None

Removed

  • None