v1.18.1
What's Changed
- Removed 1.17 from CI testing temporarily by @WhitWaldo in #1848
Full Changelog: v1.18.0...v1.18.1
What's Changed
General
- ADDED
Dapr.SecretsManagementpackage #1794 to split secret management into its own client - ADDED
Dapr.StateManagementpackage #1806 to split state management into its own client - ADDED Rich backwards-compatibility support added to the SDK to better support runtime API maturation lifecycles #1816
- ADDED Serializer refactored from
Dapr.WorkflowtoDapr.Common#1805 as a precursor to having common serialization across .NET SDK - ADDED Add optional parameter to configuration providers for non-blocking startup #1844
- UPDATED Making DaprDefaults public #1845
- FIXED Prevent race condition during GrpcProtocolHandler disposal #1798
Actors
- ADDED
UnloadStateAsyncimplementation #1750 to force actors to unload their currently cached in-memory state (no impact to persisted state). The next timeGetStateAsyncis called, the cache is repopulated as normal.
PubSub
- FIXED Subscriber resilience:
SubscribeAsyncnow throwsDaprExceptionwhen the sidecar is unavailable instead of failing silently #1803
Metadata
- ADDED Added new
Dapr.Metadatapackage for retrieving strongly typed data from the Dapr Metadata API #1846.
To use, addDapr.Metadatapackage from NuGet, register in DI withbuilder.Services.AddDaprMetadata()and simply injectIOptions<DaprMetadata>,IOptionsSnapshot<DaprMetadata>orIOptionsMonitor<DaprMetadata>and read the values out of the injected value.
Service Invocation
- UPDATED
InvokeMethodAsyncfamily marked[Obsolete]aligning SDK with prior runtime guidance — recommended guidance is to use a native HTTP/gRPC client for service invocation #1698.
Jobs
- UPDATED Jobs API marked stable #1804.
- UPDATED Minimum-version tags adjusted to reflect broader test coverage (#1811).
Workflows
- ADDED Workflow history context propagation (#1802)
- UPDATED Combined
Dapr.Workflowmeta-project (#1822) and automatic workflow/activity registration (#1823)
This means that there is no longer a need to installDapr.Workflow.VersioningorDapr.Workflow.Analyzersseparately. All are bundled in the oneDapr.Workflowpackage, no refactoring necessary (though you might want to remove the stale packages). - UPDATED No longer logging connection closed exception when app closes #1841
- UPDATED Use server-blocking WaitForInstnace* RPCs instead of client polling #1843
- ADDED Timer origins and backwards-compatible optional timers (#1790)
- ADDED Add workflow analyzer diagnostics on versioning (#1815
- ADDED Expose name on workflow state #1836
- ADDED Support history propagation API #1825, #1833
- ADDED Expose workflow name on state #1836
- FIXED Workflow patch ordering #1807, #1809
- FIXED Trace propagation fix for downstream calls from workflow user activities #1808
- FIXED Addressing "no such instance exists" errors #1818, #1812
- FIXED Fix workflow trace correlation #1829
- FIXED add missing FailureDetails property to proto converter #1831
Miscellaneous/Testing
- ADDED Integration test project for
Actors.Generators#1791. - ADDED Adding gRPC probe with HTTP/2 preface to eliminate some transient
Unavailableerrors during integration testing via Testcontainers #1821 - UPDATED Stabilization of flaky integration tests #1813.
- UPDATED CI script more accurately auto-detects valid Dapr runtime versions to support automatic N-2 validation #1810
- REMOVED Removing deprecated analyzers/codefixes #1834
New Contributors
- @olitomlinson made their first contribution in #1750
- @Eckii24 made their first contribution in #1831
- @nelson-parente made their first contribution in #1825
Full Changelog: v1.17.9...v1.18.1