syndilights/displayclient/html/websocket_demo/node_modules/websocket/CHANGELOG.md

5.1 KiB

Changelog

Version 1.0.8

Released 2012-12-26

  • Fixed remaining naming inconsistency of "websocketVersion" as opposed to "webSocketVersion" throughout the code, and added deprecation warnings for use of the old casing throughout.
  • Fixed an issue with our case-insensitive handling of WebSocket subprotocols. Clients that requested a mixed-case subprotocol would end up failing the connection when the server accepted the connection, returning a lower-case version of the subprotocol name. Now we return the subprotocol name in the exact casing that was requested by the client, while still maintaining the case-insensitive verification logic for convenience and practicality.
  • Making sure that any socket-level activity timeout that may have been set on a TCP socket is removed when initializing a connection.
  • Added support for native TCP Keep-Alive instead of using the WebSocket ping/pong packets to serve that function.
  • Fixed cookie parsing to be compliant with RFC 2109

Version 1.0.7

Released 2012-08-12

  • Native modules are now optional! If they fail to compile, WebSocket-Node will still work but will not verify that received UTF-8 data is valid, and xor masking/unmasking of payload data for security purposes will not be as efficient as it is performed in JavaScript instead of native code.
  • Reduced Node.JS version requirement back to v0.6.10

Version 1.0.6

Released 2012-05-22

  • Now requires Node v0.6.13 since that's the first version that I can manage to successfully build the native UTF-8 validator with node-gyp through npm.

Version 1.0.5

Released 2012-05-21

  • Fixes the issues that users were having building the native UTF-8 validator on Windows platforms. Special Thanks to:
  • Fixed accidental global variable usage (Thanks, hakobera!)
  • Added callbacks to the send* methods that provide notification of messages being sent on the wire and any socket errors that may occur when sending a message. (Thanks, zerodivisi0n!)
  • Added option to disable logging in the echo-server in the test folder (Thanks, oberstet!)

Version 1.0.4

Released 2011-12-18

  • Now validates that incoming UTF-8 messages do, in fact, contain valid UTF-8 data. The connection is dropped with prejudice if invalid data is received. This strict behavior conforms to the WebSocket RFC and is verified by the Autobahn Test Suite. This is accomplished in a performant way by using a native C++ Node module created by einaros.
  • Updated handling of connection closure to pass more of the Autobahn Test Suite.

Version 1.0.3

Released 2011-12-18

  • Substantial speed increase (~150% on my machine, depending on the circumstances) due to an optimization in FastBufferList.js that drastically reduces the number of memory alloctions and buffer copying. (kazuyukitanimura)

Version 1.0.2

Released 2011-11-28

  • Fixing whiteboard example to work under Node 0.6.x (theturtle32)
  • Now correctly emitting a close event with a 1006 error code if there is a TCP error while writing to the socket during the handshake. (theturtle32)
  • Catching errors when writing to the TCP socket during the handshake. (justoneplanet)
  • No longer outputting console.warn messages when there is an error writing to the TCP socket (justoneplanet)
  • Fixing some formatting errors, commas, semicolons, etc. (kaisellgren)

Version 1.0.1

Released 2011-11-21

  • Now works with Node 0.6.2 as well as 0.4.12
  • Support TLS in WebSocketClient
  • Added support for setting and reading cookies
  • Added WebSocketServer.prototype.broadcast(data) convenience method
  • Added resourceURL property to WebSocketRequest objects. It is a Node URL object with the resource and any query string params already parsed.
  • The WebSocket request router no longer includes the entire query string when trying to match the path name of the request.
  • WebSocketRouterRequest objects now include all the properties and events of WebSocketRequest objects.
  • Removed more console.log statements. Please rely on the various events emitted to be notified of error conditions. I decided that it is not a library's place to spew information to the console.
  • Renamed the websocketVersion property to webSocketVersion throughout the code to fix inconsistent capitalization. websocketVersion has been kept for compatibility but is deprecated and may be removed in the future.
  • Now outputting the sanitized version of custom header names rather than the raw value. This prevents invalid HTTP from being put onto the wire if given an illegal header name.

I decided it's time to start maintaining a changelog now, starting with version 1.0.1.