Skip to content

Durable Task: Release version 0.2.0#29219

Merged
VeryEarly merged 4 commits intoAzure:mainfrom
berndverst:feature/durabletask/v0.2.0
Mar 16, 2026
Merged

Durable Task: Release version 0.2.0#29219
VeryEarly merged 4 commits intoAzure:mainfrom
berndverst:feature/durabletask/v0.2.0

Conversation

@berndverst
Copy link
Copy Markdown
Member

Description

Releases Durable Task cmdlets version 0.2.0.

This switches all commands to API version 2026-02-01. The Scheduler resource now also supports configuring public network access. Additionally, schedulers show private endpoint connection information.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings February 28, 2026 04:52
@azure-client-tools-bot-prd
Copy link
Copy Markdown

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Releases Az.DurableTask v0.2.0 by moving scheduler cmdlets to API version 2026-02-01 and exposing scheduler networking enhancements (public network access + private endpoint connection info).

Changes:

  • Bumped module/assembly versions to 0.2.0 and updated dependency requirements.
  • Added -PublicNetworkAccess to scheduler create/update cmdlets and regenerated help/docs.
  • Updated Pester tests + recordings and adjusted solution/project layout for generated artifacts.

Reviewed changes

Copilot reviewed 26 out of 31 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
src/DurableTask/DurableTask/help/Update-AzDurableTaskScheduler.md Documents new -PublicNetworkAccess parameter for scheduler updates.
src/DurableTask/DurableTask/help/New-AzDurableTaskScheduler.md Documents new -PublicNetworkAccess parameter for scheduler creation.
src/DurableTask/DurableTask/ChangeLog.md Adds v0.2.0 release notes covering API version bump and scheduler networking changes.
src/DurableTask/DurableTask/Az.DurableTask.psd1 Updates module version and required Az.Accounts version.
src/DurableTask/DurableTask.sln Repoints generated project path and adds solution folder/configurations.
src/DurableTask/DurableTask.Autorest/test/utils.ps1 Updates test environment defaults (location, scheduler creation args).
src/DurableTask/DurableTask.Autorest/test/env.json Updates recorded test environment values.
src/DurableTask/DurableTask.Autorest/test/Update-AzDurableTaskScheduler.Tests.ps1 Extends update tests to cover PublicNetworkAccess (cmdlet + JSON body).
src/DurableTask/DurableTask.Autorest/test/Update-AzDurableTaskScheduler.Recording.json Re-records update scenario requests/responses for new API + properties.
src/DurableTask/DurableTask.Autorest/test/Remove-AzDurableTaskScheduler.Tests.ps1 Updates scheduler SKU used in delete tests.
src/DurableTask/DurableTask.Autorest/test/README.md Adjusts relative path formatting in test README.
src/DurableTask/DurableTask.Autorest/test/New-AzDurableTaskScheduler.Tests.ps1 Extends create tests to cover PublicNetworkAccess and updated SKU.
src/DurableTask/DurableTask.Autorest/test/Get-AzDurableTaskScheduler.Recording.json Re-records get/list scenarios for new API + properties.
src/DurableTask/DurableTask.Autorest/resources/README.md Adjusts relative path formatting in resources README.
src/DurableTask/DurableTask.Autorest/generate-info.json Updates generation identifier metadata.
src/DurableTask/DurableTask.Autorest/docs/Update-AzDurableTaskScheduler.md Regenerated cmdlet docs including -PublicNetworkAccess.
src/DurableTask/DurableTask.Autorest/docs/README.md Adjusts relative path formatting in docs README.
src/DurableTask/DurableTask.Autorest/docs/New-AzDurableTaskScheduler.md Regenerated cmdlet docs including -PublicNetworkAccess.
src/DurableTask/DurableTask.Autorest/docs/Az.DurableTaskCmdlet.Design.md Removes generated design doc.
src/DurableTask/DurableTask.Autorest/docs/Az.DurableTask.md Updates module guid in documentation header.
src/DurableTask/DurableTask.Autorest/custom/README.md Adjusts relative path formatting in custom README.
src/DurableTask/DurableTask.Autorest/custom/Az.DurableTask.custom.psm1 Updates relative paths used when loading private/internal modules.
src/DurableTask/DurableTask.Autorest/UX/Microsoft.DurableTask/schedulers.json Updates UX metadata API version to 2026-02-01.
src/DurableTask/DurableTask.Autorest/UX/Microsoft.DurableTask/schedulers-taskHubs.json Updates UX metadata API version to 2026-02-01.
src/DurableTask/DurableTask.Autorest/README.md Bumps autorest config module version and swagger commit; adds directives related to private endpoint types.
src/DurableTask/DurableTask.Autorest/Properties/AssemblyInfo.cs Updates assembly version/file version to 0.2.0.

