Skip to content

2.2.1

Latest

Choose a tag to compare

@github-actions github-actions released this 07 May 03:01
· 40 commits to main since this release
2.2.1
e31b73d

What's Changed

Bug Fixes

  • Radial gradient href resolution - Fixed <radialGradient> elements that referenced another gradient via href or xlink:href reading color stops from their own empty child list, producing invisible gradients. The resolver now follows the reference chain, merges inherited attributes, supports both SVG2 plain href and legacy xlink:href, and detects circular references with a clear error instead of StackOverflowError. (#341, #317)
  • Forward <use> references and gradient inheritance - Fixed ClassCastException: XmlPendingParentElement cannot be cast to XmlChildNode when converting SVGs whose <use> elements forward-reference an element defined later in the document. Also stops the playground preview from crashing on gradients with unresolved xlink:href chains 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 generated package declaration 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 exclude regex configured failing with No output produced for <file>.svg. The exclude filter is now applied consistently on both incremental and non-incremental paths. (#337)
  • AppDefaults without common block - Fixed MissingValueException at task execution when configurations did not declare a common { } block. The merge now always runs and applies AppDefaults to any property not explicitly set. (#338)

Full Changelog: 2.2.0...2.2.1