Backward Compatibility

Backward Compatibility

Non-breaking changes.

Backward Compatibility

Additive Changes Only

  • Safe: Adding a new field sentiment to State (defaults to None).
  • Unsafe: Renaming messages to chat_history.

If you must rename, use a Pydantic root_validator to migrate data on-the-fly when loading old state from the DB.

Subscribe to our newsletter

Get the latest posts delivered right to your inbox.

Subscribe on LinkedIn