Releases: pointfreeco/swift-case-paths
Releases · pointfreeco/swift-case-paths
1.7.1
1.7.0
What's Changed
- Added:
Optional.modify
, an overload to prevent optional-chaining from swallowing errors (#216). - Fixed: Bump swift-syntax support to include 6.1 (thanks @shimastripe, #220).
- Infrastructure: Update Android CI (thanks @johankool, #217).
New Contributors
- @shimastripe made their first contribution in #220
Full Changelog: 1.6.1...1.7.0
1.6.1
What's Changed
- Fixed: Fully qualify all types introduced by macro to avoid issues with local types with the same name (#213).
- Fixed: Allow
embed
andextract
cases to be@CasePathable
(#215).
Full Changelog: 1.6.0...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