Skip to content

Commit bf42a62

Browse files
committed
docs: move HISTORY.md to CHANGELOG.md
1 parent f42702c commit bf42a62

File tree

2 files changed

+146
-53
lines changed

2 files changed

+146
-53
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CHANGELOG.md

HISTORY.md renamed to CHANGELOG.md

Lines changed: 145 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,169 +1,261 @@
1-
# [master](https://github.com/EventSource/eventsource/compare/v2.0.2...HEAD)
1+
## [2.0.2](https://github.com/EventSource/eventsource/compare/v2.0.1...v2.0.2) (2022-05-12)
22

3-
* Fix dispatchEvent wrong implementation ([#288](https://github.com/EventSource/eventsource/issues/288) [#289](https://github.com/EventSource/eventsource/pull/289) Eddy D.)
43

5-
# [2.0.2](https://github.com/EventSource/eventsource/compare/v2.0.1...v2.0.2)
4+
### Bug Fixes
5+
6+
* strip sensitive headers on redirect to different origin ([10ee0c4](https://github.com/EventSource/eventsource/commit/10ee0c4881a6ba2fe65ec18ed195ac35889583c4))
67

7-
* Do not include authorization and cookie headers on redirect to different origin ([#273](https://github.com/EventSource/eventsource/pull/273) Espen Hovlandsdal)
88

9-
# [2.0.1](https://github.com/EventSource/eventsource/compare/v2.0.0...v2.0.1)
9+
## [2.0.1](https://github.com/EventSource/eventsource/compare/v2.0.0...v2.0.1) (2022-04-25)
10+
11+
### Bug Fixes
1012

1113
* Fix `URL is not a constructor` error for browser ([#268](https://github.com/EventSource/eventsource/pull/268) Ajinkya Rajput)
1214

13-
# [2.0.0](https://github.com/EventSource/eventsource/compare/v1.1.0...v2.0.0)
15+
# [2.0.0](https://github.com/EventSource/eventsource/compare/v1.1.0...v2.0.0) (2022-03-02)
16+
17+
### ⚠ BREAKING CHANGES
18+
19+
* Node >= 12 now required ([#152](https://github.com/EventSource/eventsource/pull/152) @HonkingGoose)
20+
21+
### Bug Fixes
1422

15-
* BREAKING: Node >= 12 now required ([#152](https://github.com/EventSource/eventsource/pull/152) @HonkingGoose)
1623
* Preallocate buffer size when reading data for increased performance with large messages ([#239](https://github.com/EventSource/eventsource/pull/239) Pau Freixes)
1724
* 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)
1825

19-
# [1.1.2](https://github.com/EventSource/eventsource/compare/v1.1.1...v1.1.2)
26+
### Bug Fixes
27+
28+
* NPM download badge links to malware ([8954d63](https://github.com/EventSource/eventsource/commit/8954d633f0b222a79d1650b05f37e9d118c27ed5))
29+
30+
# [1.1.2](https://github.com/EventSource/eventsource/compare/v1.1.1...v1.1.2) (2022-06-08)
31+
32+
### Features
2033

2134
* Inline origin resolution, drops `original` dependency ([#281](https://github.com/EventSource/eventsource/pull/281) Espen Hovlandsdal)
2235

23-
# [1.1.1](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1)
36+
# [1.1.1](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1) (2022-05-11)
37+
38+
### Bug Fixes
2439

2540
* Do not include authorization and cookie headers on redirect to different origin ([#273](https://github.com/EventSource/eventsource/pull/273) Espen Hovlandsdal)
2641

27-
# [1.1.0](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.0)
42+
# [1.1.0](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.0) (2021-03-18)
43+
44+
### Features
2845

2946
* Improve performance for large messages across many chunks ([#130](https://github.com/EventSource/eventsource/pull/130) Trent Willis)
3047
* Add `createConnection` option for http or https requests ([#120](https://github.com/EventSource/eventsource/pull/120) Vasily Lavrov)
3148
* Support HTTP 302 redirects ([#116](https://github.com/EventSource/eventsource/pull/116) Ryan Bonte)
49+
50+
### Bug Fixes
51+
3252
* Prevent sequential errors from attempting multiple reconnections ([#125](https://github.com/EventSource/eventsource/pull/125) David Patty)
3353
* Add `new` to correct test ([#111](https://github.com/EventSource/eventsource/pull/101) Stéphane Alnet)
3454
* Fix reconnections attempts now happen more than once ([#136](https://github.com/EventSource/eventsource/pull/136) Icy Fish)
3555

36-
# [1.0.7](https://github.com/EventSource/eventsource/compare/v1.0.6...v1.0.7)
56+
## [1.0.7](https://github.com/EventSource/eventsource/compare/v1.0.6...v1.0.7) (2018-08-27)
57+
58+
### Features
3759

3860
* Add dispatchEvent to EventSource ([#101](https://github.com/EventSource/eventsource/pull/101) Ali Afroozeh)
3961
* Added `checkServerIdentity` option ([#104](https://github.com/EventSource/eventsource/pull/104) cintolas)
4062
* Surface request error message ([#107](https://github.com/EventSource/eventsource/pull/107) RasPhilCo)
4163

42-
# [1.0.6](https://github.com/EventSource/eventsource/compare/v1.0.5...v1.0.6)
64+
## [1.0.6](https://github.com/EventSource/eventsource/compare/v1.0.5...v1.0.6) (2018-08-23)
65+
66+
### Bug Fixes
4367

4468
* 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)
45-
* Change example to use `eventsource/ssestream` (Aslak Hellesøy)
4669

47-
# [1.0.5](https://github.com/EventSource/eventsource/compare/v1.0.4...v1.0.5)
70+
## [1.0.5](https://github.com/EventSource/eventsource/compare/v1.0.4...v1.0.5) (2017-07-18)
71+
72+
### Bug Fixes
4873

4974
* Check for `window` existing before polyfilling. ([#80](https://github.com/EventSource/eventsource/pull/80) Neftaly Hernandez)
5075

51-
# [1.0.4](https://github.com/EventSource/eventsource/compare/v1.0.2...v1.0.4)
76+
## [1.0.4](https://github.com/EventSource/eventsource/compare/v1.0.2...v1.0.4) (2017-06-19)
77+
78+
### Bug Fixes
5279

5380
* Pass withCredentials on to the XHR. ([#79](https://github.com/EventSource/eventsource/pull/79) Ken Mayer)
5481

55-
# [1.0.2](https://github.com/EventSource/eventsource/compare/v1.0.1...v1.0.2)
82+
## [1.0.2](https://github.com/EventSource/eventsource/compare/v1.0.1...v1.0.2) (2017-05-28)
83+
84+
### Bug Fixes
5685

5786
* Fix proxy not working when proxy and target URL uses different protocols. ([#76](https://github.com/EventSource/eventsource/pull/76) Espen Hovlandsdal)
5887
* Make `close()` a prototype method instead of an instance method. ([#77](https://github.com/EventSource/eventsource/pull/77) Espen Hovlandsdal)
5988

60-
# [1.0.1](https://github.com/EventSource/eventsource/compare/v1.0.0...v1.0.1)
89+
## [1.0.1](https://github.com/EventSource/eventsource/compare/v1.0.0...v1.0.1) (2017-05-10)
90+
91+
### Bug Fixes
6192

6293
* Reconnect if server responds with HTTP 500, 502, 503 or 504. ([#74](https://github.com/EventSource/eventsource/pull/74) Vykintas Narmontas)
6394

64-
# [1.0.0](https://github.com/EventSource/eventsource/compare/v0.2.3...v1.0.0)
95+
# [1.0.0](https://github.com/EventSource/eventsource/compare/v0.2.3...v1.0.0) (2017-04-17)
96+
97+
### Features
6598

6699
* Add missing `removeEventListener`-method. ([#51](https://github.com/EventSource/eventsource/pull/51) Yucheng Tu / Espen Hovlandsdal)
67-
* Fix EventSource reconnecting on non-200 responses. ([af84476](https://github.com/EventSource/eventsource/commit/af84476b519a01e61b8c80727261df52ae40022c) Espen Hovlandsdal)
68100
* Add ability to customize https options. ([#53](https://github.com/EventSource/eventsource/pull/53) Rafael Alfaro)
69101
* Add readyState constants to EventSource instances. ([#66](https://github.com/EventSource/eventsource/pull/66) Espen Hovlandsdal)
70102

71-
# [0.2.3](https://github.com/EventSource/eventsource/compare/v0.2.2...v0.2.3)
103+
### Bug Fixes
104+
105+
* Fix EventSource reconnecting on non-200 responses. ([af84476](https://github.com/EventSource/eventsource/commit/af84476b519a01e61b8c80727261df52ae40022c) Espen Hovlandsdal)
106+
107+
## [0.2.3](https://github.com/EventSource/eventsource/compare/v0.2.2...v0.2.3) (2017-04-17)
108+
109+
### Bug Fixes
72110

73111
* Fix `onConnectionClosed` firing multiple times resulting in multiple connections. ([#61](https://github.com/EventSource/eventsource/pull/61) Phil Strong / Duncan Wong)
74-
* Remove unneeded isPlainObject check for headers. ([#64](https://github.com/EventSource/eventsource/pull/64) David Mark)
75112

76-
# [0.2.2](https://github.com/EventSource/eventsource/compare/v0.2.1...v0.2.2)
113+
### Reverts
114+
115+
* Revert "Protects against multiple connects" ([3887a4a](https://github.com/EventSource/eventsource/commit/3887a4af701c3ec307d5866f26eb442433d43fda))
116+
117+
## [0.2.2](https://github.com/EventSource/eventsource/compare/v0.2.1...v0.2.2) (2017-02-28)
118+
119+
### Bug Fixes
77120

78121
* Don't include test files in npm package. ([#56](https://github.com/EventSource/eventsource/pull/56) eanplatter)
79122

80-
# [0.2.1](https://github.com/EventSource/eventsource/compare/v0.2.0...v0.2.1)
123+
## [0.2.1](https://github.com/EventSource/eventsource/compare/v0.2.0...v0.2.1) (2016-02-28)
124+
125+
### Features
81126

82-
* Fix `close()` for polyfill. ([#52](https://github.com/EventSource/eventsource/pull/52) brian-medendorp)
83127
* Add http/https proxy function. ([#46](https://github.com/EventSource/eventsource/pull/46) Eric Lu)
84-
* Fix reconnect for polyfill. Only disable reconnect when server status is 204. (Aslak Hellesøy).
85128
* Drop support for Node 0.10.x and older (Aslak Hellesøy).
86129

87-
# [0.2.0](https://github.com/EventSource/eventsource/compare/v0.1.6...v0.2.0)
130+
### Bug Fixes
131+
132+
* Fix `close()` for polyfill. ([#52](https://github.com/EventSource/eventsource/pull/52) brian-medendorp)
133+
* Fix reconnect for polyfill. Only disable reconnect when server status is 204. (Aslak Hellesøy).
134+
135+
# [0.2.0](https://github.com/EventSource/eventsource/compare/v0.1.6...v0.2.0) (2016-02-11)
136+
137+
### Features
88138

89139
* Renamed repository to `eventsource` (since it's not just Node, but also browser polyfill). (Aslak Hellesøy).
90140
* Compatibility with webpack/browserify. ([#44](https://github.com/EventSource/eventsource/pull/44) Adriano Raiano).
91141

92-
# [0.1.6](https://github.com/EventSource/eventsource/compare/v0.1.5...v0.1.6)
142+
## [0.1.6](https://github.com/EventSource/eventsource/compare/v0.1.5...v0.1.6) (2015-02-09)
143+
144+
### Bug Fixes
93145

94146
* Ignore headers without a value. ([#41](https://github.com/EventSource/eventsource/issues/41), [#43](https://github.com/EventSource/eventsource/pull/43) Adriano Raiano)
95147

96-
# [0.1.5](https://github.com/EventSource/eventsource/compare/v0.1.4...v0.1.5)
148+
## [0.1.5](https://github.com/EventSource/eventsource/compare/v0.1.4...v0.1.5) (2015-02-08)
149+
150+
### Features
97151

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

100-
# [0.1.4](https://github.com/EventSource/eventsource/compare/v0.1.3...master)
154+
## [0.1.4](https://github.com/EventSource/eventsource/compare/v0.1.3...v0.1.4) (2014-10-31)
155+
156+
### Features
101157

102-
* Bugfix: Added missing origin property. ([#39](https://github.com/EventSource/eventsource/pull/39), [#38](https://github.com/EventSource/eventsource/issues/38) Arnout Kazemier)
103158
* Expose `status` property on `error` events. ([#40](https://github.com/EventSource/eventsource/pull/40) Adriano Raiano)
104159

105-
# [0.1.3](https://github.com/EventSource/eventsource/compare/v0.1.2...v0.1.3)
160+
### Bug Fixes
161+
162+
* Added missing origin property. ([#39](https://github.com/EventSource/eventsource/pull/39), [#38](https://github.com/EventSource/eventsource/issues/38) Arnout Kazemier)
163+
164+
## [0.1.3](https://github.com/EventSource/eventsource/compare/v0.1.2...v0.1.3) (2014-09-17)
165+
166+
### Bug Fixes
167+
168+
* Made message properties enumerable. ([#37](https://github.com/EventSource/eventsource/pull/37) Golo Roden)
169+
170+
## [0.1.2](https://github.com/EventSource/eventsource/compare/v0.1.1...v0.1.2) (2014-08-07)
171+
172+
### Bug Fixes
173+
174+
* Blank lines not read. ([#35](https://github.com/EventSource/eventsource/issues/35), [#36](https://github.com/EventSource/eventsource/pull/36) Lesterpig)
106175

107-
* Bugfix: Made message properties enumerable. ([#37](https://github.com/EventSource/eventsource/pull/37) Golo Roden)
176+
## [0.1.1](https://github.com/EventSource/eventsource/compare/v0.1.0...v0.1.1) (2014-05-18)
108177

109-
# [0.1.2](https://github.com/EventSource/eventsource/compare/v0.1.1...v0.1.2)
178+
### Bug Fixes
110179

111-
* Bugfix: Blank lines not read. ([#35](https://github.com/EventSource/eventsource/issues/35), [#36](https://github.com/EventSource/eventsource/pull/36) Lesterpig)
180+
* Fix message type. ([#33](https://github.com/EventSource/eventsource/pull/33) Romain Gauthier)
112181

113-
# [0.1.1](https://github.com/EventSource/eventsource/compare/v0.1.0...v0.1.1)
182+
# [0.1.0](https://github.com/EventSource/eventsource/compare/v0.0.10...v0.1.0) (2014-03-07)
114183

115-
* Bugfix: Fix message type. ([#33](https://github.com/EventSource/eventsource/pull/33) Romain Gauthier)
184+
### Bug Fixes
116185

117-
# [0.1.0](https://github.com/EventSource/eventsource/compare/v0.0.10...v0.1.0)
186+
* 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)
118187

119-
* 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)
120-
* Reformatted all code to 2 spaces.
188+
## [0.0.10](https://github.com/EventSource/eventsource/compare/v0.0.9...v0.0.10) (2013-11-21)
121189

122-
# [0.0.10](https://github.com/EventSource/eventsource/compare/v0.0.9...v0.0.10)
190+
### Features
123191

124192
* 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)
125193
* Expose `lastEventId` on messages. ([#28](https://github.com/EventSource/eventsource/pull/28) mbieser)
126194

127-
# [0.0.9](https://github.com/EventSource/eventsource/compare/v0.0.8...v0.0.9)
195+
## [0.0.9](https://github.com/EventSource/eventsource/compare/v0.0.8...v0.0.9) (2013-10-24)
128196

129-
* Bugfix: old "last-event-id" used on reconnect ([#27](https://github.com/EventSource/eventsource/pull/27) Aslak Hellesøy)
197+
### Bug Fixes
130198

131-
# [0.0.8](https://github.com/EventSource/eventsource/compare/v0.0.7...v0.0.8)
199+
* Old "last-event-id" used on reconnect ([#27](https://github.com/EventSource/eventsource/pull/27) Aslak Hellesøy)
200+
201+
## [0.0.8](https://github.com/EventSource/eventsource/compare/v0.0.7...v0.0.8) (2013-09-12)
202+
203+
### Features
132204

133-
* Bugfix: EventSource still reconnected when closed ([#24](https://github.com/EventSource/eventsource/pull/24) FrozenCow)
134205
* Allow unauthorized HTTPS connections by setting `rejectUnauthorized` to false. (Aslak Hellesøy)
135206

136-
# [0.0.7](https://github.com/EventSource/eventsource/compare/v0.0.6...v0.0.7)
207+
### Bug Fixes
208+
209+
* EventSource still reconnected when closed ([#24](https://github.com/EventSource/eventsource/pull/24) FrozenCow)
210+
211+
## [0.0.7](https://github.com/EventSource/eventsource/compare/v0.0.6...v0.0.7) (2013-04-19)
212+
213+
### Features
137214

138215
* Explicitly raise an error when server returns http 403 and don't continue ([#20](https://github.com/EventSource/eventsource/pull/20) Scott Moak)
139216
* 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)
217+
* Switched from testing with Nodeunit to Mocha (Aslak Hellesøy)
218+
219+
### Bug Fixes
220+
140221
* 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)
141222
* Graceful handling of parse errors ([#19](https://github.com/EventSource/eventsource/issues/19) Aslak Hellesøy)
142-
* Switched from testing with Nodeunit to Mocha (Aslak Hellesøy)
143223

144-
# [0.0.6](https://github.com/EventSource/eventsource/compare/v0.0.5...v0.0.6)
224+
## [0.0.6](https://github.com/EventSource/eventsource/compare/v0.0.5...v0.0.6) (2013-01-24)
225+
226+
### Features
145227

146228
* Add Accept: text/event-stream header ([#17](https://github.com/EventSource/eventsource/pull/17) William Wicks)
147229

148-
# [0.0.5](https://github.com/EventSource/eventsource/compare/v0.0.4...v0.0.5)
230+
## [0.0.5](https://github.com/EventSource/eventsource/compare/v0.0.4...v0.0.5) (2012-02-12)
231+
232+
### Features
149233

150234
* Add no-cache and https support ([#10](https://github.com/EventSource/eventsource/pull/10) Einar Otto Stangvik)
151235
* 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)
152236
* Verify that CR and CRLF are accepted alongside LF ([#7](https://github.com/EventSource/eventsource/pull/7) Einar Otto Stangvik)
153237
* Emit 'open' event ([#4](https://github.com/EventSource/eventsource/issues/4) Einar Otto Stangvik)
154238

155-
# [0.0.4](https://github.com/EventSource/eventsource/compare/v0.0.3...v0.0.4)
239+
## [0.0.4](https://github.com/EventSource/eventsource/compare/v0.0.3...v0.0.4) (2012-02-10)
240+
241+
### Features
156242

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

159-
# [0.0.3](https://github.com/EventSource/eventsource/compare/v0.0.2...v0.0.3)
245+
## [0.0.3](https://github.com/EventSource/eventsource/compare/v0.0.2...v0.0.3) (2012-02-10)
246+
247+
### Features
160248

161249
* Jison based eventstream parser ([#2](https://github.com/EventSource/eventsource/pull/2) Einar Otto Stangvik)
162250

163-
# [0.0.2](https://github.com/EventSource/eventsource/compare/v0.0.1...v0.0.2)
251+
## [0.0.2](https://github.com/EventSource/eventsource/compare/v0.0.1...v0.0.2) (2012-02-08)
252+
253+
### Features
164254

165255
* Use native EventListener (Aslak Hellesøy)
166256

167-
# 0.0.1
257+
## 0.0.1 (2012-02-08)
258+
259+
### Features
168260

169-
* First release
261+
* First release (Aslak Hellesøy)

0 commit comments

Comments
 (0)