---
title: "yarl 1.25.1 Breaking Changes on PyPI | Since.dev"
description: "What each yarl release removed, renamed or changed: 21 breaking changes in 7 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/yarl
last_updated: 2026-12-04
---

# 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

Latest version `1.25.1`, released September 15, 2026. [Source repository](https://github.com/aio-libs/yarl)

Its 1.23.0 release requires [Python 3.10](https://since.dev/calendar/python/3.10.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.17.0](#v-0-17-0) to [1.25.1](#v-1-25-1): 19 breaking changes in 6 versions.

## yarl 1.25.1 breaking changes

yarl 1.25.1, released September 15, 2026: 3 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](https://github.com/aio-libs/yarl/releases/tag/v1.25.1)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.25.1)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.25.1)

## yarl 1.24.5 breaking changes

yarl 1.24.5, released July 20, 2026: 4 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](https://github.com/aio-libs/yarl/releases/tag/v1.24.5)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.24.5)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.24.5)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.24.5)

## yarl 1.24.2 breaking changes

yarl 1.24.2, released May 19, 2026: 1 breaking change.

- **Signature changed** `yarl.URL.__getstate__`  

Was def \_\_getstate\_\_(self) -> tuple\[SplitResult\]; now def \_\_getstate\_\_(self) -> tuple\[SplitURLType\]. [pypi.org](https://pypi.org/project/yarl/1.24.2/)

## yarl 1.24.0 breaking changes

yarl 1.24.0, released May 19, 2026: 4 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](https://github.com/aio-libs/yarl/releases/tag/v1.24.0)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.24.0)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.24.0)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.24.0)

## yarl 1.23.0 breaking changes

yarl 1.23.0, released March 1, 2026: 3 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](https://github.com/aio-libs/yarl/releases/tag/v1.23.0)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.23.0)
- **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](https://github.com/aio-libs/yarl/releases/tag/v1.23.0)

## yarl 1.0.0 breaking changes

yarl 1.0.0, released January 15, 2018: 4 breaking changes.

- **Removed** `yarl.quoting.quote`  

yarl.quote is no longer available, so code calling it must stop using it. [pypi.org](https://pypi.org/project/yarl/1.0.0/)
- **Removed** `yarl.quoting.unquote`  

yarl.unquote is no longer available, so code calling it must stop using it. [pypi.org](https://pypi.org/project/yarl/1.0.0/)
- **Behavior changed**  

IP zones in URLs are kept as written instead of being recoded. [github.com](https://github.com/aio-libs/yarl/releases/tag/v1.0.0)
- **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](https://pypi.org/project/yarl/1.0.0/)

## Older versions

1 older version.

### yarl 0.17.0 breaking changes

yarl 0.17.0, released December 30, 2017: 2 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](https://github.com/aio-libs/yarl/releases/tag/v0.17.0)
- **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](https://pypi.org/project/yarl/0.17.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
