protego breaking changes
protego 0.7.0 (September 21, 2026) is its newest release with breaking changes, 7 of them. The first: Fragment is left out of URL matching in Protego 0.7.0. Every breaking API change we have recorded in protego on PyPI: 9 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.7.0, released September 21, 2026. Source repository
Its 0.6.0 release drops Python 3.9. Python end of life dates.
protego 0.7.0 breaking changes
- Behavior changed
The fragment of a URL is no longer considered when matching rules. github.com - Behavior changed
Sitemap and Host lines are now read anywhere in the file and no longer merge the groups they sit between. A User-agent line without a value still ends the preceding group. github.com - Behavior changed
Malformed Crawl-delay values and Request-rate values with zero requests or seconds are now ignored instead of being used. github.com - Behavior changed
Percent-encoding is now normalized in the query string and parameters of a URL, not only the path, and the fragment is left out of matching. Rules may match different URLs than before. github.com - Behavior changed
A group now applies to a user agent only if its product token appears at a token boundary, so a short name such as bot no longer matches mybot. github.com - Behavior changed
can_fetch
can_fetch() now allows /robots.txt regardless of the rules in the file, as RFC 9309 requires. github.com - Behavior changed
Protego.parse
Passing content that is not a string to Protego.parse() now raises TypeError instead of ValueError. Code that catches ValueError must catch TypeError instead. github.com
protego 0.6.0 breaking changes
- Removed
The release ends support for Python 3.9. Users on Python 3.9 must upgrade their Python version to keep using this release. github.com
protego 0.5.0 breaking changes
- Signature changed
protego.RequestRate
Was RequestRate; now class RequestRate(NamedTuple). 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.