New Features
- Added new App Lease functionality to allow users to control when they want to swap their app to be the primary and take over the App Lease. This feature is controlled by the new .NET API
IDurableClient.MakeCurrentAppPrimaryAsync
and the new HTTP API/makeprimary
. This allows customers using the app lease feature to programmatically restore the primary app after a region failover without restarting their applications. (#1769 and DurableTask #529) - Multiple concurrent start requests to a singleton orchestration instance should now only start a single instance (DurableTask #528)
- A new preview experience for a typed experience in .NET to call Durable Activities and Orchestrations. The solution uses .NET source generators to generate new interfaces for
ITypedDurableOrchestrationContext
andITypedDurableClient
. The source generator looks at your source code for existing orchestrations and activities and creates new methods on these interfaces that have the correct method name, parameters and return type. See here for more details, and download the preview package on nuget.org.
General Improvements
- Improved supportability logs on Linux Dedicated plans (#1721)
- Improved concurrency defaults in Consumption plans for C# and JS (#1846)
- Initial work to simplify out-of-process execution model (#1836)
Bug fixes
- Fix issue with local RPC endpoint used by non-.NET languages on Windows apps (#1800)
- Emit warning instead of blocking startup if Distributed Tracing is enabled, but
APPINSIGHTS_INSTRUMENTATIONKEY
isn't set (#1787), - Assign cloud_RoleName and operation_Name fields to RequestTelemetry to populate Activity Function's Invocations List when Distributed Tracing is enabled (#1808)
- Fix Linux telemetry for new durability providers (#1848)
- Update dependencies to address CVE-2019-0548 and CVE-2021-26701 vulnerabilities (#1789)