7a3dc238b2490110442fd3a20c5a9edae16ed4e3e1ca189f40f0b9bfdc5101c9f47c5c5a28e33fdffd290b2ba610dea2fbf007d7396afadc6b98a1d1e78241 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. # [2.0.2](https://github.com/EventSource/eventsource/compare/v2.0.1...v2.0.2)
  2. * Do not include authorization and cookie headers on redirect to different origin ([#273](https://github.com/EventSource/eventsource/pull/273) Espen Hovlandsdal)
  3. # [2.0.1](https://github.com/EventSource/eventsource/compare/v2.0.0...v2.0.1)
  4. * Fix `URL is not a constructor` error for browser ([#268](https://github.com/EventSource/eventsource/pull/268) Ajinkya Rajput)
  5. # [2.0.0](https://github.com/EventSource/eventsource/compare/v1.1.0...v2.0.0)
  6. * BREAKING: Node >= 12 now required ([#152](https://github.com/EventSource/eventsource/pull/152) @HonkingGoose)
  7. * Preallocate buffer size when reading data for increased performance with large messages ([#239](https://github.com/EventSource/eventsource/pull/239) Pau Freixes)
  8. * Removed dependency on url-parser. Fixes [CVE-2022-0512](https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-0512) & [CVE-2022-0691](https://nvd.nist.gov/vuln/detail/CVE-2022-0691) ([#249](https://github.com/EventSource/eventsource/pull/249) Alex Hladin)
  9. # [1.1.1](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1)
  10. * Do not include authorization and cookie headers on redirect to different origin ([#273](https://github.com/EventSource/eventsource/pull/273) Espen Hovlandsdal)
  11. # [1.1.0](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.0)
  12. * Improve performance for large messages across many chunks ([#130](https://github.com/EventSource/eventsource/pull/130) Trent Willis)
  13. * Add `createConnection` option for http or https requests ([#120](https://github.com/EventSource/eventsource/pull/120) Vasily Lavrov)
  14. * Support HTTP 302 redirects ([#116](https://github.com/EventSource/eventsource/pull/116) Ryan Bonte)
  15. * Prevent sequential errors from attempting multiple reconnections ([#125](https://github.com/EventSource/eventsource/pull/125) David Patty)
  16. * Add `new` to correct test ([#111](https://github.com/EventSource/eventsource/pull/101) Stéphane Alnet)
  17. * Fix reconnections attempts now happen more than once ([#136](https://github.com/EventSource/eventsource/pull/136) Icy Fish)
  18. # [1.0.7](https://github.com/EventSource/eventsource/compare/v1.0.6...v1.0.7)
  19. * Add dispatchEvent to EventSource ([#101](https://github.com/EventSource/eventsource/pull/101) Ali Afroozeh)
  20. * Added `checkServerIdentity` option ([#104](https://github.com/EventSource/eventsource/pull/104) cintolas)
  21. * Surface request error message ([#107](https://github.com/EventSource/eventsource/pull/107) RasPhilCo)
  22. # [1.0.6](https://github.com/EventSource/eventsource/compare/v1.0.5...v1.0.6)
  23. * Fix issue where a unicode sequence split in two chunks would lead to invalid messages ([#108](https://github.com/EventSource/eventsource/pull/108) Espen Hovlandsdal)
  24. * Change example to use `eventsource/ssestream` (Aslak Hellesøy)
  25. # [1.0.5](https://github.com/EventSource/eventsource/compare/v1.0.4...v1.0.5)
  26. * Check for `window` existing before polyfilling. ([#80](https://github.com/EventSource/eventsource/pull/80) Neftaly Hernandez)
  27. # [1.0.4](https://github.com/EventSource/eventsource/compare/v1.0.2...v1.0.4)
  28. * Pass withCredentials on to the XHR. ([#79](https://github.com/EventSource/eventsource/pull/79) Ken Mayer)
  29. # [1.0.2](https://github.com/EventSource/eventsource/compare/v1.0.1...v1.0.2)
  30. * Fix proxy not working when proxy and target URL uses different protocols. ([#76](https://github.com/EventSource/eventsource/pull/76) Espen Hovlandsdal)
  31. * Make `close()` a prototype method instead of an instance method. ([#77](https://github.com/EventSource/eventsource/pull/77) Espen Hovlandsdal)
  32. # [1.0.1](https://github.com/EventSource/eventsource/compare/v1.0.0...v1.0.1)
  33. * Reconnect if server responds with HTTP 500, 502, 503 or 504. ([#74](https://github.com/EventSource/eventsource/pull/74) Vykintas Narmontas)
  34. # [1.0.0](https://github.com/EventSource/eventsource/compare/v0.2.3...v1.0.0)
  35. * Add missing `removeEventListener`-method. ([#51](https://github.com/EventSource/eventsource/pull/51) Yucheng Tu / Espen Hovlandsdal)
  36. * Fix EventSource reconnecting on non-200 responses. ([af84476](https://github.com/EventSource/eventsource/commit/af84476b519a01e61b8c80727261df52ae40022c) Espen Hovlandsdal)
  37. * Add ability to customize https options. ([#53](https://github.com/EventSource/eventsource/pull/53) Rafael Alfaro)
  38. * Add readyState constants to EventSource instances. ([#66](https://github.com/EventSource/eventsource/pull/66) Espen Hovlandsdal)
  39. # [0.2.3](https://github.com/EventSource/eventsource/compare/v0.2.2...v0.2.3)
  40. * Fix `onConnectionClosed` firing multiple times resulting in multiple connections. ([#61](https://github.com/EventSource/eventsource/pull/61) Phil Strong / Duncan Wong)
  41. * Remove unneeded isPlainObject check for headers. ([#64](https://github.com/EventSource/eventsource/pull/64) David Mark)
  42. # [0.2.2](https://github.com/EventSource/eventsource/compare/v0.2.1...v0.2.2)
  43. * Don't include test files in npm package. ([#56](https://github.com/EventSource/eventsource/pull/56) eanplatter)
  44. # [0.2.1](https://github.com/EventSource/eventsource/compare/v0.2.0...v0.2.1)
  45. * Fix `close()` for polyfill. ([#52](https://github.com/EventSource/eventsource/pull/52) brian-medendorp)
  46. * Add http/https proxy function. ([#46](https://github.com/EventSource/eventsource/pull/46) Eric Lu)
  47. * Fix reconnect for polyfill. Only disable reconnect when server status is 204. (Aslak Hellesøy).
  48. * Drop support for Node 0.10.x and older (Aslak Hellesøy).
  49. # [0.2.0](https://github.com/EventSource/eventsource/compare/v0.1.6...v0.2.0)
  50. * Renamed repository to `eventsource` (since it's not just Node, but also browser polyfill). (Aslak Hellesøy).
  51. * Compatibility with webpack/browserify. ([#44](https://github.com/EventSource/eventsource/pull/44) Adriano Raiano).
  52. # [0.1.6](https://github.com/EventSource/eventsource/compare/v0.1.5...v0.1.6)
  53. * Ignore headers without a value. ([#41](https://github.com/EventSource/eventsource/issues/41), [#43](https://github.com/EventSource/eventsource/pull/43) Adriano Raiano)
  54. # [0.1.5](https://github.com/EventSource/eventsource/compare/v0.1.4...v0.1.5)
  55. * Refactor tests to support Node.js 0.12.0 and Io.js 1.1.0. (Aslak Hellesøy)
  56. # [0.1.4](https://github.com/EventSource/eventsource/compare/v0.1.3...master)
  57. * Bugfix: Added missing origin property. ([#39](https://github.com/EventSource/eventsource/pull/39), [#38](https://github.com/EventSource/eventsource/issues/38) Arnout Kazemier)
  58. * Expose `status` property on `error` events. ([#40](https://github.com/EventSource/eventsource/pull/40) Adriano Raiano)
  59. # [0.1.3](https://github.com/EventSource/eventsource/compare/v0.1.2...v0.1.3)
  60. * Bugfix: Made message properties enumerable. ([#37](https://github.com/EventSource/eventsource/pull/37) Golo Roden)
  61. # [0.1.2](https://github.com/EventSource/eventsource/compare/v0.1.1...v0.1.2)
  62. * Bugfix: Blank lines not read. ([#35](https://github.com/EventSource/eventsource/issues/35), [#36](https://github.com/EventSource/eventsource/pull/36) Lesterpig)
  63. # [0.1.1](https://github.com/EventSource/eventsource/compare/v0.1.0...v0.1.1)
  64. * Bugfix: Fix message type. ([#33](https://github.com/EventSource/eventsource/pull/33) Romain Gauthier)
  65. # [0.1.0](https://github.com/EventSource/eventsource/compare/v0.0.10...v0.1.0)
  66. * Bugfix: High CPU usage by replacing Jison with port of WebKit's parser. ([#25](https://github.com/EventSource/eventsource/issues/25), [#32](https://github.com/EventSource/eventsource/pull/32), [#18](https://github.com/EventSource/eventsource/issues/18) qqueue)
  67. * Reformatted all code to 2 spaces.
  68. # [0.0.10](https://github.com/EventSource/eventsource/compare/v0.0.9...v0.0.10)
  69. * Provide `Event` argument on `open` and `error` event ([#30](https://github.com/EventSource/eventsource/issues/30), [#31](https://github.com/EventSource/eventsource/pull/31) Donghwan Kim)
  70. * Expose `lastEventId` on messages. ([#28](https://github.com/EventSource/eventsource/pull/28) mbieser)
  71. # [0.0.9](https://github.com/EventSource/eventsource/compare/v0.0.8...v0.0.9)
  72. * Bugfix: old "last-event-id" used on reconnect ([#27](https://github.com/EventSource/eventsource/pull/27) Aslak Hellesøy)
  73. # [0.0.8](https://github.com/EventSource/eventsource/compare/v0.0.7...v0.0.8)
  74. * Bugfix: EventSource still reconnected when closed ([#24](https://github.com/EventSource/eventsource/pull/24) FrozenCow)
  75. * Allow unauthorized HTTPS connections by setting `rejectUnauthorized` to false. (Aslak Hellesøy)
  76. # [0.0.7](https://github.com/EventSource/eventsource/compare/v0.0.6...v0.0.7)
  77. * Explicitly raise an error when server returns http 403 and don't continue ([#20](https://github.com/EventSource/eventsource/pull/20) Scott Moak)
  78. * Added ability to send custom http headers to server ([#21](https://github.com/EventSource/eventsource/pull/21), [#9](https://github.com/EventSource/eventsource/issues/9) Scott Moak)
  79. * Fix Unicode support to cope with Javascript Unicode size limitations ([#23](https://github.com/EventSource/eventsource/pull/23), [#22](https://github.com/EventSource/eventsource/issues/22) Devon Adkisson)
  80. * Graceful handling of parse errors ([#19](https://github.com/EventSource/eventsource/issues/19) Aslak Hellesøy)
  81. * Switched from testing with Nodeunit to Mocha (Aslak Hellesøy)
  82. # [0.0.6](https://github.com/EventSource/eventsource/compare/v0.0.5...v0.0.6)
  83. * Add Accept: text/event-stream header ([#17](https://github.com/EventSource/eventsource/pull/17) William Wicks)
  84. # [0.0.5](https://github.com/EventSource/eventsource/compare/v0.0.4...v0.0.5)
  85. * Add no-cache and https support ([#10](https://github.com/EventSource/eventsource/pull/10) Einar Otto Stangvik)
  86. * Ensure that Last-Event-ID is sent to the server for reconnects, as defined in the spec ([#8](https://github.com/EventSource/eventsource/pull/8) Einar Otto Stangvik)
  87. * Verify that CR and CRLF are accepted alongside LF ([#7](https://github.com/EventSource/eventsource/pull/7) Einar Otto Stangvik)
  88. * Emit 'open' event ([#4](https://github.com/EventSource/eventsource/issues/4) Einar Otto Stangvik)
  89. # [0.0.4](https://github.com/EventSource/eventsource/compare/v0.0.3...v0.0.4)
  90. * Automatic reconnect every second if the server is down. Reconnect interval can be set with `reconnectInterval` (not in W3C spec). (Aslak Hellesøy)
  91. # [0.0.3](https://github.com/EventSource/eventsource/compare/v0.0.2...v0.0.3)
  92. * Jison based eventstream parser ([#2](https://github.com/EventSource/eventsource/pull/2) Einar Otto Stangvik)
  93. # [0.0.2](https://github.com/EventSource/eventsource/compare/v0.0.1...v0.0.2)
  94. * Use native EventListener (Aslak Hellesøy)
  95. # 0.0.1
  96. * First release