Skip to content

Dependency upgrade - #159

Merged
stesee merged 22 commits into
releasefrom
main
Oct 11, 2025
Merged

Dependency upgrade#159
stesee merged 22 commits into
releasefrom
main

Conversation

@stesee

@stesee stesee commented Oct 10, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

dependabot Bot and others added 22 commits September 8, 2025 13:05
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v9...v10)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: '10'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4 to 5.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…ctions/setup-dotnet-5

Bump actions/setup-dotnet from 4 to 5
…ctions/stale-10

Bump actions/stale from 9 to 10
---
updated-dependencies:
- dependency-name: System.Configuration.ConfigurationManager
  dependency-version: 9.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…erToolsExamples/MarkupSimplifierApp/System.Configuration.ConfigurationManager-9.0.9

Bump System.Configuration.ConfigurationManager from 9.0.8 to 9.0.9
---
updated-dependencies:
- dependency-name: SkiaSharp
  dependency-version: 3.119.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…erTools/SkiaSharp-3.119.1

Bump SkiaSharp from 3.119.0 to 3.119.1
---
updated-dependencies:
- dependency-name: SkiaSharp.NativeAssets.Linux.NoDependencies
  dependency-version: 3.119.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: SkiaSharp.NativeAssets.Linux.NoDependencies
  dependency-version: 3.119.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…erTools.Tests/multi-f854ee44b5

Bump SkiaSharp.NativeAssets.Linux.NoDependencies from 3.119.0 to 3.119.1
---
updated-dependencies:
- dependency-name: SkiaSharp.NativeAssets.Linux.NoDependencies
  dependency-version: 3.119.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…erTools.Tests/SkiaSharp.NativeAssets.Linux.NoDependencies-3.119.1

Bump SkiaSharp.NativeAssets.Linux.NoDependencies from 3.119.0 to 3.119.1
Upgraded several NuGet package versions in both OpenXmlPowerTools and test projects for improved compatibility and analyzer support. Added new PNG diff expectation files for various test cases to the TestFiles directory.
Migrated font metric logic from SixLabors.Fonts to SkiaSharp across the codebase for improved cross-platform compatibility. Added a new FontStyle enum, updated font family and style handling, and removed the SixLabors.Fonts dependency from the project file.
Upgraded DocumentFormat.OpenXml package to version 3.3.0. Updated PowerToolsBlockExtensionsTests to reflect new SDK behavior, where changes made through PowerTools are immediately visible to strongly-typed classes.
The GitHub Actions workflow for dotnet will no longer run on pull request events, only on push events. This simplifies workflow execution and may reduce unnecessary CI runs.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Upgraded dependencies
Droped ImageSharp.Fonts dependency
Copilot AI review requested due to automatic review settings October 10, 2025 22:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades various dependencies in the OpenXML PowerTools project and migrates from SixLabors.Fonts to SkiaSharp for font handling. The changes modernize the project's dependencies to their latest versions and introduce a new custom FontStyle enum to replace the SixLabors.Fonts dependency.

  • Upgraded multiple NuGet packages including DocumentFormat.OpenXml, SkiaSharp, and test framework dependencies
  • Replaced SixLabors.Fonts with SkiaSharp for font operations throughout the codebase
  • Updated GitHub Actions workflow versions and removed pull request trigger from CI

Reviewed Changes

Copilot reviewed 12 out of 99 changed files in this pull request and generated no comments.

Show a summary per file
File Description
MarkupSimplifierApp.csproj Minor version bump for System.Configuration.ConfigurationManager
OpenXmlPowerTools.csproj Major dependency upgrades including DocumentFormat.OpenXml and SkiaSharp versions
PtOpenXmlUtil.cs Migrated font handling from SixLabors.Fonts to SkiaSharp APIs
WmlToHtmlConverter.cs Updated font family enumeration and font style handling for SkiaSharp
MetricsGetter.cs Replaced SixLabors font measurement with SkiaSharp text measurement
HtmlToWmlConverterCore.cs Updated font family detection to use SkiaSharp font manager
FontStyle.cs New custom FontStyle enum to replace SixLabors.Fonts dependency
PowerToolsBlockExtensionsTests.cs Updated test expectations for OpenXML SDK 3.3.0 behavior changes
OpenXmlPowerTools.Tests.csproj Upgraded test framework and related package versions
WmlToHtmlConverterTests.cs Minor comment correction
stale.yml Updated GitHub Actions stale action version
dotnet.yml Updated setup-dotnet action version and removed pull request trigger

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@stesee
stesee merged commit 99f1e23 into release Oct 11, 2025
7 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants