You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- New `EventCallback` class for object-based callback handling
14
+
- Outputs structured `GraphEvent` objects instead of formatted strings
15
+
- Provides `GraphEventType` enum for event type identification
16
+
- Better structured data with `type`, `identifier`, `token`, and `params` fields
17
+
- Maintains backward compatibility with existing callback interface
18
+
- Comprehensive graph compilation validation
19
+
- Stricter validation of node connections and dependencies
20
+
- Better error messages for graph construction issues
21
+
- Cycle detection with clear `GraphCompileError` reporting
22
+
23
+
### Changed
24
+
- Graph compilation now validates execution order at compile time
25
+
- Graphs with cycles now raise `GraphCompileError` during compilation to ensure predictable execution order
26
+
27
+
### Deprecated
28
+
-`Callback` class is deprecated and will be removed in v0.1.0 - use `EventCallback` instead
29
+
-`special_token_format` and `token_format` parameters in `EventCallback` exist for backwards compatibility but are deprecated and will be removed in v0.1.0
30
+
31
+
### Fixed
32
+
- Added Python 3.10 compatibility for `StrEnum` with fallback implementation
33
+
- Fixed type annotation issues with `default_factory` in Pydantic field definitions
34
+
- Improved type extraction for complex Pydantic field types including `Union` and `Optional`
0 commit comments