Skip to content

chore(deps): upgrade packages and split SixLabors by target framework - #9

Merged
albertwoo merged 2 commits into
mainfrom
chore/upgrade-packages
Oct 21, 2026
Merged

albertwoo merged 2 commits into
mainfrom
chore/upgrade-packages

Conversation

@albertwoo

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade NuGet dependencies: ACadSharp 3.8.0, Microsoft.NET.Test.Sdk 18.11.0, xunit.runner.visualstudio 4.0.1, and coverlet.collector 10.1.0.
  • Split SixLabors packages by target framework: net6.0 stays on ImageSharp 3.2.0 / Fonts 2.2.0 / Drawing 2.2.0; net8.0+ uses ImageSharp 4.1.3 / Fonts 3.2.0 / Drawing 3.1.3.
  • Add the Six Labors community license (sixlabors.lic) and wire it through Directory.Build.props.
  • Migrate rendering for ImageSharp 4 / Drawing 3 and ACadSharp 3.8, including MLINE cut preservation and text line-ending normalization.
  • Refresh affected PNG baselines and update the feature SVG golden for ACadSharp 3.8 hatch rounding.

Verification

  • dotnet build ACadSharp.Image.sln -c Release --no-restore -warnaserror — 0 warnings, 0 errors.
  • dotnet test ACadSharp.Image.sln -c Release --no-build — 462 passed, 0 failed.
  • dotnet list package --vulnerable — net8.0/net10.0 clean; net6.0 advisories are suppressed because ImageSharp 3.2.0 is the last net6-compatible line.

- Update ACadSharp to 3.8.0, test SDK to 18.11.0, xunit.runner.visualstudio to 4.0.1, and coverlet.collector to 10.1.0.
- Keep net6.0 on ImageSharp 3.2.0, Fonts 2.2.0, and Drawing 2.2.0; use ImageSharp 4.1.3, Fonts 3.2.0, and Drawing 3.1.3 on net8.0+.
- Add the Six Labors community license and wire it through Directory.Build.props.
- Migrate rendering for ImageSharp 4 / Drawing 3 and ACadSharp 3.8, preserving MLINE cuts and text line endings.
- Refresh PNG baselines and document the license.
ACadSharp's pattern-hatch intersections can land on either side of a two-decimal half-way value on Windows and Linux. Compare the feature SVG golden with a one-unit numeric tolerance while keeping the other SVG goldens exact.
@albertwoo
albertwoo merged commit 33c7d31 into main Oct 21, 2026
1 check passed
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.

1 participant