Change8

checkpointsqlite==2.0.11

Breaking Changes
📦 langgraph
2 breaking5 features🐛 4 fixes🔧 8 symbols

Summary

This release removes the deprecated `thread_ts` alias, fixes a deadlock in SqliteStore, and improves serialization support for numpy and pandas while preparing for the 0.5 version of langgraph-checkpoint.

⚠️ Breaking Changes

  • Removed support for `thread_ts` (the old alias for `checkpoint_id`). Code using `thread_ts` must be updated to use `checkpoint_id`.
  • Removed `Checkpoint.pending_sends` field.

Migration Steps

  1. Replace all occurrences of the `thread_ts` parameter with `checkpoint_id` in your codebase.
  2. Ensure custom checkpointer implementations are tested against the restored compatibility layer.

✨ New Features

  • Added validation to filter keys in SQL store.
  • Added support for numpy array serialization in JsonPlusSerializer.
  • Added pandas serialization with pickle fallback.
  • Reduced extraneous keys in checkpoint.metadata to optimize storage.
  • Updated ormsgpack dependency.

🐛 Bug Fixes

  • Fixed deadlock in SqliteStore.
  • Fixed broken URL in _AIO_ERROR_MSG for AsyncSqliteSaver.
  • Fixed issue where FuturesDict callback would be called after being garbage collected.
  • Restored compatibility with custom checkpointer classes created in prior versions.

🔧 Affected Symbols

thread_tscheckpoint_idSqliteStoreAsyncSqliteSaverCheckpoint.pending_sendsJsonPlusSerializercheckpoint.metadataFuturesDict