Skip to content

Commit 20c68dc

Browse files
authored
Update gRPC, Protobuf package versions (dotnet#56909)
1 parent bfe5471 commit 20c68dc

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

eng/Versions.props

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,13 @@
288288
<CastleCoreVersion>4.2.1</CastleCoreVersion>
289289
<CommandLineParserVersion>2.3.0</CommandLineParserVersion>
290290
<FSharpCoreVersion>6.0.0</FSharpCoreVersion>
291-
<GoogleApiCommonProtosVersion>2.5.0</GoogleApiCommonProtosVersion>
292-
<GoogleProtobufVersion>3.23.1</GoogleProtobufVersion>
293-
<GrpcAspNetCoreVersion>2.57.0</GrpcAspNetCoreVersion>
294-
<GrpcAspNetCoreServerVersion>2.57.0</GrpcAspNetCoreServerVersion>
295-
<GrpcAuthVersion>2.57.0</GrpcAuthVersion>
296-
<GrpcNetClientVersion>2.57.0</GrpcNetClientVersion>
297-
<GrpcToolsVersion>2.57.0</GrpcToolsVersion>
291+
<GoogleApiCommonProtosVersion>2.15.0</GoogleApiCommonProtosVersion>
292+
<GoogleProtobufVersion>3.27.0</GoogleProtobufVersion>
293+
<GrpcAspNetCoreVersion>2.64.0</GrpcAspNetCoreVersion>
294+
<GrpcAspNetCoreServerVersion>2.64.0</GrpcAspNetCoreServerVersion>
295+
<GrpcAuthVersion>2.64.0</GrpcAuthVersion>
296+
<GrpcNetClientVersion>2.64.0</GrpcNetClientVersion>
297+
<GrpcToolsVersion>2.64.0</GrpcToolsVersion>
298298
<MessagePackVersion>2.5.108</MessagePackVersion>
299299
<MicrosoftIdentityWebVersion>3.0.0</MicrosoftIdentityWebVersion>
300300
<MicrosoftIdentityWebGraphServiceClientVersion>3.0.0</MicrosoftIdentityWebGraphServiceClientVersion>
@@ -318,7 +318,7 @@
318318
<SerilogSinksFileVersion>4.0.0</SerilogSinksFileVersion>
319319
<StackExchangeRedisVersion>2.7.27</StackExchangeRedisVersion>
320320
<SystemReactiveLinqVersion>5.0.0</SystemReactiveLinqVersion>
321-
<SwashbuckleAspNetCoreVersion>6.4.0</SwashbuckleAspNetCoreVersion>
321+
<SwashbuckleAspNetCoreVersion>6.6.2</SwashbuckleAspNetCoreVersion>
322322
<VerifyXunitVersion>19.14.0</VerifyXunitVersion>
323323
<XunitAbstractionsVersion>2.0.3</XunitAbstractionsVersion>
324324
<XunitAnalyzersVersion>1.0.0</XunitAnalyzersVersion>

src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.JsonTranscoding/Internal/Binding/JsonTranscodingProviderServiceBinder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ internal JsonTranscodingProviderServiceBinder(
5858
_logger = loggerFactory.CreateLogger<JsonTranscodingProviderServiceBinder<TService>>();
5959
}
6060

61-
public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, ClientStreamingServerMethod<TRequest, TResponse> handler)
61+
public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, ClientStreamingServerMethod<TRequest, TResponse>? handler)
6262
{
6363
if (TryGetMethodDescriptor(method.Name, out var methodDescriptor) &&
6464
ServiceDescriptorHelpers.TryGetHttpRule(methodDescriptor, out _))
@@ -67,7 +67,7 @@ public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse>
6767
}
6868
}
6969

70-
public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, DuplexStreamingServerMethod<TRequest, TResponse> handler)
70+
public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, DuplexStreamingServerMethod<TRequest, TResponse>? handler)
7171
{
7272
if (TryGetMethodDescriptor(method.Name, out var methodDescriptor) &&
7373
ServiceDescriptorHelpers.TryGetHttpRule(methodDescriptor, out _))
@@ -76,7 +76,7 @@ public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse>
7676
}
7777
}
7878

79-
public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, ServerStreamingServerMethod<TRequest, TResponse> handler)
79+
public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, ServerStreamingServerMethod<TRequest, TResponse>? handler)
8080
{
8181
if (TryGetMethodDescriptor(method.Name, out var methodDescriptor))
8282
{
@@ -97,7 +97,7 @@ public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse>
9797
}
9898
}
9999

100-
public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, UnaryServerMethod<TRequest, TResponse> handler)
100+
public override void AddMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, UnaryServerMethod<TRequest, TResponse>? handler)
101101
{
102102
if (TryGetMethodDescriptor(method.Name, out var methodDescriptor))
103103
{

src/Grpc/JsonTranscoding/test/Microsoft.AspNetCore.Grpc.Swagger.Tests/GrpcSwaggerServiceExtensionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void AddGrpcSwagger_GrpcServiceRegistered_ReturnSwaggerWithGrpcOperation(
4646

4747
var path = swagger.Paths["/v1/greeter/{name}"];
4848
Assert.True(path.Operations.TryGetValue(OperationType.Get, out var operation));
49-
Assert.Equal("Success", operation.Responses["200"].Description);
49+
Assert.Equal("OK", operation.Responses["200"].Description);
5050
Assert.Equal("Error", operation.Responses["default"].Description);
5151
}
5252

0 commit comments

Comments
 (0)