sse-starlette breaking changes
sse-starlette 3.7.0 (November 7, 2026) is its newest release with breaking changes, 3 of them. The first: Event encoding no longer mutates dictionaries yielded by generators in sse-starlette 3.7.0. Every breaking API change we have recorded in sse-starlette on PyPI: 11 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.7.1, released November 22, 2026. Source repository
Its 3.6.0 release requires Python 3.11 or later. Python end of life dates.
sse-starlette 3.7.0 breaking changes
- Behavior changed
Event dictionaries yielded by a generator are left unchanged during encoding. Code that relied on them being modified in place must be updated. github.com - Behavior changed
EventSourceResponse
Cleanup running longer than cleanup_timeout (default 30.0 seconds) is now cancelled with a logged warning. Pass a larger cleanup_timeout or None to allow more time. github.com - Signature changed
sse_starlette.EventSourceResponse.__init__
Was def __init__(self, content: ContentStream, status_code: int = 200, headers: Optional[Mapping[str, str]] = None, media_type: str = 'text/event-stream', background: Optional[BackgroundTask] = None, ping: Optional[Union[int, float]] =... pypi.org
sse-starlette 3.6.0 breaking changes
- Removed
Python 3.10 is no longer supported, so the package now requires Python 3.11 or later. Users on Python 3.10 must upgrade their interpreter before updating. github.com
sse-starlette 3.5.0 breaking changes
- Behavior changed
AppStatus.should_exit
The fix for stopped uvicorn servers cancelling later SSE streams also stops AppStatus.should_exit from being set on uvicorn's fallback path. Code that reads AppStatus.should_exit to detect shutdown should use shutdown_event instead. github.com
sse-starlette 3.4.9 breaking changes
- Signature changed
sse_starlette.EventSourceResponse.__init__
Was def __init__(self, content: ContentStream, status_code: int = 200, headers: Optional[Mapping[str, str]] = None, media_type: str = 'text/event-stream', background: Optional[BackgroundTask] = None, ping: Optional[int] = None, sep... pypi.org
sse-starlette 3.2.1 breaking changes
- Signature changed
sse_starlette.EventSourceResponse.__init__
Was def __init__(self, content: ContentStream, status_code: int = 200, headers: Optional[Mapping[str, str]] = None, media_type: str = 'text/event-stream', background: Optional[BackgroundTask] = None, ping: Optional[int] = None, sep... pypi.org - Signature changed
sse_starlette.sse.EventSourceResponse.__init__
Was def __init__(self, content: ContentStream, status_code: int = 200, headers: Optional[Mapping[str, str]] = None, media_type: str = 'text/event-stream', background: Optional[BackgroundTask] = None, ping: Optional[int] = None, sep... pypi.org
sse-starlette 3.1.0 breaking changes
- Removed
sse_starlette.sse.AppStatus.get_or_create_exit_event
AppStatus.get_or_create_exit_event was removed in sse-starlette 3.1.0 pypi.org
Older versions
2 older versions.
Show 2 older versions
sse-starlette 3.0.0 breaking changes
- Removed
sse_starlette.sse.AppStatus.should_exit_event
The global AppStatus.should_exit_event is replaced by context-local event management. Code that reads or sets this global must be updated; the notes name no direct replacement. pypi.org
sse-starlette 2.0.0 breaking changes
- Signature changed
sse_starlette.EventSourceResponse.__init__
Was def __init__(self, content: ContentStream, status_code: int = 200, headers: Optional[Mapping[str, str]] = None, media_type: str = 'text/event-stream', background: Optional[BackgroundTask] = None, ping: Optional[int] = None, sep... pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.