1.0.1 - Swift 6.0 Package Resolution Fix
Bug Fixes
π Swift 6.0 Package Resolution (#12)
Fixed package resolution failures for Swift 6.0 users caused by incorrect dependency version constraints.
Changes:
- β
Removed non-existent
pointfree-htmldependency (was requiring v0.1.0 which doesn't exist) - β
Fixed
swift-logging-extrasversion:0.1.1β0.0.1(correct published version) - β Mirrored Swift 6.1 three-target architecture (HtmlToPdfTypes, HtmlToPdfLive, HtmlToPdf)
- β
Added
swift-htmlas standard dependency for Swift 6.0 (traits unavailable in 6.0) - β
Used
.define("HTML")compiler flag to enable HTML-guarded code without traits
π§ CI/CD Improvements
Enhanced continuous integration to catch similar issues in the future:
- β
Added dedicated macOS job to explicitly test
Package@swift-6.0.swift - β
Added
swift package resolvestep to Linux job (fails fast on version mismatches) - β Improved job naming to clarify Swift version/manifest being tested
- β Separate cache keys for Swift 6.0 and 6.1 builds
Verification
The package now builds and tests successfully with both manifests:
- Package.swift (Swift 6.1+ with optional HTML trait support)
- Package@swift-6.0.swift (Swift 6.0 with HTML always enabled)
Thanks
Special thanks to @YasserB94 for reporting this issue!
Full Changelog: 1.0.0...1.0.1