@nyamsprod nyamsprod released this Mar 14, 2018 · 1 commit to master since this release

Assets 2

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

@nyamsprod nyamsprod released this Feb 6, 2018 · 2 commits to master since this release

Assets 2

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

@nyamsprod nyamsprod released this Nov 28, 2017 · 4 commits to master since this release

Assets 2

Added

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

Fixed

  • Update League Uri Components version

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Nov 22, 2017 · 5 commits to master since this release

Assets 2

Added

  • None

Fixed

  • Issue #109 dependency on a unstable package

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Oct 25, 2017 · 6 commits to master since this release

Assets 2

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

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

Assets 2

Added

  • None

Fixed

  • None

Deprecated

  • __invoke method on UriMiddlewareTrait

Removed

  • None

@nyamsprod nyamsprod released this Jan 17, 2017 · 14 commits to master since this release

Assets 2

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

@nyamsprod nyamsprod released this Dec 9, 2016 · 34 commits to master since this release

Assets 2

Added

  • None

Fixed

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

Deprecated

  • None

Removed

  • None

@nyamsprod nyamsprod released this Dec 1, 2016 · 35 commits to master since this release

Assets 2

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