npm / @chat-adapter/state-memory
@chat-adapter/state-memory
What changed in @chat-adapter/state-memory 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
7 new APIs and options5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@chat-adapter/state-memory 412 changes
New APIs and options 7
Now accepts an optional argument of type MemoryStateAdapterOptions.
Added an empty options type so the package matches every other state adapter.
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.
Fixes and other changes 5
Expanded npm keywords for adapter and state packages to improve discoverability.
Set supported Node versions in the package engines.
Fixes non-atomic message deduplication that caused app_mention events to be silently dropped.
Fixed and tested allMessages.
Fixed and tested fetchMessages.