Releases: dapr/dotnet-sdk
v1.17.9
What's Changed
- DevEx: Remove need to wrap GetWorkflowStateAsync for non-existent state by @WhitWaldo in #1773
- Add Roslyn analyzer for workflow/activity input/output type validation by @mtaghavi2005 in #1774
- Dapr.Common: fix 'occured' -> 'occurred' in DaprExtendedErrorDetail doc comment by @SAY-5 in #1788
- Trace propagation not correlating in activities by @WhitWaldo in #1795
- Improving unit test coverage by @WhitWaldo in #1796
The CNCF gave Dapr access to GitHub Enterprise and with it, a bunch of LLM tokens, so I took the opportunity this week to give several of the different models an experimental spin and evaluate how well each one worked for different ideas I wanted to add to this project. Several of these PRs took several iterations to get right, but each is backed by unit and integration tests and I've personally reviewed every line of code that was merged into the SDK. I intend to keep experimenting with these capabilities and to keep contributing my own PRs, but I think LLMs represent an opportunity to augment software engineers' creativity and skill and look forward to iterating on new functionality in the SDK at a faster clip as a result.
Workflow Analyzer/Codefix Improvements:
- Skip DAPR1301 analyzer when AddDaprWorkflowVersioning is present by @Copilot in #1778
- Fix misleading "not found" error when workflow/activity activation fails due to missing DI dependency by @Copilot in #1781
- feat: Add DAPR1305 analyzer warning and code fix when constructor DI is attempted in Workflow implementations by @Copilot in #1780
Example Projects:
- Add WorkflowRetryPolicy example project by @Copilot in #1789
Improving Testing:
- Add Dapr.IntegrationTest.Actors integration test project and fix actor HTTP endpoint configuration by @Copilot in #1779
- Add integration test project for Actors.Generators (replaces E2E tests) by @Copilot in #1791
- Add integration test project to validate example projects build successfully by @Copilot in #1792
- Adding missing filter to WF versioned integration tests by @WhitWaldo in #1785
- Fix transient gRPC "Connection refused" errors in integration tests by adding HTTP reachability check to DaprdContainer startup by @Copilot in #1782
Infrastructure Changes:
- chore: add console verbose test logging to surface test names and durations in CI by @Copilot in #1786
New Contributors
- @mtaghavi2005 made their first contribution in #1774
- @Copilot made their first contribution in #1786
- @SAY-5 made their first contribution in #1788
Thank you to the new SDK contributors! I appreciate you taking the time to not only call out issues, but also submit a PR to improve this project!
Full Changelog: v1.17.8...v1.17.9
v1.17.8
What's Changed
- Fix for workflow datetime consistency between replays by @WhitWaldo in #1766
- feat: add application-level keepalive to prevent ALB idle connection timeouts by @JoshVanL in #1739
- Maximum workflow/activity options not honored by @WhitWaldo in #1769
- Fixing dropped external events during ContinueAsNew by @WhitWaldo in #1772
- Tag selector package update by @WhitWaldo in #1771
More Test Validation
- Adding Dapr.Cryptography E2E tests + improving test coverage by @WhitWaldo in #1765
- Added E2E testing for Dapr.Messaging + more unit testing by @WhitWaldo in #1767
- Additional messaging unit tests by @WhitWaldo in #1768
- Added workflow integration tests - workflow concurrency + non-blocking external events by @WhitWaldo in #1770
- Workflow: Add e2e tests to validate workflow termination by @WhitWaldo in #1694
Full Changelog: v1.17.7...v1.17.8
v1.17.7
v1.17.6
What's Changed
- Dapr Workflow Serialization - Added IncludeFields by default in System.Text.Json serialization defaults by @WhitWaldo in #1758
Full Changelog: v1.17.5...v1.17.6
v1.17.5
What's Changed
- xUnit migration to v3 by @WhitWaldo in #1743
- chore(ci): add codecov secret and O(1) run only by @mikeee in #1751
- Supporting workflow retry policies in activities and child workflows by @WhitWaldo in #1752
- Improved workflow test coverage by @WhitWaldo in #1754
Full Changelog: v1.17.4...v1.17.5
v1.17.4
What's Changed
- Implement ListInstanceIDs, GetInstanceHistory, and RerunWorkflowFromEvent workflow RPCs by @JoshVanL in #1738
- Fix for
WorkflowContext.NewGuid()not creating consistent GUID across replays by @WhitWaldo in #1742
Full Changelog: v1.17.3...v1.17.4
v1.17.3
What's Changed
- Fixing pause/resume on Workflows SDK by @WhitWaldo in #1737
Full Changelog: v1.17.2...v1.17.3
v1.17.2
What's Changed
- Adding support for keyed chat clients by @WhitWaldo in #1733
- Bump minimatch in /.github/tools/tag-selector by @dependabot[bot] in #1725
- Updating NuGet package versions by @WhitWaldo in #1734
- Fix workflow token not being registered when using
AddDaprWorkflow()@WhitWaldo in #1735 - Fix Workflow not using API token by @WhitWaldo in #1736
Full Changelog: v1.17.1...v1.17.2
v1.17.1
What's Changed
- Fix: API Token not recognized automatically from envvar during workflow registration by @WhitWaldo in #1730
- Updated to use granite 350m model instead - fixes CICD failure by @WhitWaldo in #1731
- Excluding RCs for stable releases of Daprd by @WhitWaldo in #1732
Full Changelog: v1.17.0...v1.17.1
v1.17.0
What's Changed
- NuGet Trusted Publishing - OIDC Support by @WhitWaldo in #1651
- Expand output binding invocation docs by @atrauzzi in #1652
- Fix markdown link syntax in dotnet-messaging docs by @marcduiker in #1654
- Remove SDK docs by @marcduiker in #1655
- Fix typos and improve code consistency by @sunnynagavo in #1659
- Update to Aspire 13.x, Dapr 13.x, and .NET 9.0 by @sunnynagavo in #1661
- Add TestContainer support for .NET by @WhitWaldo in #1664
- Dapr Workflow Overhaul by @WhitWaldo in #1662
- Fix workflow execution is uncertain by @zglp in #1667
- Using custom name in build step so the job ID can be used in GitHub branch merge rules by @WhitWaldo in #1668
- Adding more integration tests for Dapr.Workflow by @WhitWaldo in #1669
- Fix workflow gRPC streaming is blocked by @zglp in #1671
- Adding more workflow integration tests by @WhitWaldo in #1672
- E2E Testing: Dapr.Jobs by @WhitWaldo in #1674
- Adding multi-application workflow support in Dapr.Workflows by @WhitWaldo in #1675
- Support .NET 10 by @WhitWaldo in #1676
- Renamed "Dapr.TestContainers" to "Dapr.Testcontainers" per ask by @WhitWaldo in #1677
- Workflow: Make resilient to either/or loading + workflow reconnections by @WhitWaldo in #1680
- Setting pubsub bulk publish as stable + updating protos by @WhitWaldo in #1681
- Adding integration testing for Dapr.DistributedLock package by @WhitWaldo in #1682
- Fix the workflow execution order by @zglp in #1684
- Adding dependabot to GitHub actions by @WhitWaldo in #1685
- Adding GitHub workflow to validate test coverage of PRs by @WhitWaldo in #1686
- Adding logging message indicating workflow gRPC stream has been established by @WhitWaldo in #1688
- Fix timezone-dependent ArgumentOutOfRangeException in WorkflowState by @daanschutte in #1690
- Workflow: Tentative fix for activity track failure by @WhitWaldo in #1692
- Infra: Modifying CI to validate integration tests against current stable and RC Dapr runtime versions by @WhitWaldo in #1693
- Workflow Patch-based Versioning by @WhitWaldo in #1687
- Support latest Conversation API updates by @WhitWaldo in #1696
- Marking service invocation methods as [Obsolete] per official guidance by @WhitWaldo in #1697
- Marked method invocation as obsolete by @WhitWaldo in #1698
- Adding mechanism to enable container log capture to file by @WhitWaldo in #1701
- Run tests against variable number of RC versions by @WhitWaldo in #1703
- Changing Testcontainers dapr service readiness checks from console log evaluation to health API endpoints by @WhitWaldo in #1705
- Adding workflow named versioning support by @WhitWaldo in #1700
- Adding built in workflow versioning strategies with defaults by @WhitWaldo in #1707
- Adding workflow versioning example by @WhitWaldo in #1706
- Ensuring TFMs populate in Dapr.Workflow.Versioning package by @WhitWaldo in #1709
- Simplified built-in versioning strategies by @WhitWaldo in #1710
- Cross-assembly workflow registration by @WhitWaldo in #1711
- Removing packages from NuGet publish package list by @WhitWaldo in #1712
- Fixed invalid package reference by @WhitWaldo in #1716
- Fix for issue #1717 by @WhitWaldo in #1718
- fix: handle graceful cancellation in CloudEventsMiddleware to prevent 499 errors by @ali-Hamza817 in #1713
- Build out examples/documentation for unit testing Workflows/activities by @daanschutte in #1708
- Propagates UseJsonSerialization setting by @ZeBobo5 in #1648
- Replay safe logger fix by @WhitWaldo in #1721
- Added method to override gRPC message size in workflow client by @WhitWaldo in #1723
- Fix for terminations not completing as expected by @WhitWaldo in #1724
New Contributors
- @atrauzzi made their first contribution in #1652
- @sunnynagavo made their first contribution in #1659
- @zglp made their first contribution in #1667
- @daanschutte made their first contribution in #1690
- @ali-Hamza817 made their first contribution in #1713
- @ZeBobo5 made their first contribution in #1648
Full Changelog: v1.16.1...v1.17.0