发布日期: 2025-07-16
版本号: v1.15.7

Dapr 1.15.7版本修复了两个错误:一是工作流的“开始时间”功能现在能正确生效,之前该设置会导致工作流立即启动而无法在未来时间触发,原因是开始时间未被正确传递给负责执行工作流实例的Actor提醒机制,现已修正;二是修复了使用DynamoDB作为工作流状态存储时无法运行工作流的问题,原因是状态存储实现错误地使用了字符串属性而非二进制属性导致状态不可读,现已更新为使用二进制属性存储工作流状态。

更新内容 (中文)

Dapr 1.15.7

此更新包含错误修复:

修复工作流启动时间

问题

使用工作流的“启动时间”功能会导致工作流立即启动。

影响

工作流无法被安排在未来的某个时间点启动。

根本原因

“启动时间”未被传递给负责执行工作流实例的 Actor 提醒。

解决方案

将工作流的启动时间正确传递给负责执行工作流实例的 Actor 提醒。

修复使用 DynamoDB 作为工作流状态存储的问题

问题

使用 DynamoDB 作为工作流状态存储时,尝试运行工作流会导致错误。

影响

无法使用 DynamoDB 作为状态存储来运行工作流。

根本原因

状态存储实现使用了字符串(S)属性,而不是二进制(B)属性,导致状态无法读取。

解决方案

更新了 DynamoDB 状态存储实现,使用二进制(B)属性来存储工作流状态。

更新内容 (原始)

Dapr 1.15.7

This update includes bug fixes:

Fix Workflow Start Time

Problem

Using the Workflow “Start Time” feature would result in the Workflow starting immediately.

Impact

A workflow could not be scheduled to start at some point in the future.

Root cause

The “Start Time” was not being propagated to the Actor reminder responsible for executing a Workflow instance.

Solution

Correctly propagate the Start Time of a Workflow to the Actor reminder responsible for executing a Workflow instance.

Fix use of DynamoDB as Workflow state store

Problem

Using DynamoDB as the Workflow state store would result in an error when trying to run a Workflow.

Impact

It would not be possible to run Workflows using DynamoDB as the state store.

Root cause

The state store implementation used String (S) attributes rather than the Binary (B) attributes resulting in the state not being readable.

Solution

Updated the DynamoDB state store implementation to use Binary (B) attributes for storing Workflow state.

下载链接