版本发布 8
## What's Changed * [6.1.1] Ensure prebuilt Modules include path added to generated modules (#8485) by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8526 * Bump the Swift version to 6.1.1 by @shahmishal in https://github.com/swiftlang/swift-package-manager/pull/8455 **Full Changelog**: https://github.com/swiftlang/swift-package-manager/compare/swift-6.1-RELEASE...swift-6.1.1-RELEASE
## What's Changed * Suppress redundant linkage warnings due to dependency linkage propagation by @pusukuri in https://github.com/swiftlang/swift-package-manager/pull/7404 * Write output-file-map.json atomically by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7406 * Fix a memory leak in `DownloadTaskManager` and `DataTaskManager` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7408 * Fix doc comment typo in `Sandbox.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7418 * PackageModelTests: fix warnings by @mnaruse in https://github.com/swiftlang/swift-package-manager/pull/7421 * Use `arguments` instead of `argumentList` in the macro template by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7422 * On Darwin, allow XCTest to be missing if we're only building swift-testing tests. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7426 * Fix indentation in `Product.swift` by @coffmark in https://github.com/swiftlang/swift-package-manager/pull/7427 * Add a `swift-corelibs-foundation` specific workaround by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7425 * Suppress warnings for remote Clang targets by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7423 * [cxx-interop] Propagate interop flag to the test entry point target by @egorzhdan in https://github.com/swiftlang/swift-package-manager/pull/7428 * Allow `swift-corelibs-foundation` to use unsafeFlags when used as a d… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7431 * Make `supportedTriples` optional in artifactbundle metadata by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7432 * Improve error message about the PackageGraphError.productDependencyNotFound by @k-kohey in https://github.com/swiftlang/swift-package-manager/pull/7419 * Improvements to prebuilt library configuration handling by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7433 * Delete `Examples/package-info` directory as outdated by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7434 * Update Swift version to 5.9 in `.swiftformat` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7438 * [PubGrub] Avoid resolving package versions twice in presence of prebuilt libraries by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7436 * Fix sendability warnings in `URLSessionHTTPClient` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7441 * NFC: Fix `@Sendable @escaping` order, symbol name typo by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7446 * Bump `swift-syntax` in template to `600.0.0-latest` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7443 * Update XCBuildSupport CODEOWNERS by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7449 * Add basic `QueryEngine` scaffolding w/ `Encodable` hashing by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7347 * Add `HashEncoder` and `QueryEngineTests` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7435 * Implement per target swift version selection by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7439 * Expose `computeTestTargetsForExecutableTargets` via SPI by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7455 * Add VisionOS platform support to `PIF.PlatformFilter` by @Ryu0118 in https://github.com/swiftlang/swift-package-manager/pull/7448 * Rename `ResolvedTarget` to `ResolvedModule` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7459 * Enable strict concurrency checks on `Basics` module by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7451 * Fix empty token on swift package-registry login (Issue #7453) by @pwallrich in https://github.com/swiftlang/swift-package-manager/pull/7454 * Add `UndirectedGraph` and `DirectedGraph` data structures by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7460 * Remove outdated doc comment in `Workspace+State.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7463 * Add basic thresholds for `PackageGraphBenchmarks.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7462 * Remove use of `SWIFT_FORCE_*` build settings by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7464 * Revert "Revert "Support macros when cross-compiling (#7118)" (#7352)" by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7353 * Add simple synthetic modules graph benchmarks by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7465 * pkgconfig: Apply PKG_CONFIG_SYSROOTDIR when generating paths by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7461 * Use new SPI for SourceKitLSPAPITests by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7468 * Add synthetic modules-with-macros graph benchmarks by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7466 * [SE-0301] Updating a project and its manifest programmatically and from the command line by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7467 * NFC: Add `Sendable` annotations to PackageDescription APIs by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7475 * When adding a macro target to a package, create a dependency on swift-syntax by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7476 * [SE-0301] Add swift package add-product command and supporting library by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7477 * Make `SwiftSDK.init` available via `@_spi` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7482 * Only export required SwiftSyntax targets by @rintaro in https://github.com/swiftlang/swift-package-manager/pull/7489 * Include host triple test modules in `ResolvedPackage` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7493 * build: remove the requirement to checkout swift-syntax by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7486 * Set environment variable to disable building swift-syntax in Swift 6 mode by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7495 * Handle Swift versions unsupported by XCBuild by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7499 * Improvements to prebuilt or provided library handling by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7496 * Remove `experimental` prefix from Swift SDK command by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7507 * Fix test targets that depend on macros and `swift-testing` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7508 * Cleanup addition of swift-syntax by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7505 * plugins: Pass correct dependency origin information to plugins by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7506 * Bring back `experimental-sdk` as deprecated for compatibility by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7512 * NFC: Fix a typo in a label of `ModuleError.duplicateModulesScmAndRegistry` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7513 * Add end-to-end tests for `sdk` and `experimental-sdk` commands by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7517 * Add `swift build --enable-code-coverage` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7518 * Fix incorrect paths for library products with explicit linkage by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7519 * Report whether a target is part of the root package in the sourcekit-lsp API by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7492 * [ModulesGraph] Fix association between `.tools` targets and their pac… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7523 * Remove the addition of external-plugin-path for dev toolchains by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7524 * package -> @_spi public due to package exportability rule updates by @elsh in https://github.com/swiftlang/swift-package-manager/pull/7525 * Add `Sendable` annotations to SwiftVersion by @coffmark in https://github.com/swiftlang/swift-package-manager/pull/7527 * `swift sdk`: print warnings on stderr instead of stdout by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7532 * Teach swift package add-target --type test about swift-testing by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7481 * Pass through swift-testing's experimental JSON streams from `swift test` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7534 * [Package/ModuleGraph] Allow cyclic package dependencies if they don't introduce a cycle in a build graph by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7530 * Align `swift sdk` configuration subcommand with proposal text by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7535 * Mark `buildSettingsDescription` as `@_spi` in `Target.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7542 * Add API for background preparation in SourceKit-LSP by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7540 * Update -swift-version to default to 6 for swift-tools-version 6 by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7469 * [PackageModel] SwiftTarget: Rename `swiftVersion` into `toolsSwiftVersion` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7544 * Pass through `--experimental-event-stream-version` to swift-testing. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7551 * [PackageModel] Associated swift version build setting with `SWIFT_VER… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7550 * Add two `Sendable` annotations to enable building SourceKit-LSP in Swift 6 mode by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7553 * Don’t disable Swift 6 mode in swift-syntax by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7545 * Expose the build triple of a `BuildTarget` in `SourceKitLSPAPI` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7555 * Introduce manifest editing API for "add target dependency" by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7552 * NFC: Updates to code owners file by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7560 * [Package/Build] Remove `SwiftTarget.toolsSwiftVersion` in favor of a build setting by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7557 * Generated code for XCTest on non-Darwin needs to be actor-isolated. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7566 * Restore visibility of APIs that have been made `package` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7568 * Update diagnostics for duplicated product/target names by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7572 * Set an environment variable in `swift test` to indicate which testing library is in use. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7573 * [PackageGraph] Allow package-level cyclic dependency only for >= 6.0 … by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7579 * NFC: Add Pavel Yaskevich to CODEOWNERS by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7583 * Rename back to `swift package completion-tool` by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7600 * Add Sendable to FileRuleDescription by @giginet in https://github.com/swiftlang/swift-package-manager/pull/7563 * Place build.db under the scratch directory by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7471 * [main] Enable `-user-module-version` for 6.0 by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7263 * Add support for swift-collections 1.1 by @jmschonfeld in https://github.com/swiftlang/swift-package-manager/pull/7607 * Cross compilation improvements by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7593 * [Build] Adjust `computeLLBuildTargetName` to attempt `host` destinati… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7619 * Fix incremental builds for `embedInCode` resources by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7616 * Add prepare for index experimental build argument by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/7574 * Partially revert #7566 to fix amazon linux 2 crash by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7623 * Add cxx interop support to symbolgraph-extract by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/7610 * Add `swift package add-target-dependency` command to edit the manifest by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7594 * Add destination C module targets so you can prepare them directly. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/7627 * Fix `swift-symbolgraph-extract` search paths by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/7621 * [Basics] Switch `IdentifiableSet` to use `OrderedDictionary` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7630 * Fix `clang` linker driver issue in the bootstrap script by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7633 * Update versions in `Utilities/Docker/Dockerfile` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7632 * Remove --enable-library-evolution flag on prepare. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/7635 * Require CMake 3.24 in `CMakeLists.txt` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7631 * Fix `–-toolchain` value shadowed by local executables by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7483 * [Tests] Don't use invalid module to satisfy `canImport` check by @cachemeifyoucan in https://github.com/swiftlang/swift-package-manager/pull/7647 * [Build/PackageGraph] Sink fallback logic for macro/plugin/test products and packages identification into `ModulesGraph` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7646 * [Build/PackageGraph] Switch `BuildSubset.{product, target}` and `Modu… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7650 * Remove `Sendable` conformance on `Bundle` from SwiftPM by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7652 * Relax version ranges for dependencies in `Package.swift` by @finestructure in https://github.com/swiftlang/swift-package-manager/pull/7655 * Fix retroactive conformance warnings for 6.0+ compilers by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7605 * [Build] NFC: A few minor refactorings to build operation state tracking by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7660 * Fix: use bearer auth when pulling binaryTarget or packages from a package registry by @pwallrich in https://github.com/swiftlang/swift-package-manager/pull/7662 * [Build] NFC: Split BuildOperationBuildSystemDelegateHandler into LLBu… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7667 * Fix: cache not cleaned up if download fails by @pwallrich in https://github.com/swiftlang/swift-package-manager/pull/7663 * [Traits] Package trait description and serialization by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/7669 * Make traits optional in manifest deserialization by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/7681 * Update versions in `Examples/package-info/Package.swift` by @csknns in https://github.com/swiftlang/swift-package-manager/pull/7666 * Fix parameter documentation in `PackageDependency.swift` by @SimplyDanny in https://github.com/swiftlang/swift-package-manager/pull/7682 * Provide deprecation messages for `PackagePlugin.Path` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7677 * [Prepare] Don't skip non-exportable-decls when enable-testing by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/7675 * Clarify reproduction steps requirements in `BUG_REPORT.yml` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7685 * [Traits] Integrate traits into module loading by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/7689 * Remove unused `Codable` conformances on `PackageModel` types by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7687 * Fix a link and top section in `CHANGELOG.md` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7661 * Fix incorrect executable target diagnostic by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7447 * Fix most "target"/"module" internal naming inconsistencies by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7690 * Add support for new Android overlay (`import Android`) by @finagolfin in https://github.com/swiftlang/swift-package-manager/pull/7615 * Remove unused options from `add-product` subcommand by @taji-taji in https://github.com/swiftlang/swift-package-manager/pull/7693 * [Traits] Add experimental flags to enable specific or all traits, disable default traits by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/7694 * Fix environment related warnings by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/7684 * [NFC] Vendor `AsyncProcess`, make more tests `async` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7679 * Fix build of host&target destination products with `--static-swift-stdlib` by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7695 * NFC: Assert that we don't add llbuild commands with the same name twice by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7698 * [Traits] Encode all trait information for package dump by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/7701 * Add doc comments to the `GitInformation` PD API by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7696 * [Traits] Correctly diagnose unused dependency with traits by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/7702 * Implement `fileAffectsSwiftOrClangBuildSettings` with the logic from `LLBuildManifestBuilder` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7699 * Add 'any' to generated test runner code by @glbrntt in https://github.com/swiftlang/swift-package-manager/pull/7705 * [Traits] Enable trait configuration for `swift-test` by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/7704 * [Traits] Replace `isDefault` with `default` trait by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/7703 * [Build/Plugins] Separate plugin tool builds from plugin invocations by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7706 * Update links for repositories moved to the swiftlang org on GitHub by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7712 * Delete CODE_OF_CONDUCT.md by @parispittman in https://github.com/swiftlang/swift-package-manager/pull/7707 * [NFC] Fix typo, make formatting in PubGrub code consistent by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7717 * [NFC] Rename `SPMTestSupport` to `_InternalTestSupport` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7676 * Improve cross-compilation when using experimental XCBuild support by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7719 * Add missing nuget case to system package provider docs by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7725 * Move PackageCollectionsProtocol to async/await by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7726 * Update all links to point to new swiftlang locations by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7729 * Fix a bunch of concurrency related warnings by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7728 * fix: warning using PluginTarget by @NakaokaRei in https://github.com/swiftlang/swift-package-manager/pull/7731 * chore: remove unused Tests (PackageLoadingPerformanceTests) by @NakaokaRei in https://github.com/swiftlang/swift-package-manager/pull/7735 * Add a `--experimental-prepare-for-indexing-no-skipping` command line option to prepare a target without function body skipping by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7720 * Move getPackageMetadata to async/await by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7727 * Async file package collections sources storage by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7740 * Convert more package collections code to `async`/`await` by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7739 * Handle the "abnormal-exit" status kind from the Swift compiler's parseable output by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7733 * Update link to Swift system requirements by @tokizuoh in https://github.com/swiftlang/swift-package-manager/pull/7730 * [NFC] Remove `TSCBasic.InMemoryFileSystem` dependency by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7484 * Fix checksum computation for Swift SDK bundles by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7748 * Work around `swift-bootstrap` inability to handle plugins by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7750 * Fix warnings caused by unused `await` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7756 * [Build] Integrate build-tool plugin invocations into build planning by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7753 * Invalidate manifest cache when `-Xbuild-tools-swiftc` changes by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7760 * Clarify unsupported direct macro module imports in `CHANGELOG.md` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7754 * Bump `swift-argument-parser` to 1.4.0 by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7450 * Import new Bionic module from Android overlay instead where possible by @finagolfin in https://github.com/swiftlang/swift-package-manager/pull/7755 * Add the formalized Swift Testing event stream arguments to `swift test`. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7768 * Detect when Swift Testing returns `EXIT_NO_TESTS_FOUND`. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7777 * Add a helper tool for swift-testing by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7771 * Build one test product for both Swift Testing and XCTest (with Swift Testing enabled by default.) by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7766 * Pass through the toolchain to use for manifest loading by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7639 * Disable Swift Testing by default in `swift package init`. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7783 * Expose `Environment` with `@_spi` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7780 * Remove `--enable-swift-testing` _et al._ from `swift build`. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7784 * Fix warning in `OSSignpost.swift` w/ `@preconcurrency import` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7785 * Revert #7766 and #7783. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7788 * Revert "Remove `--enable-swift-testing` _et al._ from `swift build`. … by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7790 * Build one test product for both Swift Testing and XCTest (with Swift Testing enabled by default.) by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7789 * Don't stomp on xUnit output from XCTest when running Swift Testing. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7796 * Fix Package.swift diagnostics line off by 1 for tools versions <= 5.7 by @bripeticca in https://github.com/swiftlang/swift-package-manager/pull/7795 * [PubGrub] Narrow down cases when pre-release decisions are marked invalid by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7799 * Don't log "no matching tests" diagnostic when running XCTest only. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7803 * Revert all of the functionality related to provided libraries by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7801 * Rename `BuildParameters.Testing.Library`. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7806 * Move the 'GitRepositoryProvider' to compare urls using their canonical representation, correctly accepting results where repositories only differ by '.git' by @francescomikulis in https://github.com/swiftlang/swift-package-manager/pull/7741 * Use `release` build configuration in `experimental-install` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7744 * Handle `.xcprivacy` files in `TargetSourcesBuilder.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7807 * Add back `--enable-experimental-swift-testing` to `swift build` as a no-op. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7817 * Expose `platformVersionProvider` with `@_spi(SwiftPMInternal)` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7819 * Adopt language mode naming in `PackageDescription` API by @dempseyatgithub in https://github.com/swiftlang/swift-package-manager/pull/7620 * [Build] NFC: Compute per-module macro requirements on-demand by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7812 * [PackageDescription] Deprecated `swiftLanguageVersion` should result … by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7825 * [PackageLoading] Support deserialization of manifests that used `swif… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7827 * Detect if XCTest is installed on Darwin by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7805 * Add tests for `Basics/AsyncProcess` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7824 * Fix `OSSignpost.swift` concurrency warning by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7829 * Implement `--checksum` option on `swift sdk install` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7722 * NFC: Resolve some `Sendable`-related warnings by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7822 * NFC: Fix doc comment link in `UndirectedGraph.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7832 * [PackageDescription] NFC: Address a deprecation warning about SwiftVe… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7833 * NFC: Fix comment typo in `Package.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7837 * Update copyright years in `README.md` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7836 * Add `/.index-data` to `.gitignore` in `InitPackage.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7843 * Add a comment to explain why we don't process code coverage on test fail by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7844 * Remove `temp_await` [part 1] by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7761 * Restore XML output for Swift Testing when `--disable-xctest` is passed. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7849 * Remove `temp_await` [part 2] by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7845 * Add `--type` argument to `swift package add-dependency` by @hi2gage in https://github.com/swiftlang/swift-package-manager/pull/7815 * Remove `temp_await` from PubGrub code by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7847 * Remove `temp_await` from swift-bootstrap by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7852 * Remove `temp_await` from Snippets by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7848 * [BuildPlan] Switch build plan construction to use graph traversal by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7854 * NFC: Rename `PinsStore` to `PackageResolvedStore` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7839 * [PackageModel] Support swift-testing installed in a toolchain by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7840 * Remove `temp_await` from `Build`/`BuildPlan`/`*Command`/`Workspace` by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7851 * Refactor `temp_await` out of RegistryClient by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7853 * [PackageModel] UserToolchain: Add Testing framework from commandline … by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7857 * Remove usage of `temp_await` in PackageContainer by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7858 * Ensure tools builds never build in prepare mode. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/7846 * Remove all remaining usages of `temp_await` and `safe_async` by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7859 * Replace withCheckedThrowingContinuation with native async/await by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7860 * NFC: Add `AsyncStream`-based API to `AsyncProcess` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7830 * [PackageModel] SwiftTesting: Fix directory existence check to use tes… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7861 * Finish moving package collections to async/await by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7746 * Refactored PackageFingerprintStorage to not use callbacks or async/await by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7862 * Add `async`-friendly `WritableStream`, create `_AsyncFileSystem` module by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7831 * [Build/Commands] Switch `SymbolGraphExtract` to use build plan by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7863 * [Build] Use a separate scope while constructing a build plan by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7865 * [Build] NFC: Rename `ModuleBuildDescription` property from `target` t… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7867 * Add (partial) support for building on Windows using SwiftPM by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7866 * [BuildPlan] Add a way to traverse the graph and compute destinations for all modules by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7868 * Update CODEOWNERS - add Owen by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7874 * Add more support for building on Windows using SwiftPM by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7873 * Remove some PIF overrides to match Xcode behavior by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7878 * Add new SwiftPM team members to CODEOWNERS. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/7875 * [Build] BuildPlan: Always discover test modules through their aggrega… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7879 * [Build] Free `BuildPlan` from `BuildTriple` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7877 * Revert "[Build] Free `BuildPlan` from `BuildTriple`" by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7882 * Ensure package plugin sandbox contents is deterministic by @owenv in https://github.com/swiftlang/swift-package-manager/pull/7876 * Un-Revert "[Build] Free `BuildPlan` from `BuildTriple`" by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7883 * Disable part of a test that fails with Swift Testing in the toolchain. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7885 * [SourceKitLSP] Start using SwiftPM independent `BuildDestination` typ… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7884 * [Build] BuildPlan: Use `Destination` instead of `BuildTriple` to form… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7881 * [Build] NFC: Remove uses of `buildTriple` from `computeDependencies(of:)` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7888 * Fix `InternalImportsByDefault` diagnostics in _AsyncFileSystem by @tshortli in https://github.com/swiftlang/swift-package-manager/pull/7895 * [CHANGELOG] NFC: Add an entry for SE-0441 and mark recursive dependencies as implemented in Swift 6 by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7898 * Bump the Swift version to 6.1.0 by @shahmishal in https://github.com/swiftlang/swift-package-manager/pull/7900 * [PackageGraph/Build] Remove `BuildTriple` and its remaining uses by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7896 * Fix more `InternalImportsByDefault` errors by @tshortli in https://github.com/swiftlang/swift-package-manager/pull/7905 * [PackageModel] Toolchain: Split SwiftTesting flags between swift comp… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7903 * Remove redundant EXECUTABLE_NAME overrides in PIF by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7906 * Update package templates to use Swift Testing in the toolchain rather than as a package dependency. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7872 * Revert "Remove redundant EXECUTABLE_NAME overrides in PIF" by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7915 * Update swift-toolchain-sqlite by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7909 * Temporarily disable new Swift Testing tests by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7916 * `add-target` breaks resulting package when target name is not valid Swift identifier by @dmhts in https://github.com/swiftlang/swift-package-manager/pull/7764 * [PackageModel] Inject swift-testing flags only if toolchain is target… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7920 * Disable `testAsyncStream*` in `AsyncProcessTests.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7923 * Fix direct `FilePath` hashing in `QueryEngine` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7926 * Keep loose compatibility with Swift 5.8 in AsyncFileSystem by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7928 * Make deriveTargetSwiftSDK public by @kabiroberai in https://github.com/swiftlang/swift-package-manager/pull/7925 * Revert "Fix: use bearer auth when pulling binaryTarget or packages from a package registry" by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7811 * [cxx-interop] Improve wording of doc comment by @egorzhdan in https://github.com/swiftlang/swift-package-manager/pull/7933 * Use `SWIFTCI_USE_LOCAL_DEPS` as the CI check by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7939 * Fix link in `CHANGELOG.md`, add `swift sdk install --checksum` item by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7935 * `CheckoutState.swift`: Fix typo in comment by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7944 * `XCBuildSupport/PIFBuilder.swift`: Add missed parameter to doc comment by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7945 * Reapply "Remove redundant EXECUTABLE_NAME overrides in PIF" (#7915) by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7918 * `AsyncProcess`: Replace unused vars with `_` to address warning by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7955 * CoreCommands: fix unused `getRootPackageInformation()` result warning by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7956 * ManifestLoader.swift: Address concurrency warning by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/7961 * Address concurrency warnings by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/7964 * Fixup warnings in tests by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/7963 * APIDiff.swift: Address warning by using task group instead of semaphore by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7959 * PackageDescription: add 2024 Darwin OS versions to `SupportedPlatforms` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7969 * Refactor withCheckedThrowingContinuation calls to get rid of warnings by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7981 * Workspace: fix warning applying @Sendable annotation by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7980 * Workspace: use TaskGroup to fix concurrency warning by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7979 * Fix discrepancies with usage of package display name/package identity in `swift package edit` command by @bripeticca in https://github.com/swiftlang/swift-package-manager/pull/7941 * Report whether a source file is part of a test target in the SourceKit-LSP API by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7978 * #7975 Update "Getting Started" guide link by @JacobHearst in https://github.com/swiftlang/swift-package-manager/pull/7985 * Change `traverseModules` to return modules with their dependencies by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7977 * [Tests] NFC: Remove overload of `GeneralizedTime.init(_:)` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7986 * Add `OSFileSystem` to complement `MockFileSystem` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7927 * Improve displayVersion and scmRevision description exposed by PluginContextSerializer by @dfed in https://github.com/swiftlang/swift-package-manager/pull/7934 * Remove `@MainActor` from XCTest glue. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7967 * Apply @Sendable annotation to address the compiler warning by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7993 * Fix email in mailmap by @valeriyvan in https://github.com/swiftlang/swift-package-manager/pull/7991 * Enable WMO for Embedded targets automatically by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/8003 * directoryURL is missing from the Target protocol in the PackagePlugin APIs by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/8002 * Fix path handling for plugins on Windows by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/8007 * Deprecate tvOS 11.0 and iOS 11.0 deployment target API by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/8016 * Mark `LegacyHTTPClientRequest` as Sendable by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8015 * Fix compiling test runners for Android by using the full overlay by @finagolfin in https://github.com/swiftlang/swift-package-manager/pull/8018 * Add a fallback extension none os dylibs by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/8022 * Fix the typo in the word `Continuous` by @MojtabaHs in https://github.com/swiftlang/swift-package-manager/pull/8027 * Add an expectation of a warning diagnostic to tests that hide `libSwiftScan`. by @artemcm in https://github.com/swiftlang/swift-package-manager/pull/7995 * Tests: Fix always succeeding `XCTAssertAsyncNoThrow` by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/8026 * Add a new show-executables package subcommand for all executables by @cmcgee1024 in https://github.com/swiftlang/swift-package-manager/pull/8005 * Use `OrderedDictionary` for `PIF.BuildSettings` internal properties by @shawnhyam in https://github.com/swiftlang/swift-package-manager/pull/8032 * Fix typos in some files in `Fixtures` directory by @MojtabaHs in https://github.com/swiftlang/swift-package-manager/pull/8028 * Stop disabling implicit import of _Concurrency and _StringProcessing in bootstrap by @owenv in https://github.com/swiftlang/swift-package-manager/pull/8036 * Allow building against a single dynamic swift-syntax library by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8039 * Fix target toolsets polluted with host toolset extra CLI options by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8034 * Plugin: Stop building with `-enable-testing` even with release config by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/8025 * When generating manifest the type should be before the targets by @csknns in https://github.com/swiftlang/swift-package-manager/pull/8042 * Use `CaseIterable` to auto-generate CLI `--help` entries by @cmcgee1024 in https://github.com/swiftlang/swift-package-manager/pull/8045 * Use `readData` to read data from a pipe instead of `availableData` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8047 * Add descriptive error when attempting to list tests before building by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8046 * Ensure a newline is printed after Planning build by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8050 * Update completion-list help string by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8052 * SE-0387: add `--toolset` option to build-related subcommands by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8051 * `completion-tool list-executables` should list executable names by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8053 * Implicitly support Darwin SDKs on macOS by @kabiroberai in https://github.com/swiftlang/swift-package-manager/pull/6828 * Don’t write output file map when getting compiler arguments for SourceKit-LSP by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8075 * Fix initial manifest caching with nested scratch dir and local cache by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/8088 * Test: ensure swift-[build|test] emit expected number of fatal error on console by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8076 * Use async `HTTPClient` in `BinaryArtifactsManager` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8087 * Make access modifiers public for users of the package. by @shawnhyam in https://github.com/swiftlang/swift-package-manager/pull/8086 * Loosen swift-system version constraint by @owenv in https://github.com/swiftlang/swift-package-manager/pull/8063 * Refresh the Swift Package Registry OpenAPI document by @czechboy0 in https://github.com/swiftlang/swift-package-manager/pull/8096 * Remove `/.index-build` from the `.gitignore` generated by `swift package init` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8097 * Support separate modules for static and dynamic exporting symbols for Windows by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8049 * Expose all target files to SourceKit-LSP by @matthewbastien in https://github.com/swiftlang/swift-package-manager/pull/8107 * Handle hash characters (#) in netrc fields by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8109 * Attempt two at solving Windows symbol linking issues by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8117 * Android: import new Android overlay in more places by @finagolfin in https://github.com/swiftlang/swift-package-manager/pull/8115 * Use Windows-style paths with backslashes in SourceKit-LSP compiler arguments for plugins by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8118 * Add Package edit support for packages with unsafe flags by @hi2gage in https://github.com/swiftlang/swift-package-manager/pull/8120 * Log timestamps in the bootstrap scripts by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8113 * Add basic support for plugins in swift-bootstrap script by @owenv in https://github.com/swiftlang/swift-package-manager/pull/8128 * Tests: Disable assert in TraitTests by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8132 * Fix typo in `Package.swift` comment by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8146 * Flush `Utilities/bootstrap` script logging output by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8141 * PackageDescription.Target.Dependency type have been changed to conform to Sendable by @coffmark in https://github.com/swiftlang/swift-package-manager/pull/8143 * Bump the Swift version to 6.2 by @shahmishal in https://github.com/swiftlang/swift-package-manager/pull/8135 * Package plugins don't work on Windows if the PATH environment variable isn't accessed with the right case by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/8126 * Android: switch to the new swift-toolchain-sqlite package instead of requiring an external dependency by @finagolfin in https://github.com/swiftlang/swift-package-manager/pull/8148 * Guard resource access header with __OBJC__ to avoid including Foundation.h by @rjmansfield in https://github.com/swiftlang/swift-package-manager/pull/7962 * Unify env vars for `Utilities/bootstrap` commands by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8154 * [6.1] Update related dependencies to release/6.1 by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8157 * Add basic tests for `completion-tool list-{dependencies,snippets}` by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8065 * Add additional test cases to the `ModuleAliasing` suite by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8155 * Use `AbsolutePath.asURL` instead of creating a new URL from the path string by @matthewbastien in https://github.com/swiftlang/swift-package-manager/pull/8159 * Show human-readable git errors by @yyvch in https://github.com/swiftlang/swift-package-manager/pull/8152 * Workspace/InitPackage: Add `.vscode` to `.gitignore` by @czechboy0 in https://github.com/swiftlang/swift-package-manager/pull/8164 * Fix comment typo in `SwiftCommandState.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8165 * Return compiler arguments for invalid package manifests by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8138 * Enable cross-import overlays in test targets. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/8158 * Add `--experimental-attachments-path` to `swift test`. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/8170 * Add additional tests for `interpreterFlags` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8172 * CMake: Make `SourceControl` a shared library by @Steelskin in https://github.com/swiftlang/swift-package-manager/pull/8124 * Revert "Workspace/InitPackage: Add `.vscode` to `.gitignore`" by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8168 * [Traits] Enable all traits when building the symbol graph by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/8177 * [Traits] Only allow valid Swift identifiers by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/8178 * [Traits] Remove experimental and SPI guards by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/8179 * pipeline: changes to support nightly toolchain by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8161 * Skip flakey PackageCommandTests.testCommandPluginDiagnostics test by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8181 * Update owners file by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8167 * Fixup some build warnings in tests by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8184 * Tool version updates by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8183 * Fix registry resolution of major alternate package manifests by @fortmarek in https://github.com/swiftlang/swift-package-manager/pull/8188 * Fix resolve failing when package from registry is referenced by name by @fortmarek in https://github.com/swiftlang/swift-package-manager/pull/8166 * version: set the version back to 6.1.0 by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8173 * [6.1] Include the path to the platform's PrivateFrameworks directory in DYLD_FRAMEWORK_PATH when launching test runners by @stmontgomery in https://github.com/swiftlang/swift-package-manager/pull/8204 * Disable development mode by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8139 * Swift-Syntax Prebuilts for Macros 6.1 by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8214 * [6.1] Binary dependencies of C/C++ modules break build planning by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/8225 * Use prebuilts for macro tests. Add debug URL for swift-syntax. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8229 * Clean up warnings, fix handling of dep version changes by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8232 * Fix prepare for indexing so plugin tools are properly built. (#8230) by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8236 * [6.1] Fix registry package swizzling when package name casing differs by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8234 * [6.1] Add include dir from a clang module into the build args. by @yyvch in https://github.com/swiftlang/swift-package-manager/pull/8241 * Set candidate URL for prebuilts download. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8246 * Fix layout of artifacts in build prebuilts script. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8256 * [6.1] Handle paginated registry metadata responses (#8219) by @plemarquand in https://github.com/swiftlang/swift-package-manager/pull/8262 * Enable building prebuilts on linux hosts without docker. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8269 * [6.1] Apply toolset's `debugger` property in `swift run` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8257 * [6.1] Apply toolset's `testRunner` property in `swift-test` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/8258 * Signing of the prebuilts manifest file. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8284 * [6.1] Add a new `BuildDescription.load` API for use in SourceKit-LSP by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/8296 * [6.1] Fix retain cycle in `LLBuildProgressTracker` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/8308 * Fixed update of swift-syntax package version in swiftpm macro templates by @johnbute in https://github.com/swiftlang/swift-package-manager/pull/8312 * Found another place where we specify the swift-syntax version. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8321 * Cherry pick swbuild support to 6.1 by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/8322 ## New Contributors * @mnaruse made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7421 * @coffmark made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7427 * @Ryu0118 made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7448 * @pwallrich made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7454 * @csknns made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7666 * @parispittman made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7707 * @tokizuoh made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7730 * @dempseyatgithub made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7620 * @tshortli made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7895 * @JacobHearst made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7985 * @dfed made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7934 * @MojtabaHs made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/8027 * @matthewbastien made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/8107 * @rjmansfield made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7962 * @Steelskin made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/8124 **Full Changelog**: https://github.com/swiftlang/swift-package-manager/compare/swift-6.0.3-RELEASE...swift-6.1-RELEASE
## What's Changed * [6.0] Disable part of a test that fails with Swift Testing in the toolchain. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7901 * [6.0][PackageModel] Toolchain: Split SwiftTesting flags between swift compiler and linker by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7907 * [6.0] Update package templates to use Swift Testing in the toolchain rather than as a package dependency. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7910 * [6.0] Temporarily disable new Swift Testing tests by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7917 * [6.0][PackageModel] Inject swift-testing flags only if toolchain is target… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7921 * [6.0] Add 2024 Darwin OS versions to `SupportedPlatforms` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7972 * [6.0] Remove `@MainActor` from XCTest glue. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7988 * Bump the Swift version to 6.0.3 by @shahmishal in https://github.com/swiftlang/swift-package-manager/pull/8017 * [6.0.3] Fix compiling test runners for Android by using the full overlay by @finagolfin in https://github.com/swiftlang/swift-package-manager/pull/8019 * [6.0][PackageModel] UserToolchain: Add -F when building with CommandLineTools by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/8035 * Disable SwiftVersion development mode by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/8074 **Full Changelog**: https://github.com/swiftlang/swift-package-manager/compare/swift-6.0.2-RELEASE...swift-6.0.3-RELEASE
## What's Changed * [6.0.0] Add 2024 Darwin OS versions to `SupportedPlatforms` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7982 * Bump the Swift version to 6.0.1 by @shahmishal in https://github.com/swiftlang/swift-package-manager/pull/7989 **Full Changelog**: https://github.com/swiftlang/swift-package-manager/compare/swift-6.0-RELEASE...swift-6.0.1-RELEASE
## What's Changed * tests: repair `BuildPlanTests.testSnippets` on Windows by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7082 * Set `file-system` as `device-agnostic` in build manifest by @pusukuri in https://github.com/swiftlang/swift-package-manager/pull/7052 * Ensure Xcode SDK paths are set when running test targets. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7093 * SourceControl: add basic support for symlinks by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7092 * Disallow static linking core libraries in `swift test` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7087 * Integration with swift-testing by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7047 * small cleanup after 7092 by @tomerd in https://github.com/swiftlang/swift-package-manager/pull/7096 * cache binary artifact globally by @tomerd in https://github.com/swiftlang/swift-package-manager/pull/7101 * PackagePlugin: silence a deprecation warning on Windows by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7109 * Fix broken link to 'Swift Package Registry Service Specification' by @ashokm in https://github.com/swiftlang/swift-package-manager/pull/7107 * Tests: clean up path representation for manifest checks by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7111 * Tests: adjust for sorting and path representation by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7112 * validate local repository has the correct remote by @tomerd in https://github.com/swiftlang/swift-package-manager/pull/7079 * Replace some uses of `temp_await` with `await` in tests by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7102 * Remove usage of temp_await from WorkspaceTests by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7124 * Revert "Disable CMake bootstrap by default" by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7108 * Make `swift test --show-code-cov-path` work with `swift-testing` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7094 * Revert "Only show command output in verbose mode (#7078)" by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7130 * improve handling of test output by @tomerd in https://github.com/swiftlang/swift-package-manager/pull/7126 * build: simplify the build rules with newer CMake by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7119 * Move PackageSigningTests to async/await by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7132 * Skip unknown XCBuild message types by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7136 * Async package registry tests by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7135 * Rename the swift-testing entry point. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7137 * Remove some unused code by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7140 * Fix dump symbol graph target list by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7143 * [NFC] Remove redundant `DependencyResolver` protocol by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7127 * Update CHANGELOG.md by @tomerd in https://github.com/swiftlang/swift-package-manager/pull/7149 * Fix error handling for dump symbol graph by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7141 * Create an xunit results file even if no tests are run. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7066 * add 5.9 release notes by @tomerd in https://github.com/swiftlang/swift-package-manager/pull/7148 * [NFC] Remove unused `fileSystem` from `GraphLoadingNode` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7154 * adjust git call supported by older git clients by @tomerd in https://github.com/swiftlang/swift-package-manager/pull/7155 * Async package collections tests by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7156 * Fix ignored symbol graph extraction exit code by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7159 * Remove discovery target in swift-testing case by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7123 * Use a different path extension for swift-testing builds by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7163 * build: allow building in Debug mode on Windows by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7152 * [NFC] Replace `PackageConditionProtocol` with `PackageCondition` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7117 * Add test fixture for experimental-lto-mode by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/6891 * make it possible to specify permitted network port access at runtime by @tomerd in https://github.com/swiftlang/swift-package-manager/pull/7151 * Move .swiftmodule output directory by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7103 * Keep separate build parameters for host and target by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7164 * Avoid use of `temp_await` in `PackageRegistryToolTests.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7015 * Revert "Avoid use of `temp_await` in `PackageRegistryToolTests.swift`" by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7169 * build: remove `USE_CMAKE_INSTALL` option by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7168 * A fix for incorrectly overriding environment variables rdar://118814900 by @pusukuri in https://github.com/swiftlang/swift-package-manager/pull/7144 * Pass `-disable-sandbox` to Swift compiler if requested by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7167 * Public API for getting information about build targets by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/6763 * [cxx-interop] Make test discovery compatible with C++ interop by @egorzhdan in https://github.com/swiftlang/swift-package-manager/pull/7165 * Fix modules path for XCBuild by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7180 * Re-revert "Avoid use of temp_await in `PackageRegistryToolTests.swift`" by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7176 * Adopt `async`/`await` in more tests by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7182 * [cxx-interop] Do not pass the C++ standard if C++ interop is not enabled by @egorzhdan in https://github.com/swiftlang/swift-package-manager/pull/7188 * Move SwiftPackageCollectionsTool to async/await by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7183 * Avoid using `temp_await` in `SwiftTestTool.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7016 * Mark global var as constant in `ConcurrencyHelpers.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7191 * Avoid using `temp_await` on `loadRootPackage` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7009 * Move PackageRegistryTool to async/await by @AndrewHoos in https://github.com/swiftlang/swift-package-manager/pull/7190 * Allow specifying testing libraries for `swift package init` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7186 * Revert "Avoid using `temp_await` in `SwiftTestTool.swift`" by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7196 * build: clean up some CMake usage by @compnerd in https://github.com/swiftlang/swift-package-manager/pull/7193 * [NFC] Remove `SupportedPlatforms`, add `PlatformVersionProvider` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7161 * Delete `Sources/swift-package-collection/CMakeLists.txt` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7198 * Replace custom path type with URL in plugin API by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7184 * Make `Resolved*` in `PackageGraph` value types by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7160 * Adjust `testURLBasedPluginAPI` logging checks by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7205 * Bifurcate SwiftPM library locations by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7212 * Move the `SourceKitLSPAPI` target to the `SwiftPM` product by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7209 * Use `topologicalSort` with `Identifiable` on `ResolvedTarget` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7211 * [NFC] Fix some of the new Swift `main` snapshots warnings by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7214 * Verify product dependencies w/ target platform, vs. hardcoded `macOS` by @peterkos in https://github.com/swiftlang/swift-package-manager/pull/6963 * Add `subsetDescriptor` to completion message by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7208 * Run build commands without declared outputs by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7203 * Automatically enable swift-testing support in `swift test` when it's a dependency. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7220 * Limit cache directories by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7225 * Workaround in ZipArchiver when posix_spawn_file_actions_addchdir_np is unavailable by @yim-lee in https://github.com/swiftlang/swift-package-manager/pull/7187 * Add `swift test --no-parallel` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7231 * Automatically enable swift-testing support when building swift-testing by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7235 * Emit a deprecation warning for `--skip-update` by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7229 * Add WWDR G8 intermediate certificate by @yim-lee in https://github.com/swiftlang/swift-package-manager/pull/7238 * Cache SwiftPM library deployment targets by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7230 * Allow tools-versions to be specified later in the manifest by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7201 * Include out-of-target resources by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7232 * Verify that the pinned version is still available by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7242 * Add git information to PD context by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7202 * Sort results of `TargetSourcesBuilder` by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7228 * Vend generated files to plugins by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7226 * Bump swift-tools-version to 5.9 by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7244 * Start using `package` for some APIs by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7240 * Bump test timeout by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7247 * Linux packages fail to build with LLVM 18 and Apple 2023 versions of clang by @ian-twilightcoder in https://github.com/swiftlang/swift-package-manager/pull/7241 * Revert "Start using `package` for some APIs" by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7249 * Tests: Exercise output and diagnostic messages from command plugins by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7254 * Add a CMake build for the `SourceKitLSPAPI` module by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7246 * Fix `PackageGraph` traversal performance regressions by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7248 * Replace uses of `package` with `@_spi(SwiftPMInternal)` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7265 * Some C++ packages fail to build on Apple platforms by @ian-twilightcoder in https://github.com/swiftlang/swift-package-manager/pull/7267 * Lower `swift-tools-version` to 5.8 to prevent use of `package` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7266 * command plugins: Inherit SwiftPM's --configuration flag in packageManager.build by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7262 * track SDK dependencies (rdar://115777026) by @pusukuri in https://github.com/swiftlang/swift-package-manager/pull/7172 * Add `SSH_AUTH_SOCK` to `EnvironmentVariables.nonCachableKeys` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7272 * Fix overlapping plugins/products build database access by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7273 * Fix `./Utilities/soundness.sh` regressions by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7260 * command plugin Xcode extension name fixed by @carlynorama in https://github.com/swiftlang/swift-package-manager/pull/7277 * Lock scratch directory during tool execution by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7269 * Exercise bootstrapping with the XCBuild codepath in `build-using-self` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7253 * Revert of "Lock scratch directory during tool execution" by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7286 * Fix warning for `CMakeLists.txt` by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7282 * Fix macro template by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7281 * command plugins: Build command plugin dependencies for the host, not the target by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7280 * Add mermaid charts support to `swift package describe` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7289 * Derive dynamic libraries explicitly to avoid linker errors for "release" builds by @pusukuri in https://github.com/swiftlang/swift-package-manager/pull/7284 * Revert "Skip tests which need `-suppress-warnings` to work if it doesn't work" by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7294 * Filter `codesign` messages by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7285 * Fix swiftc selection for the case no swiftc found in Swift SDK by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7296 * command plugins: Add a 'progress' diagnostic message at default verbosity by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7256 * Inherit host Swift SDK's toolset paths to fallback to host tools by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7297 * command plugins: Optionally print build logs during packageManager.build by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7255 * Clean up product dependency API by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7298 * Gate new tests on `supportsSDKDependentTests()` by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7305 * [GH] Add bnbarham to codeowners by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7307 * Fix logging of "Running..." for plugins by @ktoso in https://github.com/swiftlang/swift-package-manager/pull/7303 * Update minimum deployment target to macOS 13 by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7313 * Fix non-tarballed SDK installation with remote URL by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7312 * Fix typos in comments and symbols naming by @rex4539 in https://github.com/swiftlang/swift-package-manager/pull/7318 * Show progress bar while downloading Swift SDK bundles by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7315 * Move `swiftpm-project-settings.el` settings to `.dir-locals.el` by @judemille in https://github.com/swiftlang/swift-package-manager/pull/7314 * Build: avoid unnecessary warnings for build tool inputs by @pusukuri in https://github.com/swiftlang/swift-package-manager/pull/7300 * Enable index store based on Clang feature detection by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7287 * Revert "Filter superfluous diagnostics" by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7293 * Reduce use of raw `\n` to improve cross-platform compatibility by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7322 * Bring back "Lock scratch directory during tool execution" by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7291 * Don't lock if we don't have a package root by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7335 * Move and refactor `ProgressAnimation` code from TSC by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/7328 * Add hidden `--ignore-lock` escape hatch by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7338 * Bump swift-syntax version in the macro template by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7339 * Remove myself from CODEOWNERS by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7342 * Add option to allow HTTP (not HTTPS) registries by @Footpad in https://github.com/swiftlang/swift-package-manager/pull/7204 * Fix test runner build on WASI by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7341 * Support for prebuilt packages in the SDK by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7337 * Set correct minimum OS targets for new packages using swift-testing by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7333 * Support macros when cross-compiling by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7118 * Make `PackageModel` resources optional by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7348 * Build direct dependencies of tests for target triple by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7350 * Revert "Support macros when cross-compiling (#7118)" by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7352 * Build: pass through `Embedded` flag to link jobs by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7304 * Fix `.wasm` product paths for `wasm32-unknown-none` triple by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7355 * Enable `--gc-sections` for WebAssembly targets by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7356 * Clarify that Xcode issues are not tracked in `BUG_REPORT.yml` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7324 * Allow reading `Package.swift` with the executable bit set by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7360 * Exclude `XCBuildSupport` when building with CMake by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7358 * Use structured concurrency in `PackageLoadingTests` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7359 * Don't link libc++ or libstd++ for Embedded Swift by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7357 * Replace 5.11 version with 6.0 in the code base by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7361 * Rename `PackageGraph` type to `ModulesGraph` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7363 * Fix `package` access modifier in XCBuild support by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7258 * Generalize test to handle the compiler's new diagnostic printing style by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7368 * Rename `Swift*Tool` to `Swift*Command` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7336 * Allow `swift-build` to have `async` entrypoint by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7369 * Benchmarks: add `PackageGraphBenchmarks` target by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7283 * Revert "Revert "Start using `package` for some APIs"" by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7344 * Clean up `main` function signature in `SwiftPM.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7370 * Revert "Exclude `XCBuildSupport` when building with CMake (#7358)" by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7371 * Hide build system internals with `@_spi` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7365 * Adopt `package` in the test support module by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7372 * Enable `AccessLevelOnImport` in `SourceKitLSPAPI` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7366 * Don’t include compiler in the command line arguments by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7379 * Add swift-testing support to `swift build --build-tests` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7377 * Hide CLI commands API with `package` access control by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7381 * Make ignore-lock a flag by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/7384 * Remove uses of `temp_await` from `SwiftTestCommand` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7382 * Add XDG Base Directory Specification support by @lordzsolt in https://github.com/swiftlang/swift-package-manager/pull/7386 * Hide more llbuild-specific APIs by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7387 * Replace `ProcessEnv.vars` with `block` w/o API breakage by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7390 * Remove previously deprecated `--enable-test-discovery` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7391 * Revert "Remove previously deprecated `--enable-test-discovery`" by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7395 * Pass all arguments when initing testing parameters in `swift build` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7396 * Fix remove `to let` from parameter description by @NakaokaRei in https://github.com/swiftlang/swift-package-manager/pull/7401 * Replace getdtablesize() on Android by @finagolfin in https://github.com/swiftlang/swift-package-manager/pull/7402 * Fix XCTest entrypoint for WASI by making it async by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7400 * [6.0] Change `relatedDependenciesBranch` to `release/6.0` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7407 * [6.0] Suppress redundant linkage warnings by @pusukuri in https://github.com/swiftlang/swift-package-manager/pull/7414 * [6.0] Write output-file-map.json atomically by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7415 * [6.0] Fix a memory leak in `DownloadTaskManager` and `DataTaskManager` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7416 * Use `arguments` instead of `argumentList` in the macro template by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7424 * [6.0] On Darwin, allow XCTest to be missing if we're only building swift-testing tests. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7430 * 🍒[cxx-interop] Propagate interop flag to the test entry point target by @egorzhdan in https://github.com/swiftlang/swift-package-manager/pull/7429 * [6.0] Bump `swift-syntax` in template to `600.0.0-latest` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7445 * [6.0][PubGrub] Avoid resolving package versions twice in presence of prebu… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7457 * [6.0] Suppress warnings for remote Clang targets by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7456 * [6.0] pkgconfig: Apply PKG_CONFIG_SYSROOTDIR when generating paths by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7472 * 6.0: [SE-0301] Implement package manifest editing command-line options by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7494 * [6.0] NFC: Add `Sendable` annotations to PackageDescription APIs by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7488 * [6.0] Handle Swift versions unsupported by XCBuild by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7504 * [6.0] Set environment variable to disable building swift-syntax in Swift 6 mode by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7500 * [6.0] plugins: Pass correct dependency origin information to plugins by @euanh in https://github.com/swiftlang/swift-package-manager/pull/7511 * [6.0] Make `SwiftSDK.init` available via `@_spi` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7487 * [6.0] Make `supportedTriples` optional in artifactbundle metadata by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7516 * [6.0] Deprecate `experimental` Swift SDK CLI in favor of unprefixed counterparts by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7515 * Cherry-picks to `release/6.0` for sourcekit-lsp update by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7520 * [6.0] Remove the addition of external-plugin-path for dev toolchains by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7526 * [6.0] Teach swift package add-target --type test about swift-testing (#7481) by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7537 * [6.0] `swift sdk`: print warnings on stderr instead of stdout by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7533 * [6.0] Align `swift sdk` configuration subcommand with proposal text by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7538 * [6.0] Mark `buildSettingsDescription` as `@_spi` in `Target.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7543 * Don’t disable Swift 6 mode in swift-syntax by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7558 * package -> @_spi public due to package exportability rule updates by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7561 * Add API needed for background indexing in SourceKit-LSP by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7562 * [6.0] Pass through experimental swift-testing flags by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7564 * [6.0] Add `--enable-code-coverage` to `swift build` by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7565 * Add two Sendable annotations to enable building SourceKit-LSP in Swift 6 mode by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7559 * [6.0] Generated code for XCTest on non-Darwin needs to be actor-isolated. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7569 * [6.0][SE-0435] Implement per target swift version selection by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7567 * [6.0] Restore visibility of APIs that have been made `package` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7570 * [6.0] NFC: Rename `ResolvedTarget` to `ResolvedModule` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7571 * [6.0] Set an environment variable in `swift test` to indicate which testing library is in use. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7577 * [6.0] Update diagnostics for duplicated product/target names by @neonichu in https://github.com/swiftlang/swift-package-manager/pull/7575 * [6.0] Various low-risk cherry-picks by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7578 * [6.0] Update -swift-version to default to 6 for swift-tools-version 6 by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7531 * [6.0] Rename back to `swift package completion-tool` by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7602 * [6.0] Enable `-user-module-version` for 6.0 by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7606 * [6.0][Package/ModuleGraph] Allow cyclic package dependencies if they don't introduce a cycle in a build graph by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7541 * [6.0] Add support for swift-collections 1.1 by @jmschonfeld in https://github.com/swiftlang/swift-package-manager/pull/7614 * [6.0][PackageGraph] Allow package-level cyclic dependency only for >= 6.0 … by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7617 * [6.0] Partially revert #7566 to fix amazon linux 2 crash by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7624 * Update release/6.0 CODEOWNERS to branch managers only by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7625 * [6.0] Fix incremental builds for `embedInCode` resources by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7618 * [6.0] Add `swift package add-target-dependency` command to edit the manifest by @DougGregor in https://github.com/swiftlang/swift-package-manager/pull/7628 * [6.0][Basics] Switch `IdentifiableSet` to use `OrderedDictionary` by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7634 * [6.0] Support macros when cross-compiling by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7640 * [6.0] Relax version ranges for dependencies in `Package.swift` by @finestructure in https://github.com/swiftlang/swift-package-manager/pull/7657 * [6.0] Add prepare for index experimental build argument by @bnbarham in https://github.com/swiftlang/swift-package-manager/pull/7638 * [6.0] Symbol graph cherry picks by @rauhul in https://github.com/swiftlang/swift-package-manager/pull/7659 * [6.0] Remove `Sendable` conformance on `Bundle` from SwiftPM by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7653 * [6.0] Fix `–-toolchain` value shadowed by local executables by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7485 * [6.0][Build/PackageGraph] Switch `BuildSubset.{product, target}` and `Modu… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7668 * [6.0][Test-only] Don't use invalid module to satisfy `canImport` check (#7647) by @cachemeifyoucan in https://github.com/swiftlang/swift-package-manager/pull/7678 * [6.0] Provide deprecation messages for `PackagePlugin.Path` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7683 * [6.0] Fix cache not cleaned up if download fails by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7671 * [6.0] Update `CODEOWNERS` after `swiftlang` transfer by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7714 * Update links for repositories moved to the swiftlang org on GitHub by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7711 * [6.0] Improvements to prebuilt/provided library handling by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7713 * [6.0] Implement `fileAffectsSwiftOrClangBuildSettings` with the logic from `LLBuildManifestBuilder` by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7709 * [6.0/Prepare] Don't skip non-exportable-decls when enable-testing (#7675) by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/7686 * [6.0] Cherry-pick recent NFC changes to reduce merge conflicts by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7721 * [6.0] Remove unused options from `add-product` subcommand by @taji-taji in https://github.com/swiftlang/swift-package-manager/pull/7697 * [6.0] Fix host/target products with `--static-swift-stdlib` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7743 * [6.0] Improve cross-compilation for experimental XCBuild support by @jakepetroules in https://github.com/swiftlang/swift-package-manager/pull/7736 * [6.0] Fix checksum computation for Swift SDK bundles by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7749 * [6.0] Work around `swift-bootstrap` inability to handle plugins by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7751 * [6.0] Add a `--experimental-prepare-for-indexing-no-skipping` command line option to prepare a target without function body skipping by @ahoppen in https://github.com/swiftlang/swift-package-manager/pull/7747 * [6.0] Use `release` build configuration in `experimental-install` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7745 * [6.0] Invalidate manifest cache when `-Xbuild-tools-swiftc` changes by @kateinoigakukun in https://github.com/swiftlang/swift-package-manager/pull/7762 * [6.0] Add support for new Bionic module from Android overlay (`import Bionic`) (#7615) by @finagolfin in https://github.com/swiftlang/swift-package-manager/pull/7752 * [6.0] Add the formalized Swift Testing event stream arguments to `swift test`. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7770 * [6.0] Add a helper tool for swift-testing by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7779 * [6.0] NFC: Make 'FileRuleDescription.Rule' conform to `Sendable` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7781 * [6.0] Fix warning in `OSSignpost.swift` w/ `@preconcurrency import` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7786 * [6.0] NFC: Expose `Environment` with `@_spi` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7793 * [6.0] Build one test product for both Swift Testing and XCTest (with Swift Testing enabled by default.) by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7794 * [6.0] Don't log "no matching tests" diagnostic when running XCTest only. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7804 * [6.0] Revert all of the functionality related to provided libraries by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7800 * [6.0] Move the 'GitRepositoryProvider' to compare urls using their canonical representation, correctly accepting results where repositories only differ by '.git' by @francescomikulis in https://github.com/swiftlang/swift-package-manager/pull/7809 * [6.0][PubGrub] Narrow down cases when pre-release decisions are marked inv… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7808 * [6.0][PackageDescription] SE-0441: Rename `swiftLanguageVersion` to `swift… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7813 * [6.0] Handle `.xcprivacy` files in `TargetSourcesBuilder.swift` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7816 * [6.0] Add back `--enable-experimental-swift-testing` to `swift build` as a no-op. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7818 * 6.0: [NFC] Expose `platformVersionProvider` with `@_spi(SwiftPMInternal)` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7820 * [6.0][PackageDescription] Deprecated `swiftLanguageVersion` should result … by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7826 * [6.0][PackageLoading] Support deserialization of manifests that used `swif… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7828 * [6.0] Implement `--checksum` option on `swift sdk install` by @MaxDesiatov in https://github.com/swiftlang/swift-package-manager/pull/7723 * [6.0] Properly handle swift-testing installations in toolchain/SDK by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7856 * [6.0.0][PackageModel] Toolchain: Split SwiftTesting flags between swift… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7908 * [6.0.0] Disable part of a test that fails with Swift Testing in the too… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7914 * [6.0.0][PackageModel] Inject swift-testing flags only if toolchain is target… by @xedin in https://github.com/swiftlang/swift-package-manager/pull/7922 * [6.0.0] Update package templates to use Swift Testing in the toolchain rather than as a package dependency. by @grynspan in https://github.com/swiftlang/swift-package-manager/pull/7911 ## New Contributors * @ashokm made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7107 * @peterkos made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/6963 * @carlynorama made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7277 * @ktoso made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7303 * @rex4539 made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7318 * @judemille made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7314 * @lordzsolt made their first contribution in https://github.com/swiftlang/swift-package-manager/pull/7386 **Full Changelog**: https://github.com/swiftlang/swift-package-manager/compare/swift-5.10.1-RELEASE...swift-6.0-RELEASE