Skip to content

Releases: mpetazzoni/sse.js

sse.js v2.5.0

06 Jun 17:06
4254033
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

sse.js v2.1.0

07 Dec 17:28
5727204
Compare
Choose a tag to compare

This new release of SSE fixes an important event parsing bug when the event stream uses \r\n as the event separator (see #17). This should dramatically improve the compatibility of SSE.js with server-side SSE frameworks.

sse.js v2.0.0

08 Nov 20:30
3950fe1
Compare
Choose a tag to compare

SSE.js should now be usable as an ECMAScript module. This is the only change for this new major release.

sse.js v1.0.0

01 Sep 00:17
f6f78ec
Compare
Choose a tag to compare

First major release of sse.js, offering SSE as a fully-compatible polyfill for EventSource.

See https://www.npmjs.com/package/sse.js/v/1.0.0 for more information.