Skip to content

2.2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 29 Feb 18:43
· 61 commits to master since this release
858d4ce
  • Added typing support.
  • Added EventSourceResponse.is_connected() method.
  • Added EventSourceResponse.last_event_id attribute.
  • Added support for SSE with HTTP methods other than GET.
  • Added support for float ping intervals.
  • Fixed (on Python 3.11+) EventSourceResponse.wait() swallowing user cancellation.
  • Fixed ping task not getting cancelled after a send failure.
  • Cancelled the ping task when a connection error occurs to help avoid errors.
  • Dropped support for Python 3.7 while adding support upto Python 3.12.