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: redis/ioredis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.9.2
Choose a base ref
...
head repository: redis/ioredis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.10.1
Choose a head ref
  • 11 commits
  • 47 files changed
  • 7 contributors

Commits on Jan 30, 2026

  1. fix: fix issue with moved command for replicas (#2064)

    * fix: fix issue with moved command for replicas
    
    * test: fix tests
    
    * test: update tests, replace two tests with one test, which checks all required logic in a simple manner
    
    * test: fix test race condition
    
    * test: fix monitor test
    
    ---------
    
    Co-authored-by: devandscorp <[email protected]>
    DevandScorp and devandscorp authored Jan 30, 2026
    Configuration menu
    Copy the full SHA
    de4eed4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8adb1ae View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2026

  1. fix(types): optional properties on RedisOptions allow explicit undefi…

    …ned (#2066)
    
    * optional properties on RedisOptions, SentinelConnectionOptions, ClusterOptions
    
    when exactOptionalPropertyTypes is true in the consuming application's tsconfig, you cannot send in an explicit undefined for these fields, causing the developer to jump through extra hoops needlessly to get i.e. the username and password provided to the options in a type-safe manner. This fix corrects this by explicitly specifying undefined as an allowed type on the username and password properties within RedisOptions, SentinelConnectionOptions, and ClusterOptions.
    
    ```ts
    new Redis({
      ...
      password: process.env.REDIS_PASSWORD,
    })
    ```
    
    * fix: add missing | undefined to remaining optional properties
    
    ---------
    
    Co-authored-by: Pavel Pashov <[email protected]>
    avocadojesus and PavelPashov authored Feb 10, 2026
    Configuration menu
    Copy the full SHA
    0a1a898 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2026

  1. chore(release): 5.9.3 [skip ci]

    ## [5.9.3](v5.9.2...v5.9.3) (2026-02-12)
    
    ### Bug Fixes
    
    * autopipelining to route writes to masters with scaleReads ([#2072](#2072)) ([8adb1ae](8adb1ae))
    * fix issue with moved command for replicas ([#2064](#2064)) ([de4eed4](de4eed4))
    * **types:** optional properties on RedisOptions allow explicit undefined ([#2066](#2066)) ([0a1a898](0a1a898))
    ioredis-robot authored and semantic-release-bot committed Feb 12, 2026
    Configuration menu
    Copy the full SHA
    326528b View commit details
    Browse the repository at this point in the history
  2. chore(release): 5.9.3 [skip ci]

    ## [5.9.3](v5.9.2...v5.9.3) (2026-02-12)
    
    ### Bug Fixes
    
    * autopipelining to route writes to masters with scaleReads ([#2072](#2072)) ([8adb1ae](8adb1ae))
    * fix issue with moved command for replicas ([#2064](#2064)) ([de4eed4](de4eed4))
    * **types:** optional properties on RedisOptions allow explicit undefined ([#2066](#2066)) ([0a1a898](0a1a898))
    ioredis-robot authored and semantic-release-bot committed Feb 12, 2026
    Configuration menu
    Copy the full SHA
    cd19ab0 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2026

  1. Configuration menu
    Copy the full SHA
    232e548 View commit details
    Browse the repository at this point in the history
  2. feat: add hexpireat & hexpiretime (#2082)

    * chore(deps): bump @ioredis/commands from 1.5.0 to 1.5.1
    
    * feat(hash): add hexpireat and hexpiretime typings with functional tests
    
    * fix: callbacks type
    PavelPashov authored Feb 26, 2026
    Configuration menu
    Copy the full SHA
    b38124f View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2026

  1. feat: add hash field expiration commands and tests

    * hgetdel
    * hgetex
    * hpersist
    * hpexpireat
    * hpexpiretime
    * hpttl
    * hsetex
    * httl
    PavelPashov authored Feb 27, 2026
    Configuration menu
    Copy the full SHA
    5219f9f View commit details
    Browse the repository at this point in the history
  2. chore(release): 5.10.0 [skip ci]

    # [5.10.0](v5.9.3...v5.10.0) (2026-02-27)
    
    ### Features
    
    * add hash field expiration commands and tests ([5219f9f](5219f9f))
    * add hexpireat & hexpiretime ([#2082](#2082)) ([b38124f](b38124f))
    ioredis-robot authored and semantic-release-bot committed Feb 27, 2026
    Configuration menu
    Copy the full SHA
    623cee5 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2026

  1. fix(cluster): lazily start sharded subscribers (#2090)

    * fix(cluster): lazily start sharded subscribers
    
    * fix(cluster): ignore late sharded subscriber start after stop
    
    * test: split sharded pub/sub scenario coverage into focused suites
    
    * test: make sharded pubsub recovery assertions less timing-sensitive
    
    * fix: avoid duplicate sharded subscriber start handlers
    
    * test: increase waitForAssertion timeout
    
    * fix: rebuild sharded subscriber slots after stop
    
    * fix: avoid duplicate sharded subscriber starts
    PavelPashov authored Mar 19, 2026
    Configuration menu
    Copy the full SHA
    4f167bb View commit details
    Browse the repository at this point in the history
  2. chore(release): 5.10.1 [skip ci]

    ## [5.10.1](v5.10.0...v5.10.1) (2026-03-19)
    
    ### Bug Fixes
    
    * **cluster:** lazily start sharded subscribers ([#2090](#2090)) ([4f167bb](4f167bb))
    ioredis-robot authored and semantic-release-bot committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    9e26f8b View commit details
    Browse the repository at this point in the history
Loading