Skip to content

Commit f39ea90

Browse files
committed
Release 3.18
1 parent 40f4e40 commit f39ea90

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

HISTORY.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# History
22

3-
## 3.18 (2026-06-XX)
3+
## 3.18 (2026-06-02)
44

55
- When decoding a domain, add a `display` argument that will pass
6-
through invalid labels rather than raising an exception, matching
7-
the per-label recovery described by UTS #46 and the WHATWG URL
8-
specification.
6+
through invalid labels rather than raising an exception.
97

108
## 3.17 (2026-05-28)
119

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ b'xn--knigsgchen-b4a3dun'
5656

5757
When performing a decode operation for display purposes, `decode()`
5858
accepts a `display=True` argument that leaves any `xn--` label that
59-
fails to decode unchanged
60-
(per [UTS #46](https://www.unicode.org/reports/tr46/#Processing) and
61-
[WHATWG URL](https://url.spec.whatwg.org/#concept-domain-to-unicode)).
59+
fails to decode unchanged. This is useful for user interface display
60+
where a domain is in use, the A-label form can be presented when it
61+
is not a valid IDN.
6262

6363

6464
## Exceptions

idna/package_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.18rc0"
1+
__version__ = "3.18"

0 commit comments

Comments
 (0)