diff --git a/CHANGELOG.md b/CHANGELOG.md index d59070b54..f8deca076 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ # v1.2.1 +- Fix typo in `PurgeInstanceAsync` in `DurableTaskClient` (https://github.com/microsoft/durabletask-dotnet/pull/264) - Fix `TaskFailureDetails.IsCausedBy` to support custom exceptions and 3rd party exceptions ([#273](https://github.com/microsoft/durabletask-dotnet/pull/273)) - Microsoft.Azure.DurableTask.Core dependency increased to `2.16.2` diff --git a/src/Client/Core/DurableTaskClient.cs b/src/Client/Core/DurableTaskClient.cs index 9fc8f89cc..cd5268309 100644 --- a/src/Client/Core/DurableTaskClient.cs +++ b/src/Client/Core/DurableTaskClient.cs @@ -337,7 +337,7 @@ public abstract Task ResumeInstanceAsync( public abstract AsyncPageable GetAllInstancesAsync(OrchestrationQuery? filter = null); /// - public virtual Task PurgeInstancesAsync(string instanceId, CancellationToken cancellation) + public virtual Task PurgeInstanceAsync(string instanceId, CancellationToken cancellation) => this.PurgeInstanceAsync(instanceId, null, cancellation); /// diff --git a/src/Client/Core/RELEASENOTES.md b/src/Client/Core/RELEASENOTES.md index e69de29bb..f731feb71 100644 --- a/src/Client/Core/RELEASENOTES.md +++ b/src/Client/Core/RELEASENOTES.md @@ -0,0 +1 @@ +- Fix typo in `PurgeInstanceAsync` in `DurableTaskClient` (https://github.com/microsoft/durabletask-dotnet/pull/264) \ No newline at end of file