
Backward Compatibility
Non-breaking changes.
Backward Compatibility
Additive Changes Only
- Safe: Adding a new field
sentimentto State (defaults to None). - Unsafe: Renaming
messagestochat_history.
If you must rename, use a Pydantic root_validator to migrate data on-the-fly when loading old state from the DB.