Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

Releases: thephpleague/uri-manipulations

version 1.5.0

14 Mar 16:46
Compare
Choose a tag to compare

Added

  • None

Fixed

  • League\Uri\Modifiers\Formatter::format with Opaque URI.
  • the library now requires League\Uri\Components 1.8.x
  • Using PHPStan
  • bug fix issue #3

Deprecated

  • None

Removed

  • mbstring extension requirement

version 1.4.0

06 Feb 12:20
Compare
Choose a tag to compare

Added

  • League\Uri\Modifiers\PublicSuffix
  • League\Uri\replace_publicsuffix

Fixed

  • League\Uri\replace_registrabledomain now can take a optional League\Uri\PublicSuffix\Rules object
  • League\Uri\replace_subdomain now can take a optional League\Uri\PublicSuffix\Rules object
  • League\Uri\Modifiers\RegisterableDomain constructor now can take a optional League\Uri\PublicSuffix\Rules object
  • League\Uri\Modifiers\SubDomain constructor now can take a optional League\Uri\PublicSuffix\Rules object
  • the library now requires League\Uri\Components 1.7.x

Deprecated

  • None

Removed

  • None

version 1.3.0

28 Nov 14:04
Compare
Choose a tag to compare

Added

  • League\Uri\Modifiers\RemoveQueryParams
  • League\Uri\remove_params

Fixed

  • Update League Uri Components version

Deprecated

  • None

Removed

  • None

version 1.2.0

22 Nov 12:11
Compare
Choose a tag to compare

Added

  • None

Fixed

  • Issue #109 dependency on a unstable package

Deprecated

  • None

Removed

  • None

version 1.1.0

25 Oct 11:03
Compare
Choose a tag to compare

Added

The following functions are added to ease URI manipulations

  • League\Uri\add_basepath
  • League\Uri\add_leading_slash
  • League\Uri\add_root_label
  • League\Uri\add_trailing_slash
  • League\Uri\append_host
  • League\Uri\append_query
  • League\Uri\append_path
  • League\Uri\host_to_ascii
  • League\Uri\host_to_unicode
  • League\Uri\is_absolute
  • League\Uri\is_absolute_path
  • League\Uri\is_network_path
  • League\Uri\is_relative_path
  • League\Uri\is_same_document
  • League\Uri\merge_query
  • League\Uri\normalize
  • League\Uri\path_to_ascii
  • League\Uri\path_to_binary
  • League\Uri\prepend_host
  • League\Uri\prepend_path
  • League\Uri\relativize
  • League\Uri\remove_basepath
  • League\Uri\remove_dot_segments
  • League\Uri\remove_empty_segments
  • League\Uri\remove_labels
  • League\Uri\remove_leading_slash
  • League\Uri\remove_pairs
  • League\Uri\remove_root_label
  • League\Uri\remove_trailing_slash
  • League\Uri\remove_segments
  • League\Uri\remove_zone_id
  • League\Uri\replace_basename
  • League\Uri\replace_data_uri_parameters
  • League\Uri\replace_dirname
  • League\Uri\replace_extension
  • League\Uri\replace_label
  • League\Uri\replace_registrabledomain
  • League\Uri\replace_segment
  • League\Uri\replace_subdomain
  • League\Uri\resolve
  • League\Uri\sort_query
  • League\Uri\uri_to_rfc3986
  • League\Uri\uri_to_rfc3987

League\Uri\Modifiers\Formatter class has a new format method which is a alias of __invoke to ease usage.

Fixed

  • None

Deprecated

  • League\Uri\Modifiers\uri_reference function is deprecated you should update your code to use one of the following functions:
    • League\Uri\is_absolute
    • League\Uri\is_absolute_path
    • League\Uri\is_network_path
    • League\Uri\is_relative_path
    • League\Uri\is_same_document

Removed

  • None

version 1.0.1

06 Feb 08:44
Compare
Choose a tag to compare

Added

  • None

Fixed

  • None

Deprecated

  • __invoke method on UriMiddlewareTrait

Removed

  • None

version 1.0.0

17 Jan 14:10
Compare
Choose a tag to compare

Added

  • League\Uri\Modifier\UriMiddlewareInterface
  • League\Uri\Modifier\Exception
  • League\Uri\Modifier\CallableAdapter
  • League\Uri\Modifier\Basename uri middleware to update the URI dirname path
  • League\Uri\Modifier\Dirname uri middleware to update the URI basename path
  • League\Uri\Modifier\AddRootLabel uri middleware to update the URI dirname path
  • League\Uri\Modifier\RemoveRootLabel uri middleware to update the URI basename path
  • League\Uri\Modifier\AddBasePath uri middleware to add a base path to your URI
  • League\Uri\Modifier\RemoveBasePath uri middleware to remove a base path from your URI
  • League\Uri\Modifier\Subdomain uri middleware to update the URI host subdomains
  • League\Uri\Modifier\RegisterableDomain uri middleware to update the URI host registerable domains part
  • League\Uri\Modifier\AppendQuery uri middleware to append data to the URI query component

Fixed

  • bug fix League\Uri\Modifier\Formatter for issue #91

Deprecated

  • None

Removed

  • PHP5 support

version 0.2.0

09 Dec 12:50
Compare
Choose a tag to compare

Added

  • None

Fixed

  • Updated dependencies to League\Uri\Components
  • bug fix to path modifiers see issue #91

Deprecated

  • None

Removed

  • None

version 0.1.0

01 Dec 20:54
Compare
Choose a tag to compare

Added

  • League\Uri\Modifier\Formatter::setEncoding

Fixed

  • Moved League\Uri\Formatter to League\Uri\Modifier\Formatter

Deprecated

  • None

Removed

  • League\Uri\Formatter::getQueryEncoding
  • League\Uri\Formatter::setQueryEncoding
  • League\Uri\Formatter::setHostEncoding
  • League\Uri\Formatter::getHostEncoding
  • League\Uri\Formatter::getQuerySeparator
  • League\Uri\Formatter::format
  • League\Uri\Modifiers\Filters\Flag::withFlags
  • League\Uri\Modifiers\Filters\ForCallbable::withCallable
  • League\Uri\Modifiers\Filters\ForCallbable::withCallable
  • League\Uri\Modifiers\Filters\Keys::withKeys
  • League\Uri\Modifiers\Filters\Label::withLabel
  • League\Uri\Modifiers\Filters\Offset::withOffset
  • League\Uri\Modifiers\Filters\QueryString::withQuery
  • League\Uri\Modifiers\Filters\Segment::withSegment
  • League\Uri\Modifiers\Filters\Uri::withUri
  • League\Uri\Modifiers\DataUriParameters\withParameters
  • League\Uri\Modifiers\Extension\withExtension
  • League\Uri\Modifiers\KsortQuery\withAlgorithm
  • League\Uri\Modifiers\Typecode