Skip to content

v1.0.0

Compare
Choose a tag to compare
@jviau jviau released this 01 Feb 00:27
· 89 commits to main since this release
0be39c8

General Availability of v1.0.0

This is v1.0.0 release of the new DurableTask .NET SDK. This release focused on refining of APIs as well as multi-target support for gRPC.

NuGet Packages

Microsoft.Azure.Functions.Worker.Extensions.DurableTask v1.0.0
Microsoft.DurableTask.Abstractions v1.0.0
Microsoft.DurableTask.Client v1.0.0
Microsoft.DurableTask.Client.Grpc v1.0.0
Microsoft.DurableTask.Worker v1.0.0
Microsoft.DurableTask.Worker.Grpc v1.0.0
Microsoft.DurableTask.Grpc v1.0.0

Change Summary

  • Added SuspendInstanceAsync and ResumeInstanceAsync to DurableTaskClient.
  • Rename DurableTaskClient methods
    • TerminateAsync -> TerminateInstanceAsync
    • PurgeInstanceMetadataAsync -> PurgeInstanceAsync
    • PurgeInstances -> PurgeAllInstancesAsync
    • GetInstanceMetadataAsync -> GetInstanceAsync
    • GetInstances -> GetAllInstancesAsync
  • TaskOrchestrationContext.CreateReplaySafeLogger now creates ILogger directly (as opposed to wrapping an existing ILogger).
  • Durable Functions class-based syntax now resolves ITaskActivity instances from IServiceProvider, if available there.
  • DurableTaskClient methods have been touched up to ensure CancellationToken is included, as well as is the last parameter.
  • Removed obsolete/unimplemented local lambda activity calls from TaskOrchestrationContext
  • Input is now an optional parameter on TaskOrchestrationContext.ContinueAsNew
  • Multi-target gRPC projects to now use Grpc.Net.Client when appropriate (.NET6.0 and up)

What's Changed

  • Update Samples (Console, Netfx, Functions) by @jviau in #78
  • Add new packages to README.md by @jviau in #89
  • Use ActivatorUtilities.GetServiceOrCreateInstance for TaskActivity in Azure Functions by @jviau in #105
  • Update DurableTaskClient API to have consistent cancellation tokens by @jviau in #103
  • Expose ILogger creation on TaskOrchestrationContext by @jviau in #106
  • Remove obsolete lambda-activity for now by @jviau in #94
  • Add Benchmarks project by @jviau in #101
  • Nullable newInput on ContinueAsNew by @jviau in #95
  • Update protobuf, add suspend and resume event support by @jviau in #97
  • Multi-target gRPC packages. Use protobuf directly by @jviau in #98
  • Fix typos in XML docs by @cgillum in #109
  • Add new TaskOption overload for skipping input param by @jviau in #110
  • Make DurableTaskClient method names consistent by @jviau in #112
  • Prepare for v1 release. by @jviau in #113

Full Changelog: v1.0.0-rc.1...v1.0.0