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

# 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

Latest version `0.7.0`, released September 21, 2026. [Source repository](https://github.com/scrapy/protego)

Its 0.6.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.5.0](#v-0-5-0) to [0.7.0](#v-0-7-0): 8 breaking changes in 2 versions.

## protego 0.7.0 breaking changes

protego 0.7.0, released September 21, 2026: 7 breaking changes.

- **Behavior changed**  

The fragment of a URL is no longer considered when matching rules. [github.com](https://github.com/scrapy/protego/blob/0.7.0/CHANGELOG.rst)
- **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](https://github.com/scrapy/protego/blob/0.7.0/CHANGELOG.rst)
- **Behavior changed**  

Malformed Crawl-delay values and Request-rate values with zero requests or seconds are now ignored instead of being used. [github.com](https://github.com/scrapy/protego/blob/0.7.0/CHANGELOG.rst)
- **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](https://github.com/scrapy/protego/blob/0.7.0/CHANGELOG.rst)
- **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](https://github.com/scrapy/protego/blob/0.7.0/CHANGELOG.rst)
- **Behavior changed** `can_fetch`  

can_fetch() now allows /robots.txt regardless of the rules in the file, as RFC 9309 requires. [github.com](https://github.com/scrapy/protego/blob/0.7.0/CHANGELOG.rst)
- **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](https://github.com/scrapy/protego/blob/0.7.0/CHANGELOG.rst)

## protego 0.6.0 breaking changes

protego 0.6.0, released January 29, 2026: 1 breaking change.

- **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](https://github.com/scrapy/protego/releases/tag/0.6.0)

## protego 0.5.0 breaking changes

protego 0.5.0, released June 24, 2025: 1 breaking change.

- **Signature changed** `protego.RequestRate`  

Was RequestRate; now class RequestRate(NamedTuple). [pypi.org](https://pypi.org/project/Protego/0.5.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.
