Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: socketio/socket.io-redis-adapter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.1.0
Choose a base ref
...
head repository: socketio/socket.io-redis-adapter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.2.0
Choose a head ref
  • 10 commits
  • 6 files changed
  • 3 contributors

Commits on Dec 14, 2021

  1. docs: add example with redis@4

    The redis clients must be connected manually in v4, else it will throw:
    
    > Error: The client is closed
    
    Related: #435
    darrachequesne committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    936810c View commit details
    Browse the repository at this point in the history
  2. test: fix flaky test

    darrachequesne committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    ff22767 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Configuration menu
    Copy the full SHA
    1687394 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. docs: fix example with redis v4

    It seems the clients must be connected before creating the adapter.
    
    Related: #436
    darrachequesne committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    d55d6e5 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. fix: add support for ioredis v5 (#453)

    Related: #450
    ReflexFox authored Apr 28, 2022
    Configuration menu
    Copy the full SHA
    d2faa8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65174f3 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. feat: broadcast and expect multiple acks

    This feature was added in `[email protected]`:
    
    ```js
    io.timeout(1000).emit("some-event", (err, responses) => {
      // ...
    });
    ```
    
    Thanks to this change, it will now work with multiple Socket.IO
    servers.
    
    Related:
    
    - socketio/socket.io@8b20457
    - #445
    - #452
    darrachequesne committed May 3, 2022
    Configuration menu
    Copy the full SHA
    e4c40cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    672dc0c View commit details
    Browse the repository at this point in the history
  3. chore: add deprecation notices for some methods

    Those methods are now replaced by more generic methods at the server
    level, and will be removed in the next major release.
    
    Regarding the allRooms() method, we may also remove it, as transferring
    all rooms (including private ones) across the cluster is not really
    efficient, and users could use `serverSideEmit()` instead to implement
    their own logic.
    darrachequesne committed May 3, 2022
    Configuration menu
    Copy the full SHA
    b41a805 View commit details
    Browse the repository at this point in the history
  4. chore(release): 7.2.0

    darrachequesne committed May 3, 2022
    Configuration menu
    Copy the full SHA
    b4215cd View commit details
    Browse the repository at this point in the history
Loading