History.md 5.0 KB

0.1.6

  • Ignore headers without a value. (#41, #43 Adriano Raiano)

0.1.5

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

0.1.4

  • Bugfix: Added missing origin property. (#39, #38 Arnout Kazemier)
  • Expose status property on error events. (#40 Adriano Raiano)

0.1.3

  • Bugfix: Made message properties enumerable. (#37 Golo Roden)

0.1.2

  • Bugfix: Blank lines not read. (#35, #36 Lesterpig)

0.1.1

  • Bugfix: Fix message type. (#33 Romain Gauthier)

0.1.0

  • Bugfix: High CPU usage by replacing Jison with port of WebKit's parser. (#25, #32, #18 qqueue)
  • Reformatted all code to 2 spaces.

0.0.10

  • Provide Event argument on open and error event (#30, #31 Donghwan Kim)
  • Expose lastEventId on messages. (#28 mbieser)

0.0.9

  • Bugfix: old "last-event-id" used on reconnect (#27 Aslak Hellesøy)

0.0.8

  • Bugfix: EventSource still reconnected when closed (#24 FrozenCow)
  • Allow unauthorized HTTPS connections by setting rejectUnauthorized to false. (Aslak Hellesøy)

0.0.7

  • Explicitly raise an error when server returns http 403 and don't continue (#20 Scott Moak)
  • Added ability to send custom http headers to server (#21, #9 Scott Moak)
  • Fix Unicode support to cope with Javascript Unicode size limitations (#23, #22 Devon Adkisson)
  • Graceful handling of parse errors (#19 Aslak Hellesøy)
  • Switched from testing with Nodeunit to Mocha (Aslak Hellesøy)

0.0.6

  • Add Accept: text/event-stream header (#17 William Wicks)

0.0.5

  • Add no-cache and https support (#10 Einar Otto Stangvik)
  • Ensure that Last-Event-ID is sent to the server for reconnects, as defined in the spec (#8 Einar Otto Stangvik)
  • Verify that CR and CRLF are accepted alongside LF (#7 Einar Otto Stangvik)
  • Emit 'open' event (#4 Einar Otto Stangvik)

0.0.4

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

0.0.3

  • Jison based eventstream parser (#2 Einar Otto Stangvik)

0.0.2

  • Use native EventListener (Aslak Hellesøy)

0.0.1

  • First release