Skip to content

Releases: thephpleague/uri

version 6.7.2

13 Sep 19:55
d3b5081
Compare
Choose a tag to compare

Added

  • None

Fixed

  • Http::getPath and Uri::getPath methods returned values are normalized to prevent potential XSS and open redirect vectors.

Deprecated

  • None

Remove

  • None

version 6.7.1

29 Jun 09:50
2d7c87a
Compare
Choose a tag to compare

Added

  • None

Fixed

  • UriInfo::isCrossOrigin method is fix to make it work with any PSR-7 compliant object 205

Deprecated

  • None

Remove

  • None

version 6.7.0

28 Jun 21:56
Compare
Choose a tag to compare

Added

  • UriInfo::isCrossOrigin method

Fixed

  • None

Deprecated

  • None

Remove

  • None

version 6.6.0

28 May 05:58
Compare
Choose a tag to compare

Added

  • None

Fixed

  • Some errors are moved from TypeError to InvalidArgumentException to align with other UriInterface PSR-7 implementations.
  • Improved documentation by @GwendolenLynch
  • Added PSR7 compliance tests from the PHP-HTTP group

Deprecated

  • None

Remove

  • Support for PHP7.3

version 6.5.0

27 Aug 10:03
Compare
Choose a tag to compare

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

23 Nov 14:01
09da641
Compare
Choose a tag to compare

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

13 Aug 17:26
Compare
Choose a tag to compare

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

17 Mar 14:49
Compare
Choose a tag to compare

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

08 Feb 18:11
Compare
Choose a tag to compare

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

30 Jan 08:01
Compare
Choose a tag to compare

Added

  • Nothing

Fixed

  • League\Uri\UriTemplate variables validation and normalization improved

Deprecated

  • Nothing

Remove

  • Nothing