Tldextract

Latest version: v5.1.2

Safety actively analyzes 629908 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 8

2.0.1

* Bugfixes
* Relax required `requests` version: >= 2.1 ([98](https://github.com/john-kurkowski/tldextract/issues/98))
* Misc.
* Include tests in release source tarball ([97](https://github.com/john-kurkowski/tldextract/issues/97))

2.0.0

No changes since 2.0rc1.

2.0rc1

This release focuses on shedding confusing code branches & deprecated cruft.

* Breaking Changes
* Renamed/changed the type of `TLDExtract` constructor param
`suffix_list_url`
* It used to take a `str` or iterable. Its replacement,
`suffix_list_urls` only takes an iterable. This better communicates
that it tries a _sequence_ of URLs, in order. To only try 1 URL, pass
an iterable with exactly 1 URL `str`.
* Serialize the local cache of the remote PSL as JSON (no more `pickle`) - [81](https://github.com/john-kurkowski/tldextract/issues/81)
* This should be a transparent upgrade for most users.
* However, if you're configured to _only_ read from your local cache
file, no other sources or fallbacks, the new version will be unable
to read the old cache format, and an error will be raised.
* Remove deprecated code
* `TLDExtract`'s `fetch` param. To disable live HTTP requests for the
latest PSL, instead pass `suffix_list_urls=None`.
* `ExtractResult.tld` property. Use `ExtractResult.suffix` instead.
* Moved code
* Split `tldextract.tldextract` into a few files.
* The official public interface of this package comes via `import
tldextract`. But if you were relying on direct import from
`tldextract.tldextract` anyway, those imports may have moved.
* You can run the package `python -m tldextract` for the same
effect as the included `tldextract` console script. This used to
be `python -m tldextract.tldextract`.
* Misc.
* Use `requests` instead of `urllib` - [89](https://github.com/john-kurkowski/tldextract/issues/89)
* As a side-effect, this fixes [93](https://github.com/john-kurkowski/tldextract/pull/93).

1.7.5

* Bugfixes
* Support possible gzipped PSL response - [88](https://github.com/john-kurkowski/tldextract/pull/88)

1.7.4

* Bugfixes
* Fix potential for `UnicodeEncodeError` with info log - [85](https://github.com/john-kurkowski/tldextract/pull/85)

1.7.3

* Bugfixes
* Support IDNA2008 - [82](https://github.com/john-kurkowski/tldextract/pull/82)
* Misc.
* Ease running scripts during local development

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.