Change8

checkpoint==2.1.2

Breaking Changes
📦 langgraph
1 breaking3 features🐛 5 fixes🔧 6 symbols

Summary

This release removes the legacy thread_ts alias, introduces Redis node-level caching, and improves checkpoint serialization and task cancellation resiliency.

⚠️ Breaking Changes

  • Removed support for `thread_ts` as an alias for `checkpoint_id`. Update code to use `checkpoint_id` instead.

Migration Steps

  1. Replace all occurrences of the deprecated `thread_ts` parameter with `checkpoint_id`.
  2. Update code references from `MemorySaver` to `InMemorySaver` where applicable.

✨ New Features

  • Added client query parameters support in sdk-py.
  • Implemented Redis node-level cache for langgraph.
  • Performance optimization: Save updated_channels directly to checkpoints.

🐛 Bug Fixes

  • Fixed serialization of old checkpoints with Jsonb by handling metadata.writes.
  • Fixed test failures on x86_64 architecture using tolerant float comparisons.
  • Fixed encoding issues to preserve non-ascii text in InMemoryStore embeddings.
  • Added resiliency for task cancellation.
  • Updated documentation to recommend InMemorySaver over MemorySaver.

🔧 Affected Symbols

thread_tscheckpoint_idInMemoryStoreInMemorySaverMemorySaverupdated_channels