- Added official support for Python 3.14.
- Dropped support for Python 3.9 and PyPy 3.10.
- CI fixes and improvements.
- Restructured the code, splitting the single
protego.pyfile into multiple modules. The public API remains the same but some internal names may now be available at different import paths. - Added type hints and
py.typed. - Added official support for PyPy 3.11.
- Switched the build backend from
setuptoolstohatchling. - Switched from
setup.pytopyproject.toml. - CI fixes and improvements.
- Dropped Python 3.8 support, added official Python 3.13 support.
- Added support for
//-prefixed URLs. - Improved the rendering of the
README.rstcode snippets in GitHub.
- Added official support for Python 3.12.
=is no longer percent-encoded in patterns, fixing many scenarios where patterns included query strings.
- Changed requirements:
- Dropped support for Python 2.7, 3.5, 3.6, and 3.7, and added support for 3.11 and for the upcoming 3.12.
sixis no longer a dependency.
- Added support for the
Visit-Timedirective. - Fixed leading asterisks in allow and disallow values not being properly interpreted.
Protego.parse()now raises value error when content is not a string.
Find the changelog of earlier releases at GitHub.