UNPKG

3.5 kBMarkdownView Raw
1### 0.11.4 / 2021-05-24
2
3- Prevent the client hanging if `close()` is called when already closing
4
5### 0.11.3 / 2019-06-10
6
7- Fix a race condition that caused a timeout not to be cancelled immediately
8 when the WebSocket is closed
9- Change license from MIT to Apache 2.0
10
11### 0.11.2 / 2019-06-10
12
13(This version was pulled due to an error when publishing)
14
15### 0.11.1 / 2017-01-22
16
17- Forcibly close the I/O stream after a timeout if the peer does not respond
18 after calling `close()`
19
20### 0.11.0 / 2016-02-24
21
22- Introduce a `net` option to the `Client` class for setting things like, say,
23 `servername`
24
25### 0.10.0 / 2015-07-08
26
27- Add the standard `code` and `reason` parameters to the `close` method
28
29### 0.9.4 / 2015-03-08
30
31- Don't send input to the driver before `start()` is called
32
33### 0.9.3 / 2015-02-19
34
35- Make sure the TCP socket is not left open when closing the connection
36
37### 0.9.2 / 2014-12-21
38
39- Only emit `error` once, and don't emit it after `close`
40
41### 0.9.1 / 2014-12-18
42
43- Check that all options to the WebSocket constructor are recognized
44
45### 0.9.0 / 2014-12-13
46
47- Allow protocol extensions to be passed into websocket-extensions
48
49### 0.8.1 / 2014-11-12
50
51- Send the correct hostname when upgrading a connection to TLS
52
53### 0.8.0 / 2014-11-08
54
55- Support connections via HTTP proxies
56- Close the connection cleanly if we're still waiting for a handshake response
57
58### 0.7.3 / 2014-10-04
59
60- Allow sockets to be closed when they are in any state other than `CLOSED`
61
62### 0.7.2 / 2013-12-29
63
64- Make sure the `close` event is emitted by clients on Node v0.10
65
66### 0.7.1 / 2013-12-03
67
68- Support the `maxLength` websocket-driver option
69- Make the client emit `error` events on network errors
70
71### 0.7.0 / 2013-09-09
72
73- Allow the server to send custom headers with EventSource responses
74
75### 0.6.1 / 2013-07-05
76
77- Add `ca` option to the client for specifying certificate authorities
78- Start the server driver asynchronously so that `onopen` handlers can be added
79
80### 0.6.0 / 2013-05-12
81
82- Add support for custom headers
83
84### 0.5.0 / 2013-05-05
85
86- Extract the protocol handlers into the `websocket-driver` library
87- Support the Node streaming API
88
89### 0.4.4 / 2013-02-14
90
91- Emit the `close` event if TCP is closed before CLOSE frame is acked
92
93### 0.4.3 / 2012-07-09
94
95- Add `Connection: close` to EventSource response
96- Handle situations where `request.socket` is undefined
97
98### 0.4.2 / 2012-04-06
99
100- Add WebSocket error code `1011`.
101- Handle URLs with no path correctly by sending `GET /`
102
103### 0.4.1 / 2012-02-26
104
105- Treat anything other than a `Buffer` as a string when calling `send()`
106
107### 0.4.0 / 2012-02-13
108
109- Add `ping()` method to server-side `WebSocket` and `EventSource`
110- Buffer `send()` calls until the draft-76 handshake is complete
111- Fix HTTPS problems on Node 0.7
112
113### 0.3.1 / 2012-01-16
114
115- Call `setNoDelay(true)` on `net.Socket` objects to reduce latency
116
117### 0.3.0 / 2012-01-13
118
119- Add support for `EventSource` connections
120
121### 0.2.0 / 2011-12-21
122
123- Add support for `Sec-WebSocket-Protocol` negotiation
124- Support `hixie-76` close frames and 75/76 ignored segments
125- Improve performance of HyBi parsing/framing functions
126- Decouple parsers from TCP and reduce write volume
127
128### 0.1.2 / 2011-12-05
129
130- Detect closed sockets on the server side when TCP connection breaks
131- Make `hixie-76` sockets work through HAProxy
132
133### 0.1.1 / 2011-11-30
134
135- Fix `addEventListener()` interface methods
136
137### 0.1.0 / 2011-11-27
138
139- Initial release, based on WebSocket components from Faye