Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump protocolbuffers/[email protected] to netstandard2.0 #1592

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

saquibmian
Copy link
Contributor

.NET 9 SDK raises a (suppressable) build warning about this, largely to encourage developers to upgrade. This should not be an issue for consumers, as the more important consideration is the hosting application's target framework.

More importantly, using netstandard1.1 results in a vulnerable version of System.Net.Http being pulled in (4.3.0) via Google.Protobuf's netstandard1.1 deps. Upgrading to netstandard2.0 resolves this.

grpc/csharp is already using netstandard2.0. No other C# plugins exist.

.NET 9 SDK raises a (suppressable) build warning about this, largely to
encourage developers to upgrade. This should not be an issue for
consumers, as the more important consideration is the hosting application's
target framework.

More importantly, using `netstandard1.1` results in a vulnerable version
of `System.Net.Http` being pulled in (`4.3.0`) via `Google.Protobuf`'s
`netstandard1.1` deps. Upgrading to `netstandard2.0` resolves this.

`grpc/csharp` is already using `netstandard2.0`. No other C# plugins
exist.
Copy link
Member

@stefanvanburen stefanvanburen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me - would be good to get a confirm from @pkwarren though

@saquibmian saquibmian merged commit b6688fa into main Nov 15, 2024
5 checks passed
@saquibmian saquibmian deleted the smian/bump-csharp-plugins-to-netstandard2.0 branch November 15, 2024 20:05
smaye81 pushed a commit that referenced this pull request Nov 26, 2024
.NET 9 SDK
[raises](https://learn.microsoft.com/en-ca/dotnet/core/compatibility/sdk/9.0/netstandard-warning)
a (suppressable) build warning about this, largely to encourage
developers to upgrade. This should not be an issue for consumers, as the
more important consideration is the hosting application's target
framework.

More importantly, using `netstandard1.1` results in a vulnerable version
of `System.Net.Http` being pulled in (`4.3.0`) via `Google.Protobuf`'s
`netstandard1.1` deps. Upgrading to `netstandard2.0` resolves this.

`grpc/csharp` is already using `netstandard2.0`. No other C# plugins
exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants