Skip to content

Releases: barseghyanartur/tld

0.13

27 Feb 21:08
Compare
Choose a tag to compare
  • Drop Python 2.7, 3.5 and 3.6 support. Minimum required version now is Python 3.7.

0.12.7-2023-02-02

02 Feb 21:50
Compare
Choose a tag to compare
  • Make sure to fail silently on bad URL patterns.
  • Tested against Python 3.11.
  • Tested against Python 3.10.
  • Updated bundled tld names.

0.12.6-2021-06-05

06 Jun 19:32
Compare
Choose a tag to compare
  • Move Registry class from tld.registry to tld.base.
  • Reformat code using black.
  • Log information on updated resources of the update_tld_names.

0.12.5-2021-01-11

11 Jan 22:12
Compare
Choose a tag to compare
Release dedicated to defenders of Armenia and Artsakh (Nagorno Karabakh)
and all the victims of Turkish and Azerbaijani aggression.
  • Fixed lower-cased parsed_url attributes (SplitResult) when getting
    tld as object (as_object=True).

0.12.4-2021-01-02

11 Jan 22:11
Compare
Choose a tag to compare
  • Tested against Python 3.9.

0.12.3-2020-11-26

27 Nov 22:04
Compare
Choose a tag to compare
  • Separate parsers for (a) public and private and (b) public only domains. This
    fixes a bug. If you want an old behaviour:

    The following code would raise exception in past.

      from tld import get_tld
    
      get_tld(
          'http://silly.cc.ua',
          search_private=False
      )

    Now it would return ua.

      get_tld(
          'http://silly.cc.ua',
          search_private=False
      )

    If you want old behavior, do as follows:

      from tld.utils import MozillaTLDSourceParser
    
      get_tld(
          'http://silly.cc.ua',
          search_private=False,
          parser_class=MozillaTLDSourceParser
      )

    Same goes for get_fld, process_url, parse_tld and is_tld
    functions.

0.12.2-2020-05-20

20 May 21:01
Compare
Choose a tag to compare
  • Add Mozilla license to dist.
  • Fix MyPy issues.

0.12.1-2020-04-25

20 May 21:01
Compare
Choose a tag to compare

.. note::

In commemoration of `Armenian Genocide <https://en.wikipedia.org/wiki/Armenian_Genocide>`_.
  • Correctly handling domain names ending with dot(s).

0.12-2020-04-19

19 Apr 20:43
Compare
Choose a tag to compare
  • Use Public Suffix list instead of deprecated Mozilla's MXR.

0.11.11-2020-03-10

26 Mar 22:59
Compare
Choose a tag to compare
  • Minor speed-ups, reduce memory usage.