From 32b3b27fa7fe5dd845130c4a2fac1c228cbbeab3 Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Mon, 2 Dec 2024 11:06:41 -0600 Subject: [PATCH 01/11] Updated all Quickstart docs to reflect .NET 9 as a valid target + added 1.16 deprecation warnings for .NET 6 and .NET 7 Signed-off-by: Whit Waldo --- .../getting-started/quickstarts/actors-quickstart.md | 10 +++++++++- .../getting-started/quickstarts/bindings-quickstart.md | 10 +++++++++- .../quickstarts/configuration-quickstart.md | 10 +++++++++- .../getting-started/quickstarts/pubsub-quickstart.md | 10 +++++++++- .../getting-started/quickstarts/secrets-quickstart.md | 10 +++++++++- .../quickstarts/serviceinvocation-quickstart.md | 10 +++++++++- .../quickstarts/statemanagement-quickstart.md | 10 +++++++++- .../getting-started/quickstarts/workflow-quickstart.md | 10 +++++++++- 8 files changed, 72 insertions(+), 8 deletions(-) diff --git a/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md index a412cc01425..75b3e9c95e5 100644 --- a/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md @@ -30,10 +30,18 @@ As a quick overview of the .NET actors quickstart: For this example, you will need: - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started). -- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download). - [Docker Desktop](https://www.docker.com/products/docker-desktop) +- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed + +{{% alert title="Note" color="primary" %}} + +Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +continue to be supported by Dapr in v1.16 and later. + +{{% /alert %}} ### Step 1: Set up the environment diff --git a/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md index 68c1c61e27a..8af655824f1 100644 --- a/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md @@ -443,10 +443,18 @@ In the YAML file: For this example, you will need: - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started). -- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download). - [Docker Desktop](https://www.docker.com/products/docker-desktop) +- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed + +{{% alert title="Note" color="primary" %}} + +Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +continue to be supported by Dapr in v1.16 and later. + +{{% /alert %}} ### Step 1: Set up the environment diff --git a/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md index 1c11084b01d..cbdc721cb44 100644 --- a/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md @@ -272,10 +272,18 @@ setTimeout(() => { For this example, you will need: - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started). -- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download). - [Docker Desktop](https://www.docker.com/products/docker-desktop) +- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed + +{{% alert title="Note" color="primary" %}} + +Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +continue to be supported by Dapr in v1.16 and later. + +{{% /alert %}} ### Step 1: Set up the environment diff --git a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md index af95c1c3401..b97753e120d 100644 --- a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md @@ -358,10 +358,18 @@ console.log("Published data: " + JSON.stringify(order)); For this example, you will need: - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started). -- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download). - [Docker Desktop](https://www.docker.com/products/docker-desktop) +- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed + +{{% alert title="Note" color="primary" %}} + +Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +continue to be supported by Dapr in v1.16 and later. + +{{% /alert %}} ### Step 2: Set up the environment diff --git a/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md index da4c09763c1..6d1cef2d5e3 100644 --- a/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md @@ -247,10 +247,18 @@ Order-processor output: For this example, you will need: - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started). -- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download). - [Docker Desktop](https://www.docker.com/products/docker-desktop) +- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed + +{{% alert title="Note" color="primary" %}} + +Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +continue to be supported by Dapr in v1.16 and later. + +{{% /alert %}} ### Step 1: Set up the environment diff --git a/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md index 4bd2b237b71..5a0267d6442 100644 --- a/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md @@ -315,10 +315,18 @@ console.log("Order passed: " + res.config.data); For this example, you will need: - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started). -- [.NET SDK or .NET 7 SDK installed](https://dotnet.microsoft.com/download). - [Docker Desktop](https://www.docker.com/products/docker-desktop) +- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed + +{{% alert title="Note" color="primary" %}} + +Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +continue to be supported by Dapr in v1.16 and later. + +{{% /alert %}} ### Step 2: Set up the environment diff --git a/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md index ff92119df3e..cbfbe23276d 100644 --- a/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md @@ -288,10 +288,18 @@ In the YAML file: For this example, you will need: - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started). -- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download). - [Docker Desktop](https://www.docker.com/products/docker-desktop) +- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed + +{{% alert title="Note" color="primary" %}} + +Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +continue to be supported by Dapr in v1.16 and later. + +{{% /alert %}} ### Step 1: Set up the environment diff --git a/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md index 0c2c92b36a6..3d3569e9897 100644 --- a/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md @@ -511,10 +511,18 @@ The `order-processor` console app starts and manages the lifecycle of an order p For this example, you will need: - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started). -- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download). - [Docker Desktop](https://www.docker.com/products/docker-desktop) +- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed + +{{% alert title="Note" color="primary" %}} + +Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +continue to be supported by Dapr in v1.16 and later. + +{{% /alert %}} ### Step 2: Set up the environment From 3cdcebe7ebcdf96f7d3a1b17201de98f18c5fb5a Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Tue, 3 Dec 2024 03:47:01 -0600 Subject: [PATCH 02/11] Fixed recurring typo on last commit Signed-off-by: Whit Waldo --- .../content/en/getting-started/quickstarts/actors-quickstart.md | 2 +- .../en/getting-started/quickstarts/bindings-quickstart.md | 2 +- .../en/getting-started/quickstarts/configuration-quickstart.md | 2 +- .../content/en/getting-started/quickstarts/pubsub-quickstart.md | 2 +- .../en/getting-started/quickstarts/secrets-quickstart.md | 2 +- .../getting-started/quickstarts/serviceinvocation-quickstart.md | 2 +- .../getting-started/quickstarts/statemanagement-quickstart.md | 2 +- .../en/getting-started/quickstarts/workflow-quickstart.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md index 75b3e9c95e5..3d984d20c39 100644 --- a/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md @@ -38,7 +38,7 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md index 8af655824f1..c75387eca72 100644 --- a/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md @@ -451,7 +451,7 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md index cbdc721cb44..a4ca321bb4f 100644 --- a/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md @@ -280,7 +280,7 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md index b97753e120d..3a45b43e44a 100644 --- a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md @@ -366,7 +366,7 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md index 6d1cef2d5e3..ae106d0e5c5 100644 --- a/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md @@ -255,7 +255,7 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md index 5a0267d6442..cef58d02679 100644 --- a/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md @@ -323,7 +323,7 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md index cbfbe23276d..80ae40bb9a1 100644 --- a/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md @@ -296,7 +296,7 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md index 3d3569e9897..9797a6decab 100644 --- a/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md @@ -519,7 +519,7 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 wil +and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later. {{% /alert %}} From 52a81245fde039243a968f5ddf65c4604e6b2290 Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Tue, 3 Dec 2024 12:43:08 -0600 Subject: [PATCH 03/11] Making wording more concise, per suggestions. Signed-off-by: Whit Waldo --- .../en/getting-started/quickstarts/actors-quickstart.md | 5 ++--- .../en/getting-started/quickstarts/bindings-quickstart.md | 5 ++--- .../getting-started/quickstarts/configuration-quickstart.md | 5 ++--- .../en/getting-started/quickstarts/pubsub-quickstart.md | 5 ++--- .../en/getting-started/quickstarts/secrets-quickstart.md | 5 ++--- .../quickstarts/serviceinvocation-quickstart.md | 5 ++--- .../quickstarts/statemanagement-quickstart.md | 5 ++--- .../en/getting-started/quickstarts/workflow-quickstart.md | 5 ++--- 8 files changed, 16 insertions(+), 24 deletions(-) diff --git a/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md index 3d984d20c39..20572dd7a83 100644 --- a/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/actors-quickstart.md @@ -37,9 +37,8 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} -Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will -continue to be supported by Dapr in v1.16 and later. +.NET 6 is supported as the minimum required for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9 +will be supported in Dapr v1.16 and later releases. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md index c75387eca72..1a19140fc71 100644 --- a/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/bindings-quickstart.md @@ -450,9 +450,8 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} -Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will -continue to be supported by Dapr in v1.16 and later. +.NET 6 is supported as the minimum required for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9 +will be supported in Dapr v1.16 and later releases. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md index a4ca321bb4f..9934be31c9b 100644 --- a/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/configuration-quickstart.md @@ -279,9 +279,8 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} -Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will -continue to be supported by Dapr in v1.16 and later. +.NET 6 is supported as the minimum required for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9 +will be supported in Dapr v1.16 and later releases. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md index 3a45b43e44a..1960a2d3a09 100644 --- a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md @@ -365,9 +365,8 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} -Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will -continue to be supported by Dapr in v1.16 and later. +.NET 6 is supported as the minimum required for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9 +will be supported in Dapr v1.16 and later releases. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md index ae106d0e5c5..e9d0f1acc19 100644 --- a/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/secrets-quickstart.md @@ -254,9 +254,8 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} -Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will -continue to be supported by Dapr in v1.16 and later. +.NET 6 is supported as the minimum required for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9 +will be supported in Dapr v1.16 and later releases. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md index cef58d02679..2301002fc6c 100644 --- a/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md @@ -322,9 +322,8 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} -Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will -continue to be supported by Dapr in v1.16 and later. +.NET 6 is supported as the minimum required for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9 +will be supported in Dapr v1.16 and later releases. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md index 80ae40bb9a1..abbe7c07bcd 100644 --- a/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md @@ -295,9 +295,8 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} -Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will -continue to be supported by Dapr in v1.16 and later. +.NET 6 is supported as the minimum required for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9 +will be supported in Dapr v1.16 and later releases. {{% /alert %}} diff --git a/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md index 9797a6decab..b489bb53f06 100644 --- a/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md @@ -518,9 +518,8 @@ For this example, you will need: {{% alert title="Note" color="primary" %}} -Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages -and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will -continue to be supported by Dapr in v1.16 and later. +.NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15. Only .NET 8 and .NET 9 +will be supported in Dapr v1.16 and later releases. {{% /alert %}} From 128b3be3d6c6d0824f4e458929bbb99fd9d13441 Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Tue, 3 Dec 2024 12:43:34 -0600 Subject: [PATCH 04/11] Minor dependency tweak Signed-off-by: Whit Waldo --- .../en/getting-started/quickstarts/workflow-quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md index b489bb53f06..668bc65f37c 100644 --- a/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/workflow-quickstart.md @@ -514,7 +514,7 @@ For this example, you will need: - [Docker Desktop](https://www.docker.com/products/docker-desktop) -- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed +- [.NET 7](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed {{% alert title="Note" color="primary" %}} From 815d3bf767924aed7c07c0b585097cb25b37055a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 16:54:10 +0000 Subject: [PATCH 05/11] Bump nanoid from 3.3.2 to 3.3.8 in /daprdocs Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.2 to 3.3.8. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.3.2...3.3.8) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] --- daprdocs/package-lock.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/daprdocs/package-lock.json b/daprdocs/package-lock.json index 6bcdae97208..e7dec5f674f 100644 --- a/daprdocs/package-lock.json +++ b/daprdocs/package-lock.json @@ -720,9 +720,15 @@ } }, "node_modules/nanoid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.2.tgz", - "integrity": "sha512-CuHBogktKwpm5g2sRgv83jEy2ijFzBwMoYA60orPDR7ynsLijJDqgsi4RDGj3OJpy3Ieb+LYwiRmIOGyytgITA==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "bin": { "nanoid": "bin/nanoid.cjs" }, From 649c1f880d3250a72328ff4fcbdafbc5b745a4aa Mon Sep 17 00:00:00 2001 From: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:14:43 -0500 Subject: [PATCH 06/11] updates per elena pr for 1.15 (#4471) Signed-off-by: Hannah Hunter --- .github/workflows/link_validation.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/link_validation.yaml b/.github/workflows/link_validation.yaml index 4b7840e3cb1..350f8407a33 100644 --- a/.github/workflows/link_validation.yaml +++ b/.github/workflows/link_validation.yaml @@ -13,7 +13,7 @@ jobs: validate: runs-on: ubuntu-latest env: - PYTHON_VER: 3.7 + PYTHON_VER: 3.12 steps: - uses: actions/checkout@v2 - name: Check Microsoft URLs do not pin localized versions @@ -27,7 +27,7 @@ jobs: exit 1 fi - name: Set up Python ${{ env.PYTHON_VER }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VER }} - name: Install dependencies From 4d02b2e26ef2e5c2f99082a831c5acb5c8005b06 Mon Sep 17 00:00:00 2001 From: Scott Brady Date: Wed, 25 Dec 2024 09:20:14 +0000 Subject: [PATCH 07/11] feat(bindings-zeebe-command): Add support for passing variables to throw-error operation. (#3639) Signed-off-by: Scott Brady --- .../supported-bindings/zeebe-command.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-bindings/zeebe-command.md b/daprdocs/content/en/reference/components-reference/supported-bindings/zeebe-command.md index 780bfaebefe..76def5a6b42 100644 --- a/daprdocs/content/en/reference/components-reference/supported-bindings/zeebe-command.md +++ b/daprdocs/content/en/reference/components-reference/supported-bindings/zeebe-command.md @@ -675,7 +675,12 @@ To perform a `throw-error` operation, invoke the Zeebe command binding with a `P "data": { "jobKey": 2251799813686172, "errorCode": "product-fetch-error", - "errorMessage": "The product could not be fetched" + "errorMessage": "The product could not be fetched", + "variables": { + "productId": "some-product-id", + "productName": "some-product-name", + "productKey": "some-product-key" + } }, "operation": "throw-error" } @@ -686,6 +691,11 @@ The data parameters are: - `jobKey` - the unique job identifier, as obtained when activating the job - `errorCode` - the error code that will be matched with an error catch event - `errorMessage` - (optional) an error message that provides additional context +- `variables` - (optional) JSON document that will instantiate the variables at the local scope of the + job's associated task; it must be a JSON object, as variables will be mapped in a + key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and + "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a + valid argument, as the root of the JSON document is an array and not an object. ##### Response From 177a6ca1507c2bbfe3766d3daecb9b1354f7d802 Mon Sep 17 00:00:00 2001 From: Yossi Spektor Date: Mon, 30 Dec 2024 17:43:15 +0100 Subject: [PATCH 08/11] Update workflow-features-concepts.md Fix typos, use more Java-idiomatic code names (methods in Java usually don't begin with uppercase letters). Signed-off-by: Yossi Spektor --- .../workflow/workflow-features-concepts.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-features-concepts.md b/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-features-concepts.md index b0392fa7818..2b2fbde3561 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-features-concepts.md +++ b/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-features-concepts.md @@ -199,7 +199,7 @@ string randomString = GetRandomString(); // DON'T DO THIS! Instant currentTime = Instant.now(); UUID newIdentifier = UUID.randomUUID(); -string randomString = GetRandomString(); +String randomString = getRandomString(); ``` {{% /codetab %}} @@ -246,7 +246,7 @@ string randomString = await context.CallActivityAsync("GetRandomString") ```java // Do this!! Instant currentTime = context.getCurrentInstant(); -Guid newIdentifier = context.NewGuid(); +Guid newIdentifier = context.newGuid(); String randomString = context.callActivity(GetRandomString.class.getName(), String.class).await(); ``` @@ -342,7 +342,7 @@ Do this: ```csharp // Do this!! -string configuation = workflowInput.Configuration; // imaginary workflow input argument +string configuration = workflowInput.Configuration; // imaginary workflow input argument string data = await context.CallActivityAsync("MakeHttpCall", "https://example.com/api/data"); ``` @@ -352,7 +352,7 @@ string data = await context.CallActivityAsync("MakeHttpCall", "https://e ```java // Do this!! -String configuation = ctx.getInput(InputType.class).getConfiguration(); // imaginary workflow input argument +String configuration = ctx.getInput(InputType.class).getConfiguration(); // imaginary workflow input argument String data = ctx.callActivity(MakeHttpCall.class, "https://example.com/api/data", String.class).await(); ``` @@ -362,7 +362,7 @@ String data = ctx.callActivity(MakeHttpCall.class, "https://example.com/api/data ```javascript // Do this!! -const configuation = workflowInput.getConfiguration(); // imaginary workflow input argument +const configuration = workflowInput.getConfiguration(); // imaginary workflow input argument const data = yield ctx.callActivity(makeHttpCall, "https://example.com/api/data"); ``` From f711af992190cc9b960f5c77c134926e971da1da Mon Sep 17 00:00:00 2001 From: Yossi Spektor Date: Tue, 31 Dec 2024 13:19:08 +0100 Subject: [PATCH 09/11] Update setup-postgresql-v2.md Mention that `actorStateStore` needs to be `true` if the state store is used for workflows as well (since workflows use actors under the hood). Signed-off-by: Yossi Spektor --- .../supported-state-stores/setup-postgresql-v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-postgresql-v2.md b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-postgresql-v2.md index 3223867787f..dc7787d4f22 100644 --- a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-postgresql-v2.md +++ b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-postgresql-v2.md @@ -52,7 +52,7 @@ spec: # Controls the default mode for executing queries. (optional) #- name: queryExecMode # value: "" - # Uncomment this if you wish to use PostgreSQL as a state store for actors (optional) + # Uncomment this if you wish to use PostgreSQL as a state store for actors or workflows (optional) #- name: actorStateStore # value: "true" ``` From caebe93ae07b7dfc7ec0eee191c710af52fd3085 Mon Sep 17 00:00:00 2001 From: Yossi Spektor Date: Tue, 31 Dec 2024 13:20:12 +0100 Subject: [PATCH 10/11] Update setup-postgresql-v1.md Mention that `actorStateStore` needs to be `true` if the state store is used for workflows as well (since workflows use actors under the hood). Signed-off-by: Yossi Spektor --- .../supported-state-stores/setup-postgresql-v1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-postgresql-v1.md b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-postgresql-v1.md index 8cec85ad16a..c818d7d191f 100644 --- a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-postgresql-v1.md +++ b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-postgresql-v1.md @@ -52,7 +52,7 @@ spec: # Controls the default mode for executing queries. (optional) #- name: queryExecMode # value: "" - # Uncomment this if you wish to use PostgreSQL as a state store for actors (optional) + # Uncomment this if you wish to use PostgreSQL as a state store for actors or workflows (optional) #- name: actorStateStore # value: "true" ``` From 197c05375691056a1a91217f2ff726ba48608d04 Mon Sep 17 00:00:00 2001 From: Gallardot Date: Fri, 10 Jan 2025 23:06:48 +0800 Subject: [PATCH 11/11] fix rust-sdk menu link Signed-off-by: Gallardot --- daprdocs/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/config.toml b/daprdocs/config.toml index dcaf0b6ec97..b0165c98386 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -109,7 +109,7 @@ id = "G-60C6Q1ETC1" lang = "en" [[module.mounts]] source = "../sdkdocs/rust/daprdocs/content/en/rust-sdk-contributing" - target = "content/contributing/sdks-contrib" + target = "content/contributing/sdk-contrib/" lang = "en" [[module.mounts]]