Skip to content

SSEClient v2.0.0

Choose a tag to compare

@mpetazzoni mpetazzoni released this 15 Nov 19:29
5b8ed40

SSEClient 2.0.0

Python 3.11 or newer is now required. The public parsing API is unchanged.

  • Fix event boundaries with mixed CR, LF, and CRLF line endings, including endings split across HTTP chunks. Thanks @bensynapse (#35).
  • Ignore exactly one leading UTF-8 BOM without removing later BOM characters. Thanks @shayanxcyber (#36).
  • Fix type annotations for iterable response objects and Python 3.11.
  • Refresh the requests, urllib3, and httpx examples and clarify timeout and reconnect behavior.
  • Add CI for Python 3.11–3.15 and publish PyPI distributions through Trusted Publishing with provenance attestations.

Upgrade with pip install --upgrade sseclient-py.