sse-starlette provides a production-ready, standards-compliant Server-Sent Events (SSE) implementation for Starlette and FastAPI. It’s useful for streaming async event data from Python to clients over long-lived HTTP connections, including connection/disconnect handling and graceful shutdown support.
Project status
- The repo appears actively maintained, with recent GitHub pushes (last upstream push on 2026-05-13) and a steady stream of versioned updates in April to May 2026 (v3.4.1 to v3.4.4).
- Update cadence looks fairly frequent during this period, roughly weekly to every few days: v3.4.2 on 2026-05-06, v3.4.3 on 2026-05-11, and v3.4.4 on 2026-05-12.
AI summary generated 2 weeks ago
Recent updates
v3.4.4
3 weeks agoRelease v3.4.4 appears to be a maintenance/release-engineering update rather than a feature release. The diff only bumps version metadata and adds a GitHub Actions workflow for building and publishing packages to PyPI via trusted publishing.
v3.4.3
3 weeks agoThis release is a maintenance update focused entirely on dependency version bumps and package metadata versioning. The project version was incremented to 3.4.3, and the lockfile was refreshed to pull in newer granian and urllib3 builds, with no source-level API changes visible in the diff.
v3.4.2
3 weeks agov3.4.2 is a minimal patch release that primarily updates package metadata and version numbers. The library code itself is unchanged in this diff, with no visible API or behavior modifications.
v3.4.1
1 month agov3.4.1 is presented as a maintenance release: the notes only mention a cryptography patch bump and a Starlette sync. The code diff shows the sync was more substantial than the notes suggest, with SSE response parity changes, packaging/test restructuring, and a few runtime behavior shifts.
v3.3.4
2 months agov3.3.4 contains only dependency version bumps (no feature or behavioral changes described in the release notes). The main impact for developers is potential compatibility differences from updated third-party libraries used for encoding (cbor2), JSON (ujson), HTTP requests (requests), and cryptography.
v3.3.3
2 months agoThis release is mainly a maintenance update, it bumps setup-uv, pyopenssl, and pyasn1, and updates package version metadata to 3.3.3. The diff also adds a detailed architecture document about SSE shutdown and cancellation flow and links to it from the README, but it does not change the library runtime implementation.
Featuresv3.3.2
3 months agoThis release is primarily an examples and maintenance update. It bumps cryptography and filelock, then reorganizes the example suite into standalone scripts with inline dependency metadata, while also adding new demonstrations for frozen-client timeout handling and cooperative shutdown.
Featuresv3.3.1
3 months agoThis release is an infrastructure-focused maintenance update that modernizes the repository around uv, ty, and newer tooling versions. The public runtime API appears unchanged, but the package metadata now requires Python 3.10+, and contributor workflows were significantly rewritten.
v3.3.0
3 months agov3.3.0 adds cooperative shutdown support to EventSourceResponse, letting generators observe an anyio.Event when server shutdown begins and optionally finish within a grace period before being force-cancelled. The release also updates developer tooling and several dependency pins across CI and pre-commit.
Featuresv3.2.0
4 months agov3.2.0 introduces new controls for automatic draining behavior on SIGTERM, including the ability to disable it immediately. It also adds an API helper to re-enable automatic graceful drain mode after it has been turned off.
Features