* Breaking Changes
* Migrate `ExtractResult` from `namedtuple` to `dataclass` ([306](https://github.com/john-kurkowski/tldextract/issues/306))
* This means no more iterating/indexing/slicing/unpacking the result
object returned by this library. It is no longer a tuple. You must
directly reference the fields you're interested in.
For example, the
following will no longer work.
python
tldextract.extract("example.com")[1:3]
TypeError: 'ExtractResult' object is not subscriptable
Instead, use the following.
python
ext = tldextract.extract("example.com")
(ext.domain, ext.suffix)
* Bugfixes
* Drop support for EOL Python 3.7
* Misc.
* Switch from pycodestyle and Pylint to Ruff ([304](https://github.com/john-kurkowski/tldextract/issues/304))
* Consolidate config files
* Type tests
* Require docstrings in tests
* Remove obsolete tests