url-normalize breaking changes
url-normalize 4.0.0 (November 19, 2026) is its newest release with breaking changes, 30 of them. The first: Removed url_normalize.generic_url_cleanup. Every breaking API change we have recorded in url-normalize on PyPI: 30 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released November 19, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
url-normalize 4.0.0 breaking changes
- Removed
url_normalize.generic_url_cleanup
url_normalize.generic_url_cleanup was removed in url-normalize 4.0.0 pypi.org - Removed
url_normalize.normalize_path.RESERVED_CHARACTERS
url_normalize.normalize_path.RESERVED_CHARACTERS was removed in url-normalize 4.0.0 pypi.org - Removed
url_normalize.normalize_userinfo.RESERVED_CHARACTERS
url_normalize.normalize_userinfo.RESERVED_CHARACTERS was removed in url-normalize 4.0.0 pypi.org - Removed
url_normalize.tools
url_normalize.tools was removed in url-normalize 4.0.0 pypi.org - Removed
url_normalize.url_normalize.generic_url_cleanup
url_normalize.url_normalize.generic_url_cleanup was removed in url-normalize 4.0.0 pypi.org - Renamed
url_normalize.param_allowlist.normalize_host
Use url_normalize.param_filter.normalize_host instead. pypi.org - Behavior changed
Nonempty ports containing anything except ASCII digits raise ValueError, and the CLI exits with status 1. github.com - Behavior changed
IPv6 addresses use zero compression and dotted-decimal IPv4-mapped suffixes. The same spelling applies to default domains and filter domain keys. github.com - Behavior changed
Paths like /a//../b now normalize to /a/b instead of /b. Check code that depends on the old result. github.com - Behavior changed
Relative references such as ../images/a.png, ./a, ?q=1 and #section are no longer given a scheme or hostname. github.com - Behavior changed
Escapes such as a%2Fb stay distinct from a/b during humanization and filter matching. github.com - Behavior changed
Hashbang fragments such as #!/route are kept as written. Code needing the legacy conversion must implement it itself. github.com - Behavior changed
Hosts containing literal display controls, including in IPv6 zone identifiers, are rejected with UnicodeError, a ValueError subclass. github.com - Behavior changed
Hostnames with leading empty labels, repeated trailing dots or dot-only hosts are kept, while a single trailing dot is still removed from other hosts. github.com - Behavior changed
default_scheme
Malformed default_scheme strings raise ValueError and non-string values raise TypeError, even when the scheme is not applied. github.com - Default changed
filter_params
Providing a custom allowlist filters parameters without filter_params=True or CLI -f. Empty lists or maps remove all query parameters; omit the rule to disable filtering. github.com - Signature changed
url_normalize.cli.url_humanize
Was def url_humanize(url: str | None, *, default_scheme: str = DEFAULT_SCHEME, default_domain: str | None = None, filter_params: bool = False, param_allowlist: dict | list | None = None) -> str | None; now def url_humanize(url: str | None... pypi.org - Signature changed
url_normalize.cli.url_normalize
Was def url_normalize(url: str | None, *, default_scheme: str = DEFAULT_SCHEME, default_domain: str | None = None, filter_params: bool = False, param_allowlist: dict | list | None = None) -> str | None; now def url_normalize(url: str |... pypi.org - Signature changed
url_normalize.normalize_path.normalize_component
Was def normalize_component(string: str, safe: str, preserve: str) -> str; now def normalize_component(string: str, safe: str) -> str. pypi.org - Signature changed
url_normalize.normalize_path.normalize_path
Was def normalize_path(path: str, scheme: str) -> str; now def normalize_path(path: str, scheme: str, *, collapse_slashes: bool = True, remove_trailing_slash: bool = False) -> str. pypi.org - Signature changed
url_normalize.normalize_query.get_allowed_params
Was def get_allowed_params(host: str | None = None, allowlist: dict | list | None = None) -> set[str]; now def get_allowed_params(host: str | None = None, allowlist: _ParamRules | None = None) -> set[str]. pypi.org - Signature changed
url_normalize.normalize_query.normalize_component
Was def normalize_component(string: str, safe: str, preserve: str) -> str; now def normalize_component(string: str, safe: str) -> str. pypi.org - Signature changed
url_normalize.normalize_query.normalize_query
Was def normalize_query(query: str, *, host: str | None = None, filter_params: bool = False, param_allowlist: list | dict | None = None) -> str; now def normalize_query(query: str, *, host: str | None = None, filter_params: bool = False... pypi.org - Signature changed
url_normalize.normalize_userinfo.normalize_component
Was def normalize_component(string: str, safe: str, preserve: str) -> str; now def normalize_component(string: str, safe: str) -> str. pypi.org - Signature changed
url_normalize.param_allowlist.get_allowed_params
Was def get_allowed_params(host: str | None = None, allowlist: dict | list | None = None) -> set[str]; now def get_allowed_params(host: str | None = None, allowlist: _ParamRules | None = None) -> set[str]. pypi.org - Signature changed
url_normalize.url_humanize.url_humanize
Was def url_humanize(url: str | None, *, default_scheme: str = DEFAULT_SCHEME, default_domain: str | None = None, filter_params: bool = False, param_allowlist: dict | list | None = None) -> str | None; now def url_humanize(url: str | None... pypi.org - Signature changed
url_normalize.url_humanize.url_normalize
Was def url_normalize(url: str | None, *, default_scheme: str = DEFAULT_SCHEME, default_domain: str | None = None, filter_params: bool = False, param_allowlist: dict | list | None = None) -> str | None; now def url_normalize(url: str |... pypi.org - Signature changed
url_normalize.url_normalize.normalize_path
Was def normalize_path(path: str, scheme: str) -> str; now def normalize_path(path: str, scheme: str, *, collapse_slashes: bool = True, remove_trailing_slash: bool = False) -> str. pypi.org - Signature changed
url_normalize.url_normalize.normalize_query
Was def normalize_query(query: str, *, host: str | None = None, filter_params: bool = False, param_allowlist: list | dict | None = None) -> str; now def normalize_query(query: str, *, host: str | None = None, filter_params: bool = False... pypi.org - Signature changed
url_normalize.url_normalize.url_normalize
Was def url_normalize(url: str | None, *, default_scheme: str = DEFAULT_SCHEME, default_domain: str | None = None, filter_params: bool = False, param_allowlist: dict | list | None = None) -> str | None; now def url_normalize(url: str |... pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.