What's Changed
Bug Fixes
- Radial gradient
hrefresolution - Fixed<radialGradient>elements that referenced another gradient viahreforxlink:hrefreading color stops from their own empty child list, producing invisible gradients. The resolver now follows the reference chain, merges inherited attributes, supports both SVG2 plainhrefand legacyxlink:href, and detects circular references with a clear error instead ofStackOverflowError. (#341, #317) - Forward
<use>references and gradient inheritance - FixedClassCastException: XmlPendingParentElement cannot be cast to XmlChildNodewhen converting SVGs whose<use>elements forward-reference an element defined later in the document. Also stops the playground preview from crashing on gradients with unresolvedxlink:hrefchains and surfaces the actual error class and cause chain in the UI. (#339, #311) - Package sanitization - Fixed folders containing characters illegal in Kotlin identifiers (e.g.
radial-focal-tests) leaking into the generatedpackagedeclaration unchanged, producing files that failed to compile. Non-identifier characters are now replaced with_, and segments starting with a digit are prefixed with_. (#343) - Incremental exclude filter - Fixed incremental builds with an
excluderegex configured failing withNo output produced for <file>.svg. The exclude filter is now applied consistently on both incremental and non-incremental paths. (#337) - AppDefaults without
commonblock - FixedMissingValueExceptionat task execution when configurations did not declare acommon { }block. The merge now always runs and appliesAppDefaultsto any property not explicitly set. (#338)
Full Changelog: 2.2.0...2.2.1