2024-01-16 21:26:16 +08:00
|
|
|
### 0.11.4 / 2021-05-24
|
|
|
|
|
|
|
|
- Prevent the client hanging if `close()` is called when already closing
|
|
|
|
|
|
|
|
### 0.11.3 / 2019-06-10
|
|
|
|
|
|
|
|
- Fix a race condition that caused a timeout not to be cancelled immediately
|
|
|
|
when the WebSocket is closed
|
|
|
|
- Change license from MIT to Apache 2.0
|
|
|
|
|
|
|
|
### 0.11.2 / 2019-06-10
|
|
|
|
|
|
|
|
(This version was pulled due to an error when publishing)
|
|
|
|
|
|
|
|
### 0.11.1 / 2017-01-22
|
|
|
|
|
|
|
|
- Forcibly close the I/O stream after a timeout if the peer does not respond
|
|
|
|
after calling `close()`
|
|
|
|
|
|
|
|
### 0.11.0 / 2016-02-24
|
|
|
|
|
|
|
|
- Introduce a `net` option to the `Client` class for setting things like, say,
|
|
|
|
`servername`
|
|
|
|
|
2023-12-18 13:12:25 +08:00
|
|
|
### 0.10.0 / 2015-07-08
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Add the standard `code` and `reason` parameters to the `close` method
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.9.4 / 2015-03-08
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Don't send input to the driver before `start()` is called
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.9.3 / 2015-02-19
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Make sure the TCP socket is not left open when closing the connection
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.9.2 / 2014-12-21
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Only emit `error` once, and don't emit it after `close`
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.9.1 / 2014-12-18
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Check that all options to the WebSocket constructor are recognized
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.9.0 / 2014-12-13
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Allow protocol extensions to be passed into websocket-extensions
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.8.1 / 2014-11-12
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Send the correct hostname when upgrading a connection to TLS
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.8.0 / 2014-11-08
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Support connections via HTTP proxies
|
|
|
|
- Close the connection cleanly if we're still waiting for a handshake response
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.7.3 / 2014-10-04
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Allow sockets to be closed when they are in any state other than `CLOSED`
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.7.2 / 2013-12-29
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Make sure the `close` event is emitted by clients on Node v0.10
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.7.1 / 2013-12-03
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Support the `maxLength` websocket-driver option
|
|
|
|
- Make the client emit `error` events on network errors
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.7.0 / 2013-09-09
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Allow the server to send custom headers with EventSource responses
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.6.1 / 2013-07-05
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Add `ca` option to the client for specifying certificate authorities
|
|
|
|
- Start the server driver asynchronously so that `onopen` handlers can be added
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.6.0 / 2013-05-12
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Add support for custom headers
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.5.0 / 2013-05-05
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Extract the protocol handlers into the `websocket-driver` library
|
|
|
|
- Support the Node streaming API
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.4.4 / 2013-02-14
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Emit the `close` event if TCP is closed before CLOSE frame is acked
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.4.3 / 2012-07-09
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Add `Connection: close` to EventSource response
|
|
|
|
- Handle situations where `request.socket` is undefined
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.4.2 / 2012-04-06
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Add WebSocket error code `1011`.
|
|
|
|
- Handle URLs with no path correctly by sending `GET /`
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.4.1 / 2012-02-26
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Treat anything other than a `Buffer` as a string when calling `send()`
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.4.0 / 2012-02-13
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Add `ping()` method to server-side `WebSocket` and `EventSource`
|
|
|
|
- Buffer `send()` calls until the draft-76 handshake is complete
|
|
|
|
- Fix HTTPS problems on Node 0.7
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.3.1 / 2012-01-16
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Call `setNoDelay(true)` on `net.Socket` objects to reduce latency
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.3.0 / 2012-01-13
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Add support for `EventSource` connections
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.2.0 / 2011-12-21
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Add support for `Sec-WebSocket-Protocol` negotiation
|
|
|
|
- Support `hixie-76` close frames and 75/76 ignored segments
|
|
|
|
- Improve performance of HyBi parsing/framing functions
|
|
|
|
- Decouple parsers from TCP and reduce write volume
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.1.2 / 2011-12-05
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Detect closed sockets on the server side when TCP connection breaks
|
|
|
|
- Make `hixie-76` sockets work through HAProxy
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.1.1 / 2011-11-30
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Fix `addEventListener()` interface methods
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
### 0.1.0 / 2011-11-27
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
- Initial release, based on WebSocket components from Faye
|