Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

bleach is deprecated; statement on project going forward (2023-01-23) #698

@willkg

Description

@willkg

Summary

As of now, Bleach is deprecated.

We will continue to support Bleach:

  1. security updates
  2. support for new Python versions
  3. fixes for egregious bugs

I figure that's one release a year or something like that.

Why?

Bleach sits on top of--and heavily relies on--html5lib which is no longer in active development. It is increasingly difficult to maintain Bleach in that context and I think it's nuts to build a security library on top of a library that's not in active development. There are some options (switch to something else, take over html5lib, etc), I don't particularly like any of them. I think instead, someone new should explore the options with a brand new library and a fresh start.

Update: 2026-06-05

Bleach 6.4.0 is the final release of Bleach. There will be no future releases including for Python support or security fixes. Thank you for using and contributing to Bleach!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions