Skip to content

Move HarfBuzzSharp into the M151 revision bucket - #4832

Merged
mattleibow merged 3 commits into
release/4.151.xfrom
mattleibow-harfbuzz-m151-revision-bucket
Aug 20, 2026
Merged

mattleibow merged 3 commits into
release/4.151.xfrom
mattleibow-harfbuzz-m151-revision-bucket

Conversation

@mattleibow

@mattleibow mattleibow commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Description of Change

Moves the HarfBuzzSharp file and NuGet versions to 14.2.1.103, placing M151 in the second 100-revision bucket relative to M150, which first adopted native HarfBuzz 14.2.1. Adds an inline policy comment explaining that every native X.Y.Z starts at N=0 in its adopting milestone, later milestones on the same native version add 100, and a native upgrade on main establishes a new base while older release lines retain their older X.Y.*.

Bugs Fixed

None.

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

Testing

No build or test suite was run because this is a packaging metadata-only change. git diff --check passed, the obsolete global M150 formula is absent, and every HarfBuzz version entry was inspected.

PR Checklist

  • Tests are not required for this packaging metadata-only change (see Testing)
  • Based on release/4.151.x at the time of the PR
  • No related skia PR is required
  • Changes adhere to coding standard
  • Updated the inline version-policy comment; no release-guide change is included on this servicing branch

@github-actions

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 -- 4832

PowerShell / Windows:

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

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-4832/packages --name skiasharp-pr-4832
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-4832

