NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2832 most downloaded on PyPI
Typing stubs for bleach
Last release 2 months ago
28 Jul 2026
Release timing varies
gaps range from 2 weeks to 8 months
Most releases are documented
notes for 32 of 44 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
44 releases · first in 2021
One column per quarter.
Use optional-dependencies for third-party packages
[stubsabot] Bump bleach to 6.4.*
[stubsabot] Bump bleach to 6.4.* (#15873)
Import some items from typing instead of typing_extensions
Import some items from typing instead of typing_extensions (#15711)
Part of #13782
Use dashes instead of underscores for METADATA.toml field names
Use dashes instead of underscores for METADATA.toml field names (#15614)
Rename requires to dependencies in METADATA files
Import webencodings to use Encoding class instead of Protocol
[html5lib] Annotate more (#14994)
webencodings to use Encoding class instead of Protocol_inputstream.BufferedStream, filters.base.Filter, _utils.MethodDispatcher generic_ihatexml.pyi[stubsabot] Bump bleach to 6.3.*
[stubsabot] Bump bleach to 6.3.* (#14932)
Mark stub-only private symbols as @type_check_only in third-party stubs
Mark stub-only private symbols as @type_check_only in third-party stubs (#14545)
Fix regression in definition of bleach.sanitizer._Filter
Fix regression in definition of bleach.sanitizer._Filter (#14041)
Complete bleach
Complete bleach (#13969)
[bleach] Update to 6.2.*
[bleach] Update to 6.2.* (#12927)
Remove bare Incomplete annotations in third-party stubs
Remove bare Incomplete annotations in third-party stubs (#11671)
Use PEP 570 syntax in third party stubs
Use PEP 570 syntax in third party stubs (#11554)
Co-authored-by: Alex Waygood Co-authored-by: Avasam
Complete stubs for bleach (#9314)
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com Co-authored-by: Avasam samuel.06@hotmail.com
third-party: make some protocol params pos-only
third-party: make some protocol params pos-only (#11006)
[stubsabot] Bump bleach to 6.1.*
[stubsabot] Bump bleach to 6.1.* (#10852)
Release: https://pypi.org/pypi/bleach/6.1.0 Homepage: https://github.com/mozilla/bleach Repository: https://github.com/mozilla/bleach Diff: https://github.com/mozilla/bleach/compare/v6.0.0...v6.1.0
Stubsabot analysis of the diff between the two releases:
bleach/__init__.py, bleach/html5lib_shim.py, bleach/linkifier.py.[bleach] Add html5lib_shim.Filter__init__/__iter__
[bleach] Add html5lib_shim.Filter__init__/iter (#10835)
The missing init method caused Filter to be incompatible
with the _Filter protocol, preventing valid initialization of
Cleaner instances.
Closes: #10834
Add an upstream_repository field to METADATA.toml
Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
Add partial_stub metadata field
Add partial_stub metadata field (#10157)
Add defaults for third-party stubs A-D
Add defaults for third-party stubs A-D (#9952)
Stubtest settings: change ignore_missing_stub default to false
Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
Upgrade bleach stubs for 6.0 (#9583) Co-authored-by: Alex Waygood
Upgrade bleach stubs for 6.0 (#9583)
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
Use Incomplete instead of Any in __getattr__
Use Incomplete instead of Any in __getattr__ (#8903)
Import Match and Pattern from re, not typing
Import Match and Pattern from re, not typing (#8277)
Use TypeAlias for type aliases where possible, part II
Use TypeAlias for type aliases where possible, part II (#7667)
Use TypeAlias where possible for type aliases
Use TypeAlias where possible for type aliases (#7630)
Update bleach stubs to version 5
Update bleach stubs to version 5 (#7612)
Use PEP 604 syntax wherever possible
Use PEP 604 syntax wherever possible (#7493)
Nothing published for this version
Never explicitly inherit from object in Python 3-only stubs
Never explicitly inherit from object in Python 3-only stubs (#6777)
Use PEP 585 syntax wherever possible
Use PEP 585 syntax wherever possible (#6717)
Add star to all non-0.1 versions
Add star to all non-0.1 versions (#6146)
Update bleach version (no changes)
Update bleach version (no changes) (#5982)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →