npm / @chat-adapter/state-ioredis
@chat-adapter/state-ioredis
What changed in @chat-adapter/state-ioredis 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-04.
1 deprecations8 new APIs and options1 behavior and defaults1 tooling6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@chat-adapter/state-ioredis 417 changes
Deprecations 1
The old option type name remains available as a deprecated alias.
New APIs and options 8
Adds a named interface for client-based state adapter options as part of splitting the option shapes.
Unifies the URL- and client-based option shapes under a named options type.
Adds a named interface for URL-based state adapter options as part of splitting the option shapes.
Adds forceReleaseLock to StateAdapter to support interrupting or steering long-running handlers.
Adds the onLockConflict config option to support interrupting or steering long-running handlers.
Adds Serde support.
Adds Discord support.
Adds native streaming support.
Behavior and default changes 1
Factories now take the unified options union type directly.
Tooling 1
Supported Node versions are set in the package engines metadata.
Fixes and other changes 6
The ioredis state adapter is no longer described as supporting Redis Cluster because its client option accepts a Redis instance, which a Cluster does not satisfy. Sentinel remains supported.
The logger parameter is optional and defaults to a console logger, matching @chat-adapter/state-redis.
Expanded npm keywords for adapter and state packages to improve discoverability.
Fixes non-atomic message deduplication that caused app_mention events to be silently dropped.
Fixed allMessages.
Fixed fetchMessages.