- 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.
- Added Python 3.10 support (#314)
- Drop Python 3.6 support (#319)
- Drop aiohttp < 3 support
EventSourceResponse.send
is now a coroutine.
- Drop python 3.4 support
- Add new context manager API
- Release aiohttp-sse==1.0.0
- add support for asynchronous context manager interface
- tests refactoring
- modernize internal api to align with aiohttp
- Added MANIFEST.in
- Initial release