Skip to content

Sync VERSIONS.txt with harfbuzz 14.2.1 - #4214

Merged
mattleibow merged 1 commit into
mainfrom
mattleibow-silver-happiness
Jun 22, 2026
Merged

mattleibow merged 1 commit into
mainfrom
mattleibow-silver-happiness

Conversation

@mattleibow

@mattleibow mattleibow commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The harfbuzz 14.2.1 bump (#4167) advanced the externals/skia submodule and cgmanifest.json to 14.2.1, but left scripts/VERSIONS.txt at 14.2.0. As a result the native soname, the HarfBuzzSharp DLL FileVersion, and the published NuGet versions were all out of sync with the bundled binary.

This is not cosmetic: the soname/file lines feed the native build, so Linux produced libHarfBuzzSharp.so.0.61420.0 and the DLL reported FileVersion 14.2.0 for a 14.2.1 binary.

Changes

scripts/VERSIONS.txt — bring all harfbuzz entries to 14.2.1 (matching DEPS + cgmanifest.json):

Entry Before After
harfbuzz release 14.2.0 14.2.1
HarfBuzz soname 0.61420.0 0.61421.0
HarfBuzzSharp file 14.2.0 14.2.1
HarfBuzzSharp + 9 × HarfBuzzSharp.NativeAssets.* nuget 14.2.0 14.2.1

soname per the in-file formula 0.<60000 + major*100 + minor*10 + micro>.0 → 60000 + 1400 + 20 + 1 = 61421.

Follow-up

The root cause — the native-dependency-update skill never listed scripts/VERSIONS.txt as a step — is fixed separately in #4215, so this PR stays a clean data-only change.

@github-actions

github-actions Bot commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

📦 Try the packages from this PR

Warning

Do not run these scripts without first reviewing the code in this PR.

Step 1 — Download the packages

bash / macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 4214

PowerShell / Windows:

iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4214"

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-4214/packages --name skiasharp-pr-4214
More options
Option Description
--successful-only / -SuccessfulOnly Only use successful builds
--force / -Force Overwrite previously downloaded packages
--list / -List List available artifacts without downloading
--build-id ID / -BuildId ID Download from a specific build

Or download manually from Azure Pipelines — look for the nuget artifact on the build for this PR.

Remove the source when you're done:

dotnet nuget remove source skiasharp-pr-4214

The harfbuzz 14.2.1 bump (#4167) advanced the externals/skia submodule and
cgmanifest.json but left scripts/VERSIONS.txt at 14.2.0, so the native soname,
HarfBuzzSharp DLL FileVersion, and NuGet versions drifted out of sync with the
binary. Update the release, soname (0.61421.0), file, and all nuget lines to
14.2.1 to match cgmanifest.json and DEPS.

Co-authored-by: Copilot <[email protected]>
@mattleibow
mattleibow force-pushed the mattleibow-silver-happiness branch from 397ed8a to c6e840c Compare June 22, 2026 22:49
@mattleibow
mattleibow merged commit 66c5858 into main Jun 22, 2026
3 of 4 checks passed
@mattleibow
mattleibow deleted the mattleibow-silver-happiness branch June 22, 2026 22:51
mattleibow added a commit that referenced this pull request Jun 22, 2026
Add VERSIONS.txt step to the native-dependency-update skill (#4215)

Context: #4214

The harfbuzz 14.2.1 bump (#4167) updated cgmanifest.json and the externals/skia
submodule but left scripts/VERSIONS.txt stale at 14.2.0, because the skill never
listed VERSIONS.txt as a step. The prior bump (#4035, 8.3.1 -> 14.2.0) did update
it; this makes that an explicit, documented step so it can't be missed again.

  * Phase 3: add the VERSIONS.txt step with a harfbuzz lines + soname-formula table.
  * Add it to the Pre-Flight checklist, the Phase 5 completion checklist, and the
    NEVER table.
  * Scope it to independently-versioned deps (only harfbuzz); the statically-linked
    deps (libpng, zlib, expat, libwebp, freetype, libjpeg-turbo) have no VERSIONS.txt
    entry and are explicitly excluded.

Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

The documentation for this PR has been deployed and is available at:

🔗 View Staging Site
🔗 View Staging Docs
🔗 View Staging Gallery (Blazor)
🔗 View Staging Gallery (Uno Platform)
🔗 View Staging SkiaFiddle

This preview will be updated automatically when you push new commits to this PR.


This comment is automatically updated by the documentation staging workflow.

@mattleibow mattleibow added this to the 4.150.0-preview.2 milestone Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant