Repository navigation
Update gRPC dependencies to 2.83.0 - #68531
Conversation
Co-authored-by: SamMonoRT <[email protected]>
There was a problem hiding this comment.
Pull request overview
Updates centrally managed gRPC-related package versions in eng/Versions.props to align the repository (including tooling and templates that consume these version properties) with the latest gRPC releases referenced by the linked issue, including the ARM64-compatible Grpc.Tools version.
Changes:
- Bump
Grpc.AspNetCore,Grpc.AspNetCore.Server,Grpc.Auth,Grpc.Net.Client, andGrpc.Toolsversion properties to2.83.0. - Bump
Google.Protobufversion property to3.31.1to match the intended dependency alignment.
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
@copilot - please review the failures in Templates.Test.GrpcTemplateTest.GrpcTemplateNativeAot and Templates.Test.GrpcTemplateTest.GrpcTemplateProgramMainNativeAot and fix those accordingly |
Co-authored-by: SamMonoRT <[email protected]>
Fixed in 6ebf16b. Root cause: The upstream fix (protocolbuffers/protobuf#21824) shipped in the 3.33.2 patch, so I bumped Validation:
|
Ensure generated gRPC projects use the NativeAOT-compatible Google.Protobuf version instead of the older transitive dependency. Co-authored-by: Copilot <[email protected]>
|
@SamMonoRT @JamesNK I think main is now tracking .NET 12, correct? I assume we'll backport this gRPC dependency update for .NET 11? |
|
I don't know if a 2.84.0 dependency will ship in time for RC2. If it isn't out in time then we could pump the dependency versions as a .NET 11 point release. There aren't any security issues in the current dependencies, they're just quite old. And people have the option to update them themselves. It's not urgent/important. |
JamesNK
left a comment
There was a problem hiding this comment.
Looks like this has been fixed by including a specific Google.Protobuf version in the template. I think that's a good interim fix and it can be removed in the future once Grpc.AspNetCore is updated.
|
/backport to release/11.0 |
|
Started backporting to |
Update centrally managed gRPC dependencies.
Description
Package alignment
Grpc.AspNetCore,Grpc.AspNetCore.Server,Grpc.Auth,Grpc.Net.Client, andGrpc.Toolsto2.83.0.Google.Protobufto3.31.1, matching theGrpc.AspNetCoredependency.Tooling
Grpc.Toolsrelease.