v0.5.0 — Styled ASS/SSA + time utilities
KadrCaptions v0.5.0. Pure additive — Kadr floor stays at 0.9.2.
Highlights
Caption.shifted(by:)/Caption.scaled(by:)— pure value-type transforms for syncing cues to a re-encoded / sped-up video.[Caption]array sugar mirrors both.CaptionParser.parseStyledASS(_:)/parseStyledSSA(_:)+Caption.loadStyled(ass:)/loadStyled(ssa:)— round-trip the most-load-bearing ASS / SSA styling: foreground color (\1c&HBBGGRR&/\c&HBBGGRR&), bold / italic / underline flags, and alignment (\an<N>numpad + legacy\a<N>SSA bitmask) into[StyledCaption]. ASS alpha flipped on import.StyledCaption.color: String?— new optional#RRGGBB/#RRGGBBAAhex field (defaultnil); thetoTextOverlay(...)bridge applies it toKadr.TextStyle.colorvia the newStyledCaption.platformColor(forHex:)helper.
Compatibility
KadrCaptions 0.5.0 requires Kadr ≥ 0.9.2 (unchanged from v0.1).
41 new tests across the cycle. Cycle considered feature-complete pending kadr v1.0.
See CHANGELOG for the full entry.