Socket
Socket
Sign inDemoInstall

socket.io-redis

Package Overview
Dependencies
10
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

6.1.1

Diff

darrachequesne
published 6.1.0 •

Changelog

Source

6.1.0 (2021-03-12)

Features

  • implement utility methods from Socket.IO v4 (468c3c8)

Performance Improvements

  • remove one round-trip for the requester (6c8d770)
darrachequesne
published 6.0.1 •

Changelog

Source

6.0.1 (2020-11-14)

Bug Fixes

  • typings: properly expose the createAdapter method (0d2d69c)
  • fix broadcasting (#361) (3334d99)
darrachequesne
published 6.0.0 •

Changelog

Source

6.0.0 (2020-11-12)

Features

  • add support for Socket.IO v3 (d9bcb19)

BREAKING CHANGES:

  • all the requests (for inter-node communication) now return a Promise instead of accepting a callback

Before:

io.of('/').adapter.allRooms((err, rooms) => {
  console.log(rooms); // an array containing all rooms (accross every node)
});

After:

const rooms = await io.of('/').adapter.allRooms();
console.log(rooms); // a Set containing all rooms (across every node)
  • RedisAdapter.clients() is renamed to RedisAdapter.sockets()

See https://github.com/socketio/socket.io-adapter/commit/130f28a43c5aca924aa2c1a318422d21ba03cdac

  • RedisAdapter.customHook() and RedisAdapter.customRequest() are removed

Those methods will be replaced by a more intuitive API in a future iteration.

  • support for Node.js 8 is dropped

See https://github.com/nodejs/Release

darrachequesne
published 5.4.0 •

Changelog

Source

5.4.0 (2020-09-02)

Features

  • update node-redis version to 3.x (5b3ed58)
darrachequesne
published 5.3.0 •

Changelog

Source

5.3.0 (2020-06-04)

Features

  • add support for Redis Cluster (7a19075)
darrachequesne
published 5.2.0 •

Changelog

Source

5.2.0 (2017-08-24)

Features

  • increase default requestsTimeout to 5000 ms (37e28df)
darrachequesne
published 5.1.0 •

Changelog

Source

5.1.0 (2017-06-04)

Bug Fixes

  • use the requestid from response when deleting requests (4f08b1a)

Features

  • add support for ArrayBuffer (b3ad4ad)
darrachequesne
published 5.0.1 •

Changelog

Source

5.1.0 (2017-06-04)

Bug Fixes

  • use the requestid from response when deleting requests (4f08b1a)

Features

  • add support for ArrayBuffer (b3ad4ad)
darrachequesne
published 5.0.0 •

23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc