Skip to content

Releases

2.0.2

Choose a tag to compare

@wiedem wiedem released this 25 Mar 16:25

✨ Improvements

  • Extended swift-syntax compatibility to include versions 601.x, 602.x, and 603.x

2.0.1

Choose a tag to compare

@wiedem wiedem released this 20 Mar 19:00

🐛 Bug Fixes

  • Fixed generated CaseLabel and caseLabel missing public/package access modifier when the enum is declared inside a public/package extension without an explicit access modifier on the enum itself
  • Fixed macro expansion tests silently passing due to XCTest/Swift Testing incompatibility

2.0.0

Choose a tag to compare

@wiedem 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

1.1.0

Choose a tag to compare

@wiedem wiedem released this 23 Sep 17:09

✨ Improvements

  • CaseLabel and caseLabel now always use public access level to prevent issues with private enums

1.0.1

Choose a tag to compare

@wiedem wiedem released this 23 Sep 01:22

🐛 Bug Fixes

  • Fixed CaseLabel and caseLabel not using public access control when the enum itself is declared as public

1.0.0

Choose a tag to compare

@wiedem wiedem released this 22 Sep 22:30

Initial release.