Add Azure Functions Durable V2 samples and migration guide - #219
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8be112df-948c-4136-a13a-67c8dceb9513
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds new end-to-end Azure Functions Durable 2.x (preview) documentation and runnable samples to help users adopt the durabletask-native APIs and migrate decorator-based apps from 1.x compatibility APIs.
Changes:
- Added four runnable Azure Functions Durable 2.x samples (function chaining, fan-out/fan-in, human interaction, durable entities) with per-sample host/config and dependencies.
- Added a staged migration guide covering runtime/dependency requirements, API mappings, and compatibility limitations.
- Updated the provider README and changelog to link to the new samples and migration guide.
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| azure-functions-durable/samples/README.md | Entry point for running and invoking the new 2.x samples. |
| azure-functions-durable/samples/human-interaction/requirements.txt | Sample dependency pins for the human-interaction scenario. |
| azure-functions-durable/samples/human-interaction/local.settings.json | Local settings for running the human-interaction sample against Azurite. |
| azure-functions-durable/samples/human-interaction/host.json | Host/extension bundle configuration required for the 2.x preview runtime. |
| azure-functions-durable/samples/human-interaction/function_app.py | Human-interaction orchestration + HTTP endpoints demonstrating external events + timeout. |
| azure-functions-durable/samples/function-chaining/requirements.txt | Sample dependency pins for function chaining. |
| azure-functions-durable/samples/function-chaining/local.settings.json | Local settings for running the function-chaining sample. |
| azure-functions-durable/samples/function-chaining/host.json | Host/extension bundle configuration for function chaining. |
| azure-functions-durable/samples/function-chaining/function_app.py | Function-chaining orchestration + starter + activity sample. |
| azure-functions-durable/samples/fan-out-fan-in/requirements.txt | Sample dependency pins for fan-out/fan-in. |
| azure-functions-durable/samples/fan-out-fan-in/local.settings.json | Local settings for running the fan-out/fan-in sample. |
| azure-functions-durable/samples/fan-out-fan-in/host.json | Host/extension bundle configuration for fan-out/fan-in. |
| azure-functions-durable/samples/fan-out-fan-in/function_app.py | Fan-out/fan-in orchestration + starter + activity sample. |
| azure-functions-durable/samples/durable-entities/requirements.txt | Sample dependency pins for durable entities. |
| azure-functions-durable/samples/durable-entities/local.settings.json | Local settings for running the durable-entities sample. |
| azure-functions-durable/samples/durable-entities/host.json | Host/extension bundle configuration for durable entities. |
| azure-functions-durable/samples/durable-entities/function_app.py | Durable entity class + orchestration + HTTP starter demonstrating entity operations. |
| azure-functions-durable/README.md | Adds links to the new samples and migration guide. |
| azure-functions-durable/MIGRATION_GUIDE.md | New staged migration guide detailing requirements, API mappings, and limitations. |
| azure-functions-durable/CHANGELOG.md | Documents the new samples and migration guide under Unreleased. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8be112df-948c-4136-a13a-67c8dceb9513
berndverst
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
python -m pyright --project azure-functions-durable\pyrightconfig.json azure-functions-durable\samplespython -m flake8 azure-functions-durable\samplespython -m pymarkdown -c .pymarkdown.json scan azure-functions-durable\README.md azure-functions-durable\MIGRATION_GUIDE.md azure-functions-durable\samples\README.mdfunction_app.pyagainst the local provider implementation