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
* Add secure, type-aware custom object serialization
Rewrite the JSON codec in shared.py to emit plain JSON (no internal type marker) and add type-directed deserialization via an optional expected_type. Custom objects round-trip everywhere:
- call_activity/call_sub_orchestrator/call_entity gain return_type; wait_for_external_event gains data_type; these also refine the returned task's static type via overloads.
- Inbound payloads (orchestrator/activity/entity inputs) and call_activity results are reconstructed from function type annotations (new internal type_discovery module), best-effort and conservative.
- Entity get_state and new client OrchestrationState.get_input/get_output/get_custom_status accessors route through the shared codec.
- Fix nested-dataclass round-trip bug; chain serialization errors with the original cause. Legacy AUTO_SERIALIZED payloads still deserialize for in-flight replay.
* PR Feedback (DataConverter pattern, small fixes)
* Standardize codec, entity fixes
* Fix history export serialization quirk
* Best-effort breaking change fixes, update changelog
* Update example and docs for type-directed deserialization
* Address PR feedback
0 commit comments