githubEdit

HISTORY

  • Fix issue where a unicode sequence split in two chunks would lead to invalid messages (#108arrow-up-right Espen Hovlandsdal)

  • Change example to use eventsource/ssestream (Aslak Hellesøy)

  • Fix proxy not working when proxy and target URL uses different protocols. (#76arrow-up-right Espen Hovlandsdal)

  • Make close() a prototype method instead of an instance method. (#77arrow-up-right Espen Hovlandsdal)

  • Reconnect if server responds with HTTP 500, 502, 503 or 504. (#74arrow-up-right Vykintas Narmontas)

  • Fix onConnectionClosed firing multiple times resulting in multiple connections. (#61arrow-up-right Phil Strong / Duncan Wong)

  • Remove unneeded isPlainObject check for headers. (#64arrow-up-right David Mark)

  • Fix close() for polyfill. (#52arrow-up-right brian-medendorp)

  • Add http/https proxy function. (#46arrow-up-right Eric Lu)

  • Fix reconnect for polyfill. Only disable reconnect when server status is 204. (Aslak Hellesøy).

  • Drop support for Node 0.10.x and older (Aslak Hellesøy).

  • Renamed repository to eventsource (since it's not just Node, but also browser polyfill). (Aslak Hellesøy).

  • Compatibility with webpack/browserify. (#44arrow-up-right Adriano Raiano).

  • Refactor tests to support Node.js 0.12.0 and Io.js 1.1.0. (Aslak Hellesøy)

  • Bugfix: EventSource still reconnected when closed (#24arrow-up-right FrozenCow)

  • Allow unauthorized HTTPS connections by setting rejectUnauthorized to false. (Aslak Hellesøy)

  • Add no-cache and https support (#10arrow-up-right Einar Otto Stangvik)

  • Ensure that Last-Event-ID is sent to the server for reconnects, as defined in the spec (#8arrow-up-right Einar Otto Stangvik)

  • Verify that CR and CRLF are accepted alongside LF (#7arrow-up-right Einar Otto Stangvik)

  • Emit 'open' event (#4arrow-up-right Einar Otto Stangvik)

  • Automatic reconnect every second if the server is down. Reconnect interval can be set with reconnectInterval (not in W3C spec). (Aslak Hellesøy)

  • Use native EventListener (Aslak Hellesøy)

0.0.1

  • First release

Last updated

Was this helpful?