unstale

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

@unstale/cli on npm

@chat-adapter/state-memory 412 changes

New APIs and options 7

  • Now accepts an optional argument of type MemoryStateAdapterOptions.

    4.29.0release notes

  • Added an empty options type so the package matches every other state adapter.

    4.29.0release notes

  • Adds forceReleaseLock to StateAdapter to support interrupting or steering long-running handlers.

    4.19.0release notes

  • Adds the onLockConflict config option to support interrupting or steering long-running handlers.

    4.19.0release notes

  • Adds Serde support.

    4.4.1release notes

  • Adds Discord support.

    4.3.0release notes

  • Adds native streaming support.

    4.1.0release notes

Fixes and other changes 5

  • Expanded npm keywords for adapter and state packages to improve discoverability.

    4.30.0release notes

  • Set supported Node versions in the package engines.

    4.29.0release notes

  • Fixes non-atomic message deduplication that caused app_mention events to be silently dropped.

    4.17.0release notes

  • Fixed and tested allMessages.

    4.2.0release notes

  • Fixed and tested fetchMessages.

    4.2.0release notes