Repository navigation
Drop .NET 8 and test on .NET 11 - #55
Merged
Merged
Conversation
.NET 8 reached end of support in November 2026, so the libraries now target net10.0 only. 0.10.0 is the last release that targets .NET 8; 0.11.0 drops it. Package validation is told the drop is intentional until the baseline moves past 0.10.0, and trimming analysis no longer needs to be limited to the net10.0 build. A new CI job runs the net10.0 tests on the .NET 11 runtime, which is what consumers on .NET 11 run. The docs now say .NET 10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.NET 8 reached end of support in November 2026, so the libraries (
EncDotNet.Iso8211,EncDotNet.S57,EncDotNet.Noaa) now targetnet10.0only. 0.10.0 is the last release that targets .NET 8; this lands in 0.11.0.net8.0;net10.0override and usenet10.0from the rootDirectory.Build.props.PackageValidationBaselineFrameworkToIgnoremarks the drop as intentional (otherwise PKV006). Remove it once the baseline is 0.11.0 or later.IsTrimmableno longer needs to be limited to the net10.0 build.test-net11job builds with the .NET 10 SDK, then runs the tests on the .NET 11 runtime (DOTNET_ROLL_FORWARD=LatestMajor, prereleases allowed). That's what consumers on .NET 11 run. Dropdotnet-quality: previewonce .NET 11 is released.docs/versioning.mdnow say .NET 10. The versioning page also records the policy of dropping a .NET version when its support ends.No
net11.0target yet: it only helps once the libraries use a .NET 11-only API, and adding a target framework later isn't a breaking change.Standards alignment
iso8211)s57-enc)chart-viewer)Standard section references cited in code or docs: None.
Tests
tests/dotnet test --configuration Releasepasses locallyNot run locally: nuget.org was unreachable from the build machine. Restoring from the local package cache was enough to pack
EncDotNet.Iso8211andEncDotNet.S57, which passed package validation against 0.8.1 with the framework ignore in place (and failed with PKV006 without it).EncDotNet.Noaa, the viewer and the unit tests need packages that weren't cached, so CI is the first full run, including the newtest-net11job.Documentation
src/<project>/README.mddocs/if user-facing behavior changeddocfx docfx.json --warningsAsErrorspasses, if docs changedDependencies
Directory.Packages.props(not in the.csproj)gh-advisory-databasesecurity check run for any new dependencyBreaking changes
Dropping the net8.0 target from
EncDotNet.Iso8211,EncDotNet.S57andEncDotNet.Noaa: consumers on .NET 8 must stay on 0.10.0 or move to .NET 10. No API changes.EncDotNet.S100is unaffected if it already targets .NET 10.