@mattleibow
mattleibow merged commit c848d68 into release/4.151.x Aug 20, 2026
18 of 23 checks passed
@mattleibow
mattleibow deleted the mattleibow-harfbuzz-m151-revision-bucket branch August 20, 2026 22:38
mattleibow added a commit that referenced this pull request Aug 20, 2026
[release] Reserve HarfBuzzSharp versions by Skia milestone (#4833)

Context: #4832

M150, M151, and M152 all use native HarfBuzz 14.2.1, but branch-local release
increments previously reused the same fourth version component. Reserve 100
HarfBuzzSharp revisions per Skia milestone, relative to the milestone that
first adopts each native X.Y.Z, so parallel release lines cannot request the
same package version.

Because M150 adopted 14.2.1, move main and M152 to the 200-299 bucket by setting
the HarfBuzzSharp file version and ten package entries to 14.2.1.200. Keep the
native release, soname, assembly version, and SkiaSharp versions unchanged.

Document that a native HarfBuzz upgrade occurs on main, resets the revision to
zero, and makes the adopting milestone the new base; older release lines remain
on their existing native version. Record X.Y.Z as the normalized N=0 form.
Teach the dependency-update workflow the same rule and cover high bucket
increments plus the M151 transition in the release script tests. All 25
release-script tests pass.

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

Copy link
Copy Markdown
Contributor

📦 Artifact size report

Packages from this PR (build 1561462) vs the latest nightly baseline 4.152.0-nightly.17 (observed 2026-08-20).

Total .nupkg size: 569.8 MB → 534.5 MB (−35.3 MB, -6.2%)

Packages

⚠️ marks growth over 500.0 KB or 2%. Changes under 50.0 KB are treated as noise.

Package baseline this PR Δ Δ%
SkiaSharp.NativeAssets.Win32 85.7 MB 77.5 MB 🟢 −8.3 MB -9.6%
SkiaSharp.NativeAssets.WebAssembly 69.7 MB 64.0 MB 🟢 −5.6 MB -8.1%
SkiaSharp.NativeAssets.Linux.NoDependencies 63.0 MB 57.6 MB 🟢 −5.4 MB -8.6%
SkiaSharp.NativeAssets.Linux 63.1 MB 57.7 MB 🟢 −5.4 MB -8.6%
SkiaSharp.NativeAssets.NanoServer 24.5 MB 21.7 MB 🟢 −2.8 MB -11.5%
SkiaSharp.NativeAssets.WinUI 109.1 MB 107.1 MB 🟢 −2.0 MB -1.8%
SkiaSharp.NativeAssets.Android 18.1 MB 16.7 MB 🟢 −1.4 MB -8.0%
SkiaSharp.NativeAssets.tvOS 13.7 MB 12.5 MB 🟢 −1.2 MB -8.4%
SkiaSharp.NativeAssets.iOS 13.7 MB 12.5 MB 🟢 −1.2 MB -8.4%
SkiaSharp.NativeAssets.macOS 7.9 MB 7.3 MB 🟢 −652.1 KB -8.0%
SkiaSharp.NativeAssets.MacCatalyst 6.6 MB 6.1 MB 🟢 −570.3 KB -8.4%
SkiaSharp 9.1 MB 8.6 MB 🟢 −527.6 KB -5.7%
HarfBuzzSharp.NativeAssets.Win32 20.7 MB 20.5 MB 🟢 −239.1 KB -1.1%

+27 package(s) unchanged (< 50.0 KB).

Per-file changes

HarfBuzzSharp.NativeAssets.Win32

File Size
runtimes/win-x86/native/libHarfBuzzSharp.pdb 22.2 MB → 21.9 MB (🟢 −272.0 KB)
runtimes/win-x64/native/libHarfBuzzSharp.pdb 22.0 MB → 21.8 MB (🟢 −240.0 KB)
runtimes/win-arm64/native/libHarfBuzzSharp.pdb 22.3 MB → 22.3 MB (🟢 −8.0 KB)

SkiaSharp

File Size
ref/net48/SkiaSharp.dll 470.0 KB → 380.5 KB (🟢 −89.5 KB)
ref/net462/SkiaSharp.dll 470.0 KB → 385.0 KB (🟢 −85.0 KB)
lib/net462/SkiaSharp.dll 862.0 KB → 809.0 KB (🟢 −53.0 KB)
lib/net48/SkiaSharp.dll 862.0 KB → 809.0 KB (🟢 −53.0 KB)
ref/netstandard2.0/SkiaSharp.dll 303.5 KB → 253.5 KB (🟢 −50.0 KB)
ref/netstandard2.1/SkiaSharp.dll 301.0 KB → 251.0 KB (🟢 −50.0 KB)
ref/net6.0/SkiaSharp.dll 296.0 KB → 246.5 KB (🟢 −49.5 KB)
lib/net10.0-macos26.0/SkiaSharp.dll 536.5 KB → 503.5 KB (🟢 −33.0 KB)
lib/net10.0-tizen10.0/SkiaSharp.dll 554.0 KB → 521.0 KB (🟢 −33.0 KB)
lib/net10.0/SkiaSharp.dll 538.0 KB → 505.0 KB (🟢 −33.0 KB)
lib/net9.0-ios18.0/SkiaSharp.dll 536.5 KB → 503.5 KB (🟢 −33.0 KB)
lib/net9.0-macos15.0/SkiaSharp.dll 536.5 KB → 503.5 KB (🟢 −33.0 KB)
lib/net9.0-tizen8.0/SkiaSharp.dll 554.0 KB → 521.0 KB (🟢 −33.0 KB)
lib/net9.0-tvos18.0/SkiaSharp.dll 536.5 KB → 503.5 KB (🟢 −33.0 KB)
lib/net9.0/SkiaSharp.dll 538.0 KB → 505.0 KB (🟢 −33.0 KB)
lib/net10.0-android36.0/SkiaSharp.dll 534.0 KB → 501.5 KB (🟢 −32.5 KB)
lib/net10.0-ios26.0/SkiaSharp.dll 536.5 KB → 504.0 KB (🟢 −32.5 KB)
lib/net10.0-maccatalyst26.0/SkiaSharp.dll 536.5 KB → 504.0 KB (🟢 −32.5 KB)
lib/net10.0-tvos26.0/SkiaSharp.dll 536.5 KB → 504.0 KB (🟢 −32.5 KB)
lib/net10.0-windows10.0.19041/SkiaSharp.dll 539.0 KB → 506.5 KB (🟢 −32.5 KB)
lib/net6.0-tizen8.0/SkiaSharp.dll 527.0 KB → 494.5 KB (🟢 −32.5 KB)
lib/net6.0/SkiaSharp.dll 510.0 KB → 477.5 KB (🟢 −32.5 KB)
lib/net9.0-android35.0/SkiaSharp.dll 534.0 KB → 501.5 KB (🟢 −32.5 KB)
lib/net9.0-maccatalyst18.0/SkiaSharp.dll 536.5 KB → 504.0 KB (🟢 −32.5 KB)
lib/net9.0-windows10.0.19041/SkiaSharp.dll 539.0 KB → 506.5 KB (🟢 −32.5 KB)
+43 more file(s)

SkiaSharp.NativeAssets.Android

File Size
🧬 android-x86 (runtimes/android-x86/native/libSkiaSharp.so) 11.8 MB → 10.9 MB (🟢 −980.4 KB)
🧬 android-x64 (runtimes/android-x64/native/libSkiaSharp.so) 10.6 MB → 9.7 MB (🟢 −831.6 KB)
🧬 android-arm64 (runtimes/android-arm64/native/libSkiaSharp.so) 9.8 MB → 9.0 MB (🟢 −814.2 KB)
🧬 android-arm (runtimes/android-arm/native/libSkiaSharp.so) 6.6 MB → 6.0 MB (🟢 −570.2 KB)

SkiaSharp.NativeAssets.Linux

File Size
🧬 linux-x86 (runtimes/linux-x86/native/libSkiaSharp.so) 13.3 MB → 12.1 MB (🟢 −1.2 MB)
🧬 linux-bionic-arm64 (runtimes/linux-bionic-arm64/native/libSkiaSharp.so) 12.5 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-arm64 (runtimes/linux-arm64/native/libSkiaSharp.so) 12.2 MB → 11.1 MB (🟢 −1.1 MB)
🧬 linux-musl-arm64 (runtimes/linux-musl-arm64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-riscv64 (runtimes/linux-riscv64/native/libSkiaSharp.so) 11.2 MB → 10.1 MB (🟢 −1.1 MB)
🧬 linux-musl-riscv64 (runtimes/linux-musl-riscv64/native/libSkiaSharp.so) 11.3 MB → 10.3 MB (🟢 −1.1 MB)
🧬 linux-x64 (runtimes/linux-x64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-musl-x64 (runtimes/linux-musl-x64/native/libSkiaSharp.so) 12.4 MB → 11.4 MB (🟢 −1.1 MB)
🧬 linux-bionic-x64 (runtimes/linux-bionic-x64/native/libSkiaSharp.so) 12.3 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-loongarch64 (runtimes/linux-loongarch64/native/libSkiaSharp.so) 11.7 MB → 10.6 MB (🟢 −1.1 MB)
🧬 linux-musl-loongarch64 (runtimes/linux-musl-loongarch64/native/libSkiaSharp.so) 12.0 MB → 10.9 MB (🟢 −1.1 MB)
🧬 linux-arm (runtimes/linux-arm/native/libSkiaSharp.so) 8.8 MB → 7.9 MB (🟢 −857.8 KB)
🧬 linux-musl-arm (runtimes/linux-musl-arm/native/libSkiaSharp.so) 8.8 MB → 8.0 MB (🟢 −856.1 KB)

SkiaSharp.NativeAssets.Linux.NoDependencies

File Size
🧬 linux-x86 (runtimes/linux-x86/native/libSkiaSharp.so) 13.3 MB → 12.1 MB (🟢 −1.2 MB)
🧬 linux-bionic-arm64 (runtimes/linux-bionic-arm64/native/libSkiaSharp.so) 12.5 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-arm64 (runtimes/linux-arm64/native/libSkiaSharp.so) 12.2 MB → 11.1 MB (🟢 −1.1 MB)
🧬 linux-musl-arm64 (runtimes/linux-musl-arm64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-riscv64 (runtimes/linux-riscv64/native/libSkiaSharp.so) 11.1 MB → 10.1 MB (🟢 −1.1 MB)
🧬 linux-musl-riscv64 (runtimes/linux-musl-riscv64/native/libSkiaSharp.so) 11.3 MB → 10.2 MB (🟢 −1.1 MB)
🧬 linux-x64 (runtimes/linux-x64/native/libSkiaSharp.so) 12.3 MB → 11.2 MB (🟢 −1.1 MB)
🧬 linux-musl-x64 (runtimes/linux-musl-x64/native/libSkiaSharp.so) 12.4 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-bionic-x64 (runtimes/linux-bionic-x64/native/libSkiaSharp.so) 12.3 MB → 11.3 MB (🟢 −1.1 MB)
🧬 linux-loongarch64 (runtimes/linux-loongarch64/native/libSkiaSharp.so) 11.6 MB → 10.6 MB (🟢 −1.1 MB)
🧬 linux-musl-loongarch64 (runtimes/linux-musl-loongarch64/native/libSkiaSharp.so) 12.0 MB → 10.9 MB (🟢 −1.1 MB)
🧬 linux-arm (runtimes/linux-arm/native/libSkiaSharp.so) 8.7 MB → 7.9 MB (🟢 −857.8 KB)
🧬 linux-musl-arm (runtimes/linux-musl-arm/native/libSkiaSharp.so) 8.8 MB → 7.9 MB (🟢 −856.1 KB)

SkiaSharp.NativeAssets.MacCatalyst

File Size
🧬 maccatalyst (framework) (runtimes/maccatalyst/native/libSkiaSharp.framework.zip) 6.6 MB → 6.0 MB (🟢 −570.1 KB)

SkiaSharp.NativeAssets.NanoServer

File Size
runtimes/win-x64/native/libSkiaSharp.pdb 77.1 MB → 68.7 MB (🟢 −8.4 MB)
🧬 win-x64 (runtimes/win-x64/native/libSkiaSharp.dll) 10.8 MB → 9.6 MB (🟢 −1.3 MB)

SkiaSharp.NativeAssets.WebAssembly

File Size
🧬 wasm 5.0.6/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/st,simd/libSkiaSharp.a) 18.2 MB → 15.9 MB (🟢 −2.3 MB)
🧬 wasm 5.0.6/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/st/libSkiaSharp.a) 18.0 MB → 15.6 MB (🟢 −2.3 MB)
🧬 wasm 3.1.56/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/st/libSkiaSharp.a) 17.8 MB → 15.5 MB (🟢 −2.3 MB)
🧬 wasm 3.1.56/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/st,simd/libSkiaSharp.a) 18.1 MB → 15.7 MB (🟢 −2.3 MB)
🧬 wasm 5.0.6/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/mt,simd/libSkiaSharp.a) 18.2 MB → 15.9 MB (🟢 −2.3 MB)
🧬 wasm 5.0.6/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/5.0.6/mt/libSkiaSharp.a) 17.9 MB → 15.6 MB (🟢 −2.3 MB)
🧬 wasm 3.1.56/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/mt/libSkiaSharp.a) 17.8 MB → 15.4 MB (🟢 −2.3 MB)
🧬 wasm 3.1.56/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.56/mt,simd/libSkiaSharp.a) 18.0 MB → 15.7 MB (🟢 −2.3 MB)
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu_cpp/include/webgpu/webgpu_cpp.h 274.7 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/include/webgpu/webgpu.h 148.3 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/library_webgpu.js 130.3 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/webgpu.cpp 75.5 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu_cpp/include/dawn/webgpu_cpp_print.h 70.1 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/library_webgpu_generated_struct_info.js 35.1 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/library_webgpu_enum_tables.js 28.5 KB → removed
🧬 wasm 3.1.34/st,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/st,simd/libSkiaSharp.a) 15.9 MB → 15.9 MB (🟢 −26.0 KB)
🧬 wasm 3.1.34/st · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/st/libSkiaSharp.a) 15.6 MB → 15.6 MB (🟢 −26.0 KB)
🧬 wasm 3.1.34/mt,simd · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/mt,simd/libSkiaSharp.a) 15.8 MB → 15.8 MB (🟢 −25.9 KB)
🧬 wasm 3.1.34/mt · libSkiaSharp.a (buildTransitive/netstandard1.0/libSkiaSharp.a/3.1.34/mt/libSkiaSharp.a) 15.6 MB → 15.5 MB (🟢 −25.9 KB)
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/webgpu-externs.js 20.2 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/src/library_webgpu_generated_sig_info.js 12.5 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/emdawnwebgpu.port.py 9.3 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu_cpp/include/webgpu/webgpu_enum_class_bitmasks.h 5.9 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/README.md 5.2 KB → removed
buildTransitive/netstandard1.0/emdawnwebgpu_pkg/webgpu/include/webgpu/webgpu_glfw.h 3.3 KB → removed
+5 more file(s)

SkiaSharp.NativeAssets.Win32

File Size
runtimes/win-x86/native/libSkiaSharp.pdb 97.1 MB → 87.5 MB (🟢 −9.5 MB)
runtimes/win-x64/native/libSkiaSharp.pdb 94.3 MB → 84.9 MB (🟢 −9.4 MB)
runtimes/win-arm64/native/libSkiaSharp.pdb 91.2 MB → 82.0 MB (🟢 −9.2 MB)
🧬 win-x64 (runtimes/win-x64/native/libSkiaSharp.dll) 12.8 MB → 11.7 MB (🟢 −1.1 MB)
🧬 win-arm64 (runtimes/win-arm64/native/libSkiaSharp.dll) 11.0 MB → 10.0 MB (🟢 −968.5 KB)
🧬 win-x86 (runtimes/win-x86/native/libSkiaSharp.dll) 11.1 MB → 10.2 MB (🟢 −915.5 KB)

SkiaSharp.NativeAssets.WinUI

File Size
runtimes/win-x86/native/libGLESv2.pdb 67.2 MB → 67.0 MB (🟢 −224.0 KB)
runtimes/win-x64/native/libGLESv2.pdb 66.6 MB → 66.4 MB (🟢 −208.0 KB)
runtimes/win-arm64/native/libGLESv2.pdb 64.5 MB → 64.3 MB (🟢 −192.0 KB)
runtimes/win-x64/native/libEGL.pdb 6.4 MB → 6.3 MB (🟢 −32.0 KB)
runtimes/win-x86/native/libEGL.pdb 6.5 MB → 6.5 MB (🟢 −16.0 KB)
runtimes/win-arm64/native/SkiaSharp.Views.WinUI.Native.pdb 67.7 MB → 67.7 MB (🟢 −8.0 KB)
runtimes/win-x64/native/SkiaSharp.Views.WinUI.Native.pdb 68.0 MB → 68.0 MB (🟢 −8.0 KB)
🧬 win-x64 (runtimes/win-x64/native/libGLESv2.dll) 4.9 MB → 4.9 MB (🔴 +2.0 KB)
🧬 win-arm64 (runtimes/win-arm64/native/libGLESv2.dll) 4.4 MB → 4.4 MB (🔴 +1.0 KB)

SkiaSharp.NativeAssets.iOS

File Size
🧬 ios (framework) (runtimes/ios/native/libSkiaSharp.framework/libSkiaSharp) 14.2 MB → 12.9 MB (🟢 −1.2 MB)
🧬 iossimulator (framework) (runtimes/iossimulator/native/libSkiaSharp.framework/libSkiaSharp) 14.1 MB → 12.9 MB (🟢 −1.2 MB)

SkiaSharp.NativeAssets.macOS

File Size
🧬 osx (runtimes/osx/native/libSkiaSharp.dylib) 16.5 MB → 15.1 MB (🟢 −1.3 MB)

SkiaSharp.NativeAssets.tvOS

File Size
🧬 tvos (framework) (runtimes/tvos/native/libSkiaSharp.framework/libSkiaSharp) 14.2 MB → 12.9 MB (🟢 −1.2 MB)
🧬 tvossimulator (framework) (runtimes/tvossimulator/native/libSkiaSharp.framework/libSkiaSharp) 14.1 MB → 12.9 MB (🟢 −1.2 MB)

Informational only — this never blocks the PR. Native binaries are labelled by os/arch.

@github-actions github-actions Bot added this to the 4.151.2 milestone Sep 18, 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.

2 participants