NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 months to 3.1 years
Most releases are documented
notes for 35 of 56 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
56 releases · first in 2011
Bumping version and updating Readme.
Bumping version and updating Readme.
Bumping version and updating Readme.
Bumping version and updating Readme.
Released 2021-04-14
globalThis property when available. See this MDN page for context. Resolves #415One column per quarter.
Added new configuration options to WebSocketServer allowing implementors to bypass parsing WebSocket extensions and HTTP Cookies if they are not neede
Released 2020-12-08
upgradeError event to WebSocketServer to allow for visibility into and logging of any parsing errors that might occur during the HTTP Upgrade phase. (Thanks, @aetheon)Refactor to use N-API modules from ws project. (Thanks, @andreek)
Released 2020-08-28
1015 ("TLS Handshake"). (More information at the WebSocket Close Code Number Registry)Fix infinite loop in error handling (Thanks, @apirila)
Released 2019-12-06
Moved gulp back to devDependencies
Released 2019-09-12
Bumping version and updating readme.
Bumping version and updating readme.
Released 2019-07-03
Updated to latest version of nan
Released 2018-09-19
Updating changelog and readme.
Updating changelog and readme.
Released 2018-09-19
headers to be specified in the tlsOptions config parameter for WebSocketClient. See pull request #323new BufferBumping version to v1.0.26
Bumping version to v1.0.26
Released 2018-04-27
noAssert parameter for functions reading and writing binary numeric data. (Thanks, @BridgeAR)Bumping minimum supported node version specified in package.json to v0.10.x because some upstream libraries no longer install on v0.8.x
Released 2017-10-18
Host header to be overridden. (Thanks, @Juneil)Fixed a bug when using native keepalive on Node >= 6.0. (Thanks, @prossin)
Released 2016-12-28
Updating dependencies. Specifically, updating nan to ^2.3.3
Released 2016-05-18
*Released 2015-09-28* * Updating to work with nan 2.x
Released 2015-09-28
Incremented and re-published to work around an aborted npm publish of v1.0.20.
Released 2015-07-22
Added EventTarget to the W3CWebSocket interface (Thanks, @ibc!)
Updated to nan v1.8.x (tested with v1.8.4)
Released 2015-05-28
"license": "Apache-2.0" to package.json via pull request #199 by @pgilad. See npm1k.org.Resolves issue #195 - passing number to connection.send() causes crash
Released 2015-03-19
Resolves issue #179 - Allow toBuffer to work with empty data
Released 2015-01-17
Resolves issue #178 - Ping Frames with no data
Released 2015-01-16
Resolves issue #177 - WebSocketClient ignores options unless it has a tlsOptions property
Released 2015-01-13
Resolves issue #173 - To allow the W3CWebSocket interface to accept an optional non-standard configuration object as its third parameter, which will b
Released 2014-12-03
Fixes issue #171 - Code to prevent calling req.accept/req.reject multiple times breaks sanity checks in req.accept
Released 2014-11-29
Fixes issue #170 - Non-native XOR implementation broken after making JSHint happy
Released 2014-11-28
Fixes some undefined behavior surrounding closing WebSocket connections and more reliably handles edge cases.
Released 2014-11-25
WebSocketConnection.prototype.close now accepts optional reasonCode and description parameters.accept or reject more than once on a WebSocketRequest will now throw an error. Issue #149Fixed Issue #146 that was causing WebSocketClient to throw errors when instantiated if passed tlsOptions.
Released 2014-10-22
tlsOptions.Removed deprecated websocketVersion property. Use webSocketVersion instead (case difference).
Released 2014-10-20
WebSocketConnection from firing the close event in certain cases when there was an error on the underlying Socket, leading to connections sticking around forever, stuck erroneously in the connected state. These "ghost" connections would cause an error event when trying to write to them.websocketVersion property. Use webSocketVersion instead (case difference).tlsOptions in WebSocketClient, not just a few whitelisted properties. This keeps us from having to constantly add new config properties for new versions of Node. (Thanks, jesusprubio)fuzzingclient.json spec file for the Autobahn Test Suite.message events from the WebSocketConnection. Previously, all buffered frames for a connection would be processed and all message events emitted before moving on to processing the next connection with available data. Now We process one frame per connection (most of the time) in a more fair round-robin fashion.EventEmitter superclass constructor during class instance initialization.WebSocketClient.prototype.connect now accepts the empty string ('') to mean "no subprotocol requested." Previously either null or an empty array ([]) was required.TypeError bug in WebSocketRouter (Thanks, a0000778)Socket. (Thanks RichardBsolut)WebSocketClient now accepts an optional options hash to be passed to (http|https).request. (Thanks mildred and aus) This enables the following new abilities, amongst others:
X-Forwarded-For headers when accepting connections from untrusted clients.WebSocketServer instance to an arbitrary number of Node http/https servers.Fixed remaining naming inconsistency of "websocketVersion" as opposed to "webSocketVersion" throughout the code, and added deprecation warnings for us…
Released 2012-12-26
*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
Released 2012-08-12
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.
Released 2012-05-22
Fixes the issues that users were having building the native UTF-8 validator on Windows platforms. Special Thanks to:
Released 2012-05-21
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
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
Released 2011-12-18
Fixing whiteboard example to work under Node 0.6.x (theturtle32)
Released 2011-11-28
close event with a 1006 error code if there is a TCP error while writing to the socket during the handshake. (theturtle32)websocketVersion has been kept for compatibility but is deprecated and may be removed in the future.
Released 2011-11-21
resourceURL property to WebSocketRequest objects. It is a Node URL object with the resource and any query string params already parsed.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.I decided it's time to start maintaining a changelog now, starting with version 1.0.1.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →