Skip to content

Releases: thephpleague/uri

version 6.5.0

Choose a tag to compare

@nyamsprod nyamsprod released this 27 Aug 10:03

Added

  • Uri::toString as a clean method to return URI string representation.
  • IDNA conversion in now normalize using the Uri-Interface package classes

Fixed

  • conversion host component from ASCII to unicode no longer throw

Deprecated

  • None

Remove

  • Support for PHP7.2

version 6.4.0

Choose a tag to compare

@nyamsprod nyamsprod released this 23 Nov 14:01
09da641

Added

  • HttpFactory a class that implements PSR-17 UriFactoryInterface. The package needs to be present for the class to work.

Fixed

  • Bugfix Uri::formatPath to improve URL encoding in the path component #180 thanks mdawaffe.

Deprecated

  • Nothing

Remove

  • None

version 6.3.0

Choose a tag to compare

@nyamsprod nyamsprod released this 13 Aug 17:26

Added

  • UriInfo::getOrigin to returns the URI origin as described in the WHATWG URL Living standard specification
  • UriTemplate\Template, UriTemplate\Expression, UriTemplate\VarSpecifier, UriTemplate\VariableBag to
    improve UriTemplate implementation.
  • Added early support for PHP8

Fixed

  • UriTemplate complete rewrite by reducing deep nested array usage.
  • Exception misleading message see issue #167
  • Uri::withScheme Uri validation failed to catch the empty string as an invalid scheme. #171

Deprecated

  • Nothing

Remove

  • None

version 6.2.1

Choose a tag to compare

@nyamsprod nyamsprod released this 17 Mar 14:49

Added

  • None

Fixed

  • Bugfix UriTemplate::expand to comply with expansion rules for undefined variables #161 thanks Gabe Sullice
  • Improve package testing settings and environment.

Deprecated

  • Nothing

Remove

  • None

version 6.2.0

Choose a tag to compare

@nyamsprod nyamsprod released this 08 Feb 18:11

Added

  • None

Fixed

  • None

Deprecated

  • Nothing

Remove

  • Hard dependencies on the ext-mbstring and the ext-fileinfo PHP extensions #154 thanks Nicolas Grekas

version 6.1.1

Choose a tag to compare

@nyamsprod nyamsprod released this 30 Jan 08:01

Added

  • Nothing

Fixed

  • League\Uri\UriTemplate variables validation and normalization improved

Deprecated

  • Nothing

Remove

  • Nothing

version 6.1.0

Choose a tag to compare

@nyamsprod nyamsprod released this 29 Jan 17:10

Added

  • League\Uri\UriTemplate a class to handle uri template expansion as described in RFC7560 see PR #153

Fixed

  • improving idn_to_ascii usage see #150 thanks to ntzm

Deprecated

  • Nothing

Remove

  • Nothing

version 6.0.1

Choose a tag to compare

@nyamsprod nyamsprod released this 23 Nov 21:02

Added

  • Nothing

Fixed

  • Uri should not depend on intl extension if the host is in its ascii form #141

Deprecated

  • Nothing

Remove

  • Nothing

version 6.0.0

Choose a tag to compare

@nyamsprod nyamsprod released this 18 Oct 10:46

Added

  • League\Uri\UriInfo: to get RFC3986 information from an URI object
  • League\Uri\UriResolver: to resolve or relativize an URI object
  • League\Uri\UriString: to parse or build an URL into or from its components
  • League\Uri\Uri::createFromBaseUri named constructor
  • League\Uri\Uri::createFromDataPath named constructor
  • League\Uri\Uri::createFromPsr7 named constructor
  • League\Uri\Uri::createFromUnixPath named constructor
  • League\Uri\Uri::createFromWindowsPath named constructor
  • League\Uri\Http::createFromBaseUri named constructor

Fixed

  • Improve parsing and building URI
  • All URI object are now finals and supports parameter type widening
  • League\Uri\Uri implements the JsonSerializable interface
  • League\Uri\Http implements the JsonSerializable interface

Deprecated

  • None

Remove

  • support for PHP7.1 and PHP7.0
  • create function defined in the League\Uri namespace replaced by League\Uri\Uri::createFromBaseUri
  • League\Uri\Factory replaced by League\Uri\Uri
  • League\Uri\Data replaced by League\Uri\Uri
  • League\Uri\File replaced by League\Uri\Uri
  • League\Uri\Ftp replaced by League\Uri\Uri
  • League\Uri\Ws replaced by League\Uri\Uri
  • League\Uri\UriException replaced by League\Uri\Contract\UriException
  • League\Uri\AbstractUri internal, replaced by League\Uri\Uri
  • League\Uri\Schemes namespace and all classes inside
  • League\Uri\Uri no longer implements League\Uri\UriInterface

version 5.3.0

Choose a tag to compare

@nyamsprod nyamsprod released this 14 Mar 17:21

See packages release notes for more informations

Added

  • IPvFuture support

Fixed

  • Adding PHPStan
  • Improve RFC3986 compliance
  • Improve performance

Remove

  • remove mbstring extension requirement