Comment thread src/DurableTask/DurableTask.Autorest/docs/README.md
Comment thread src/DurableTask/DurableTask.Autorest/docs/README.md
Comment thread src/DurableTask/DurableTask/ChangeLog.md Outdated
Comment thread src/DurableTask/DurableTask/Az.DurableTask.psd1 Outdated
Comment thread src/DurableTask/DurableTask/Az.DurableTask.psd1
@berndverst berndverst force-pushed the feature/durabletask/v0.2.0 branch from e140184 to 7dde8d9 Compare February 28, 2026 05:06
@isra-fel
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings February 28, 2026 05:08
@berndverst berndverst force-pushed the feature/durabletask/v0.2.0 branch from 7dde8d9 to b7bc686 Compare February 28, 2026 05:08
Don't manually pin new version

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 31 changed files in this pull request and generated 3 comments.

Comment thread src/DurableTask/DurableTask.Autorest/test/env.json
@isra-fel
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@berndverst berndverst force-pushed the feature/durabletask/v0.2.0 branch from 4feac88 to 144907f Compare February 28, 2026 17:47
@NoriZC
Copy link
Copy Markdown
Contributor

NoriZC commented Mar 2, 2026

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@NoriZC NoriZC self-assigned this Mar 2, 2026
@berndverst
Copy link
Copy Markdown
Member Author

berndverst commented Mar 9, 2026

@NoriZC @isra-fel can you help merge / release this version please?

@berndverst berndverst added this to the Az 15.5.0 (04/07/2026) milestone Mar 13, 2026
NoriZC
NoriZC previously approved these changes Mar 16, 2026
Copilot AI review requested due to automatic review settings March 16, 2026 01:33
@NoriZC
Copy link
Copy Markdown
Contributor

NoriZC commented Mar 16, 2026

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 31 changed files in this pull request and generated 6 comments.

Comment on lines 1 to +2
# Test
This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `../custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets.
This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `..\custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets.
@@ -1,5 +1,5 @@
# Resources
This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `../custom` folder.
This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
Comment on lines 1 to 3
# Custom
This directory contains custom implementation for non-generated cmdlets for the `Az.DurableTask` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `../exports` folder. The only generated file into this folder is the `Az.DurableTask.custom.psm1`. This file should not be modified.
This directory contains custom implementation for non-generated cmdlets for the `Az.DurableTask` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `..\exports` folder. The only generated file into this folder is the `Az.DurableTask.custom.psm1`. This file should not be modified.

Comment on lines 37 to 40
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.DurableTask`.
- `Microsoft.Azure.PowerShell.Cmdlets.DurableTask.InternalExportAttribute`
- Used in C# cmdlets to route exported cmdlets to the `../internal`, which are *not exposed* by `Az.DurableTask`. For more information, see [README.md](../internal/README.md) in the `../internal` folder.
- Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.DurableTask`. For more information, see [README.md](..\internal/README.md) in the `..\internal` folder.
- `Microsoft.Azure.PowerShell.Cmdlets.DurableTask.ProfileAttribute`
Comment on lines 10 to +11
## Details
The process of documentation generation loads `Az.DurableTask` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `../exports` folder. Additionally, when writing custom cmdlets in the `../custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `../examples` folder. No newline at end of file
The process of documentation generation loads `Az.DurableTask` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder. No newline at end of file
Comment on lines 17 to 22
## Purpose
This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `../exports` folder.
This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `..\exports` folder.

## Usage
The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `../exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters:
The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `..\exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters:
- Break
@VeryEarly VeryEarly enabled auto-merge (squash) March 16, 2026 01:52
@VeryEarly VeryEarly merged commit 1d9fb9d into Azure:main Mar 16, 2026
16 checks passed
notyashhh pushed a commit that referenced this pull request Mar 24, 2026
Co-authored-by: Bernd Verst <beverst@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: NoriZC <110961157+NoriZC@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants