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-emitter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.2.0
Choose a base ref
...
head repository: socketio/socket.io-redis-emitter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.0.0
Choose a head ref
  • 5 commits
  • 13 files changed
  • 2 contributors

Commits on Dec 29, 2020

  1. docs(changelog): include changelog for release 3.1.2

    Merged from the 3.1.x branch.
    darrachequesne committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    1a69c41 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Configuration menu
    Copy the full SHA
    ad920e4 View commit details
    Browse the repository at this point in the history
  2. feat: include features from Socket.IO v4

    The codebase is now written in TypeScript.
    
    Additional features:
    
    - https://socket.io/docs/v4/migrating-from-3-x-to-4-0/#Allow-excluding-specific-rooms-when-broadcasting
    - https://socket.io/docs/v4/migrating-from-3-x-to-4-0/#Additional-utility-methods
    - https://socket.io/docs/v4/migrating-from-3-x-to-4-0/#Typed-events
    
    BREAKING CHANGE: the "redis" package is not installed by default
    anymore, you'll now need to create your own redis client and pass it to
    the Emitter constructor
    
    Before:
    
    ```js
    const io = require("socket.io-emitter")({ host: "127.0.0.1", port: 6379 });
    ```
    
    After:
    
    ```js
    const { Emitter } = require("socket.io-emitter");
    const { createClient } = require("redis");
    
    const redisClient = createClient();
    const io = new Emitter(redisClient);
    ```
    
    Related:
    
    - #89
    - #90
    - #95
    darrachequesne committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    a70db12 View commit details
    Browse the repository at this point in the history
  3. feat: rename the package to @socket.io/redis-emitter

    So that the relationship to Redis is clearer.
    
    Related: #94
    darrachequesne committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    592883e View commit details
    Browse the repository at this point in the history
  4. chore(release): 4.0.0

    darrachequesne committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    c371414 View commit details
    Browse the repository at this point in the history
Loading