Skip to content

Releases: jeremykendall/php-domain-parser

4.0.0-alpha

12 Feb 15:28
Compare
Choose a tag to compare
4.0.0-alpha Pre-release
Pre-release

Many Improvements, Many BC Breaks

The Most Significant BC Breaks

  • All misspellings of registrable have been corrected (registerable -> registrable) (see #61)
  • All magic methods have been replaced with getters.

Other Updates and BC Breaks

  • #63: Ensure scheme returns null rather than an empty string
  • #64 and #65: Cleans up Exception message

3.0.0

30 Mar 12:58
Compare
Choose a tag to compare

New Features and BC Breaks

IMPORTANT: These are all BC breaking changes (some more significant than others).

  • Adds RFC 3986 scheme support
    • http(s) and ftp(s) are no longer the only supported schemes
    • All RFC 3986 valid schemes are parsed
    • All schemes are lowercased on output regardless of the case passed to the parser
  • The http scheme is no longer prepended to URLs which do not include schemes
  • Renames Public Suffix List update script from ./bin/pdp-psl. to ./bin/update-psl
  • Adds a post-install script to composer.json to update the Public Suffix list when calling composer install
  • Backports PHP 5.4.7 parse_url() fix to pdp_parse_url() and supported PHP 5.3 versions: "Fixed host recognition when scheme is omitted and a leading component separator is present."

2.0.3

16 Feb 12:47
Compare
Choose a tag to compare

2.0.2

12 Feb 17:46
Compare
Choose a tag to compare
  • Fixes bug in bin/parse
  • Updates Public Suffix List

2.0.1

27 Jan 20:13
Compare
Choose a tag to compare
  • Corrects mistake in documentation
  • Updates bin/parse to include suffix validity

2.0.0

02 Jan 19:12
Compare
Choose a tag to compare

Features

  • Adds IDNA support
  • Removes Parser::mbParseUrl, a UTF-8 compatible version of PHP's parse_url
  • Adds global function pdp_parse_url, a UTF-8 compatible version of PHP's parse_url
  • Adds Parser:: isSuffixValid to test validity of domain suffix (thanks to @SmellyFish)

See 1.4.6...2.0.0 for detailed version diff

BC Breaks

Library now requires ext-intl and ext-mbstring.

1.4.6

28 Jul 18:38
Compare
Choose a tag to compare

Adds IPv6 support, courtesy of a bugfix submitted by @geekwright.

1.4.5

22 Jul 16:05
Compare
Choose a tag to compare

Documentation updates (removes TODO)

1.4.4

21 Jul 18:04
Compare
Choose a tag to compare

Adds "ext-mbstring" to composer require key

1.4.3

21 Jul 17:22
Compare
Choose a tag to compare

Fixes #32.