@@ -6,15 +6,46 @@ Add new items at the end of the relevant section under **Unreleased**.
6
6
7
7
## [ Unreleased]
8
8
9
+ * No new changes.*
10
+
11
+ ---
12
+
13
+ ## [ 1.3.0] - 2023-12-06
14
+
15
+ ### Changes
16
+
17
+ - The ` @Option ` , ` @Argument ` , ` @Flag ` , and ` @OptionGroup ` property wrappers now
18
+ conditionally conform to ` Sendable ` when the wrapper's ` Value ` type conforms. With this
19
+ change, you can mark ` ParsableCommand ` types as ` Sendable ` when you want to be able to
20
+ pass a parsed command across concurrent contexts. ([ #582 ] )
21
+
22
+ * Migration:* Users that aren't ready to resolve sendability warnings can add the
23
+ ` @preconcurrency ` attribute to ` import ArgumentParser ` statements.
24
+
25
+ - To support migration to ` Sendable ` annotation, the minimum Swift version for
26
+ ` swift-argument-parser ` has been increased to Swift 5.7. Users of older Swift versions
27
+ will be able to continue using version 1.2.3 of the library. ([ #582 ] )
28
+
9
29
### Additions
10
30
11
31
- Help screens now include possible options for ` ExpressibleByArgument ` types
12
32
with non empty ` allValueStrings ` . Types also conforming to ` CaseIterable ` do
13
33
not need to manually implement ` allValueStrings ` , instead it is derived from
14
34
` allCases ` . ([ #594 ] )
15
35
16
- <!-- Add: "Don't remove nested option group titles (#592)" -->
17
- <!-- Add: "Document ability to skip unknown parameters (#572)" -->
36
+ ### Fixes
37
+
38
+ - The titles for nested option groups are preserved when embedded into commands without
39
+ specifying a new title. ([ #592 ] )
40
+ - When wrapping help and error messages, the library now uses the ` COLUMNS ` environment
41
+ variable when set, instead of immediately falling back to 80 columns. ([ #596 ] )
42
+ - Bash completion scripts now respect the extensions given in a ` .file(...) ` completion
43
+ kind. ([ #590 ] )
44
+ - Bash completion scripts now properly escape command names that include hyphens. ([ #573 ] )
45
+ - Documentation improvements. ([ #572 ] , [ #565 ] , [ #602 ] )
46
+
47
+ The 1.2.3 release includes contributions from [ Alkenso] , [ compnerd] , [ gwynne] ,
48
+ [ kennyyork] , [ natecook1000] , [ rauhul] , [ robertmryan] , and [ vlm] . Thank you!
18
49
19
50
---
20
51
@@ -803,7 +834,8 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
803
834
804
835
<!-- Link references for releases -->
805
836
806
- [ Unreleased ] : https://github.com/apple/swift-argument-parser/compare/1.2.3...HEAD
837
+ [ Unreleased ] : https://github.com/apple/swift-argument-parser/compare/1.3.0...HEAD
838
+ [ 1.3.0 ] : https://github.com/apple/swift-argument-parser/compare/1.2.3...1.3.0
807
839
[ 1.2.3 ] : https://github.com/apple/swift-argument-parser/compare/1.2.2...1.2.3
808
840
[ 1.2.2 ] : https://github.com/apple/swift-argument-parser/compare/1.2.1...1.2.2
809
841
[ 1.2.1 ] : https://github.com/apple/swift-argument-parser/compare/1.2.0...1.2.1
@@ -897,16 +929,25 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
897
929
[ #550 ] : https://github.com/apple/swift-argument-parser/pull/550
898
930
[ #552 ] : https://github.com/apple/swift-argument-parser/pull/552
899
931
[ #554 ] : https://github.com/apple/swift-argument-parser/pull/554
932
+ [ #565 ] : https://github.com/apple/swift-argument-parser/pull/565
933
+ [ #572 ] : https://github.com/apple/swift-argument-parser/pull/572
934
+ [ #573 ] : https://github.com/apple/swift-argument-parser/pull/573
900
935
[ #574 ] : https://github.com/apple/swift-argument-parser/pull/574
901
936
[ #579 ] : https://github.com/apple/swift-argument-parser/pull/579
902
- [ #579 ] : https://github.com/apple/swift-argument-parser/pull/594
937
+ [ #582 ] : https://github.com/apple/swift-argument-parser/pull/582
938
+ [ #590 ] : https://github.com/apple/swift-argument-parser/pull/590
939
+ [ #592 ] : https://github.com/apple/swift-argument-parser/pull/592
940
+ [ #594 ] : https://github.com/apple/swift-argument-parser/pull/594
941
+ [ #596 ] : https://github.com/apple/swift-argument-parser/pull/596
942
+ [ #602 ] : https://github.com/apple/swift-argument-parser/pull/602
903
943
904
944
<!-- Link references for contributors -->
905
945
906
946
[ 3405691582 ] : https://github.com/apple/swift-argument-parser/commits?author=3405691582
907
947
[ adellibovi ] : https://github.com/apple/swift-argument-parser/commits?author=adellibovi
908
948
[ aleksey-mashanov ] : https://github.com/apple/swift-argument-parser/commits?author=aleksey-mashanov
909
949
[ AliSoftware ] : https://github.com/apple/swift-argument-parser/commits?author=AliSoftware
950
+ [ Alkenso ] : https://github.com/apple/swift-argument-parser/commits?author=Alkenso
910
951
[ allevato ] : https://github.com/apple/swift-argument-parser/commits?author=allevato
911
952
[ artemnovichkov ] : https://github.com/apple/swift-argument-parser/commits?author=artemnovichkov
912
953
[ atierian ] : https://github.com/apple/swift-argument-parser/commits?author=atierian
@@ -968,6 +1009,7 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
968
1009
[ rauhul ] : https://github.com/apple/swift-argument-parser/commits?author=rauhul
969
1010
[ rickrizzo ] : https://github.com/apple/swift-argument-parser/commits?author=rickrizzo
970
1011
[ rjstelling ] : https://github.com/apple/swift-argument-parser/commits?author=rjstelling
1012
+ [ robertmryan ] : https://github.com/apple/swift-argument-parser/commits?author=robertmryan
971
1013
[ Sajjon ] : https://github.com/apple/swift-argument-parser/commits?author=Sajjon
972
1014
[ schlagelk ] : https://github.com/apple/swift-argument-parser/commits?author=schlagelk
973
1015
[ SergeyPetrachkov ] : https://github.com/apple/swift-argument-parser/commits?author=SergeyPetrachkov
@@ -978,6 +1020,7 @@ This changelog's format is based on [Keep a Changelog](https://keepachangelog.co
978
1020
[ thomasvl ] : https://github.com/apple/swift-argument-parser/commits?author=thomasvl
979
1021
[ TiagoMaiaL ] : https://github.com/apple/swift-argument-parser/commits?author=TiagoMaiaL
980
1022
[ toddthomas ] : https://github.com/apple/swift-argument-parser/commits?author=toddthomas
1023
+ [ vlm ] : https://github.com/apple/swift-argument-parser/commits?author=vlm
981
1024
[ werm098 ] : https://github.com/apple/swift-argument-parser/commits?author=werm098
982
1025
[ Wevah ] : https://github.com/apple/swift-argument-parser/commits?author=Wevah
983
1026
[ Wildchild9 ] : https://github.com/apple/swift-argument-parser/commits?author=Wildchild9
0 commit comments