Skip to content

Releases: thephpleague/uri-components

version 0.4.0

01 Dec 20:30
Compare
Choose a tag to compare

Added

  • None

Fixed

  • League\Uri\Components\Host::getContent now support correctly RFC3987
  • League\Uri\Components\Host::__toString only returns RFC3986 representation
  • League\Uri\Components\UserInfo::getUser to use the $enc_type parameter
  • League\Uri\Components\UserInfo::getPass to use the $enc_type parameter

Deprecated

  • None

Remove

  • League\Uri\Components\Host::isIdn
  • League\Uri\Components\Port::getDecoded
  • League\Uri\Components\Scheme::getDecoded
  • League\Uri\Components\Fragment::getDecoded

version 0.3.0

29 Nov 14:38
Compare
Choose a tag to compare

Added

  • League\Uri\Components\Exception as the base exception for the library
  • League\Uri\Components\DataPath::getDecoded returns the non-encoded path
  • League\Uri\Components\HierarchicalPath::getDecoded returns the non-encoded path
  • League\Uri\Components\Path::getDecoded returns the non-encoded path
  • League\Uri\Components\Fragment::getDecoded returns the non-encoded fragment
  • League\Uri\Components\Port::getDecoded returns the non-encoded port
  • League\Uri\Components\Scheme::getDecoded returns the non-encoded scheme
  • League\Uri\Components\Query::extract public static method returns a hash similar to parse_str without the mangling from the query string

Fixed

  • getContent is updated to support RFC3987

Deprecated

  • None

Removed

  • Query::parsed use Query::extract instead
  • Query::parsedValue use Query::extract instead

version 0.2.1

15 Nov 09:49
Compare
Choose a tag to compare

Added

  • None

Fixed

  • issue #84. Query string is not well encoded.

Deprecated

  • None

Removed

  • None

version 0.2.0

09 Nov 08:33
Compare
Choose a tag to compare

Added

  • Query::parsed returns an array similar to parse_str result with a second options with unmangled key.
  • Query::getParsedValue returns single value from the parse and unmangled PHP variables.
  • Host::createFromIp a name constructor to create a host from a IP
  • Host::getIp returns the IP part from the host if present otherwise returns null

Fixed

  • Host::__construct no longers takes a IPv6 without delimiter as a valid argument.

Deprecated

  • None

Removed

  • None

version 0.1.0

17 Oct 20:37
Compare
Choose a tag to compare

Added

  • None

Fixed

  • League\Uri\QueryParser is now a trait League\Uri\Components\Traits\QueryParser used by League\Uri\Components\Query
  • League\Uri\Components\UserInfo now only accepts string and null as constructor parameters.

Deprecated

  • None

Removed

  • League\Uri\Components\User
  • League\Uri\Components\Pass
  • League\Uri\QueryParser