将 Azure 持久函数从 1.6.2 升级到 1.7.0 Nodejs
Upgrade Azure durable functions from 1.6.2 to 1.7.0 Nodejs
我使用 1.6.2 版编写了一些持久函数。新的 1.7.0 现已发布。我想升级。
只会做
func extensions install -p Microsoft.Azure.WebJobs.Extensions.DurableTask -v 1.7.0
做这份工作?还是我需要做其他事情?
除了升级扩展之外,我们不需要做任何其他事情。 1.7.0 release 不会更改现有 API,但会添加新功能并修复错误,因此我们依赖于 1.6.2 扩展的代码不会中断。
至于新功能,其中一些与 DurableOrchestrationClient which is not implemented in current JS SDK, so we can't benefit from them unless SDK is upgraded. We can try others like call built-in HTTP API for starting new orchestration 相关,例如本地调用 http://localhost:7071/runtime/webhooks/durabletask/orchestrators/{functionName}
来构建新的协调器,而不是使用 Http 触发器作为启动器。
关于 Azure Functions Core Tools 中的 Durable Functions 命令,新版本的 Cli 尚未推送到 npm,因此我们也无法更新。
我使用 1.6.2 版编写了一些持久函数。新的 1.7.0 现已发布。我想升级。
只会做
func extensions install -p Microsoft.Azure.WebJobs.Extensions.DurableTask -v 1.7.0
做这份工作?还是我需要做其他事情?
除了升级扩展之外,我们不需要做任何其他事情。 1.7.0 release 不会更改现有 API,但会添加新功能并修复错误,因此我们依赖于 1.6.2 扩展的代码不会中断。
至于新功能,其中一些与 DurableOrchestrationClient which is not implemented in current JS SDK, so we can't benefit from them unless SDK is upgraded. We can try others like call built-in HTTP API for starting new orchestration 相关,例如本地调用 http://localhost:7071/runtime/webhooks/durabletask/orchestrators/{functionName}
来构建新的协调器,而不是使用 Http 触发器作为启动器。
关于 Azure Functions Core Tools 中的 Durable Functions 命令,新版本的 Cli 尚未推送到 npm,因此我们也无法更新。