---
title: "sse-starlette 3.7.0 Breaking Changes on PyPI | Since.dev"
description: "What each sse-starlette release removed, renamed or changed: 11 breaking changes in 8 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/sse-starlette
last_updated: 2026-12-04
---

# 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

Latest version `3.7.1`, released November 22, 2026. [Source repository](https://github.com/sysid/sse-starlette)

Its 3.6.0 release requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.0.0](#v-2-0-0) to [3.7.0](#v-3-7-0): 10 breaking changes in 7 versions.

## sse-starlette 3.7.0 breaking changes

sse-starlette 3.7.0, released November 7, 2026: 3 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](https://github.com/sysid/sse-starlette/releases/tag/v3.7.0)
- **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](https://github.com/sysid/sse-starlette/releases/tag/v3.7.0)
- **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](https://pypi.org/project/sse-starlette/3.7.0/)

## sse-starlette 3.6.0 breaking changes

sse-starlette 3.6.0, released October 25, 2026: 1 breaking change.

- **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](https://github.com/sysid/sse-starlette/commit/ea49b6aef8298d9faf8d8cf79fc0e59898d0c16a)

## sse-starlette 3.5.0 breaking changes

sse-starlette 3.5.0, released September 28, 2026: 1 breaking change.

- **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](https://github.com/sysid/sse-starlette/releases/tag/v3.5.0)

## sse-starlette 3.4.9 breaking changes

sse-starlette 3.4.9, released September 3, 2026: 1 breaking change.

- **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](https://pypi.org/project/sse-starlette/3.4.9/)

## sse-starlette 3.2.1 breaking changes

sse-starlette 3.2.1, released February 28, 2026: 2 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](https://pypi.org/project/sse-starlette/3.2.1/)
- **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](https://pypi.org/project/sse-starlette/3.2.1/)

## sse-starlette 3.1.0 breaking changes

sse-starlette 3.1.0, released December 26, 2025: 1 breaking change.

- **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](https://pypi.org/project/sse-starlette/3.1.0/)

## Older versions

2 older versions.

### sse-starlette 3.0.0 breaking changes

sse-starlette 3.0.0, released July 26, 2025: 1 breaking change.

- **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](https://pypi.org/project/sse-starlette/3.0.0/)

### sse-starlette 2.0.0 breaking changes

sse-starlette 2.0.0, released January 25, 2024: 1 breaking change.

- **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](https://pypi.org/project/sse-starlette/2.0.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
