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

version 1.1.0

Compare
Choose a tag to compare
@nyamsprod nyamsprod released this 25 Oct 11:03
· 7 commits to master since this release

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