Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Releases: layershifter/TLDExtract

Release 2.0.1

11 Feb 14:39
Compare
Choose a tag to compare

Docs

  • Update supported php versions (#40)
  • Fix getSubdomains function description example (#41)

Improvements

  • PHP 7.3 support
  • Use symfony/polyfill-intl-idn instead of true/punycode (#39)

Release 2.0.0

28 Sep 11:14
Compare
Choose a tag to compare

Breaking changes

getSubdomains() now always returns array (#27, #33)

$extract = new Extract();
$result = $extract->parse('github.com');

$result->getSubdomains(); // before `null`
$result->getSubdomains(); // after `[]`

Release 1.2.7

28 Sep 10:07
Compare
Choose a tag to compare

Fixes

  • Make Extract::suffixExists protected (#34)

Release 1.2.6

25 Sep 14:23
Compare
Choose a tag to compare

Fixes

  • Underscore at end of hostname label causes parsing to fail (#32)

Release 1.2.5

19 Jun 12:10
Compare
Choose a tag to compare

Fixes

  • underscore in hostname bug (#25)

Release 1.2.4

14 Apr 10:44
cceba09
Compare
Choose a tag to compare

Fixes

  • test..com is valid domain (#22)
  • isValidDomain returns true for domains that are too long (#23)

Release 1.2.3

18 Nov 19:33
e570f7a
Compare
Choose a tag to compare

Impovements

  • PHP 7.2 support

Fixes

  • use INTL_IDNA_VARIANT_UTS46 for idn_* functions (#20)

Release 1.2.2

17 Oct 17:51
Compare
Choose a tag to compare

Fixes

  • fix typo in class constant (#18)

Release 1.2.1

17 Apr 12:10
Compare
Choose a tag to compare

Fixes

  • incorrect parsing domains with number sign (#16)

Release 1.2.0

17 Nov 08:44
Compare
Choose a tag to compare

Features

  • removed dependency on intl extension;
  • PHP 7.1 support.