Releases: Azure/azure-functions-durable-extension
Durable Functions v2.9.2
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask/2.9.2
Dependencies
Upgrade Microsoft.AspNetCore.Mvc.WebApiCompatShim from 2.1.0 to 2.2.0 (#2385)
Durable Functions v2.9.1
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask/2.9.1
Updates
- Allow array inputs for method GetStatusAsync and PurgeInstanceHistoryAsync (#2269)
- Add typename-preserving serializer for new PS external SDK (#2349)
- Allow for orchestration input to be a parameter (#2337)
Dependencies
Durable Functions v2.9.0
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask/2.9.0
Updates
- Added V2 middleware support for custom handlers (#2294) - contributed by @cgillum
- Added suspend, resume, and rewind operation handling for V2 out-of-proc (#2312) - contributed by @cgillum
- Enable the display of activity function inputs (#2267) - contributed by @nytiannn
- Mitigated CVE-2022-1941 by updating transitive Google.ProtoBuf dependency (#2309)
Note that to enable the display of activity function inputs when querying orchestration history, you must set the following configuration in your host.json file:
{
"extensions": {
"durableTask": {
"storeInputsInOrchestrationHistory": true
}
}
}
This setting tells the Durable Task Framework to save activity inputs in the history table (which it doesn't do by default).
Dependencies
Durable Functions v2.8.1
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask/2.8.1
Bug Fixes
- Improved reliability of our linux telemetry (#2260)
- Ignore JsonConvert.DefaultSettings in serialization logic (Azure/durabletask#775)
Enhancements
- Enable redacting user-code exception messages from ETW logs (Azure/durabletask#790)
- Poison Message Handling for corrupt orchestration state (Azure/durabletask#794)
Durable Functions v2.8.0
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask/2.8.0
New Features
- Preview support for enabling suspending and resuming orchestrators (#2227) 🎉 . Thanks @Julio-Arroyo for your contribution!
Bug Fixes
- Improved handling of internal errors (e.g OOM) in entity processing (#2234)
- Fixed stack overflow in SetCustomStatus (#2248)
Enhancements
- Support for implicit entity deletion in durability provider (#2251)
- Batch instance purging made more efficient (included in DurableTask.AzureStorage update) (Azure/durabletask#747)
Dependencies
DurableTask.Core --> v2.11.*
DurableTask.AzureStorage --> v1.13.*
Durable Functions Roslyn Analyzer v0.5.0
For more detailed information on the Durable Functions Roslyn Analyzer, see these release notes: https://github.com/Azure/azure-functions-durable-extension/releases/tag/Analyzer-v0.2.0
If you have any issues with or suggestions for the Durable Functions Analyzer, open an issue, I'd love to hear your feedback!
NuGet package
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask.Analyzers
Updates
- Added DependendyInjectionAnalyzer, part of our deterministic analyzers, meant to prevent customers from using injected dependencies in orchestrator code. All variables associated with injected values are flagged when used inside an orchestrator. (#2215)
- Updated existing BindingAnalyzer to only flag attributes used on methods with the FunctionName attribute on it. This analyzer is meant to prevent customers from using additional bindings on their orchestrator. (#2244)
Durable Functions v2.7.2
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask/2.7.2
Bug Fixes
- Correctly Serialize HostStoppingEvent in ActivityShim (#2178)
- Fix NotImplementedException for management API calls from Java client (#2193)
Enhancements
- add optional 'instanceIdPrefix' query parameter to the HTTP API for instance queries (#2194)
Dependencies
- DurableTask.Core --> v2.10.*
- DurableTask.AzureStorage --> v1.12.*
Durable Functions v2.7.1
NuGet Gallery | Microsoft.Azure.WebJobs.Extensions.DurableTask 2.7.1
New Features
- Improve telemetry to detect "illegal"/non-DF Tasks being awaited (#2168)
Bug fixes (through DurableTask.AzureStorage upgrade)
- Fixes for new partition management by @sebastianburckhardt in Azure/durabletask#717
- Improve logging for lease management by @cgillum in Azure/durabletask#723
- Additional Azure Storage lease management fixes by @cgillum in Azure/durabletask#724
Dependency Updates
- Removed .NET 6 target and added .NET Core 3.1 target
- Removed DurableTask.Sidecar v0.3.0 dependency
- DurableTask.AzureStorage 1.11.0 -> 1.11.1
Durable Functions v2.7.0
NuGet Gallery | Microsoft.Azure.WebJobs.Extensions.DurableTask 2.7.0
New Features
- Azure Durable Functions now supports identity-based connections (#2014) - contributed by @wsugarman
- See here for details on how to configure these connections
IConnectionStringResolver
has been deprecated in favor ofIConnectionInfoResolver
- Similarly, both
StandardConnectionStringProvider
andWebJobsConnectionStringProvider
have been deprecated in favor ofStandardConnectionInfoProvider
andWebJobsConnectionInfoProvider
- Updated out-of-proc protocol with support for .NET Isolated and Java
- Added support for long timers for existing out-of-proc SDKs (JavaScript, Python, and PowerShell)
- Added SBOM to this package and to DTFx dependencies
Bug fixes
- Fixed issue where orchestrations in Node.js, Python, and PowerShell could get stuck in certain error handling conditions (#2121)
The remaining bug fixes are coming in transitively via our DTFx dependency updates:
- Fix for stuck orchestration issue caused by incorrect de-dupe flagging (Azure/durabletask#708)
- Fix for stuck orchestration issue caused by certain partition movement issues (Azure/durabletask#710)
- Fix for noisy error message in DTFx logs (ArgumentException: A lease ID must be specified when changing a lease) (Azure/durabletask#406)
- Fix some false positives in deadlock detection that resulted in unnecessary ExecutionEngineExceptions (Azure/durabletask#678)
- Fix issue related to in-order delivery guarantees for Durable Entities (Azure/durabletask#680)
- Improved logging for lease/partition management (Azure/durabletask#699)
- Reduce GC impact of lease blob operations (Azure/durabletask#673)
See the release notes further below for more details.
Breaking Changes
See dependency updates below, which can be breaking if there are hard dependency conflicts (like .NET Framework 4.6.1)
Dependency Updates
- Added .NET 6 target
- Added DurableTask.Sidecar v0.3.0 dependency (.NET 6 only), with transitive dependency on Grpc.AspNetCore.Server v2.38
- Updated minimum C# compiler version to 9.0
- Added Microsoft.Extensions.Azure v1.1.1 as a dependency for Azure Functions 2.0 and beyond
- Azure.Identity 1.1.1 -> 1.5.0 for Azure Functions 2.0 and beyond
- Microsoft.Azure.WebJobs 3.0.14 -> 3.0.31 for for Azure Functions 2.0 and beyond
- .NET Framework v4.6.1 -> v4.6.2 to stay within official support window
- DurableTask.AzureStorage 1.10.1 -> 1.11.0
- DurableTask.Core 2.7.0 -> 2.9.0
New Contributors
- @wsugarman made their first contribution in #2014
- @arthurcgusmao made their first contribution in #2109
- @hossam-nasr made their first contribution in #2121
Full Changelog: v2.6.1...v2.7.0
Durable Functions v2.6.1 Release
New Features
- Support specification of max entity operation batch size (#2015)
- Added a boolean property
IncludeDeleted
toEntityQuery
which controls whether to return deleted entities. (#1421)
Bug fixes
- Fixed handling of function timeouts inside entity and activity functions (#2065)
- Added a check in the constructor of AzureStorageDurabilityProviderFactory to see if it's actually the selected provider, and skips the constructor if not. This avoids spurious errors caused by the configuration not being appropriate for this provider. (#2015)
- Fixed stuck orchestration issue caused when CallEntityAsync was the first action in an orchestration and the entity completed before the orchestrator completed its first history checkpoint. (fixed in DT.AzureStorage Azure/durabletask#657)
- Fixed a Distributed Tracing bug where a StorageException would sometimes occur due to incorrect compression of the correlation field. (fixed in DT.AzureStorage Azure/durabletask#649)
Breaking Changes
- By default,
IDurableEntityClient.ListEntitiesAsync
no longer returns deleted entities. (#1421)
Dependency Updates
Microsoft.Azure.DurableTask.AzureStorage 1.9.4 -> 1.10.1
Microsoft.Azure.WebJobs.Extensions.DurableTask.Analyzers 0.4.1 -> 0.4.2