v4.0.2-beta.2
Pre-release
Pre-release
·
425 commits
to main
since this release
Fixed
- Crash on macOS 26 (Tahoe) when using beautify —
BeautifyRendererwas marked@MainActorwhich caused all rendering code insideNSImagedrawing handler closures to violate actor isolation under macOS 26's stricter concurrency enforcement. Removed class-level@MainActor, now only applied to the SwiftUIImageRenderermethods that actually require it. - Crash with negative style index —
BeautifyConfig.styleused Swift's sign-preserving%operator, causing array out-of-bounds whenstyleIndexwas-1(custom background image). Fixed modulo to always produce a valid index.