Skip to content

dotnet: Add support for both LTS (8) and Latest (9) #5881

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

nelsontkq
Copy link
Contributor

@nelsontkq nelsontkq commented Jun 22, 2025

Summary

Dotnet

.NET 9 focuses on cloud-native performance, shipping with major runtime speed improvements, and a new feature switch model. Libraries add LINQ’s CountBy/AggregateBy, upgrades to System.Text.Json, and new cryptography APIs.

Full release notes can be found here.

This also adds support for both the LTS and Latest .net runtime and SDKs.

openra

Almost 2 years of updates!
Full release notes can be found here.

OpenTabletDriver

More supported tablets and fixes.

Release notes can be found here.

Security
.NET 8 minor version update:

.NET 9:

Test Plan

  • Rebuild downstream apps against dotnet-8-sdk and confirm they're working.
  • Need to test package variations
    • run test suite
    • dotnet-8 can run an 8 binary
    • dotnet-8 + dotnet-8-sdk -- can build 8 proj
    • dotnet can run a 9 binary
    • dotnet + dotnet-sdk can build dotnet 9 proj
    • dotnet-8 + dotnet -- can run dotnet 8 and 9 programs
    • dotnet, dotnet-8, dotnet-8-sdk, dotnet-sdk -- can build dotnet 8 and 9 projs

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

Resolves #5748

@github-project-automation github-project-automation bot moved this to Triage in Solus Jun 22, 2025
@nelsontkq nelsontkq force-pushed the dotnet-lts-and-latest branch from 6f27a6a to d0e6980 Compare June 22, 2025 06:20
@malfisya malfisya added the Topic: Sync Notes This PR/Issue can be highlighted in sync notes label Jun 22, 2025
@nelsontkq nelsontkq changed the title dotnet: Add support for LTS (8) + Latest (9) dotnet: Add support for both LTS (8) and Latest (9) Jun 22, 2025
@nelsontkq nelsontkq force-pushed the dotnet-lts-and-latest branch 4 times, most recently from 279a240 to 747ebc1 Compare June 25, 2025 05:22
**Summary**

Security fixes and some performance increases.

**Security**
Includes fixes for:
- CVE-2025-30399 | .NET Remote Code Execution Vulnerability
- CVE-2025-26646 | .NET and Visual Studio Spoofing Vulnerability
- CVE-2025-26682 | .NET Denial of Service Vulnerability
- CVE-2025-24070 | .NET Elevation of Privilege Vulnerability
- CVE-2025-21172 | .NET Remote Code Execution Vulnerability
- CVE-2025-21176 | .NET Elevation of Priviledge Vulnerability
- CVE-2025-21173 | .NET Denial of Service Vulnerability
**Summary**

Each major version may require re-bootstrapping if more bootstrap packages were
added. This should only ever occur in RC branches
@nelsontkq nelsontkq force-pushed the dotnet-lts-and-latest branch from 747ebc1 to db9804a Compare June 25, 2025 06:30
@nelsontkq nelsontkq marked this pull request as ready for review June 25, 2025 06:30
@nelsontkq nelsontkq force-pushed the dotnet-lts-and-latest branch 3 times, most recently from 48d3cb7 to 8d596bc Compare June 25, 2025 06:39
@malfisya
Copy link
Member

@nelsontkq our tooling currently cannot handle landing the same package twice to the build server from the same PR (IIUC). @silkeh suggested to split this PR to two part. I think one part for the update and another part for the dogfooding+rebuild.

@silkeh
Copy link
Member

silkeh commented Jun 25, 2025

Updating a script I had to make it support building this PR was a lot easier than expected, so I don't think the split in two PRs is needed.

This does need to wait for two PRs: #5902 updates the CI so it validates this PR correctly, and #5903 adds a script that allows us to build the PR.

EbonJaeger added a commit that referenced this pull request Jun 25, 2025
**Summary**

Update the `PackageBumped` check to check each commit individually, and
check the untracked/modified files separately.

Resolves #5900

**Test Plan**

Ran locally against #5881. It now finds:

```
WRN packages/d/dotnet/package.yml:1: Package release is not incremented by 1 (ref: dc4f4a2)
```

Previously, it found:

```
WRN packages/d/dotnet-8/package.yml:1: Package release is not 1
ERR packages/d/dotnet-8/pspec_x86_64.xml:1: Package release is not 1
WRN packages/d/dotnet/package.yml:1: Package release is not incremented by 1
ERR packages/d/dotnet/pspec_x86_64.xml:1: Package release is not incremented by 1
```

**Checklist**

- [x] ~~Package was built and tested against unstable~~
- [ ] This change could gainfully be listed in the weekly sync notes
once merged <!-- Write an appropriate message in the Summary section,
then add the "Topic: Sync Notes" label -->
**Summary**

.NET 9 focuses on cloud-native performance, shipping with major runtime speed improvements, and a new feature switch model. Libraries add LINQ’s CountBy/AggregateBy, upgrades to System.Text.Json, and new cryptography APIs.

Full release notes can be found [here](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/overview).

**Security**
Includes fixes for:
- CVE-2024-43498 | .NET Remote Code Execution Vulnerability
- CVE-2024-43499 | .NET Denial of Service Vulnerability
- CVE-2025-21171 | .NET Remote Code Execution Vulnerability
- CVE-2025-21172 | .NET Remote Code Execution Vulnerability
- CVE-2025-21173 | .NET Elevation of Privilege Vulnerability
- CVE-2025-21176 | .NET Remote Code Execution Vulnerability
- CVE-2025-24070 | .NET Elevation of Privilege Vulnerability
- CVE-2025-26646 | .NET and Visual Studio Spoofing Vulnerability
- CVE-2025-26682 | .NET Denial of Service Vulnerability
- CVE-2025-30399 | .NET Remote Code Execution Vulnerability
** Summary **

Rebuilding with the dotnet-8 sdk to confirm that using the new cli works
as intended.
**Summary**

Almost 2 years of updates!
Full release notes can be found [here](https://www.openra.net/news/).
**Summary**

More supported tablets and fixes.

Release notes can be found [here](https://github.com/OpenTabletDriver/OpenTabletDriver/releases).
@nelsontkq nelsontkq force-pushed the dotnet-lts-and-latest branch from 8d596bc to 2183a6b Compare June 25, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Sync Notes This PR/Issue can be highlighted in sync notes
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

dotnet 9
3 participants