Skip to content

Commit 14a53b8

Browse files
5.0.0
1 parent e739ff8 commit 14a53b8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@
33
After upgrading, update your cache file by deleting it or via `tldextract
44
--update`.
55

6+
## 5.0.0 (2023-10-11)
7+
8+
* Breaking Changes
9+
* Migrate `ExtractResult` from `namedtuple` to `dataclass` ([#306](https://github.com/john-kurkowski/tldextract/issues/306))
10+
* This means no more iterating/indexing/slicing/unpacking the result
11+
object returned by this library. You must directly reference the
12+
fields you're interested in. For example, instead of
13+
```python
14+
tldextract.extract("example.com")[1:3]
15+
```
16+
you must use
17+
```python
18+
ext = tldextract.extract("example.com")
19+
(ext.domain, ext.suffix)
20+
```
21+
* Bugfixes
22+
* Drop support for EOL Python 3.7
23+
* Misc.
24+
* Switch from pycodestyle and Pylint to Ruff ([#304](https://github.com/john-kurkowski/tldextract/issues/304))
25+
* Consolidate config files
26+
* Type tests
27+
* Require docstrings in tests
28+
* Remove obsolete tests
29+
630
## 4.0.0 (2023-10-11)
731

832
* **Breaking** bugfixes

0 commit comments

Comments
 (0)