Releases
2.0.0
Compare
Sorry, something went wrong.
No results found
wiedem
released this
20 Mar 18:13
What's New in 2.0.0
🔧 Breaking Changes
Minimum Swift version raised to 6.0
Minimum platform versions raised to macOS 13, iOS 16, tvOS 16, watchOS 9
Added visionOS 1 support
CaseLabeled protocol now requires CaseLabel to conform to Hashable and Sendable (previously Equatable)
Replaced ~= operator for value-to-value comparison with ~~ operator and hasSameLabel(as:) method
✨ Improvements
Added ~~ operator and hasSameLabel(as:) method for case label comparison
Access level of generated CaseLabel and caseLabel now mirrors the enum's explicit modifier (public, package) instead of always using public
Added support for #if/#else conditional compilation blocks
Added preservation of @available attributes on generated case labels
Macro now emits a warning when applied to enums without associated values
You can’t perform that action at this time.