@@ -12,6 +12,71 @@ schemes recommended by the Python Packaging Authority.
1212
1313.. towncrier release notes start
1414
15+ twine 6.2.0 (2025-09-04)
16+ ------------------------
17+
18+ Features
19+ ^^^^^^^^
20+
21+ - Automatically refresh short-lived PyPI token in long running Trusted
22+ Publishing uploads.
23+
24+ In the event that a trusted publishing upload job is taking longer than the
25+ validity period of a trusted publishing token (15 minutes at the time of this
26+ writing), *and * we are already 10 minutes into that validity period, we will
27+ begin to attempt to replace the token on each subsequent request. (`#1246 <https://github.com/pypa/twine/issues/1246 >`_)
28+
29+
30+ Bugfixes
31+ ^^^^^^^^
32+
33+ - Fix compatibility kludge for invalid License-File metadata entries emitted by
34+ build backends to work also with ``packaging `` version 24.0. (`#1217 <https://github.com/pypa/twine/issues/1217 >`_)
35+ - Fix a couple of incorrectly rendered error messages. (`#1224 <https://github.com/pypa/twine/issues/1224 >`_)
36+ - ``twine `` now enforces ``keyring >= 21.2.0 ``, which was previously
37+ implicitly required by API usage. (`#1229 <https://github.com/pypa/twine/issues/1229 >`_)
38+ - ``twine `` now catches ``configparser.Error `` to prevent accidental
39+ leaks of secret tokens or passwords to the user's console. (`#1240 <https://github.com/pypa/twine/issues/1240 >`_)
40+
41+
42+ Deprecations and Removals
43+ ^^^^^^^^^^^^^^^^^^^^^^^^^
44+
45+ - Remove hacks that support ``--skip-existing `` for indexes other than PyPI and
46+ TestPyPI.
47+
48+ To date, these hacks continue to accrue and there have been numerous issues
49+ with them, not the least of which being that every time we update them, the
50+ paid index providers change things to break the compatibility we implement
51+ for them. Beyond that, these hacks do not work when text is internationalized
52+ in the response from the index provider.
53+
54+ For a sample of past issues, see:
55+
56+ - https://github.com/pypa/twine/issues/1251
57+
58+ - https://github.com/pypa/twine/issues/918
59+
60+ - https://github.com/pypa/twine/issues/856
61+
62+ - https://github.com/pypa/twine/issues/693
63+
64+ - https://github.com/pypa/twine/issues/332 (`#1251 <https://github.com/pypa/twine/issues/1251 >`_)
65+ - Remove support for MD5 digests during uploads.
66+
67+ This support was entirely vestigial, as MD5 is not a secure hash function
68+ and is not actually required on upload by PyPI.
69+
70+ Indices that cross-reference the uploaded content with a digest should
71+ use the provided SHA-256 and/or BLAKE2 digests instead. (`#1262 <https://github.com/pypa/twine/issues/1262 >`_)
72+
73+
74+ Misc
75+ ^^^^
76+
77+ - `#1247 <https://github.com/pypa/twine/issues/1247 >`_
78+
79+
1580Twine 6.1.0 (2025-01-17)
1681------------------------
1782
0 commit comments