Skip to content

Commit

Permalink
Add note about CL.arguments to the changelog (apple#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
natecook1000 authored Dec 20, 2023
1 parent a3d53a7 commit 40d2342
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ Add new items at the end of the relevant section under **Unreleased**.

*Migration:* Users that aren't ready to resolve sendability warnings can add the
`@preconcurrency` attribute to `import ArgumentParser` statements.

As part of this update, changes to the `CommandLine.arguments` array before a command's
`main` or `parse...` methods are called are no longer observed. Instead of making
changes to `CommandLine.arguments`, pass an updated array of arguments to the command's
method.

- To support migration to `Sendable` annotation, the minimum Swift version for
`swift-argument-parser` has been increased to Swift 5.7. Users of older Swift versions
Expand Down

0 comments on commit 40d2342

Please sign in to comment.