Skip to content

v1.18.1

Choose a tag to compare

@WhitWaldo WhitWaldo released this 11 Jun 01:09
· 35 commits to master since this release
76379c7

What's Changed

Full Changelog: v1.18.0...v1.18.1

What's Changed

General

  • ADDED Dapr.SecretsManagement package #1794 to split secret management into its own client
  • ADDED Dapr.StateManagement package #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.Workflow to Dapr.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 UnloadStateAsync implementation #1750 to force actors to unload their currently cached in-memory state (no impact to persisted state). The next time GetStateAsync is called, the cache is repopulated as normal.

PubSub

  • FIXED Subscriber resilience: SubscribeAsync now throws DaprException when the sidecar is unavailable instead of failing silently #1803

Metadata

  • ADDED Added new Dapr.Metadata package for retrieving strongly typed data from the Dapr Metadata API #1846.
    To use, add Dapr.Metadata package from NuGet, register in DI with builder.Services.AddDaprMetadata() and simply inject IOptions<DaprMetadata>, IOptionsSnapshot<DaprMetadata> or IOptionsMonitor<DaprMetadata> and read the values out of the injected value.

Service Invocation

  • UPDATED InvokeMethodAsync family 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.Workflow meta-project (#1822) and automatic workflow/activity registration (#1823)
    This means that there is no longer a need to install Dapr.Workflow.Versioning or Dapr.Workflow.Analyzers separately. All are bundled in the one Dapr.Workflow package, 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 Unavailable errors 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

Full Changelog: v1.17.9...v1.18.1