Skip to content

feat(juce): support JUCE 9 - #47

Merged
TobbenTM merged 1 commit into
mainfrom
porto-v1/juce-9-module-compatibility
Oct 19, 2026
Merged

TobbenTM merged 1 commit into
mainfrom
porto-v1/juce-9-module-compatibility

Conversation

@TobbenTM

Copy link
Copy Markdown
Member

JUCE 9.0.0 removed Drawable::createFromSVG(const XmlElement&), which the module used to build every activation UI icon, so the module no longer compiled on JUCE 9; a new compat::drawableFromSvg() shim uses createFromSVGString on JUCE 9 and the XML route on 6 to 8. Because JUCE 9 also switched SVG parsers, a new test paints every built-in icon and checks it comes out in the requested colour, so an icon the parser can't read fails CI instead of silently disappearing. The JUCE module workflow now runs the suite against 9.0.4 on Linux, macOS and Windows (installing libxi-dev, which JUCE 9 needs on Linux), and the docs list 9.x as supported. Tested locally: the JUCE suite passes 110/110 on JUCE 9.0.4 (macOS, and Linux/GCC in Docker), 8.0.4 and 6.1.3, and all 40 UI snapshot states render on 9.0.4 to within a few anti-aliased pixels of 8.0.4.

JUCE 9.0.0 removed Drawable::createFromSVG(const XmlElement&), which the
module used to build every activation UI icon, so the module failed to
compile on JUCE 9. A new compat::drawableFromSvg() shim uses
createFromSVGString on JUCE 9 and the XML route on 6 to 8.

JUCE 9 also parses SVG with a different parser, and an icon it can't
read would silently disappear from the UI. A new test paints every
built-in icon and checks it comes out in the requested colour, on
whichever JUCE the build uses.

The JUCE module workflow now runs the suite against 9.0.4 on Linux,
macOS and Windows, and installs libxi-dev, which JUCE 9 needs on Linux.
The docs list 9.x as supported.
@argos-ci

argos-ci Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Oct 19, 2026, 5:37 PM

@TobbenTM
TobbenTM merged commit 6229287 into main Oct 19, 2026
20 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 19, 2026
# [4.11.0](v4.10.1...v4.11.0) (2026-10-19)

### Features

* **juce:** support JUCE 9 ([#47](#47)) ([6229287](6229287))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 4.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant