Releases: EventSource/eventsource
Releases · EventSource/eventsource
v4.0.0
4.0.0 (2025-05-13)
⚠ BREAKING CHANGES
FetchLikeInit
is now removed. Use
EventSourceFetchInit
.- Drop support for Node.js v18, as it is end-of-life.
Features
- require node.js v20 or higher (91a3a48)
Bug Fixes
- drop
FetchLikeInit
type. UseEventSourceFetchInit
instead. (6786e46)
This release is also available on:
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2024-12-07)
⚠ BREAKING CHANGES
- Drop support for Node.js versions below v18
- The module now uses a named export instead of a default export.
- UMD bundle dropped. Use a bundler.
headers
in init dict dropped, pass a customfetch
function instead.- HTTP/HTTPS proxy support dropped. Pass a custom
fetch
function instead. https.*
options dropped. Pass a customfetch
function that provides an agent/dispatcher instead.- New default reconnect delay: 3 seconds instead of 1 second.
- Reconnecting after a redirect will now always use the original URL, even if the status code was HTTP 307.
Features
Bug Fixes
dispatchEvent
now emits entire event object (eb430c0)- empty options no longer disable certificate checks (372d387)
This release is also available on: