Repository navigation
Remove preview extension bundles from AFD v2 #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,8 +32,6 @@ Before upgrading, account for these 2.x requirements: | |
| - **Only the Azure Functions Python V2 programming model is supported.** Apps | ||
| must use `DFApp` or `Blueprint` decorators. The classic programming model with | ||
| one directory and `function.json` per function is not supported. | ||
| - **A modern Durable Functions host is required.** Local sample apps use the | ||
| preview extension bundle shown below. | ||
| - **The OpenAI Agents integration was removed.** The | ||
| `azure.durable_functions.openai_agents` package is not available in 2.x. | ||
| - **The primary APIs now come from `durabletask`.** Compatibility aliases are | ||
|
|
@@ -72,29 +70,7 @@ azure-functions>=2.3.0b2 | |
| azure-functions-durable>=2.0.0b1,<3 | ||
| ``` | ||
|
|
||
| ### 3. Update the extension bundle | ||
|
|
||
| Use the preview extension bundle that contains the required Durable Task gRPC | ||
| runtime: | ||
|
|
||
| ```json | ||
| { | ||
| "version": "2.0", | ||
| "extensionBundle": { | ||
| "id": "Microsoft.Azure.Functions.ExtensionBundle.Preview", | ||
| "version": "[4.*, 5.0.0)" | ||
| }, | ||
| "extensions": { | ||
| "durableTask": { | ||
| "storageProvider": { | ||
| "type": "AzureStorage" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| ### 4. Keep supported 1.x code temporarily | ||
| ### 3. Keep supported 1.x code temporarily | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please retain an extension-bundle upgrade step here, replacing the preview ID rather than deleting the requirement. This guide targets existing 1.x apps, which may still be pinned to bundle 3.x ( |
||
|
|
||
| A decorator-based 1.x orchestrator and client starter can run through the 2.x | ||
| compatibility layer without changing their function shape: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.