Repository navigation
0.4.0-preview.1
Pre-release
Pre-release
- Adds tintable icons.
AssetRendering(.original,.template) andAssetReference(key:width:height:rendering:), defaulting to.original, so existing references and generated code compile unchanged.AssetReferenceCodable reads values withoutrenderingas original and omits it when original. - Decodes the optional signed
renderingfield on slots and variant cells. Null, non-string, or values not matching^[a-z][a-z0-9-]{0,31}$reject the manifest; a well-formed unknown value is kept. - A reference's rendering must equal the selected descriptor's (absent means original). Like a size mismatch, a mismatched or unknown descriptor is skipped without reading the cache or downloading, on the latest and on retained releases, so the result is matching older cached artwork or the bundled image. Other placements are unaffected.
- For a
.templatereference,AssetImageStore.image(for:fallback:)andartwork(for:…)apply.renderingMode(.template)to both remote and bundled images. - The catalog generator accepts
"rendering": "original" | "template"and emitsrendering: .templateonly for template placements; other catalogs generate byte-identical output. Any other value is an error. - Vendors the shared corpus with 15 new signed rendering manifests and 10 rendering resolution cases.
Validation: on October 9, 2026, swift test passed 57 tests across 6 suites on macOS (56 passed, the optional hosted test skipped), including all 115 signed manifest cases and the 10 rendering resolution cases, with no download on any mismatch. Template rendering of remote and bundled images was checked with ImageRenderer. All 5 code-generation tests and swift build -c release passed. No iOS simulator or device run is claimed.