Releases: mpetazzoni/sse.js
sse.js v2.8.0
This release improves SSE specification compliance: retry field now updates reconnect delay, id fields containing NULL are ignored, UTF-8 BOM at stream start is stripped, and lastEventId is updated even when no event is dispatched. Also includes comprehensive spec compliance tests.
sse.js v2.7.2
This release includes more type annotation fixes.
sse.js v2.7.1
This releases fixes the types definitions for TypeScript.
sse.js v2.7.0
This release provides auto-reconnect capabilities, fixes a bug with comment-only blocks triggering empty events, and includes misc type definition fixes.
sse.js v2.6.0
This releases brings a number of bug fixes in the handling of error conditions, completion of the underlying XHR, and handling of state across requests.
sse.js v2.5.0
This release adds more information about the response in the open and error events:
- the HTTP status code of the response is provided in both as the event's
responseCodeproperty - the response headers of a successful request are provided as the
headersproperty of theopenevent
sse.js v2.4.1
Patch release to bring the SSE constructor type definition back.
sse.js v2.4.0
This releases rebuilds the types definitions, including the missing definition of the start option.
Warning
Do not use this release in a TypeScript project; it mistakely removed the type definition for the SSE constructor. Use v2.4.1 instead.
sse.js v2.3.0
This release provides support for the Last-Event-ID header per the Server-Sent Events specification (#50).
sse.js v2.2.0
This release includes further bug fixes in event parsing for improved compliance with the SSE specification, and additional fixes to the TypeScript type definitions for the sse.js library.