Skip to content

Releases: mpetazzoni/sse.js

sse.js v2.8.0

07 Feb 17:40
v2.8.0
cee563c

Choose a tag to compare

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

25 Sep 00:53
1fb9ac6

Choose a tag to compare

This release includes more type annotation fixes.

sse.js v2.7.1

08 Sep 21:16
72cea48

Choose a tag to compare

This releases fixes the types definitions for TypeScript.

sse.js v2.7.0

28 Aug 16:28
8d93e76

Choose a tag to compare

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

13 Feb 19:11
39b9b82

Choose a tag to compare

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

06 Jun 17:06
4254033

Choose a tag to compare

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 responseCode property
  • the response headers of a successful request are provided as the headers property of the open event

sse.js v2.4.1

13 Mar 19:58
febdf09

Choose a tag to compare

Patch release to bring the SSE constructor type definition back.

sse.js v2.4.0

11 Mar 15:57
d3ed3a6

Choose a tag to compare

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

01 Mar 05:50
8b7c909

Choose a tag to compare

This release provides support for the Last-Event-ID header per the Server-Sent Events specification (#50).

sse.js v2.2.0

05 Jan 20:44
57b6e4c

Choose a tag to compare

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.