Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apple/swift-argument-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.8.0
Choose a base ref
...
head repository: apple/swift-argument-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.8.1
Choose a head ref
  • 4 commits
  • 9 files changed
  • 2 contributors

Commits on May 27, 2026

  1. Revert source break in 1.8.0 parse methods (#908)

    This removes the `async` overloads to `parse` and `parseAsRoot`
    that caused a source break in 1.8.0, and introduces new names
    that disambiguate the methods with `async` behavior. Instead of
    calling the existing methods with the `await` keyword, users can
    call `await asyncParse` or `await asyncParseAsRoot`.
    
    This change also adds a validation step to the synchronous parsing
    path to check if an async completions function is called.
    
    Users that have already updated their code to work around the
    source break will revert to the old methods with this change,
    which will yield a "No 'async' operations occur within 'await'
    expression" warning. They can remove the `await` keyword or update
    to call the async versions directly to fix the warning.
    natecook1000 authored May 27, 2026
    Configuration menu
    Copy the full SHA
    043bca1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bec021b View commit details
    Browse the repository at this point in the history
  3. Update PR 855 description in changelog. (#906)

    Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
    rgoldberg authored May 27, 2026
    Configuration menu
    Copy the full SHA
    d59e839 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca37474 View commit details
    Browse the repository at this point in the history
Loading