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: swiftlang/swift-package-manager
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: swift-6.0.2-RELEASE
Choose a base ref
...
head repository: swiftlang/swift-package-manager
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: swift-6.0.3-RELEASE
Choose a head ref
  • 12 commits
  • 18 files changed
  • 7 contributors

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    5b6542d View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. [6.0][PackageModel] Toolchain: Split SwiftTesting flags between swift…

    … compiler and linker (#7907)
    
    - Explanation:
    
    Fixes a bug where keeping them together broke Symbol Graph Extract tool
    because it cannot handle `-Xlinker` flags.
    
    - Main Branch PR:
    #7903
    
    - Resolves: rdar://134406349
    
    - Risk: Low (This is technically an NFC since it only re-arranging how
    to the flags are propagated but doesn't change them).
    
    - Reviewed By: @MaxDesiatov 
    
    - Testing: New tests were added to the test suite.
    xedin authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    22b41d0 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. [6.0] Update package templates to use Swift Testing in the toolchain …

    …rather than as a package dependency. (#7910)
    
    **Explanation:** Changes package templates to use Swift Testing by
    default instead of XCTest and removes package dependencies on the
    swift-testing package.
    **Scope:** `swift package init`, `swift package add-target`
    **Issue:** [N/A](rdar://128272585)
    **Original PR:**
    #7872
    **Risk:** Moderate
    **Testing:** Original PR tested with toolchain builds.
    **Reviewer:** @bnbarham @briancroom @xedin
    grynspan authored Aug 24, 2024
    Configuration menu
    Copy the full SHA
    05db61b View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. Temporarily disable new Swift Testing tests

    `canImport(Testing)` currently fails on the full toolchain test jobs due
    to various issues when building for both x86 and arm64. Temporarily
    remove this check until we can fix the underlying problems there.
    bnbarham committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    d0ff2ff View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. [6.0][PackageModel] Inject swift-testing flags only if toolchain is t…

    …arget… (#7921)
    
    - Explanation:
    
    Fixes a bug where swift and linker flags for swift-testing were injected
    into `extraFlags` of a toolchain that was targeting WASM but used macOS
    to build.
    
    - Main Branch PR:
    #7920
    
    - Resolves:
    #7919
    - Resolves: rdar://134714404
    
    - Risk: Low (only affects cross-compilation to WASM).
    
    - Reviewed By: @bnbarham 
    
    - Testing: Manual testing since this is not currently possible to test
    automatically.
    xedin authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    c02b397 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. [6.0] Add 2024 Darwin OS versions to SupportedPlatforms (#7972)

    Cherry-pick of #7969.
    
    **Explanation**: New versions of Darwin OSes are not available as
    supported platforms in package manifest APIs.
    **Scope**: isolated to `SupportedPlatforms.swift` in
    `PackageDescription` public API.
    **Risk**: low, no existing code was changed, new constants were defined
    in the same way as they were defined for previous versions.
    **Testing**: manually verified new versions are available.
    **Issue**: rdar://136209148
    **Reviewer**: @plemarquand
    MaxDesiatov authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    d62e52d View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. [6.0] Remove @MainActor from XCTest glue. (#7988)

    **Explanation:** Remove `@MainActor` annotations from corelibs-xctest
    glue functions that are no longer needed.
    **Scope:** corelibs-xctest glue code
    **Issue:** [N/A](rdar://130066460)
    **Original PR:**
    #7967
    **Risk:** Unknown
    **Testing:** Existing CI jobs
    **Reviewer:** @bnbarham @briancroom @DougGregor @shahmishal
    grynspan authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    c449116 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    6e009cc View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Configuration menu
    Copy the full SHA
    064dec3 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. [PackageModel] UserToolchain: Add -F when building with CommandLineTools

    Properly handle swift-testing installations in CommandLineTools.
    
    Resolves rdar://136424541.
    bnbarham committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4fe1d63 View commit details
    Browse the repository at this point in the history
  2. Detect if XCTest is installed on Darwin (#7805)

    This PR checks if XCTest is available before invoking XCTest-based tests
    on Darwin. There are three possible outcomes:
    
    1. If XCTest is available, we will run XCTest-based tests (as we have
    historically.)
    2. If XCTest is not available and the user explicitly passed
    `--enable-xctest`, we will attempt to run XCTest-based tests, but in
    general this code path will continue to fail as `swift test` has
    historically done when XCTest is not available.
    3. If XCTest is not available and the user did not pass
    `--enable-xctest`, we skip running any XCTest logic.
    
    On Linux/Windows/etc., XCTest is always present via
    swift-corelibs-xctest and so this change has no practical effect there.
    On Darwin, XCTest may be missing if the user has installed the Xcode
    Command Line Tools, but not the full Xcode IDE. XCTest is not included
    with the Xcode Command Line Tools package.
    
    The purpose of this change is to allow running `swift test` when XCTest
    is unavailable but Swift Testing _is_ available.
    grynspan authored and bnbarham committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    00095ed View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Disable SwiftVersion development mode (#8074)

    ### Motivation:
    Running `swift package --version` indicate it is in development mode,
    while `swift --release` does not.
    
    ```
    ❯ swift --version  
    Apple Swift version 6.0.1 (swift-6.0.1-RELEASE)
    Target: arm64-apple-macosx15.0
    
    ❯ swift package --version
    Swift Package Manager - Swift 6.0.1-dev
    ```
    ### Modifications:
    
    Toggling `isDevelopment` boolean to `false` in `SwiftVersion` struct
    extension.
    
    ### Result:
    ```
    ❯ swift build --show-bin-path
    /Users/bkhouri/Documents/git/public/swiftlang/swift-package-manager/.build/arm64-apple-macosx/debug
    
    ❯ /Users/bkhouri/Documents/git/public/swiftlang/swift-package-manager/.build/arm64-apple-macosx/debug/swift-package --version
    Swift Package Manager - Swift 6.0.2
    ```
    bkhouri authored Nov 1, 2024
    Configuration menu
    Copy the full SHA
    bc68941 View commit details
    Browse the repository at this point in the history
Loading