Releases: ambelovsky/koa-socket-2
Releases · ambelovsky/koa-socket-2
Socket Promotion
Improved socket.io direct API exposure
Improved async operation exposure
1.0.17
Fix for promise chaining
Credit: ihwbox
1.0.16
Reverted promise chaining fix.
1.0.15
Fix for promise chaining.
Credit: ihwbox
Multi-Node Adapter Support Bugfix
Thanks to ihwbox for this fix.
Bug Fix Release
Fixed io.to(room)
Socket Emit Acknowledgement Implementation
Implemented acknowledgement callback for socket.emit function.
Example:
socket.emit('some-event', {hello: 'world'}, function(data) {
console.log(data);
});
Documentation Update for NPMJS
Multi-Node Adapter Support
Added support for multi-node clustering with adapters. Example:
const Koa = require('koa');
const app = new Koa();
const redis = require('socket.io-redis');
io.attach(app);
io.adapter(redis({ host: 'localhost', port: 6379 }));
NodeJS v7 Update
(Get With the Program)
Removed babel support.
Removed co wrapper support.
Updated examples to NodeJS v7.
Updated documentation.
Started fixing tests -- work in progress.