Skip to content

Update xunit.analyzers and group SkiaSharp dependency updates - #250

Merged
stesee merged 16 commits into
releasefrom
main
Nov 1, 2026
Merged

stesee merged 16 commits into
releasefrom
main

Conversation

@stesee

@stesee stesee commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

dependabot Bot and others added 16 commits September 14, 2026 13:04
---
updated-dependencies:
- dependency-name: xunit.analyzers
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Bump xunit.analyzers from 2.0.0 to 2.1.0
SkiaSharp and SkiaSharp.NativeAssets.Linux.NoDependencies must have the same version. Dependabot opened one PR per package (#241, #242), and each failed the Linux build until the other was merged.

Codeuctivity.SkiaSharpCompare joins the group, and a 3 day cooldown on SkiaSharp gives it time to publish a release built against the new SkiaSharp.
Group SkiaSharp Dependabot updates into one PR
Bumps SkiaSharp from 4.152.0 to 4.153.1
Bumps SkiaSharp.NativeAssets.Linux.NoDependencies from 4.152.0 to 4.153.1

---
updated-dependencies:
- dependency-name: SkiaSharp
  dependency-version: 4.153.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: skiasharp
- dependency-name: SkiaSharp.NativeAssets.Linux.NoDependencies
  dependency-version: 4.153.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: skiasharp
...

Signed-off-by: dependabot[bot] <support@github.com>
…erTools/skiasharp-09e6e903c2

Bump the skiasharp group with 2 updates
Bumps Codeuctivity.SkiaSharpCompare from 4.0.331 to 4.0.342

---
updated-dependencies:
- dependency-name: Codeuctivity.SkiaSharpCompare
  dependency-version: 4.0.342
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: skiasharp
...

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

Bump the skiasharp group with 1 update
---
updated-dependencies:
- dependency-name: xunit.analyzers
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…ream

Fix UnicodeMapper's trimming of some whitespace that should be preserved
…erTools.Tests/xunit.analyzers-2.2.0

Bump xunit.analyzers from 2.1.0 to 2.2.0
Drop the direct xunit.analyzers reference: xunit.v3 already brings it in
transitively with a matching minimum version, so the explicit pin only
caused NU1605 downgrade errors when the two drifted. Bump xunit.v3 to
4.0.2 and add a Dependabot group so all xunit* packages update together.
Fix xunit.analyzers downgrade and group xunit Dependabot updates
Copilot AI balanced review requested due to automatic review settings November 1, 2026 05:43

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.

🟡 Changes recommended

NBSP replacements can corrupt text because splitting uses unnormalized runs, and the Dependabot cooldown can allow incompatible Compare-only updates.

2 open issues
What changed in this PR

This PR updates dependencies and Dependabot configuration, and adjusts UnicodeMapper to preserve non-breaking spaces and other Unicode whitespace when processing Word documents.

Changes:

  • Group SkiaSharp-related updates and add a selective three-day cooldown.
  • Refresh library, example, and test dependencies; remove the explicit xunit.analyzers reference.
  • Restrict boundary trimming to XML whitespace and add regression tests and fixture documentation.
File Description
TestFiles/​UM-Whitespace.md Documents whitespace fixtures, Word observations, and reproduction steps.
TestFiles/​UM-Whitespace-Unicode-test.xml Adds 43 Unicode and XML whitespace cases.
OpenXmlPowerToolsExamples/​MarkupSimplifierApp/​MarkupSimplifierApp.csproj Updates ConfigurationManager.
OpenXmlPowerTools/​UnicodeMapper.cs Preserves Unicode whitespace while trimming XML whitespace.
OpenXmlPowerTools/​OpenXmlPowerTools.csproj Updates SkiaSharp packages and the C# analyzer.
OpenXmlPowerTools.Tests/​UnicodeMapperTests.cs Adds NBSP round-trip coverage and strengthens fixture validation.
OpenXmlPowerTools.Tests/​OpenXmlRegexTests.cs Tests replacements spanning runs containing NBSPs.
OpenXmlPowerTools.Tests/​OpenXmlPowerTools.Tests.csproj Updates test dependencies and removes the explicit analyzer reference.
.github/​dependabot.yml Groups SkiaSharp-related packages and adds a selective cooldown.

Review effort: Balanced

Comment thread .github/dependabot.yml
Comment on lines +43 to +45
include:
- "SkiaSharp"
- "SkiaSharp.*"
ReadOnlySpan<char> span = preserve
? text.AsSpan()
: text.AsSpan().Trim();
: text.AsSpan().Trim(" \t\r\n");
@stesee
stesee merged commit 3d04b79 into release Nov 1, 2026
16 of 18 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 1, 2026
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.

3 participants