Repository navigation
Comparing changes
Open a pull request
base repository: microsoft/durabletask-python
base: v1.12.0
head repository: microsoft/durabletask-python
compare: v1.13.0
- 17 commits
- 83 files changed
- 8 contributors
Commits on Oct 16, 2026
-
[Azure Functions] Add opt-in Unicode JSON serialization (#292)
* feat(functions): add opt-in Unicode JSON serialization Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 54e13dcd-4b0d-4c0b-ab5b-bbb958fd5792 * chore(functions): adopt released Unicode codec API Require azure-functions 2.4.0b1 and exercise its released opt-in codec directly. Align documentation and samples with the available shared-library API. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 54e13dcd-4b0d-4c0b-ab5b-bbb958fd5792 --------- Co-authored-by: Bernd Verst <beverst@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 54e13dcd-4b0d-4c0b-ab5b-bbb958fd5792
Configuration menu - View commit details
-
Copy full SHA for cb75760 - Browse repository at this point
Copy the full SHA cb75760View commit details
Commits on Oct 20, 2026
-
fix(worker): close orchestrator generators when a dispatch ends (#300)
Give each replay dispatch explicit ownership of its orchestrator generator: close it once in an outer finally after the response is built, so cleanup in finally blocks runs deterministically and cannot alter the returned actions or custom status. Ordinary teardown failures are logged without replacing dispatch results or abandonment. Async bridges such as Pydantic AI otherwise retain AnyIO task scopes, event loops, and orchestration contexts indefinitely. Also relevant to the async/await work in #293 and #294. Fixes #299 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 35371373-86cf-4897-bf7c-460fa3c88d1f
Configuration menu - View commit details
-
Copy full SHA for 4b076ba - Browse repository at this point
Copy the full SHA 4b076baView commit details
Commits on Oct 21, 2026
-
fix(worker): preserve dispatch outcomes when generator teardown raise…
…s CancelledError (#303) Catch asyncio.CancelledError raised by orchestrator generator teardown alongside ordinary cleanup exceptions, so a cancelled async bridge cannot replace an already-built dispatch response or a version-rejection abandonment. SystemExit and KeyboardInterrupt still propagate. Document the per-dispatch finalizer contract in docs/supported-patterns.md and clarify the three Unreleased changelog entries. Closes #301 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 35371373-86cf-4897-bf7c-460fa3c88d1f
Configuration menu - View commit details
-
Copy full SHA for 14e75af - Browse repository at this point
Copy the full SHA 14e75afView commit details -
Preflight all externalized payload sizes before uploads (#305)
Fixes #298 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c95a41ba-3f18-427d-8a6c-a7438e7ec782
Configuration menu - View commit details
-
Copy full SHA for 100263b - Browse repository at this point
Copy the full SHA 100263bView commit details
Commits on Oct 22, 2026
-
Complete permanent payload failures with entity-lock cleanup (#306)
* fix: complete permanent payload failures and release entity locks Fixes #297 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 064f1284-f637-4ba9-8406-8c094ce9f845 * fix: preserve historical entity release order during replay Retain legacy shared-list ordering while tracking pending lock release obligations independently. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 064f1284-f637-4ba9-8406-8c094ce9f845 * test: explain handled entity failure in replay regression Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 064f1284-f637-4ba9-8406-8c094ce9f845 * fix: keep normal unlock emission separate from terminal cleanup Preserve pending-call legacy release and subsequent action IDs while retaining missing obligations for permanent payload failure snapshots. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 064f1284-f637-4ba9-8406-8c094ce9f845 * test: make payload failure regression return explicit Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 064f1284-f637-4ba9-8406-8c094ce9f845 --------- Copilot-Session: 064f1284-f637-4ba9-8406-8c094ce9f845
Configuration menu - View commit details
-
Copy full SHA for 040c9e5 - Browse repository at this point
Copy the full SHA 040c9e5View commit details -
feat(client): add task hub name filter to orchestration queries (#295)
Closes #222. - Adds ask_hub_names: list[str] | None = None to OrchestrationQuery. - Serializes ask_hub_names into InstanceQuery.taskHubNames as epeated google.protobuf.StringValue in �uild_query_instances_req(). - Updates unit tests covering ask_hub_names serialization independently, combined with instance_id_prefix, and verifying positional argument order preservation. - Documents the addition in CHANGELOG.md under Unreleased.
Configuration menu - View commit details
-
Copy full SHA for e4a6403 - Browse repository at this point
Copy the full SHA e4a6403View commit details -
fix(worker): recover unexpected orchestration dispatch exits (#307)
* fix(worker): recover unexpected orchestration dispatch exits Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1 * fix(worker): preserve recovery signals and stacked lock-release paths Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1 * test: simplify dispatch recovery parameter IDs Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1 * test: preserve post-call release order in teardown failures Regression for the pending replay-compatible #306 dependency update; not published until the verified replacement base is integrated. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1 * test: verify scheduler-visible teardown failure over local gRPC Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1 * test: cover compatible release order for pending entity calls Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1 * fix(worker): recover output serialization exits before completion Keep terminal callbacks non-reentrant while restoring failure conversion after incomplete output serialization. Treat serialization StopIteration as failure, not generator completion. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1 * fix(worker): retain pending releases for unexpected terminal failures Reuse the existing failed-result conversion after the full pre-close snapshot; preserve historical normal timeout actions and original failure details. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1 --------- Copilot-Session: 974213a5-9101-41b4-9bde-aa86a72f25e1
Configuration menu - View commit details
-
Copy full SHA for 0cf1ad4 - Browse repository at this point
Copy the full SHA 0cf1ad4View commit details
Commits on Oct 26, 2026
-
fix(entities): implement __hash__ and __repr__ for EntityInstanceId (#…
…309) * fix(entities): implement __hash__ and __repr__ for EntityInstanceId * fix(entities): enforce immutability on EntityInstanceId for hash stability * fix(entities): preserve subclass type when pickling
Configuration menu - View commit details
-
Copy full SHA for 888ee21 - Browse repository at this point
Copy the full SHA 888ee21View commit details -
Bump the github-actions group across 1 directory with 4 updates (#296)
Bumps the github-actions group with 4 updates in the / directory: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action), [actions/setup-node](https://github.com/actions/setup-node) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `github/codeql-action/init` from 4.38.2 to 4.39.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@2892aa5...6f2ac81) Updates `github/codeql-action/analyze` from 4.38.2 to 4.39.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@2892aa5...6f2ac81) Updates `actions/setup-node` from 7.0.0 to 7.1.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@8207627...949feb2) Updates `actions/upload-artifact` from 7.0.1 to 7.0.2 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@043fb46...cf430e0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/upload-artifact dependency-version: 7.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/analyze dependency-version: 4.38.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/init dependency-version: 4.38.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6a56be2 - Browse repository at this point
Copy the full SHA 6a56be2View commit details
Commits on Oct 30, 2026
-
fix(serialization): support set and frozenset generic containers in J…
…sonDataConverter (#310) * fix(serialization): support set and frozenset generic containers in JsonDataConverter * fix(serialization): deterministic set ordering, opt-in set reconstruction, and pyright typing - Preserve replay compatibility by gating generic set reconstruction behind enable_generic_sets=False default on JsonDataConverter - Ensure deterministic set serialization with fallback sort key on recursive encoded values, qualname, and repr - Retain primitive set element annotations in type discovery when set reconstruction is enabled - Resolve strict pyright errors and update tests * fix(serialization): stabilize nested set ordering * fix(serialization): simplify set serialization by emitting sorted canonical JSON strings
Configuration menu - View commit details
-
Copy full SHA for d2a3e7f - Browse repository at this point
Copy the full SHA d2a3e7fView commit details -
Optimize deterministic set serialization without JSON parse round tri…
…ps (#313) * Optimize deterministic set serialization without JSON parse round trips Normalize set subtrees once, reuse normalized values for output, and skip singleton ordering keys while preserving legacy coercion defaults. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Preserve Unicode object-name normalization in set payloads Collapse equivalent UTF-16 surrogate-pair and non-BMP names before dictionary insertion, preserve lone surrogates, and consolidate test imports. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Align opt-in set discovery with tuple and abstract-set reconstruction Recognize hashable typed tuples recursively and reconstruct bare collections.abc.Set annotations as concrete sets only when enabled. Cover both opt-in names, discovery, activity execution, and unchanged legacy defaults. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Reduce dictionary-heavy set normalization overhead Compose only actual surrogate pairs, bypass recursive normalization for scalar dictionary fields, and avoid cycle-tracking writes for scalar-only records. Cover reviewer payload shapes and retain per-occurrence hooks and cycle detection. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2b36e56 - Browse repository at this point
Copy the full SHA 2b36e56View commit details -
Drop Python 3.10 support and adopt Python 3.11 features (#302)
* Drop Python 3.10 support and adopt Python 3.11 features Raise the core and Azure Managed minimum to Python 3.11 while retaining Python 3.13 for Functions. Align CI, Nox, type checking, and documentation; use Self, UTC and ExceptionGroup, and remove obsolete compatibility shims. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6b07f3f-b3e1-49dd-9121-318968272d31 * Modernize newly merged code for Python 3.11 Use native exception-group matching and preserve nested failure diagnostics and notes. Extend Self typing to immutable entity copy protocols, remove the obsolete asyncio backport dependency, and cover dispatch and provider compatibility. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6b07f3f-b3e1-49dd-9121-318968272d31 * Cover native Python 3.11 type resolution for new set support Exercise modern and legacy nested set annotations, recursive frozenset dataclasses, and activity input/output discovery for both opt-in options without restoring the Python 3.10 forward-reference evaluator. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6b07f3f-b3e1-49dd-9121-318968272d31 * Preserve callback failure causes and document group diagnostic limits Restore the first callback exception as the explicit cause so legacy cause-based recovery histories replay correctly and retain structured inner failures. Cover wide/deep groups with explicit traceback rendering limits, and document the remaining aggregate type/message replay compatibility change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6b07f3f-b3e1-49dd-9121-318968272d31 * Make replay regression orchestrator return explicit Address the automated code-quality finding without changing the test orchestrator's fall-through behavior. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6b07f3f-b3e1-49dd-9121-318968272d31 --------- Co-authored-by: Bernd Verst <beverst@microsoft.com> Copilot-Session: e6b07f3f-b3e1-49dd-9121-318968272d31
Configuration menu - View commit details
-
Copy full SHA for 97427b2 - Browse repository at this point
Copy the full SHA 97427b2View commit details
Commits on Nov 1, 2026
-
Bump the github-actions group with 3 updates (#315)
Bumps the github-actions group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [actions/setup-python](https://github.com/actions/setup-python). Updates `github/codeql-action/init` from 4.39.0 to 4.39.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@6f2ac81...9b32540) Updates `github/codeql-action/analyze` from 4.39.0 to 4.39.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@6f2ac81...9b32540) Updates `actions/setup-python` from 7.0.0 to 7.1.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@5fda3b9...6d4fd22) --- updated-dependencies: - dependency-name: github/codeql-action/init dependency-version: 4.39.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/analyze dependency-version: 4.39.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/setup-python dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5c842a3 - Browse repository at this point
Copy the full SHA 5c842a3View commit details
Commits on Nov 2, 2026
-
Honor non-retriable activity and sub-orchestration failures (#318)
* Honor non-retriable activity and sub-orchestration failures Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Make regression test orchestrator return explicit Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Use explicit UTC time in retry regression test Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fe2d7d7 - Browse repository at this point
Copy the full SHA fe2d7d7View commit details -
Release durabletask 1.13.0 and Azure Functions 2.0.0rc4 (#321)
* Prepare durabletask 1.13.0 and Azure Functions 2.0.0rc4 releases Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Focus release changelogs on user impact and upgrade risks Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for daae8b8 - Browse repository at this point
Copy the full SHA daae8b8View commit details -
Fix official CI by replacing AnyIO in generator cleanup tests (#333)
* Fix missing anyio test dependency in official CI Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Replace AnyIO test task group with asyncio Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d6fb240 - Browse repository at this point
Copy the full SHA d6fb240View commit details -
Fix ESRP releases with Node20-compatible task (#335)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f9f754c - Browse repository at this point
Copy the full SHA f9f754cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.12.0...v1.13.0