Skip to content

Commit fe50cfe

Browse files
committed
update table
1 parent c499465 commit fe50cfe

File tree

1 file changed

+25
-20
lines changed

1 file changed

+25
-20
lines changed

articles/azure-functions/durable/durable-functions-node-model-upgrade.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ zone_pivot_groups: programming-languages-set-functions-nodejs
1515
>[!NOTE]
1616
> Version 4 of the Node.js programming model is currently in public preview.
1717
18-
This article provides a guide to upgrade your existing Durable Functions app to newly released version 4 of the Node.js programming model for Azure Functions from the existing version 3. If you're instead interested in creating a brand new v4 app, follow the Visual Studio Code quickstarts for [JavaScript](./quickstart-js-vscode.md?pivots=nodejs-model-v4) and [TypeScript](./quickstart-ts-vscode.md?pivots=nodejs-model-v4). This article uses "TIP" sections to highlight the most important concrete actions you should take to upgrade your app. Before following this guide, make sure you follow the general [version 4 upgrade guide](../functions-node-upgrade-v4.md). You can also learn more about the new v4 programming model through the [Node.js developer reference](../functions-reference-node.md?pivots=nodejs-model-v4).
18+
This article provides a guide to upgrade your existing Durable Functions app to newly released version 4 of the Node.js programming model for Azure Functions from the existing version 3. If you're instead interested in creating a brand new v4 app, follow the Visual Studio Code quickstarts for [JavaScript](./quickstart-js-vscode.md?pivots=nodejs-model-v4) and [TypeScript](./quickstart-typescript-vscode.md?pivots=nodejs-model-v4). This article uses "TIP" sections to highlight the most important concrete actions you should take to upgrade your app. Before following this guide, make sure you follow the general [version 4 upgrade guide](../functions-node-upgrade-v4.md). You can also learn more about the new v4 programming model through the [Node.js developer reference](../functions-reference-node.md?pivots=nodejs-model-v4).
1919

2020
>[!TIP]
2121
> Before following this guide, make sure you follow the general [version 4 upgrade guide](../functions-node-upgrade-v4.md).
@@ -554,13 +554,13 @@ Below, find the full list of changes:
554554
555555
<table>
556556
<tr>
557-
<th> V3 model (`v2.x` `durable-functions`) </th>
558-
<th> V4 model (`v3.x` `durable-functions`) </th>
557+
<th> V3 model (durable-functions v2.x) </th>
558+
<th> V4 model (durable-functions v3.x) </th>
559559
</tr>
560560
<tr>
561561
<td>
562562
563-
```TS
563+
```typescript
564564
getStatus(
565565
instanceId: string,
566566
showHistory?: boolean,
@@ -571,7 +571,7 @@ getStatus(
571571
</td>
572572
<td>
573573
574-
```TS
574+
```typescript
575575
getStatus(
576576
instanceId: string,
577577
options?: GetStatusOptions
@@ -582,7 +582,7 @@ getStatus(
582582
<tr>
583583
<td>
584584
585-
```TS
585+
```typescript
586586
getStatusBy(
587587
createdTimeFrom: Date | undefined,
588588
createdTimeTo: Date | undefined,
@@ -593,7 +593,7 @@ getStatusBy(
593593
</td>
594594
<td>
595595
596-
```TS
596+
```typescript
597597
getStatusBy(
598598
options: OrchestrationFilter
599599
): Promise<DurableOrchestrationStatus[]>
@@ -604,7 +604,7 @@ getStatusBy(
604604
<tr>
605605
<td>
606606
607-
```TS
607+
```typescript
608608
purgeInstanceHistoryBy(
609609
createdTimeFrom: Date,
610610
createdTimeTo?: Date,
@@ -615,7 +615,7 @@ purgeInstanceHistoryBy(
615615
</td>
616616
<td>
617617
618-
```TS
618+
```typescript
619619
purgeInstanceHistoryBy(
620620
options: OrchestrationFilter
621621
): Promise<PurgeHistoryResult>
@@ -626,7 +626,7 @@ purgeInstanceHistoryBy(
626626
<tr>
627627
<td>
628628
629-
```TS
629+
```typescript
630630
raiseEvent(
631631
instanceId: string,
632632
eventName: string,
@@ -639,7 +639,7 @@ raiseEvent(
639639
</td>
640640
<td>
641641
642-
```TS
642+
```typescript
643643
raiseEvent(
644644
instanceId: string,
645645
eventName: string,
@@ -653,7 +653,7 @@ raiseEvent(
653653
<tr>
654654
<td>
655655
656-
```TS
656+
```typescript
657657
readEntityState<T>(
658658
entityId: EntityId,
659659
taskHubName?: string,
@@ -664,7 +664,7 @@ readEntityState<T>(
664664
</td>
665665
<td>
666666
667-
```TS
667+
```typescript
668668
readEntityState<T>(
669669
entityId: EntityId,
670670
options?: TaskHubOptions
@@ -676,7 +676,7 @@ readEntityState<T>(
676676
<tr>
677677
<td>
678678
679-
```TS
679+
```typescript
680680
rewind(
681681
instanceId: string,
682682
reason: string,
@@ -688,7 +688,7 @@ rewind(
688688
</td>
689689
<td>
690690
691-
```TS
691+
```typescript
692692
rewind(
693693
instanceId: string,
694694
reason: string,
@@ -701,7 +701,7 @@ rewind(
701701
<tr>
702702
<td>
703703
704-
```TS
704+
```typescript
705705
signalEntity(
706706
entityId: EntityId,
707707
operationName?: string,
@@ -713,7 +713,7 @@ signalEntity(
713713
</td>
714714
<td>
715715
716-
```TS
716+
```typescript
717717
signalEntity(
718718
entityId: EntityId,
719719
operationName?: string,
@@ -749,7 +749,7 @@ startNew(
749749
<tr>
750750
<td>
751751
752-
```TS
752+
```typescript
753753
waitForCompletionOrCreateCheckStatusResponse(
754754
request: HttpRequest,
755755
instanceId: string,
@@ -761,7 +761,7 @@ waitForCompletionOrCreateCheckStatusResponse(
761761
</td>
762762
<td>
763763
764-
```TS
764+
```typescript
765765
waitForCompletionOrCreateCheckStatusResponse(
766766
request: HttpRequest,
767767
instanceId: string,
@@ -774,4 +774,9 @@ waitForCompletionOrCreateCheckStatusResponse(
774774
</table>
775775
776776
>[!TIP]
777-
> Make sure to update your `DurableClient` API calls from discrete optional arguments to options objects, where applicable. See the list above for all APIs affected.
777+
> Make sure to update your `DurableClient` API calls from discrete optional arguments to options objects, where applicable. See the list above for all APIs affected.
778+
779+
780+
## Update calls to callHttp API
781+
782+
If your orchestrator used the `

0 commit comments

Comments
 (0)