1 |
3a515b92
|
cagy
|
### 0.7.3 / 2019-06-13
|
2 |
|
|
|
3 |
|
|
- Cap version of http-parser-js below 0.4.11, which introduced a bug that
|
4 |
|
|
prevents us from handling messages that are part of the same input buffer as
|
5 |
|
|
the handshake response if chunked encoding is specified
|
6 |
|
|
|
7 |
|
|
### 0.7.2 / 2019-06-13
|
8 |
|
|
|
9 |
|
|
(This version was pulled due to an error when publishing)
|
10 |
|
|
|
11 |
|
|
### 0.7.1 / 2019-06-10
|
12 |
|
|
|
13 |
|
|
- Catch any exceptions produced while generating a handshake response and send a
|
14 |
|
|
`400 Bad Request` response to the client
|
15 |
|
|
- Pick the RFC-6455 protocol version if the request contains any of the headers
|
16 |
|
|
used by that version
|
17 |
|
|
- Use the `Buffer.alloc()` and `Buffer.from()` functions instead of the unsafe
|
18 |
|
|
`Buffer()` constructor
|
19 |
|
|
- Handle errors encountered while handling malformed draft-76 requests
|
20 |
|
|
- Change license from MIT to Apache 2.0
|
21 |
|
|
|
22 |
|
|
### 0.7.0 / 2017-09-11
|
23 |
|
|
|
24 |
|
|
- Add `ping` and `pong` to the set of events users can listen to
|
25 |
|
|
- Replace the bindings to Node's HTTP parser with `http-parser-js`
|
26 |
|
|
|
27 |
|
|
### 0.6.5 / 2016-05-20
|
28 |
|
|
|
29 |
|
|
- Don't mutate buffers passed in by the application when masking
|
30 |
|
|
|
31 |
|
|
### 0.6.4 / 2016-01-07
|
32 |
|
|
|
33 |
|
|
- If a number is given as input for a frame payload, send it as a string
|
34 |
|
|
|
35 |
|
|
### 0.6.3 / 2015-11-06
|
36 |
|
|
|
37 |
|
|
- Reject draft-76 handshakes if their Sec-WebSocket-Key headers are invalid
|
38 |
|
|
- Throw a more helpful error if a client is created with an invalid URL
|
39 |
|
|
|
40 |
|
|
### 0.6.2 / 2015-07-18
|
41 |
|
|
|
42 |
|
|
- When the peer sends a close frame with no error code, emit 1000
|
43 |
|
|
|
44 |
|
|
### 0.6.1 / 2015-07-13
|
45 |
|
|
|
46 |
|
|
- Use the `buffer.{read,write}UInt{16,32}BE` methods for reading/writing numbers
|
47 |
|
|
to buffers rather than including duplicate logic for this
|
48 |
|
|
|
49 |
|
|
### 0.6.0 / 2015-07-08
|
50 |
|
|
|
51 |
|
|
- Allow the parser to recover cleanly if event listeners raise an error
|
52 |
|
|
- Add a `pong` method for sending unsolicited pong frames
|
53 |
|
|
|
54 |
|
|
### 0.5.4 / 2015-03-29
|
55 |
|
|
|
56 |
|
|
- Don't emit extra close frames if we receive a close frame after we already
|
57 |
|
|
sent one
|
58 |
|
|
- Fail the connection when the driver receives an invalid
|
59 |
|
|
`Sec-WebSocket-Extensions` header
|
60 |
|
|
|
61 |
|
|
### 0.5.3 / 2015-02-22
|
62 |
|
|
|
63 |
|
|
- Don't treat incoming data as WebSocket frames if a client driver is closed
|
64 |
|
|
before receiving the server handshake
|
65 |
|
|
|
66 |
|
|
### 0.5.2 / 2015-02-19
|
67 |
|
|
|
68 |
|
|
- Fix compatibility with the HTTP parser on io.js
|
69 |
|
|
- Use `websocket-extensions` to make sure messages and close frames are kept in
|
70 |
|
|
order
|
71 |
|
|
- Don't emit multiple `error` events
|
72 |
|
|
|
73 |
|
|
### 0.5.1 / 2014-12-18
|
74 |
|
|
|
75 |
|
|
- Don't allow drivers to be created with unrecognized options
|
76 |
|
|
|
77 |
|
|
### 0.5.0 / 2014-12-13
|
78 |
|
|
|
79 |
|
|
- Support protocol extensions via the websocket-extensions module
|
80 |
|
|
|
81 |
|
|
### 0.4.0 / 2014-11-08
|
82 |
|
|
|
83 |
|
|
- Support connection via HTTP proxies using `CONNECT`
|
84 |
|
|
|
85 |
|
|
### 0.3.6 / 2014-10-04
|
86 |
|
|
|
87 |
|
|
- It is now possible to call `close()` before `start()` and close the driver
|
88 |
|
|
|
89 |
|
|
### 0.3.5 / 2014-07-06
|
90 |
|
|
|
91 |
|
|
- Don't hold references to frame buffers after a message has been emitted
|
92 |
|
|
- Make sure that `protocol` and `version` are exposed properly by the TCP driver
|
93 |
|
|
|
94 |
|
|
### 0.3.4 / 2014-05-08
|
95 |
|
|
|
96 |
|
|
- Don't hold memory-leaking references to I/O buffers after they have been
|
97 |
|
|
parsed
|
98 |
|
|
|
99 |
|
|
### 0.3.3 / 2014-04-24
|
100 |
|
|
|
101 |
|
|
- Correct the draft-76 status line reason phrase
|
102 |
|
|
|
103 |
|
|
### 0.3.2 / 2013-12-29
|
104 |
|
|
|
105 |
|
|
- Expand `maxLength` to cover sequences of continuation frames and
|
106 |
|
|
`draft-{75,76}`
|
107 |
|
|
- Decrease default maximum frame buffer size to 64MB
|
108 |
|
|
- Stop parsing when the protocol enters a failure mode, to save CPU cycles
|
109 |
|
|
|
110 |
|
|
### 0.3.1 / 2013-12-03
|
111 |
|
|
|
112 |
|
|
- Add a `maxLength` option to limit allowed frame size
|
113 |
|
|
- Don't pre-allocate a message buffer until the whole frame has arrived
|
114 |
|
|
- Fix compatibility with Node v0.11 `HTTPParser`
|
115 |
|
|
|
116 |
|
|
### 0.3.0 / 2013-09-09
|
117 |
|
|
|
118 |
|
|
- Support client URLs with Basic Auth credentials
|
119 |
|
|
|
120 |
|
|
### 0.2.2 / 2013-07-05
|
121 |
|
|
|
122 |
|
|
- No functional changes, just updates to package.json
|
123 |
|
|
|
124 |
|
|
### 0.2.1 / 2013-05-17
|
125 |
|
|
|
126 |
|
|
- Export the isSecureRequest() method since faye-websocket relies on it
|
127 |
|
|
- Queue sent messages in the client's initial state
|
128 |
|
|
|
129 |
|
|
### 0.2.0 / 2013-05-12
|
130 |
|
|
|
131 |
|
|
- Add API for setting and reading headers
|
132 |
|
|
- Add Driver.server() method for getting a driver for TCP servers
|
133 |
|
|
|
134 |
|
|
### 0.1.0 / 2013-05-04
|
135 |
|
|
|
136 |
|
|
- First stable release
|