yarl breaking changes
yarl 1.25.1 (September 15, 2026) is its newest release with breaking changes, 3 of them. The first: Quoting now rejects % and spaces in safe or protected sets in yarl 1.25.1. Every breaking API change we have recorded in yarl on PyPI: 21 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.25.1, released September 15, 2026. Source repository
Its 1.23.0 release requires Python 3.10 or later. Python end of life dates.
yarl 1.25.1 breaking changes
- Behavior changed
Requoting with % in safe or protected, or a space in safe or protected for query strings, now fails instead of being accepted. Remove those characters from those arguments. github.com - Behavior changed
The pure Python quoter now raises when created with non-ASCII safe or protected characters, matching the C extension. Use ASCII characters in those arguments. github.com - Behavior changed
URL.query
URL.query no longer returns empty fields and now keeps invalid percent-encoded UTF-8 decoded as parse_qsl does. Code relying on the old output may need updating. github.com
yarl 1.24.5 breaking changes
- Behavior changed
The accelerated quoting backend now strips lone surrogate code points, matching the pure-Python backend, so its output changes for such input. github.com - Behavior changed
yarl.URL.build
Hosts that IDNA normalization turns into /, ? or # are now rejected by build, so code that relied on them being accepted will raise an error. github.com - Behavior changed
yarl.URL.host
For IPv6 zone ID URLs, host now returns the decoded separator (for example fe80::1%1) instead of the percent-encoded %25. Code that compares or parses the old value must be updated. github.com - Behavior changed
yarl.URL.with_host
Hosts that IDNA normalization turns into /, ? or # are now rejected by with_host, so code that relied on them being accepted will raise an error. github.com
yarl 1.24.2 breaking changes
- Signature changed
yarl.URL.__getstate__
Was def __getstate__(self) -> tuple[SplitResult]; now def __getstate__(self) -> tuple[SplitURLType]. pypi.org
yarl 1.24.0 breaking changes
- Removed
The release no longer supports the experimental free-threaded build of Python 3.13. Users on that build must move to a supported Python version. github.com - Behavior changed
split_netloc
split_netloc now raises ValueError when the authority has more than one bracket character or when an opening bracket is not at the start of the host. Previously such input was silently parsed. github.com - Behavior changed
split_url
split_url now raises ValueError when the authority has more than one bracket character or when an opening bracket is not at the start of the host. Previously such input was silently parsed. github.com - Behavior changed
yarl.URL
A URL whose authority contains a backslash now raises ValueError instead of being accepted. Code that passes such URLs must fix or handle the error. github.com
yarl 1.23.0 breaking changes
- Removed
Python 3.9 is no longer supported; Python 3.10 is the minimum version. Users on Python 3.9 must upgrade Python. github.com - Default changed
The in-tree build backend now sets default optimized compiler flags and, for temporary-directory wheel builds, injects -ffile-prefix-map into CFLAGS; build outputs change accordingly. github.com - Configuration changed
Wheel builds default to a temporary directory; users who relied on in-tree builds must pass the build-inplace config setting. Editable builds stay in-tree. github.com
yarl 1.0.0 breaking changes
- Removed
yarl.quoting.quote
yarl.quote is no longer available, so code calling it must stop using it. pypi.org - Removed
yarl.quoting.unquote
yarl.unquote is no longer available, so code calling it must stop using it. pypi.org - Behavior changed
IP zones in URLs are kept as written instead of being recoded. github.com - Signature changed
yarl.URL.build
Was @classmethod def build(cls, *, scheme: str = '', user: str = '', password: str = '', host: str = '', port: int = None, path: str = '', query: Mapping = None, query_string: str = '', fragment: str = '') -> URL; now @classmethod def... pypi.org
Older versions
1 older version.
Show 1 older version
yarl 0.17.0 breaking changes
- Behavior changed
Internationalized domain names are now processed with IDNA 2008 rather than the previous IDNA standard, so hostnames may be encoded or accepted differently. Check code that handles non-ASCII hostnames. github.com - Signature changed
yarl.URL.__init__
Was def __init__(self, val: Union[str, URL] = '', *, encoded: bool = False, strict: bool = None) -> None; now def __init__(self, val: Union[str, URL] = '', *, encoded: bool = False, strict=None) -> None. 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.