File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 3
3
After upgrading, update your cache file by deleting it or via `tldextract
4
4
--update`.
5
5
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
+
6
30
## 4.0.0 (2023-10-11)
7
31
8
32
* ** Breaking** bugfixes
You can’t perform that action at this time.
0 commit comments