pypi langgraph-sdk 0.2.3

latest releases: 0.3.14, 0.3.13, 0.3.12...
9 months ago

langgraph 0.2.3

Summary of Changes

  • Fixed an issue with channel version handling in checkpoint updates by adding a new utility function and improving the logic for determining new channel versions (#1270)
  • Fixed a potential bug by clarifying boolean logic with parentheses in the checkpoint versioning code (#1268)

Detailed Changes

langgraph.pregel.Pregel

  • Improved handling of channel versions during checkpointing by tracking previous versions and properly computing which channels have changed using a dedicated utility function (#1270)
  • Fixed synchronous and asynchronous update_state methods to properly track and report new channel versions when putting checkpoints (#1270)

langgraph.pregel.loop.PregelLoop

  • Refactored checkpoint versioning logic to use the new utility function get_new_channel_versions, which eliminates duplicated code and improves reliability (#1270)
  • Fixed a potential bug in channel versioning logic by adding parentheses to clarify boolean expression precedence (#1268)

langgraph.pregel.utils.get_new_channel_versions

  • Added a new utility function that safely determines which channel versions have changed compared to previous versions (#1270)
  • Improved handling of null version cases by dynamically determining the version type from current versions (#1270)

Don't miss a new langgraph-sdk release

NewReleases is sending notifications on new releases.