Skip to content

Releases: sysid/sse-starlette

v3.2.0

17 Jan 13:09

Choose a tag to compare

What's Changed

  • [feat] Allow disabling automatic draining immediately on sigterm by @yuliy-openai in #157
  • feat: add enable_automatic_graceful_drain_mode() for re-enabling auto… by @sysid in #158

New Contributors

Full Changelog: v3.1.2...v3.2.0

v3.1.2

31 Dec 07:59

Choose a tag to compare

What's Changed

  • fix: prevent watcher task leak by using threading.local (#152) by @sysid in #153

Full Changelog: v3.1.1...v3.1.2

v3.1.1

26 Dec 15:22

Choose a tag to compare

What's Changed

  • fix(shutdown): detect uvicorn shutdown via signal handler introspection by @sysid in #151

Full Changelog: v3.1.0...v3.1.1

v3.1.0

26 Dec 14:57

Choose a tag to compare

What's Changed

  • chore(deps): bump actions/setup-python from 3 to 6 by @dependabot[bot] in #143
  • Fix Issue #149: handle_exit cannot signal context-local events by @sysid in #150

Full Changelog: v3.0.4...v3.1.0

v3.0.4

14 Dec 16:16

Choose a tag to compare

What's Changed

  • Add starlette to dependencies by @WOnder93 in #147
  • Maintenance: CI updates, Python 3.13 support, and packaging fixes by @sysid in #148

New Contributors

Full Changelog: v3.0.3...v3.0.4

v3.0.3

30 Oct 18:40

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.2...v3.0.3

v3.0.2

27 Jul 09:07

Choose a tag to compare

Full Changelog: v3.0.1...v3.0.2

v3.0.1

27 Jul 08:55

Choose a tag to compare

Full Changelog: v3.0.0...v3.0.1

v3.0.0

26 Jul 10:19

Choose a tag to compare

What's New in v3.0.0

No breaking changes expected.

  • Fix Issue #140: Replace global AppStatus.should_exit_event with context-local events by @sysid in #141

Major Thread Safety Improvements

  • Multi-Threading Support: SSE now works correctly in multi-threaded applications
  • Multi-Loop Support: Full compatibility with multiple asyncio event loops
  • Automatic Test Isolation: No more manual state resets needed in tests
  • Context-Local Events: Replaced global state with context-aware event management

Development Experience

  • Modern APIs: Updated to Starlette's lifespan parameter (no more deprecation warnings)
  • Clean Testing: Improved pytest configuration and dependency management

Full Changelog: v2.4.1...v3.0.0

v2.4.1

06 Jul 09:40

Choose a tag to compare

Full Changelog: v2.4.0...v2.4.1