zcsizmadia opened a new pull request, #4009:
URL: https://github.com/apache/avro/pull/4009
## What is the purpose of the change
This pull request adds .NET 9.0 and .NET 10.0 support to the C# SDK and
drops the end-of-life .NET 6.0 and .NET 7.0 targets, fixing AVRO-4352.
.NET 6.0 and 7.0 are out of support, and the SDK did not build or test
against the current LTS release, .NET 10.0.
This change:
- Changes the executable and unit test target frameworks from
`net6.0;net7.0;net8.0` to `net8.0;net9.0;net10.0` (`common.props`).
- Keeps the class libraries on `netstandard2.0;netstandard2.1`, so library
consumers are not affected.
- Installs the 8.0, 9.0 and 10.0 SDKs in the C#, CodeQL and Java interop
workflows and in the build Docker image.
- Runs `perf` and `interop-data-generate` in `build.sh` on `net10.0`.
- Updates the README target framework table and the SDK prerequisite.
`avrogen` (Apache.Avro.Tools) keeps `RollForward=Major`, so it still runs on
newer runtimes. The tool package no longer contains net6.0 or net7.0 builds.
## Verifying this change
This change is already covered by existing tests, which now run on
net8.0, net9.0 and net10.0:
- `./build.sh test`: every test suite in `Avro.sln` passes on all three
target frameworks, with no build warnings.
- `./build.sh interop-data-generate` generates the interop data files on
net10.0, and `InteropDataTests` passes against them on all three target
frameworks.
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]