Note: koa-websocket follows semver.
- Upgrade ws to 7.0.1, which drops support for Node 6.
- Upgrade dev deps to fix a vuln with js-yaml.
- Remove accidental addition of npm from dependencies
- Upgraded all dependencies, including for ws to fix some security issues.
- Added support for passing https server options, enabling wss support - @stripedpajamas
- Switch Koa v2 support to master, and moved v1 to the legacy branch.
- Added ability to set websocket options.
- Upgraded to websocket 2.x.
Because NPM wouldn't let me retroactively tag 3.0.0 as next
instead of latest.
This is a pre-release for compatibility with Koa 2. Doing npm install koa-websocket
will continue to give you 2.x until Koa 2 is stable.
- Koa 2 comptiblity.
- Bump ws major for DoS fix.
- Bump ws for iojs 3.
- Expose koa context object instead of socket as
this
, attach active ws socket to context object onwebsocket
.
- Fix ws urls containing query parameters.