Skip to content

Commit affa797

Browse files
authored
Additional commits to drop .NET 6 and 7 (#1486)
* Updated all documentation referring to .NET 6 and .NET 7 to refer instead to .NET 8 and higher. * Updated minimum langversion to reflect C# 12 (released with .NET 8) Signed-off-by: Whit Waldo <[email protected]>
1 parent d4f9a58 commit affa797

File tree

22 files changed

+26
-79
lines changed

22 files changed

+26
-79
lines changed

daprdocs/content/en/dotnet-sdk-contributing/dotnet-contributing.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,8 @@ squashing the PR locally and resubmitting to ensure that the sign-off statement
101101

102102
# Languages, Tools and Processes
103103
All source code in the Dapr .NET SDK is written in C# and targets the latest language version available to the earliest
104-
supported .NET SDK. As of v1.15, this means that because .NET 6 is still supported, the latest language version available
105-
is [C# version 10](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history#c-version-10).
106-
107-
As of v1.15, the following versions of .NET are supported:
108-
109-
| Version | Notes |
110-
| --- |-----------------------------------------------------------------|
111-
| .NET 6 | Will be discontinued in v1.16 |
112-
| .NET 7 | Only supported in Dapr.Workflows, will be discontinued in v1.16 |
113-
| .NET 8 | Will continue to be supported in v1.16 |
114-
| .NET 9 | Will continue to be supported in v1.16 |
104+
supported .NET SDK. As of v1.16, this means that both .NET 8 and .NET 9 are supported. The latest language version available
105+
is [C# version 12](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history#c-version-12)
115106

116107
Contributors are welcome to use whatever IDE they're most comfortable developing in, but please do not submit
117108
IDE-specific preference files along with your contributions as these will be rejected.

daprdocs/content/en/dotnet-sdk-docs/_index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,7 @@ Dapr offers a variety of packages to help with the development of .NET applicati
1818

1919
- [Dapr CLI]({{< ref install-dapr-cli.md >}}) installed
2020
- Initialized [Dapr environment]({{< ref install-dapr-selfhost.md >}})
21-
- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed
22-
23-
{{% alert title="Note" color="primary" %}}
24-
25-
Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages
26-
and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will
27-
continue to be supported by Dapr in v1.16 and later.
28-
29-
{{% /alert %}}
21+
- [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed
3022

3123
## Installation
3224

daprdocs/content/en/dotnet-sdk-docs/dotnet-actors/dotnet-actors-howto.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,7 @@ This project contains the implementation of the actor client which calls MyActor
4545

4646
- [Dapr CLI]({{< ref install-dapr-cli.md >}}) installed.
4747
- Initialized [Dapr environment]({{< ref install-dapr-selfhost.md >}}).
48-
- [.NET 6](https://dotnet.microsoft.com/download), [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed
49-
50-
{{% alert title="Note" color="primary" %}}
51-
52-
Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages
53-
and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will
54-
continue to be supported by Dapr in v1.16 and later.
55-
56-
{{% /alert %}}
48+
- [.NET 8](https://dotnet.microsoft.com/download) or [.NET 9](https://dotnet.microsoft.com/download) installed
5749

5850
## Step 0: Prepare
5951

daprdocs/content/en/dotnet-sdk-docs/dotnet-ai/dotnet-ai-conversation-howto.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,10 @@ description: Learn how to create and use the Dapr Conversational AI client using
77
---
88

99
## Prerequisites
10-
- [.NET 6](https://dotnet.microsoft.com/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0), or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0) installed
10+
- [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0), or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0) installed
1111
- [Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/)
1212
- [Initialized Dapr environment](https://docs.dapr.io/getting-started/install-dapr-selfhost)
1313

14-
{{% alert title="Note" color="primary" %}}
15-
16-
.NET 6 is supported as the minimum required for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9
17-
will be supported in Dapr v1.16 and later releases.
18-
19-
{{% /alert %}}
20-
2114
## Installation
2215

2316
To get started with the Dapr AI .NET SDK client, install the [Dapr.AI package](https://www.nuget.org/packages/Dapr.AI) from NuGet:

daprdocs/content/en/dotnet-sdk-docs/dotnet-development/dotnet-development-dapr-aspire.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ Amazon AWS, deployment is currently outside the scope of this guide. More inform
2424
documentation [here](https://learn.microsoft.com/en-us/dotnet/aspire/deployment/overview).
2525

2626
## Prerequisites
27-
- While the Dapr .NET SDK is compatible with [.NET 6](https://dotnet.microsoft.com/download/dotnet/6.0),
28-
[.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0),
29-
.NET Aspire is only compatible with [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) or
30-
[.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0).
27+
- Both the Dapr .NET SDK and .NET Aspire are compatible with [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0)
28+
or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0)
3129
- An OCI compliant container runtime such as [Docker Desktop](https://www.docker.com/products/docker-desktop) or
3230
[Podman](https://podman.io/)
33-
- Install and initialize Dapr v1.13 or later
31+
- Install and initialize Dapr v1.16 or later
3432

3533
## Using .NET Aspire via CLI
3634

daprdocs/content/en/dotnet-sdk-docs/dotnet-jobs/dotnet-jobs-howto.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,9 @@ In the .NET example project:
1818
## Prerequisites
1919
- [Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/)
2020
- [Initialized Dapr environment](https://docs.dapr.io/getting-started/install-dapr-selfhost)
21-
- [.NET 6](https://dotnet.microsoft.com/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0) installed
21+
- [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0) installed
2222
- [Dapr.Jobs](https://www.nuget.org/packages/Dapr.Jobs) NuGet package installed to your project
2323

24-
{{% alert title="Note" color="primary" %}}
25-
26-
Note that while .NET 6 is the minimum support version of .NET in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later.
27-
28-
{{% /alert %}}
29-
3024
## Set up the environment
3125
Clone the [.NET SDK repo](https://github.com/dapr/dotnet-sdk).
3226

daprdocs/content/en/dotnet-sdk-docs/dotnet-messaging/dotnet-messaging-pubsub-howto.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,9 @@ runtime and which do not require an endpoint to be pre-configured. In this guide
1717
## Prerequisites
1818
- [Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/)
1919
- [Initialized Dapr environment](https://docs.dapr.io/getting-started/install-dapr-selfhost)
20-
- [.NET 6](https://dotnet.microsoft.com/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0) installed
20+
- [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0) installed
2121
- [Dapr.Messaging](https://www.nuget.org/packages/Dapr.Messaging) NuGet package installed to your project
2222

23-
{{% alert title="Note" color="primary" %}}
24-
25-
Note that while .NET 6 is the minimum support version of .NET in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later.
26-
27-
{{% /alert %}}
28-
2923
## Set up the environment
3024
Clone the [.NET SDK repo](https://github.com/dapr/dotnet-sdk).
3125

daprdocs/content/en/dotnet-sdk-docs/dotnet-workflow/dotnet-workflow-howto.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,7 @@ In the .NET example project:
2020

2121
- [Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/)
2222
- [Initialized Dapr environment](https://docs.dapr.io/getting-started/install-dapr-selfhost/)
23-
- [.NET 7](https://dotnet.microsoft.com/download/dotnet/7.0), [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0) installed
24-
25-
{{% alert title="Note" color="primary" %}}
26-
27-
Dapr.Workflows supports .NET 7 or newer in v1.15. However, following the release of Dapr v1.16, only
28-
.NET 8 and .NET 9 will be supported.
29-
30-
{{% /alert %}}
23+
- [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/download/dotnet/9.0) installed
3124

3225
## Set up the environment
3326

examples/Actor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Actor example shows how to create a virtual actor (`DemoActor`) and invoke i
44

55
## Prerequisites
66

7-
- [.NET 6+](https://dotnet.microsoft.com/download) installed
7+
- [.NET 8+](https://dotnet.microsoft.com/download) installed
88
- [Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/)
99
- [Initialized Dapr environment](https://docs.dapr.io/getting-started/install-dapr-selfhost/)
1010
- [Dapr .NET SDK](https://github.com/dapr/dotnet-sdk/)

examples/AspNetCore/ControllerSample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The application also registers for pub/sub with the `deposit`, `multideposit` an
1212

1313
## Prerequisitess
1414

15-
- [.NET 6+](https://dotnet.microsoft.com/download) installed
15+
- [.NET 8+](https://dotnet.microsoft.com/download) installed
1616
- [Dapr CLI](https://docs.dapr.io/getting-started/install-dapr-cli/)
1717
- [Initialized Dapr environment](https://docs.dapr.io/getting-started/install-dapr-selfhost/)
1818
- [Dapr .NET SDK](https://docs.dapr.io/developing-applications/sdks/dotnet/)

0 commit comments

Comments
 (0)