Skip to content

Commit 38a6011

Browse files
author
Sophia Tevosyan
committed
Merge branch 'main' into stevosyan/extended-sessions-for-orchestrations-isolated
2 parents 92bb2cd + 387ce19 commit 38a6011

File tree

42 files changed

+415
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+415
-79
lines changed

.github/workflows/validate-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v3
2525

26-
- name: Setup .NET 6.0
27-
uses: actions/setup-dotnet@v3
26+
- name: Setup .NET 8.0
27+
uses: actions/setup-dotnet@v4
2828
with:
29-
dotnet-version: '6.0.x'
29+
dotnet-version: '8.0.x'
3030

3131
- name: Setup .NET from global.json
32-
uses: actions/setup-dotnet@v3
32+
uses: actions/setup-dotnet@v4
3333
with:
3434
global-json-file: global.json
3535

CHANGELOG.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@
22

33
## (Unreleased)
44

5-
- Add New Property Properties to TaskOrchestrationContext by @nytian in [#415](https://github.com/microsoft/durabletask-dotnet/pull/415)
6-
- Add automatic retry on gateway timeout in `GrpcDurableTaskClient.WaitForInstanceCompletionAsync` in [#412](https://github.com/microsoft/durabletask-dotnet/pull/412))
7-
- Add specific logging for NotFound error on worker connection by @halspang in ([#413](https://github.com/microsoft/durabletask-dotnet/pull/413))
8-
- Add user agent header to gRPC called in ([#417](https://github.com/microsoft/durabletask-dotnet/pull/417))
5+
## v1.12.0
6+
7+
- Activity tag support ([#426](https://github.com/microsoft/durabletask-dotnet/pull/426))
8+
- Adding Analyzer to build and release ([#444](https://github.com/microsoft/durabletask-dotnet/pull/444))
9+
- Add ability to filter orchestrations at worker ([#443](https://github.com/microsoft/durabletask-dotnet/pull/443))
10+
- Removing breaking change for TaskOptions ([#446](https://github.com/microsoft/durabletask-dotnet/pull/446))
11+
12+
## v1.11.0
13+
14+
- Add New Property Properties to TaskOrchestrationContext ([#415](https://github.com/microsoft/durabletask-dotnet/pull/415))
15+
- Add automatic retry on gateway timeout in `GrpcDurableTaskClient.WaitForInstanceCompletionAsync` ([#412](https://github.com/microsoft/durabletask-dotnet/pull/412))
16+
- Add specific logging for NotFound error on worker connection ([#413](https://github.com/microsoft/durabletask-dotnet/pull/413))
17+
- Add user agent header to gRPC called ([#417](https://github.com/microsoft/durabletask-dotnet/pull/417))
918
- Enrich User-Agent Header in gRPC Metadata to indicate Client or Worker as caller ([#421](https://github.com/microsoft/durabletask-dotnet/pull/421))
19+
- Change DTS user agent metadata to avoid overlap with gRPC user agent ([#423](https://github.com/microsoft/durabletask-dotnet/pull/423))
1020
- Add extension methods for registering entities by type ([#427](https://github.com/microsoft/durabletask-dotnet/pull/427))
1121
- Add TaskVersion and utilize it for version overrides when starting orchestrations ([#416](https://github.com/microsoft/durabletask-dotnet/pull/416))
22+
- Update sub-orchestration default versioning ([#437](https://github.com/microsoft/durabletask-dotnet/pull/437))
23+
- Distributed Tracing for Entities (Isolated) ([#404](https://github.com/microsoft/durabletask-dotnet/pull/404))
1224

1325
## v1.10.0
1426

Directory.Packages.props

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
<!-- Microsoft.Extensions.* Packages -->
1111
<ItemGroup>
12-
<PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
13-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="6.0.2" />
14-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
12+
<PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />
13+
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
14+
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
1515
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="6.0.1" Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net48'" />
1616
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" Condition="'$(TargetFramework)' == 'net8.0'"/>
17-
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.1" />
18-
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.2" />
19-
<PackageVersion Include="Microsoft.Extensions.Options" Version="6.0.1" />
20-
<PackageVersion Include="Microsoft.Extensions.Options.DataAnnotations" Version="6.0.1" />
17+
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.1" />
18+
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.3" />
19+
<PackageVersion Include="Microsoft.Extensions.Options" Version="8.0.2" />
20+
<PackageVersion Include="Microsoft.Extensions.Options.DataAnnotations" Version="8.0.0" />
2121
</ItemGroup>
2222

2323
<!-- Azure.* Packages -->
@@ -28,7 +28,7 @@
2828

2929
<!-- DurableTask Packages -->
3030
<ItemGroup>
31-
<PackageVersion Include="Microsoft.Azure.DurableTask.Core" Version="3.2.0" />
31+
<PackageVersion Include="Microsoft.Azure.DurableTask.Core" Version="3.3.0" />
3232
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" Version="1.2.2" />
3333
</ItemGroup>
3434

@@ -73,10 +73,10 @@
7373
<ItemGroup>
7474
<PackageVersion Include="DotNext" Version="4.13.1" />
7575
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
76-
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
77-
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
78-
<PackageVersion Include="System.Text.Json" Version="6.0.10" />
79-
<PackageVersion Include="System.Collections.Immutable" Version="6.0.1" />
76+
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
77+
<PackageVersion Include="System.Linq.Async" Version="6.0.3" />
78+
<PackageVersion Include="System.Text.Json" Version="8.0.6" />
79+
<PackageVersion Include="System.Collections.Immutable" Version="8.0.0" />
8080
</ItemGroup>
8181

8282
</Project>

eng/targets/Release.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818

1919
<PropertyGroup>
20-
<VersionPrefix>1.11.0</VersionPrefix>
20+
<VersionPrefix>1.12.0</VersionPrefix>
2121
<VersionSuffix></VersionSuffix>
2222
</PropertyGroup>
2323

samples/AzureFunctionsApp/AzureFunctionsApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
66
<OutputType>Exe</OutputType>
77
<Nullable>enable</Nullable>

samples/ScheduleWebApp/ScheduleWebApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>

samples/WebAPI/WebAPI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>

src/Abstractions/TaskOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public record TaskOptions
1414
/// Initializes a new instance of the <see cref="TaskOptions"/> class.
1515
/// </summary>
1616
/// <param name="retry">The task retry options.</param>
17-
public TaskOptions(TaskRetryOptions? retry = null)
17+
public TaskOptions(TaskRetryOptions? retry)
18+
: this(retry, null)
1819
{
19-
this.Retry = retry;
2020
}
2121

2222
/// <summary>
Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
11
; Shipped analyzer releases
2-
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
2+
; https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
33

4+
## Release 0.1.0
5+
6+
### New Rules
7+
8+
Rule ID | Category | Severity | Notes
9+
--------|----------|----------|-------
10+
DURABLE0001 | Orchestration | Warning | DateTimeOrchestrationAnalyzer
11+
DURABLE0002 | Orchestration | Warning | GuidOrchestrationAnalyzer
12+
DURABLE0003 | Orchestration | Warning | DelayOrchestrationAnalyzer
13+
DURABLE0004 | Orchestration | Warning | ThreadTaskOrchestrationAnalyzer
14+
DURABLE0005 | Orchestration | Warning | IOOrchestrationAnalyzer
15+
DURABLE0006 | Orchestration | Warning | EnvironmentOrchestrationAnalyzer
16+
DURABLE0007 | Orchestration | Warning | CancellationTokenOrchestrationAnalyzer
17+
DURABLE0008 | Orchestration | Warning | OtherBindingsOrchestrationAnalyzer
18+
DURABLE1001 | Attribute Binding | Error | OrchestrationTriggerBindingAnalyzer
19+
DURABLE1002 | Attribute Binding | Error | DurableClientBindingAnalyzer
20+
DURABLE1003 | Attribute Binding | Error | EntityTriggerBindingAnalyzer
21+
DURABLE2001 | Activity | Warning | MatchingInputOutputTypeActivityAnalyzer
22+
DURABLE2002 | Activity | Warning | MatchingInputOutputTypeActivityAnalyzer
Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,2 @@
11
; Unshipped analyzer release
2-
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
3-
4-
### New Rules
5-
6-
Rule ID | Category | Severity | Notes
7-
--------|----------|----------|-------
8-
DURABLE0001 | Orchestration | Warning | DateTimeOrchestrationAnalyzer
9-
DURABLE0002 | Orchestration | Warning | GuidOrchestrationAnalyzer
10-
DURABLE0003 | Orchestration | Warning | DelayOrchestrationAnalyzer
11-
DURABLE0004 | Orchestration | Warning | ThreadTaskOrchestrationAnalyzer
12-
DURABLE0005 | Orchestration | Warning | IOOrchestrationAnalyzer
13-
DURABLE0006 | Orchestration | Warning | EnvironmentOrchestrationAnalyzer
14-
DURABLE0007 | Orchestration | Warning | CancellationTokenOrchestrationAnalyzer
15-
DURABLE0008 | Orchestration | Warning | OtherBindingsOrchestrationAnalyzer
16-
DURABLE1001 | Attribute Binding | Error | OrchestrationTriggerBindingAnalyzer
17-
DURABLE1002 | Attribute Binding | Error | DurableClientBindingAnalyzer
18-
DURABLE1003 | Attribute Binding | Error | EntityTriggerBindingAnalyzer
19-
DURABLE2001 | Activity | Warning | MatchingInputOutputTypeActivityAnalyzer
20-
DURABLE2002 | Activity | Warning | MatchingInputOutputTypeActivityAnalyzer
2+
; https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md

0 commit comments

Comments
 (0)