From d0684ccf677f850426dd74cf9806696b64c006d7 Mon Sep 17 00:00:00 2001 From: peterstone2017 <12449837+YunchuWang@users.noreply.github.com> Date: Tue, 10 Mar 2026 17:04:35 -0700 Subject: [PATCH 1/3] Bump Analyzers package version to 2.0.0 stable release --- CHANGELOG.md | 3 +++ src/Analyzers/AnalyzerReleases.Shipped.md | 7 +++++++ src/Analyzers/Analyzers.csproj | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8a0503a7..e620e43b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ## v1.22.0 - Changing the default dedupe statuses behavior by sophiatev ([#622](https://github.com/microsoft/durabletask-dotnet/pull/622)) +## Analyzers v2.0.0 +- Bump Analyzers package version to 2.0.0 stable release + ## 1.21.0 - Introduce WorkItemFilters into worker flow by halspang ([#616](https://github.com/microsoft/durabletask-dotnet/pull/616)) - Fix Analyzers treating passed in variable argument name as null by wangbill ([#640](https://github.com/microsoft/durabletask-dotnet/pull/640)) diff --git a/src/Analyzers/AnalyzerReleases.Shipped.md b/src/Analyzers/AnalyzerReleases.Shipped.md index acf5040aa..09e959153 100644 --- a/src/Analyzers/AnalyzerReleases.Shipped.md +++ b/src/Analyzers/AnalyzerReleases.Shipped.md @@ -1,6 +1,13 @@ ; Shipped analyzer releases ; https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md +## Release 2.0.0 + +### New Rules + +Rule ID | Category | Severity | Notes +--------|----------|----------|------- + ## Release 0.3.0 ### New Rules diff --git a/src/Analyzers/Analyzers.csproj b/src/Analyzers/Analyzers.csproj index 50b832bc4..e475b4e8e 100644 --- a/src/Analyzers/Analyzers.csproj +++ b/src/Analyzers/Analyzers.csproj @@ -11,7 +11,7 @@ - 0.3.0 + 2.0.0 .NET Analyzers for the Durable Task SDK. en From ab3fce6c02e5b777aa39a17a2d8caa570771bfd9 Mon Sep 17 00:00:00 2001 From: peterstone2017 <12449837+YunchuWang@users.noreply.github.com> Date: Tue, 10 Mar 2026 17:08:59 -0700 Subject: [PATCH 2/3] Bump Analyzers to 1.22.0: use centralized version, ship DURABLE0011 --- CHANGELOG.md | 5 ++--- src/Analyzers/AnalyzerReleases.Shipped.md | 3 ++- src/Analyzers/AnalyzerReleases.Unshipped.md | 1 - src/Analyzers/Analyzers.csproj | 2 -- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e620e43b3..885c291cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,8 @@ ## v1.22.0 - Changing the default dedupe statuses behavior by sophiatev ([#622](https://github.com/microsoft/durabletask-dotnet/pull/622)) - -## Analyzers v2.0.0 -- Bump Analyzers package version to 2.0.0 stable release +- Bump Analyzers package version to 1.22.0 stable release (from 0.3.0) +- Add DURABLE0011: ContinueAsNew warning for unbounded orchestration loops ([#660](https://github.com/microsoft/durabletask-dotnet/pull/660)) ## 1.21.0 - Introduce WorkItemFilters into worker flow by halspang ([#616](https://github.com/microsoft/durabletask-dotnet/pull/616)) diff --git a/src/Analyzers/AnalyzerReleases.Shipped.md b/src/Analyzers/AnalyzerReleases.Shipped.md index 09e959153..c9965a48c 100644 --- a/src/Analyzers/AnalyzerReleases.Shipped.md +++ b/src/Analyzers/AnalyzerReleases.Shipped.md @@ -1,12 +1,13 @@ ; Shipped analyzer releases ; https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md -## Release 2.0.0 +## Release 1.22.0 ### New Rules Rule ID | Category | Severity | Notes --------|----------|----------|------- +DURABLE0011 | Orchestration | Warning | **ContinueAsNewOrchestrationAnalyzer**: Warns when ContinueAsNew is used in unbounded orchestration loops. ## Release 0.3.0 diff --git a/src/Analyzers/AnalyzerReleases.Unshipped.md b/src/Analyzers/AnalyzerReleases.Unshipped.md index d61f18daa..74657c2a1 100644 --- a/src/Analyzers/AnalyzerReleases.Unshipped.md +++ b/src/Analyzers/AnalyzerReleases.Unshipped.md @@ -5,4 +5,3 @@ Rule ID | Category | Severity | Notes --------|----------|----------|------- -DURABLE0011 | Orchestration | Warning | ContinueAsNewOrchestrationAnalyzer diff --git a/src/Analyzers/Analyzers.csproj b/src/Analyzers/Analyzers.csproj index e475b4e8e..f867af66b 100644 --- a/src/Analyzers/Analyzers.csproj +++ b/src/Analyzers/Analyzers.csproj @@ -11,8 +11,6 @@ - 2.0.0 - .NET Analyzers for the Durable Task SDK. en false From ca220ce1519df606fe7146be175eeb940f406f95 Mon Sep 17 00:00:00 2001 From: wangbill Date: Wed, 11 Mar 2026 10:24:24 -0700 Subject: [PATCH 3/3] Update src/Analyzers/AnalyzerReleases.Shipped.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/Analyzers/AnalyzerReleases.Shipped.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Analyzers/AnalyzerReleases.Shipped.md b/src/Analyzers/AnalyzerReleases.Shipped.md index c9965a48c..6757ebd2b 100644 --- a/src/Analyzers/AnalyzerReleases.Shipped.md +++ b/src/Analyzers/AnalyzerReleases.Shipped.md @@ -7,7 +7,7 @@ Rule ID | Category | Severity | Notes --------|----------|----------|------- -DURABLE0011 | Orchestration | Warning | **ContinueAsNewOrchestrationAnalyzer**: Warns when ContinueAsNew is used in unbounded orchestration loops. +DURABLE0011 | Orchestration | Warning | **ContinueAsNewOrchestrationAnalyzer**: Warns when an unbounded `while (true)` orchestration loop does not call ContinueAsNew. ## Release 0.3.0