socket.io-redis-adapter

Adapter to enable broadcasting of events to multiple separate socket.io server nodes.

MIT License

Downloads
883.3K
Stars
2.7K
Committers
57

Bot releases are hidden (Show)

socket.io-redis-adapter -

Published by darrachequesne over 7 years ago

Features

  • make customHook async (#181)

Bug fixes

  • fix remoteJoin/remoteLeave methods (#201)

⚠️ Breaking changes ⚠️

The major bump is due to #181, which is an API breaking change.

Milestone: 4.0.0
Diff: 3.1.0...4.0.0

socket.io-redis-adapter -

Published by darrachequesne almost 8 years ago

Features

  • implement remoteDisconnect method (#177)

Bug fixes

  • subscribe only once per room (#175)

Milestone: 3.1.0
Diff: 3.0.0...3.1.0

socket.io-redis-adapter -

Published by darrachequesne almost 8 years ago

Features

  • add some helper methods (#168)
  • forward errors from pub/sub clients to the adapter (#160)
  • make subEvent default to messageBuffer (#157)

Performance improvements

  • micro-optimisations (#163)

⚠️ Breaking changes ⚠️

The package now uses msgpack-lite instead of msgpack (#156), which should fix several encoding issues.

📝 Important note 📝

Thanks to #157 the return_buffers option for the Redis client should not be needed anymore, in fact it might even lead to errors if it is still used (related: https://github.com/socketio/socket.io-redis/issues/185)

Milestone: 3.0.0
Diff: 2.0.1...3.0.0

socket.io-redis-adapter -

Published by darrachequesne almost 8 years ago

Bug fixes

  • make sure numsub is an integer (#155)

Milestone: 2.0.1
Diff: 2.0.0...2.0.1

socket.io-redis-adapter -

Published by darrachequesne almost 8 years ago

Features

  • add a local flag (#119)
  • refactor requests between nodes and add clientRooms method (#146)
  • add an option to disable channel multiplexing (#140)

Bug fixes

  • receive a message only once per-emit (not per joined rooms) (#151)

Milestone: 2.0.0
Diff: 1.1.1...2.0.0

socket.io-redis-adapter -

Published by darrachequesne about 8 years ago

Milestone: 1.1.1
Diff: 1.1.0...1.1.1

socket.io-redis-adapter -

Published by darrachequesne about 8 years ago

Features

  • get all clients in a room across all nodes (#109)
  • add option subEvent (#95)

Bug fixes

  • fix an issue when broadcasting binary data between nodes. (#122)
  • fix #93 by passing full URI to redis.createClient when specified (#94)

Performance improvements

  • return early when channels mismatch to skip expensive msgpack decoding (#107)

Milestone: 1.1.0
Diff: 1.0.0...1.1.0