Skip to content

Bump sse-starlette from 3.6.0 to 3.7.0 - #63

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sse-starlette-3.7.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sse-starlette-3.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 15, 2026

Copy link
Copy Markdown
Contributor

Bumps sse-starlette from 3.6.0 to 3.7.0.

Release notes

Sourced from sse-starlette's releases.

v3.7.0

Fixed

  • A generator whose finally gets stuck after an encoding failure or an interrupted send no longer keeps the response open forever (#217). Previously the background task never ran, and uvicorn without a graceful timeout could not finish shutting down.
  • Body iterators are now closed when SSE event encoding fails, so generator cleanup runs before the error escapes (#223).
  • Encoding no longer mutates event dictionaries yielded by a generator (#225).

Added

  • cleanup_timeout parameter on EventSourceResponse: seconds to wait for the generator's cleanup after an encoding failure or interrupted send. Default: 30.0. None means no limit.

Behaviour change

  • Cleanup that takes longer than 30s on this path is now cancelled, and a warning is logged. Pass a larger cleanup_timeout, or None, to allow more time.
  • The deadline only reaches cleanup that can be cancelled. A nested shield or a blocking call in finally can still hang.

Dependencies

  • Upgraded locked dependencies, including Twisted 26.10.0, which addresses open security advisories against Twisted 26.4.0 and earlier. The lockfile does not ship with the package: if you use Daphne, make sure your own environment has Twisted 26.10.0 or later.

What's Changed

New Contributors

Full Changelog: sysid/sse-starlette@v3.6.0...v3.7.0

Commits
  • e023a93 Bump version to 3.7.0
  • c4d6852 build(deps): upgrade dependencies and fix Twisted advisories
  • 94dc9ed Merge pull request #234 from sysid/fix/issue217-bound-cleanup
  • a80458b fix: bound shielded iterator cleanup with cleanup_timeout
  • 501fe94 Merge pull request #225 from HuaTNA/fix-event-dict-mutation
  • 13b96e3 Merge pull request #223 from Claire-ovo/fix/close-body-on-encoding-error
  • 431ad1a docs(readme): switch PyPI badge to shields.io
  • 12a32e5 fix: avoid mutating event dictionaries during encoding
  • ed51eab Close body iterators when SSE event encoding fails
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sse-starlette](https://github.com/sysid/sse-starlette) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/sysid/sse-starlette/releases)
- [Commits](sysid/sse-starlette@v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: sse-starlette
  dependency-version: 3.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants