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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
10
10
ADDED
11
11
12
12
- Added a `result` property to `Task` as a convenience alias for `get_result()`.
13
-
- Added `OrchestrationContext.parent_instance_id`, which returns the instance
14
-
ID of the parent orchestration for a sub-orchestration, or `None` for a
15
-
top-level orchestration.
13
+
- Added `TaskHubGrpcClient.rewind_orchestration()` to rewind a failed orchestration instance to its last known good state. Failed activity and sub-orchestration results are removed from the history and the orchestration replays from the last successful checkpoint, retrying only the failed work. The in-memory testing backend supports rewind as well.
16
14
- Exported `bind_context` and `clear_context` from
17
15
`durabletask.extensions.history_export` so hosts that register the export
18
16
functions themselves (rather than via `ExportHistoryClient.register_worker`)
19
17
can supply the activities' runtime dependencies.
20
18
21
-
CHANGED
22
-
23
-
- Changed the default large-payload externalization threshold (`LargePayloadStorageOptions.threshold_bytes`) from 900,000 bytes to 262,144 bytes (256 KiB), matching the .NET SDK default. Behavioral change (not source/binary breaking): payloads larger than 256 KiB are now externalized by default.
24
-
25
19
FIXED
26
20
27
21
- Fixed durabletask scheduled tasks (`durabletask.scheduled`) failing under
@@ -44,6 +38,25 @@ FIXED
44
38
-`OrchestrationContext.create_timer` now accepts timezone-aware `datetime`
45
39
values, normalizing them to UTC instead of raising when compared against the
46
40
orchestration's internal clock.
41
+
42
+
## v1.7.2
43
+
44
+
FIXED
45
+
46
+
- Fixed history export failing for orchestrations that completed with an error. Events carrying failure information (orchestration completion, activity failure, sub-orchestration failure, and entity operation failure) were not JSON-serializable, causing the `durabletask.extensions.history_export` module to raise `TypeError: Object of type FailureDetails is not JSON serializable`. `FailureDetails` now serializes to a JSON object with `message`, `error_type`, and `stack_trace` fields.
47
+
48
+
## v1.7.1
49
+
50
+
ADDED
51
+
52
+
- Added `OrchestrationContext.parent_instance_id`, which returns the instance ID of the parent orchestration for a sub-orchestration, or `None` for a top-level orchestration.
53
+
54
+
CHANGED
55
+
56
+
- Changed the default large-payload externalization threshold (`LargePayloadStorageOptions.threshold_bytes`) from 900,000 bytes to 262,144 bytes (256 KiB), matching the .NET SDK default. Behavioral change (not source/binary breaking): payloads larger than 256 KiB are now externalized by default.
57
+
58
+
FIXED
59
+
47
60
- Fixed `OrchestrationContext.call_entity` not propagating entity operation failures when running under the legacy entity protocol (used by the Azure Functions Durable extension). A failed entity operation now raises `TaskFailedError` in the calling orchestration instead of silently completing, matching the behavior of the current entity protocol and the .NET SDK.
48
61
- Fixed `OrchestrationContext.call_entity` returning a double-encoded result under the legacy entity protocol. The entity's return value was left as a raw serialized JSON string (for example, a returned string arrived with extra quotes and dicts/lists arrived as strings); it is now fully deserialized and coerced to the requested `return_type`, matching the current entity protocol.
49
62
- Fixed unbounded growth of the internal entity request/lock tracking maps when using entities over the legacy entity protocol. Entries are now released as each response is handled, reducing memory use in long-running orchestrations that call or lock entities.
Copy file name to clipboardExpand all lines: durabletask-azuremanaged/CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
8
## Unreleased
9
9
10
+
- Added `rewind_orchestration()` to `DurableTaskSchedulerClient` and `AsyncDurableTaskSchedulerClient` (inherited from the base clients) to rewind a failed orchestration instance to its last known good state.
0 commit comments