Skip to content

Releases: ambelovsky/koa-socket-2

Socket Promotion

09 May 15:31
Compare
Choose a tag to compare

Improved socket.io direct API exposure
Improved async operation exposure

1.0.17

05 Dec 15:57
48c5b41
Compare
Choose a tag to compare

Fix for promise chaining
Credit: ihwbox

1.0.16

04 Dec 16:18
Compare
Choose a tag to compare

Reverted promise chaining fix.

1.0.15

04 Dec 16:03
Compare
Choose a tag to compare

Fix for promise chaining.
Credit: ihwbox

Multi-Node Adapter Support Bugfix

23 Nov 14:15
Compare
Choose a tag to compare

Thanks to ihwbox for this fix.

Bug Fix Release

23 Jun 20:54
Compare
Choose a tag to compare

Fixed io.to(room)

Socket Emit Acknowledgement Implementation

15 Jun 04:41
Compare
Choose a tag to compare

Implemented acknowledgement callback for socket.emit function.

Example:

socket.emit('some-event', {hello: 'world'}, function(data) {
  console.log(data);
});

Documentation Update for NPMJS

13 Jun 14:51
Compare
Choose a tag to compare

Multi-Node Adapter Support

08 Jun 14:02
Compare
Choose a tag to compare

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

07 Jun 20:37
Compare
Choose a tag to compare

(Get With the Program)

Removed babel support.
Removed co wrapper support.
Updated examples to NodeJS v7.
Updated documentation.
Started fixing tests -- work in progress.