Skip to content

Commit

Permalink
Update Microsoft.DurableTask.Grpc to latest version (#2919)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgillum authored Oct 1, 2024
1 parent 87d38a8 commit 1163944
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 13 deletions.
12 changes: 4 additions & 8 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
# Release Notes

## Microsoft.Azure.Functions.Worker.Extensions.DurableTask 1.1.6
## Microsoft.Azure.Functions.Worker.Extensions.DurableTask (version)

### New Features

- Support for new `AllowReplayingTerminalInstances` setting in Azure Storage backend (https://github.com/Azure/durabletask/pull/1159), settable via `host.json`

### Bug Fixes

### Breaking Changes

### Dependency Updates

- Microsoft.DurableTask.Client.Grpc to 1.3.0
- Microsoft.DurableTask.Worker.Grpc to 1.3.0
- Microsoft.Azure.WebJobs.Extensions.DurableTask (in host process) to 2.13.6

## Microsoft.Azure.WebJobs.Extensions.DurableTask <version>
## Microsoft.Azure.WebJobs.Extensions.DurableTask 2.13.7

### New Features

Expand All @@ -25,3 +19,5 @@
### Breaking Changes

### Dependency Updates

- Microsoft.DurableTask.Grpc to 1.3.0

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/WebJobs.Extensions.DurableTask/ProtobufUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ public static P.HistoryEvent ToHistoryEventProto(HistoryEvent e)
},
},
ScheduledStartTimestamp = startedEvent.ScheduledStartTime == null ? null : Timestamp.FromDateTime(startedEvent.ScheduledStartTime.Value),
CorrelationData = startedEvent.Correlation,
ParentTraceContext = startedEvent.ParentTraceContext == null ? null : new P.TraceContext
{
TraceParent = startedEvent.ParentTraceContext.TraceParent,
TraceState = startedEvent.ParentTraceContext.TraceState,
},
};
break;
case EventType.ExecutionTerminated:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<RootNamespace>Microsoft.Azure.WebJobs.Extensions.DurableTask</RootNamespace>
<MajorVersion>2</MajorVersion>
<MinorVersion>13</MinorVersion>
<PatchVersion>6</PatchVersion>
<PatchVersion>7</PatchVersion>
<VersionSuffix>$(PackageSuffix)</VersionSuffix>
<FileVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)</FileVersion>
<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
Expand Down Expand Up @@ -107,7 +107,7 @@
<!-- Explicitly pinned transitive dependencies with CVE vulnerabilities.-->
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets" Version="2.2.1" />
<!-- The gRPC dependencies in this package are not compatible with older frameworks, like .NET Core 2.x -->
<PackageReference Include="Microsoft.DurableTask.Grpc" Version="1.1.0" />
<PackageReference Include="Microsoft.DurableTask.Grpc" Version="1.3.0" />
<PackageReference Include="Grpc.Core" Version="2.46.6" /> <!-- Bring this in until we move to hosted RPC -->
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Worker.Extensions.DurableTask/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
using Microsoft.Azure.Functions.Worker.Extensions.Abstractions;

// TODO: Find a way to generate this dynamically at build-time
[assembly: ExtensionInformation("Microsoft.Azure.WebJobs.Extensions.DurableTask", "2.13.6")]
[assembly: ExtensionInformation("Microsoft.Azure.WebJobs.Extensions.DurableTask", "2.13.7")]
[assembly: InternalsVisibleTo("Worker.Extensions.DurableTask.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100cd1dabd5a893b40e75dc901fe7293db4a3caf9cd4d3e3ed6178d49cd476969abe74a9e0b7f4a0bb15edca48758155d35a4f05e6e852fff1b319d103b39ba04acbadd278c2753627c95e1f6f6582425374b92f51cca3deb0d2aab9de3ecda7753900a31f70a236f163006beefffe282888f85e3c76d1205ec7dfef7fa472a17b1")]
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<AssemblyOriginatorKeyFile>..\..\sign.snk</AssemblyOriginatorKeyFile>

<!-- Version information -->
<VersionPrefix>1.1.6</VersionPrefix>
<VersionPrefix>1.1.7</VersionPrefix>
<VersionSuffix></VersionSuffix>
<AssemblyVersion>$(VersionPrefix).0</AssemblyVersion>
<!-- FileVersionRevision is expected to be set by the CI. -->
Expand Down

0 comments on commit 1163944

Please sign in to comment.