Skip to content

Commit

Permalink
Up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Nov 26, 2020
1 parent fe16978 commit 1b3d09d
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Release history and notes
<http://en.wikipedia.org/wiki/Software_versioning#Sequence-based_identifiers>`_
are used for versioning (schema follows below):

.. code-block:: none
.. code-block:: text
major.minor[.revision]
Expand All @@ -15,6 +15,48 @@ are used for versioning (schema follows below):
0.3.4 to 0.4).
- All backwards incompatible changes are mentioned in this document.

0.12.3
------
2020-11-26

- 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.

.. code-block:: python
from tld import get_tld
get_tld(
'http://silly.cc.ua',
search_private=False
)
Now it would return `ua`.

.. code-block:: python
get_tld(
'http://silly.cc.ua',
search_private=False
)
If you want old behavior, do as follows:

.. code-block:: python
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
Expand Down

0 comments on commit 1b3d09d

Please sign in to comment.