Skip to content

Conversation

swhitty
Copy link
Contributor

@swhitty swhitty commented Sep 7, 2025

Created with brew bump-formula-pr.

release notes
Introduces a breaking change `SVGView.resizable()` https://github.com/swhitty/SwiftDraw/issues/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: swhitty/SwiftDraw@0.24.0...0.25.0

View the full release notes at https://github.com/swhitty/SwiftDraw/releases/tag/0.25.1.


@github-actions github-actions bot added swift Swift use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Sep 7, 2025
@chenrui333 chenrui333 mentioned this pull request Sep 7, 2025
Copy link
Contributor

github-actions bot commented Sep 7, 2025

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Sep 7, 2025
@BrewTestBot BrewTestBot added this pull request to the merge queue Sep 7, 2025
Merged via the queue into Homebrew:main with commit c6807d4 Sep 7, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. swift Swift use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants