Update to latest refs and target frameworks#463
Merged
JimBobSquarePants merged 1 commit intomainfrom Sep 10, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
Updates the project to modernize its target frameworks and improve build infrastructure. The changes upgrade from .NET 6/7 to .NET 8/9, bump the library version to 3.0, and enhance the CI/CD workflow with improved LFS caching and broader Ubuntu package support.
- Upgrades target frameworks from .NET 6.0/7.0 to .NET 8.0/9.0 across all projects
- Updates version from 2.0 to 3.0 and removes obsolete package references
- Improves CI workflow with enhanced LFS caching and comprehensive Ubuntu dependency installation
Reviewed Changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/SixLabors.Fonts.Tests/SixLabors.Fonts.Tests.csproj | Updates target frameworks to net8.0/net9.0 |
| tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks.csproj | Updates target frameworks to net8.0/net9.0 |
| src/UnicodeTrieGenerator/UnicodeTrieGenerator.csproj | Updates target frameworks and adds IsTrimmable property |
| src/UnicodeTrieGenerator/Generator.cs | Modernizes code with collection expressions and fixes assembly location usage |
| src/UnicodeTrieGenerator/Generator.UniversalShapingEngine.cs | Modernizes code with collection expressions and compiler directives |
| src/UnicodeTrieGenerator/Generator.IndicShapingEngine.cs | Modernizes code with collection expressions and compiler directives |
| src/SixLabors.Fonts/TextLayout.cs | Modernizes code with collection expressions and improved return types |
| src/SixLabors.Fonts/Tables/Cff/CffOperand.cs | Adds culture-specific formatting for debug output |
| src/SixLabors.Fonts/Tables/Cff/CffDataDicEntry.cs | Modernizes string building and debug output formatting |
| src/SixLabors.Fonts/Tables/AdvancedTypographic/Shapers/UniversalShaper.cs | Improves type specificity in method parameters |
| src/SixLabors.Fonts/Tables/AdvancedTypographic/Shapers/IndicShaper.cs | Improves type specificity and adds const modifier |
| src/SixLabors.Fonts/StreamFontMetrics.TrueType.cs | Improves return type specificity |
| src/SixLabors.Fonts/StreamFontMetrics.Cff.cs | Improves return type specificity |
| src/SixLabors.Fonts/SixLabors.Fonts.csproj | Updates target frameworks, version, and removes obsolete dependencies |
| src/SixLabors.Fonts/IO/ZlibInflateStream.cs | Modernizes exception throwing and code comments |
| src/SixLabors.Fonts/FontCollection.cs | Modernizes code with collection expressions and improved return types |
| src/SixLabors.Fonts/BigEndianBinaryReader.cs | Adds missing exception documentation |
| samples/ListFonts/ListFonts.csproj | Updates target frameworks to net8.0/net9.0 |
| samples/DrawWithImageSharp/DrawWithImageSharp.csproj | Updates target frameworks to net8.0/net9.0 |
| .github/workflows/build-and-test.yml | Improves LFS caching and Ubuntu package installation |
| .gitattributes | Adds additional file types for LFS tracking |
| .editorconfig | Enforces collection expressions and object initializers |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This was referenced Sep 10, 2025
Closed
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.
Prerequisites
Description
@stefannikolei
I opened this before I remembered you had already done #459 and #460
Apologies but I'll close your two in favor of this single one as it saves me LFS charges.