Skip to content

Update dependency url-normalize to v3.1.0 - #1467

Merged
simu merged 1 commit into
masterfrom
renovate/url-normalize-3.x
Oct 30, 2026
Merged

simu merged 1 commit into
masterfrom
renovate/url-normalize-3.x

Conversation

@renovate

@renovate renovate Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
url-normalize (changelog) 3.0.1 → 3.1.0 age confidence

Release Notes

niksite/url-normalize (url-normalize)

v3.1.0

Compare Source

Upgrade notes

Python 3.11 or newer and idna>=3.20 are now required. Python 3.10 users must upgrade Python before installing this release.

Remove the charset keyword from calls to url_normalize() and url_humanize(), and remove -c / --charset from CLI commands. These options have been removed; Unicode URL characters always use UTF-8 percent encoding.

Hosts ending in Unicode equivalents of a dot now normalize without a trailing dot on the first pass. Query filtering now retains explicitly allowed names containing Unicode or spaces. If normalized URLs are used as cache keys or deduplication identifiers, review stored keys and re-normalize the original URLs where available.

Changed
  • BREAKING: Drop support for end-of-life Python 3.10; Python 3.11 or newer is required.
  • BREAKING: Remove the legacy charset API argument and -c / --charset CLI option.
  • Declare Python 3.15 support in package metadata.
  • Require idna>=3.20.
Fixed
  • Write CLI error diagnostics in UTF-8, including Unicode arguments on Windows.
  • Strip trailing Unicode IDNA label separators from hosts and custom allowlist domain keys in one normalization pass.
  • Normalize allowlisted query parameter names consistently with URL query keys, including Unicode and spaces, while keeping literal plus signs, encoded plus signs, and encoded spaces distinct.
Internal
  • Refresh dependencies, pre-commit hooks, and GitHub Actions.
  • Use the committed dependency lockfile for CI checks and tests.
  • Test every supported Python version from 3.11 through 3.15 on Linux, macOS, and Windows.
  • Make uv run CI tests with the Python interpreter selected by the matrix.
  • Run pytest as a Python module so coverage measures the checkout instead of an installed copy.

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 is behind base branch, 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 added the dependency Pull requests that update a dependency file label Oct 29, 2026
@renovate
renovate Bot requested a review from a team as a code owner October 29, 2026 16:58
@renovate renovate Bot added the dependency Pull requests that update a dependency file label Oct 29, 2026
@renovate
renovate Bot force-pushed the renovate/url-normalize-3.x branch from fb3eb98 to 6cb3741 Compare October 30, 2026 08:48
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/url-normalize-3.x branch from 6cb3741 to 37cab75 Compare October 30, 2026 08:56
@simu
simu merged commit eecc55a into master Oct 30, 2026
26 checks passed
@simu
simu deleted the renovate/url-normalize-3.x branch October 30, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant