Skip to content

build: prepare the C and C++ focused 0.15.0 release - #396

Merged
jcwal1516 merged 3 commits into
mainfrom
release/c-api-0.15.0
Dec 3, 2026
Merged

jcwal1516 merged 3 commits into
mainfrom
release/c-api-0.15.0

Conversation

@jcwal1516

@jcwal1516 jcwal1516 commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

What and why

Prepare 0.15.0 from public main and the component-grid C/C++ changes in #393 and #394. C and C++ users get the sequence and full-image APIs, static linking, optional Metal decoding, and the new sampled-image behavior. The configurable lossless encode allocation cap needed by craft-libs is already included.

Bump the workspace and exact internal dependency pins, refresh the lockfiles, and review the candidate against the published v0.14.0 API. The upgrade notes identify the two native Rust options structs with new public fields and the new cases in the implementation-level JPEG fast-packet enum. The transcode API review shows no ordinary or rustdoc-hidden changes in any of the three transcode crates.

Impact

  • Advances the release version and records the upgrade paths for consumers.
  • C ABI 1 and the C++17 wrappers are retained. Release packages target Linux x86-64 and arm64, macOS Apple silicon, and Windows x86-64.
  • The CPU versioned package keeps the documented source-build option for Metal on macOS.

Testing

  • Generated and checked the ordinary and hidden API inventories, reviewed the diff, and ran semver against v0.14.0.
  • The package gate passed, including packaged CPU, CUDA, Metal, and MPSGraph consumers. Both release-integrity modes passed, and the amended compatibility ledger passed its targeted tests.
  • Compiled the accelerator imports used by wsi-dicom and the legacy batch profile-row API against the 0.15.0 candidate.
  • The 0.15.0 macOS archive passed its relocated C11/C++17 consumer and static-link tests. A separately compiled C++17 consumer matched OpenJPEG for full images, cropped regions and row streams, including odd image origins.
  • The freeze checks passed, including generated codec math, release integrity in publish mode, final format-support verification and the package gate.
  • The Unreleased notes include C and C++ changes and upgrade guidance.

The final release uses hosted full validation and a full CUDA and Metal run on the merged candidate. The tag starts the publishing workflow.

Bump the workspace and every exact internal dependency pin to 0.15.0, refresh the workspace and fuzz locks, and move the semver baseline to the published v0.14.0 tag.

The new API review records the three source-compatibility breaks already in public main: DecodeSettings::partial_codestream and EncodeOptions::max_host_allocation_bytes break native struct literals, and the exhaustive rustdoc-hidden JpegFastPacketState adds MalformedEntropy and NeedsRecovery. It also records the additive partial-codestream, JPEG scan-end, JPEG-LS, DICOM RLE, shared-sampling, allocation-cap, and Metal session APIs in this scoped release tree. The published 0.14 records and Unreleased notes stay intact.
@jcwal1516
jcwal1516 marked this pull request as ready for review December 3, 2026 15:34
Base automatically changed from feat/c-component-grid to main December 3, 2026 16:57
@jcwal1516
jcwal1516 merged commit 0fc969a into main Dec 3, 2026
33 of 36 checks passed
@jcwal1516
jcwal1516 deleted the release/c-api-0.15.0 branch December 3, 2026 18:12
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