Skip to content

Releases: swhitty/SwiftDraw

0.29.0 Template / AsyncSVGView

Choose a tag to compare

@swhitty swhitty released this 19 Jul 10:28
82699f4

What's Changed

Full Changelog: 0.28.1...0.29.0

0.28.1 Fix support for em/ex units

Choose a tag to compare

@swhitty swhitty released this 15 Jul 23:54
45458cb

What's Changed

  • GitHub Actions build Swift 6.3 / Xcode 26.6 by @swhitty in #129
  • support em/ex units in root SVG size by @swhitty in #131

Full Changelog: 0.28.0...0.28.1

0.28.0 Auto Generate SF Symbol Variants

Choose a tag to compare

@swhitty swhitty released this 03 Jul 21:40
c30af35

What's Changed

  • Fix CSS @media query parsing error in style elements by @rursache in #119
  • Improve test coverage for CommandLine config and SVGCache by @rursache in #122
  • Add regression test for SVG length unit conversion by @rursache in #121
  • Support patternContentUnits=objectBoundingBox for pattern fills by @rursache in #120
  • Normalize SF Symbol variant paths for interpolation compatibility by @rursache in #123
  • Support clip-path in SF Symbol output by @rursache in #124
  • Fix gradient coordinate percentage parsing by @KuroiDOC in #127
  • Resolve percent dimensions against --size and improve error by @rursache in #126
  • Auto-generate SF Symbol weight variants from stroke-width scaling by @rursache in #125

New Contributors

Full Changelog: 0.27.0...0.28.0

0.27.0 WOFF/WOFF 2 support

Choose a tag to compare

@swhitty swhitty released this 23 Feb 08:40
7764560

What's Changed

Full Changelog: 0.26.0...0.27.0

0.26.0

Choose a tag to compare

@swhitty swhitty released this 26 Jan 05:45
9b15cec

What's Changed

New Contributors

Full Changelog: 0.25.3...0.26.0

0.25.3 MacCatalyst Fix

Choose a tag to compare

@swhitty swhitty released this 30 Nov 05:12
17d55c1

What's Changed

Full Changelog: 0.25.1...0.25.3

0.25.1 SVGView.resizable()

Choose a tag to compare

@swhitty swhitty released this 07 Sep 22:10
f97bd06

Introduces a breaking change SVGView.resizable() #102

Previously (a bug) by default SVGView expanded to fill its container. Now the behaviour aligns with that of Image — by default it renders to its intrinsic content size (size of SVG)

// Renders at intrinsic SVG size
SVGView("circle.svg")

Mark the view as resizable() to expand and fill available space:

// Fills available space, preserving aspect
SVGView("circle.svg")
    .resizable()

Swift 6.0+ compiler is now required

What's Changed

Full Changelog: 0.24.0...0.25.0

0.25.0 SVGView.resizable()

Choose a tag to compare

@swhitty swhitty released this 07 Sep 22:05
f97bd06

Introduces a breaking change SVGView.resizable() #102

Previously (a bug) by default SVGView expanded to fill its container. Now the behaviour aligns with that of Image — by default it renders to its intrinsic content size (size of SVG)

// Renders at intrinsic SVG size
SVGView("circle.svg")

Mark the view as resizable() to expand and fill available space:

// Fills available space, preserving aspect
SVGView("circle.svg")
    .resizable()

Swift 6.0+ compiler is now required

What's Changed

Full Changelog: 0.24.0...0.25.0

0.24.0 Small, Medium & Large Symbol Sizes

Choose a tag to compare

@swhitty swhitty released this 29 Aug 23:04
dbb4ef9

What's Changed

  • support small, medium and large SFSymbols by @swhitty in #92
  • Support CSS declarations with multiple selectors by @swhitty in #95
  • Resolve clipPaths via stylesheet by @swhitty in #96
  • convert Mask to GraphicsElement by @swhitty in #98

Full Changelog: 0.23.1...0.24.0

0.23.1

Choose a tag to compare

@swhitty swhitty released this 29 Aug 23:07
a535740