Releases: EventSource/eventsource
Releases · EventSource/eventsource
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: