What's Changed
-
Fixed: Compatibility with Swift 6.1 (Xcode 16.3 beta) for
@Init(type:)
and@InitWrapper(type:)
macros (#47)- Previously, using type parameters like
@Init(type: String?.self)
would fail - Now correctly handles both Swift 5 style (without
.self
) and Swift 6.1 style (with.self
suffix) - Swift 6.1 enforces the requirement for
.self
suffix in metatype syntax (using bare types without.self
was previously deprecated)
- Previously, using type parameters like
-
Updated: CI configuration to test with Swift 6.0.2 on Linux to work around an issue with Swift 5.10 and 5.10.1 toolchains failing to build swift-issue-reporting when using the
swift-actions/setup-swift
build environment (see swift-issue-reporting/#150) -
Updated: Dependencies — Bumped swift-snapshot-testing to 1.18.1