Releases: pointfreeco/swift-case-paths
Releases · pointfreeco/swift-case-paths
1.6.1
1.6.0
What's Changed
- Added:
CasePathsCore
module, to allow projects to depend on case path functionality without requiring a dependency on the macro and SwiftSyntax (#212). - Added: Introduce
is
function overload for optionalCasePathable
values (thanks @HarshilShah, #204). - Fixed: Android support (thanks @johankool, #210; #211
- Infrastructure: Update Macro Compatibility Check (thanks @Matejkob, #205).
- Infrastructure: Clean up dynamic member lookup key path sendability (#209).
New Contributors
- @HarshilShah made their first contribution in #204
- @johankool made their first contribution in #210
Full Changelog: 1.5.6...1.6.0
1.5.6
What's Changed
- Fixed: Xcode 16 library evolution support (thanks @gemmakbarlow, #199).
- Fixed: Address Package.swift deprecation warning (thanks @finestructure, #191).
- Infrastructure: Add Swift Macro Compatibility Check GitHub Action (thanks @Matejkob, #197).
- Infrastructure: Bump dependencies to avoid CI build issues with Xcode 16 (thanks @gemmakbarlow, #198).
- Infrastructure: SwiftWasm CI (#200).
New Contributors
- @gemmakbarlow made their first contribution in #198
- @finestructure made their first contribution in #191
Full Changelog: 1.5.5...1.5.6
1.5.5
1.5.4
1.5.3
What's Changed
- Added: Swift Testing beta support (#178).
- Fixed:
@CasePathable
can be applied to enums containing associated values namedElement
(thanks @iwt-dahlborn, #185).
New Contributors
- @iwt-dahlborn made their first contribution in #185
Full Changelog: 1.5.2...1.5.3
1.5.2
What's Changed
- Fixed:
@CasePathable
enums with associated values ofElement
no longer conflict with macro-generated case path iteration (#183). - Fixed: More warnings related to
@CasePathable
enums containing empty/uninhabited enums have been silenced (#184).
Full Changelog: 1.5.1...1.5.2
1.5.1
What's Changed
- Fixed: Suppress warning generated by
@CasePathable
enums that have cases with aNever
associated type (#179). - Fixed: Temporarily work around a Swift bug in Xcode 16 related to forming case key paths in Swift 6 language mode (#181).
Full Changelog: 1.5.0...1.5.1
1.5.0
What's Changed
- Added:
CasePathIterable
andCasePathReflectable
protocols for abstracting over all of a type's case paths, as well as an enum's given case path (#173). - Changed: Bumped to Swift 6 Language Mode support, dropping support for <5.9 (#168; #172; #174).
- Fixed: Update Package.swift for SwiftSyntax 601-prerelease via new swiftlang organization (#175; thanks @NachoSoto, #177).
- Infrastructure: Make
Optional
/Result
more consistent with macro-generated code (#166). - Infrastructure: Added
.editorconfig
for consistent code formatting (thanks @Matejkob, #176).
New Contributors
- @Matejkob made their first contribution in #176
- @NachoSoto made their first contribution in #177
Full Changelog: 1.4.2...1.5.0
1.4.2
What's Changed
- Fixed: Address a
@CasePathable
regression that produced warnings when@CasePathable
was applied to enums with no cases (#162 ; thanks @jpsim, #164). - Fixed: Address a
@CasePathable
regression that broke the macro when applied to enums with comments on cases without associated values (thanks @twocentstudios, #163). - Fixed: Support swift-syntax from 600.0.0-latest (#165).
New Contributors
- @twocentstudios made their first contribution in #163
- @jpsim made their first contribution in #164
Full Changelog: 1.4.1...1.4.2