Skip to content

Releases: swhitty/SwiftDraw

0.27.0 WOFF/WOFF 2 support

23 Feb 08:40
7764560

Choose a tag to compare

What's Changed

Full Changelog: 0.26.0...0.27.0

0.26.0

26 Jan 05:45
9b15cec

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.25.3...0.26.0

0.25.3 MacCatalyst Fix

30 Nov 05:12
17d55c1

Choose a tag to compare

What's Changed

Full Changelog: 0.25.1...0.25.3

0.25.1 SVGView.resizable()

07 Sep 22:10
f97bd06

Choose a tag to compare

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()

07 Sep 22:05
f97bd06

Choose a tag to compare

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

29 Aug 23:04
dbb4ef9

Choose a tag to compare

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

29 Aug 23:07
a535740

Choose a tag to compare

0.23.0

07 Aug 20:39
a535740

Choose a tag to compare

Updates the alignment of SFSymbols and left/right guides to precisely align to the supplied insets. When --insets auto the left/ight guides are closer to official SFSymbols:

default

When --insets 10 20 10 20 are supplied, the left/right guides are now precisely aligned to these insets:

insets

Pass the --legacy option to use the original, less precise alignment logic from earlier SwiftDraw versions.

What's Changed

New Contributors

Full Changelog: 0.22.0...0.23.0

0.22.0 SwiftDOM / Swift 5.9

29 May 02:19
a195947

Choose a tag to compare

Drop support for Swift 5.8.

Moves all DOM files to new SwiftDOM module. All types are exposed with package access control so nothing can actually be used publicly.

What's Changed

  • Moving DOM files to SwiftDOM Module by @swhitty in #80
  • fix: visionos in podspec by @EyreFree in #81
  • SwiftDOM is now published to cocoapods

0.21.0 Swift 6 Language Mode

16 Apr 12:12
2a36e6c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.20.1...0.21.0