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: 8.0.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: 8.1.0
Choose a head ref
  • 6 commits
  • 5 files changed
  • 3 contributors

Commits on Jan 11, 2023

  1. chore: bump json5 from 2.1.3 to 2.2.3 (#479)

    Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3.
    - [Release notes](https://github.com/json5/json5/releases)
    - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
    - [Commits](json5/json5@v2.1.3...v2.2.3)
    
    ---
    updated-dependencies:
    - dependency-name: json5
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 11, 2023
    Configuration menu
    Copy the full SHA
    1181855 View commit details
    Browse the repository at this point in the history
  2. chore: pin the version of the socket.io-adapter package

    - `socket.io@latest` depends on `socket.io-adapter@~2.4.0`, which resolves to `[email protected]`
    - `@socket.io/redis-adapter@latest` depends on `socket.io-adapter@^2.4.0`, which resolves to `[email protected]` (released a few days ago)
    
    Typescript complains that the two types do not match:
    
    > Argument of type '(nsp: any) => RedisAdapter' is not assignable to parameter of type 'AdapterConstructor'.
    >  Type '(nsp: any) => RedisAdapter' is not assignable to type '(nsp: Namespace<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>) => Adapter'.
    >    Type 'RedisAdapter' is not assignable to type 'Adapter'.
    >      Types have separate declarations of a private property 'encoder'.
    
    Related:
    
    - #478
    - #482
    darrachequesne committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    7aecf01 View commit details
    Browse the repository at this point in the history
  3. chore(release): 8.0.1

    darrachequesne committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    9b940b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. feat: implement adapter.close() function (#485)

    When the close function is called it will (p)unsubscribe from the
    channels it (p)subscribed to in the constructor.
    
    Related:
    
    - #480
    - socketio/socket.io@5d9220b
    stevebaum23 authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    fe89f7e View commit details
    Browse the repository at this point in the history
  2. chore: add socket.io-parser to peerDependencies

    This should (at least in theory) fix sync issues for the
    `socket.io-adapter` package, which is imported by both the `socket.io`
    and `@socket.io/redis-adapter` packages:
    
    - `[email protected]` should resolve `socket.io-adapter@~2.4.0`
    - `[email protected]` should resolve `socket.io-adapter@~2.5.0`
    
    Related:
    
    - 7aecf01
    - #487
    darrachequesne committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    f07ff7b View commit details
    Browse the repository at this point in the history
  3. chore(release): 8.1.0

    darrachequesne committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    08f2de9 View commit details
    Browse the repository at this point in the history
Loading