Skip to content

Update dependency idna to v3.20 - #216

Open
renovate[bot] wants to merge 1 commit into
devfrom
renovate/idna-3.x
Open

renovate[bot] wants to merge 1 commit into
devfrom
renovate/idna-3.x

Conversation

@renovate

@renovate renovate Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
idna (changelog) ==3.11==3.20 age confidence

Release Notes

kjd/idna (idna)

v3.20

Compare Source

  • Update to Unicode 18.0.0.
  • Better enforcement of the domain length limit in the incremental
    codec.
  • Add support for Python 3.15.

v3.19

Compare Source

  • Restore the std3_rules option, which had no effect since changes
    to UTS #​46 processing in Unicode 16. Note that uts46_remap()
    defaults to enabling STD3 rules, so direct callers will see input
    containing non-LDH ASCII characters rejected again.
  • Performance improvements to UTS #​46 mapping, particularly for
    ASCII-only domains.
  • Test on free-threaded CPython with the GIL disabled and document
    thread safety.
  • Expose the Unicode version of the generated tables as
    idna.unicode_version, and show it in idna --version.
  • Add code, text, codepoint and position attributes to
    IDNAError so that the failed rule and the offending character can
    be identified without parsing the exception message.
  • The deprecated transitional argument to encode() and
    uts46_remap() is now completely ignored, and gives a deprecation warning
    for the latter.
  • Reject A-labels that are not the canonical Punycode encoding of
    their U-label.
  • Fix CONTEXTJ violations raising IDNAError instead of
    InvalidCodepointContext.
  • Consistently raise IDNAError for empty labels and non-ASCII bytes
    passed to label helper functions and the incremental codec.
  • Add property-based tests, extended fuzzing targets, coverage
    measurement, and CI checks that the data tables match the generator
    output.
  • Various code quality and tooling improvements.

Thanks to stefan6419846, LouieLuNZ, and Salvatore Corvaglia for
contributions to this release.

v3.18

Compare Source

  • When decoding a domain, add a display argument that will pass
    through invalid labels rather than raising an exception.

v3.17

Compare Source

  • Substantial 75% reduction in memory usage through new data
    structures and some optimization in processing speed.
  • Added a general 1024-character input length cap to the public
    validation, conversion, and codec entry points. This is well above
    any legitimate domain or label and guards against pathological
    inputs.

v3.16

Compare Source

  • Add a command-line interface (python -m idna, also available as
    the idna script). Encodes or decodes one or more domains supplied
    as arguments or on standard input, with options to select A-label
    or U-label output and control error handling.
  • Raise the minimum supported Python version to 3.9
  • Various code quality improvements

v3.15

Compare Source

  • Enforce DNS-length cap on individual labels early in check_label,
    short-circuiting contextual-rule processing for oversized input
    while staying compatible with UTS 46 usage.
  • Tidy core helpers: hoist bidi category sets to module-level
    frozensets (avoiding per-codepoint list construction), simplify
    length checks, and reuse the shared _unicode_dots_re from
    idna.core in the codec module.
  • Use raise ... from err for proper exception chaining and
    switch internal string formatting to f-strings.
  • Allow flit_core 4.x in the build backend.
  • Expand the ruff lint set (flake8-bugbear, flake8-simplify,
    pyupgrade, perflint) and apply the surfaced fixes; pin lint CI
    to Python 3.14.
  • Add Dependabot configuration for GitHub Actions.
  • Convert README and HISTORY from reStructuredText to Markdown.
  • Reference CVE-2026-45409 for the 3.14 advisory in place of the
    initial GHSA identifier.

Thanks to Felix Yan, Stan Ulbrych, and metsw24-max for
contributions to this release.

v3.14

Compare Source

  • Removed opportunity to process long inputs into quadratic
    time by rejecting oversize inputs up-front. Closes a bypass
    of the CVE-2024-3651 mitigation. [CVE-2026-45409]

Thanks to Stan Ulbrych for reporting the issue.

v3.13

Compare Source

v3.12

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/idna-3.x branch from ed2fa56 to ff56df1 Compare April 22, 2026 17:33
@renovate renovate Bot changed the title Update dependency idna to v3.12 Update dependency idna to v3.13 Apr 22, 2026
@renovate renovate Bot changed the title Update dependency idna to v3.13 Update dependency idna to v3.14 May 10, 2026
@renovate
renovate Bot force-pushed the renovate/idna-3.x branch from ff56df1 to 0958b78 Compare May 10, 2026 20:59
@renovate renovate Bot changed the title Update dependency idna to v3.14 Update dependency idna to v3.15 May 13, 2026
@renovate
renovate Bot force-pushed the renovate/idna-3.x branch from 0958b78 to 5978b31 Compare May 13, 2026 01:02
@renovate
renovate Bot force-pushed the renovate/idna-3.x branch from 5978b31 to d59e724 Compare May 22, 2026 00:23
@renovate renovate Bot changed the title Update dependency idna to v3.15 Update dependency idna to v3.16 May 22, 2026
@renovate renovate Bot changed the title Update dependency idna to v3.16 Update dependency idna to v3.17 May 28, 2026
@renovate
renovate Bot force-pushed the renovate/idna-3.x branch from d59e724 to 126ef56 Compare May 28, 2026 18:51
@renovate renovate Bot changed the title Update dependency idna to v3.17 Update dependency idna to v3.18 Jun 2, 2026
@renovate
renovate Bot force-pushed the renovate/idna-3.x branch from 126ef56 to 83b4e51 Compare June 2, 2026 19:34
@renovate renovate Bot changed the title Update dependency idna to v3.18 Update dependency idna to v3.19 Aug 18, 2026
@renovate
renovate Bot force-pushed the renovate/idna-3.x branch from 83b4e51 to 360bf08 Compare August 18, 2026 14:11
@renovate renovate Bot changed the title Update dependency idna to v3.19 Update dependency idna to v3.20 Sep 17, 2026
@renovate
renovate Bot force-pushed the renovate/idna-3.x branch from 360bf08 to cc37183 Compare September 17, 2026 21:51

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants