Assets 2

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

@nyamsprod nyamsprod released this Dec 1, 2017 · 24 commits to master since this release

Assets 2

Added

  • Much requested Parser::parse method

Fixed

  • Improve Host parsing according to RFC3986 rules see #107

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Oct 20, 2017 · 28 commits to master since this release

Assets 2

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

@nyamsprod nyamsprod released this Sep 25, 2017 · 31 commits to master since this release

Assets 2

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

@nyamsprod nyamsprod released this Apr 19, 2017 · 36 commits to master since this release

Assets 2

Added

  • None

Fixed

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

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Mar 1, 2017 · 39 commits to master since this release

Assets 2

Added

  • None

Fixed

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

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Feb 6, 2017 · 42 commits to master since this release

Assets 2

Added

  • None

Fixed

  • Using INTL_IDNA_VARIANT_UTS46 instead of INTL_IDNA_VARIANT_2003 to validate host

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Jan 19, 2017 · 43 commits to master since this release

Assets 2

Added

  • None

Fixed

  • Notice when an invalid host starts with an empty label

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Jan 13, 2017 · 45 commits to master since this release

Assets 2

Added

  • None

Fixed

  • PHP version constraint in composer.json

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Jan 4, 2017 · 46 commits to master since this release

Assets 2

Added

  • League\Uri\Exception::createFromInvalidHostname

Fixed

  • League\Uri\Parser::isHost method improved

Deprecated

  • None

Removed

  • Support for PHP5
  • Benchmark test