·
138 commits
to main
since this release
What's Changed
- Suppress redundant linkage warnings due to dependency linkage propagation by @pusukuri in #7404
- Write output-file-map.json atomically by @ahoppen in #7406
- Fix a memory leak in
DownloadTaskManager
andDataTaskManager
by @ahoppen in #7408 - Fix doc comment typo in
Sandbox.swift
by @MaxDesiatov in #7418 - PackageModelTests: fix warnings by @mnaruse in #7421
- Use
arguments
instead ofargumentList
in the macro template by @ahoppen in #7422 - On Darwin, allow XCTest to be missing if we're only building swift-testing tests. by @grynspan in #7426
- Fix indentation in
Product.swift
by @coffmark in #7427 - Add a
swift-corelibs-foundation
specific workaround by @xedin in #7425 - Suppress warnings for remote Clang targets by @xedin in #7423
- [cxx-interop] Propagate interop flag to the test entry point target by @egorzhdan in #7428
- Allow
swift-corelibs-foundation
to use unsafeFlags when used as a d… by @xedin in #7431 - Make
supportedTriples
optional in artifactbundle metadata by @kateinoigakukun in #7432 - Improve error message about the PackageGraphError.productDependencyNotFound by @k-kohey in #7419
- Improvements to prebuilt library configuration handling by @xedin in #7433
- Delete
Examples/package-info
directory as outdated by @MaxDesiatov in #7434 - Update Swift version to 5.9 in
.swiftformat
by @MaxDesiatov in #7438 - [PubGrub] Avoid resolving package versions twice in presence of prebuilt libraries by @xedin in #7436
- Fix sendability warnings in
URLSessionHTTPClient
by @MaxDesiatov in #7441 - NFC: Fix
@Sendable @escaping
order, symbol name typo by @MaxDesiatov in #7446 - Bump
swift-syntax
in template to600.0.0-latest
by @MaxDesiatov in #7443 - Update XCBuildSupport CODEOWNERS by @jakepetroules in #7449
- Add basic
QueryEngine
scaffolding w/Encodable
hashing by @MaxDesiatov in #7347 - Add
HashEncoder
andQueryEngineTests
by @MaxDesiatov in #7435 - Implement per target swift version selection by @xedin in #7439
- Expose
computeTestTargetsForExecutableTargets
via SPI by @MaxDesiatov in #7455 - Add VisionOS platform support to
PIF.PlatformFilter
by @Ryu0118 in #7448 - Rename
ResolvedTarget
toResolvedModule
by @MaxDesiatov in #7459 - Enable strict concurrency checks on
Basics
module by @MaxDesiatov in #7451 - Fix empty token on swift package-registry login (Issue #7453) by @pwallrich in #7454
- Add
UndirectedGraph
andDirectedGraph
data structures by @MaxDesiatov in #7460 - Remove outdated doc comment in
Workspace+State.swift
by @MaxDesiatov in #7463 - Add basic thresholds for
PackageGraphBenchmarks.swift
by @MaxDesiatov in #7462 - Remove use of
SWIFT_FORCE_*
build settings by @neonichu in #7464 - Revert "Revert "Support macros when cross-compiling (#7118)" (#7352)" by @MaxDesiatov in #7353
- Add simple synthetic modules graph benchmarks by @MaxDesiatov in #7465
- pkgconfig: Apply PKG_CONFIG_SYSROOTDIR when generating paths by @euanh in #7461
- Use new SPI for SourceKitLSPAPITests by @bnbarham in #7468
- Add synthetic modules-with-macros graph benchmarks by @MaxDesiatov in #7466
- [SE-0301] Updating a project and its manifest programmatically and from the command line by @DougGregor in #7467
- NFC: Add
Sendable
annotations to PackageDescription APIs by @xedin in #7475 - When adding a macro target to a package, create a dependency on swift-syntax by @DougGregor in #7476
- [SE-0301] Add swift package add-product command and supporting library by @DougGregor in #7477
- Make
SwiftSDK.init
available via@_spi
by @MaxDesiatov in #7482 - Only export required SwiftSyntax targets by @rintaro in #7489
- Include host triple test modules in
ResolvedPackage
by @MaxDesiatov in #7493 - build: remove the requirement to checkout swift-syntax by @compnerd in #7486
- Set environment variable to disable building swift-syntax in Swift 6 mode by @ahoppen in #7495
- Handle Swift versions unsupported by XCBuild by @neonichu in #7499
- Improvements to prebuilt or provided library handling by @xedin in #7496
- Remove
experimental
prefix from Swift SDK command by @MaxDesiatov in #7507 - Fix test targets that depend on macros and
swift-testing
by @grynspan in #7508 - Cleanup addition of swift-syntax by @bnbarham in #7505
- plugins: Pass correct dependency origin information to plugins by @euanh in #7506
- Bring back
experimental-sdk
as deprecated for compatibility by @MaxDesiatov in #7512 - NFC: Fix a typo in a label of
ModuleError.duplicateModulesScmAndRegistry
by @xedin in #7513 - Add end-to-end tests for
sdk
andexperimental-sdk
commands by @MaxDesiatov in #7517 - Add
swift build --enable-code-coverage
by @grynspan in #7518 - Fix incorrect paths for library products with explicit linkage by @MaxDesiatov in #7519
- Report whether a target is part of the root package in the sourcekit-lsp API by @ahoppen in #7492
- [ModulesGraph] Fix association between
.tools
targets and their pac… by @xedin in #7523 - Remove the addition of external-plugin-path for dev toolchains by @bnbarham in #7524
- package -> @_spi public due to package exportability rule updates by @elsh in #7525
- Add
Sendable
annotations to SwiftVersion by @coffmark in #7527 swift sdk
: print warnings on stderr instead of stdout by @MaxDesiatov in #7532- Teach swift package add-target --type test about swift-testing by @DougGregor in #7481
- Pass through swift-testing's experimental JSON streams from
swift test
by @grynspan in #7534 - [Package/ModuleGraph] Allow cyclic package dependencies if they don't introduce a cycle in a build graph by @xedin in #7530
- Align
swift sdk
configuration subcommand with proposal text by @MaxDesiatov in #7535 - Mark
buildSettingsDescription
as@_spi
inTarget.swift
by @MaxDesiatov in #7542 - Add API for background preparation in SourceKit-LSP by @ahoppen in #7540
- Update -swift-version to default to 6 for swift-tools-version 6 by @bnbarham in #7469
- [PackageModel] SwiftTarget: Rename
swiftVersion
intotoolsSwiftVersion
by @xedin in #7544 - Pass through
--experimental-event-stream-version
to swift-testing. by @grynspan in #7551 - [PackageModel] Associated swift version build setting with `SWIFT_VER… by @xedin in #7550
- Add two
Sendable
annotations to enable building SourceKit-LSP in Swift 6 mode by @ahoppen in #7553 - Don’t disable Swift 6 mode in swift-syntax by @ahoppen in #7545
- Expose the build triple of a
BuildTarget
inSourceKitLSPAPI
by @ahoppen in #7555 - Introduce manifest editing API for "add target dependency" by @DougGregor in #7552
- NFC: Updates to code owners file by @xedin in #7560
- [Package/Build] Remove
SwiftTarget.toolsSwiftVersion
in favor of a build setting by @xedin in #7557 - Generated code for XCTest on non-Darwin needs to be actor-isolated. by @grynspan in #7566
- Restore visibility of APIs that have been made
package
by @xedin in #7568 - Update diagnostics for duplicated product/target names by @neonichu in #7572
- Set an environment variable in
swift test
to indicate which testing library is in use. by @grynspan in #7573 - [PackageGraph] Allow package-level cyclic dependency only for >= 6.0 … by @xedin in #7579
- NFC: Add Pavel Yaskevich to CODEOWNERS by @xedin in #7583
- Rename back to
swift package completion-tool
by @kateinoigakukun in #7600 - Add Sendable to FileRuleDescription by @giginet in #7563
- Place build.db under the scratch directory by @kateinoigakukun in #7471
- [main] Enable
-user-module-version
for 6.0 by @MaxDesiatov in #7263 - Add support for swift-collections 1.1 by @jmschonfeld in #7607
- Cross compilation improvements by @xedin in #7593
- [Build] Adjust
computeLLBuildTargetName
to attempthost
destinati… by @xedin in #7619 - Fix incremental builds for
embedInCode
resources by @kateinoigakukun in #7616 - Add prepare for index experimental build argument by @dschaefer2 in #7574
- Partially revert #7566 to fix amazon linux 2 crash by @bnbarham in #7623
- Add cxx interop support to symbolgraph-extract by @rauhul in #7610
- Add
swift package add-target-dependency
command to edit the manifest by @DougGregor in #7594 - Add destination C module targets so you can prepare them directly. by @dschaefer2 in #7627
- Fix
swift-symbolgraph-extract
search paths by @rauhul in #7621 - [Basics] Switch
IdentifiableSet
to useOrderedDictionary
by @xedin in #7630 - Fix
clang
linker driver issue in the bootstrap script by @MaxDesiatov in #7633 - Update versions in
Utilities/Docker/Dockerfile
by @MaxDesiatov in #7632 - Remove --enable-library-evolution flag on prepare. by @dschaefer2 in #7635
- Require CMake 3.24 in
CMakeLists.txt
by @MaxDesiatov in #7631 - Fix
–-toolchain
value shadowed by local executables by @MaxDesiatov in #7483 - [Tests] Don't use invalid module to satisfy
canImport
check by @cachemeifyoucan in #7647 - [Build/PackageGraph] Sink fallback logic for macro/plugin/test products and packages identification into
ModulesGraph
by @xedin in #7646 - [Build/PackageGraph] Switch
BuildSubset.{product, target}
and `Modu… by @xedin in #7650 - Remove
Sendable
conformance onBundle
from SwiftPM by @MaxDesiatov in #7652 - Relax version ranges for dependencies in
Package.swift
by @finestructure in #7655 - Fix retroactive conformance warnings for 6.0+ compilers by @MaxDesiatov in #7605
- [Build] NFC: A few minor refactorings to build operation state tracking by @xedin in #7660
- Fix: use bearer auth when pulling binaryTarget or packages from a package registry by @pwallrich in #7662
- [Build] NFC: Split BuildOperationBuildSystemDelegateHandler into LLBu… by @xedin in #7667
- Fix: cache not cleaned up if download fails by @pwallrich in #7663
- [Traits] Package trait description and serialization by @FranzBusch in #7669
- Make traits optional in manifest deserialization by @FranzBusch in #7681
- Update versions in
Examples/package-info/Package.swift
by @csknns in #7666 - Fix parameter documentation in
PackageDependency.swift
by @SimplyDanny in #7682 - Provide deprecation messages for
PackagePlugin.Path
by @MaxDesiatov in #7677 - [Prepare] Don't skip non-exportable-decls when enable-testing by @dschaefer2 in #7675
- Clarify reproduction steps requirements in
BUG_REPORT.yml
by @MaxDesiatov in #7685 - [Traits] Integrate traits into module loading by @FranzBusch in #7689
- Remove unused
Codable
conformances onPackageModel
types by @MaxDesiatov in #7687 - Fix a link and top section in
CHANGELOG.md
by @MaxDesiatov in #7661 - Fix incorrect executable target diagnostic by @neonichu in #7447
- Fix most "target"/"module" internal naming inconsistencies by @MaxDesiatov in #7690
- Add support for new Android overlay (
import Android
) by @finagolfin in #7615 - Remove unused options from
add-product
subcommand by @taji-taji in #7693 - [Traits] Add experimental flags to enable specific or all traits, disable default traits by @FranzBusch in #7694
- Fix environment related warnings by @rauhul in #7684
- [NFC] Vendor
AsyncProcess
, make more testsasync
by @MaxDesiatov in #7679 - Fix build of host&target destination products with
--static-swift-stdlib
by @kateinoigakukun in #7695 - NFC: Assert that we don't add llbuild commands with the same name twice by @kateinoigakukun in #7698
- [Traits] Encode all trait information for package dump by @FranzBusch in #7701
- Add doc comments to the
GitInformation
PD API by @neonichu in #7696 - [Traits] Correctly diagnose unused dependency with traits by @FranzBusch in #7702
- Implement
fileAffectsSwiftOrClangBuildSettings
with the logic fromLLBuildManifestBuilder
by @ahoppen in #7699 - Add 'any' to generated test runner code by @glbrntt in #7705
- [Traits] Enable trait configuration for
swift-test
by @FranzBusch in #7704 - [Traits] Replace
isDefault
withdefault
trait by @FranzBusch in #7703 - [Build/Plugins] Separate plugin tool builds from plugin invocations by @xedin in #7706
- Update links for repositories moved to the swiftlang org on GitHub by @ahoppen in #7712
- Delete CODE_OF_CONDUCT.md by @parispittman in #7707
- [NFC] Fix typo, make formatting in PubGrub code consistent by @MaxDesiatov in #7717
- [NFC] Rename
SPMTestSupport
to_InternalTestSupport
by @MaxDesiatov in #7676 - Improve cross-compilation when using experimental XCBuild support by @neonichu in #7719
- Add missing nuget case to system package provider docs by @jakepetroules in #7725
- Move PackageCollectionsProtocol to async/await by @AndrewHoos in #7726
- Update all links to point to new swiftlang locations by @AndrewHoos in #7729
- Fix a bunch of concurrency related warnings by @AndrewHoos in #7728
- fix: warning using PluginTarget by @NakaokaRei in #7731
- chore: remove unused Tests (PackageLoadingPerformanceTests) by @NakaokaRei in #7735
- Add a
--experimental-prepare-for-indexing-no-skipping
command line option to prepare a target without function body skipping by @ahoppen in #7720 - Move getPackageMetadata to async/await by @AndrewHoos in #7727
- Async file package collections sources storage by @AndrewHoos in #7740
- Convert more package collections code to
async
/await
by @AndrewHoos in #7739 - Handle the "abnormal-exit" status kind from the Swift compiler's parseable output by @jakepetroules in #7733
- Update link to Swift system requirements by @tokizuoh in #7730
- [NFC] Remove
TSCBasic.InMemoryFileSystem
dependency by @MaxDesiatov in #7484 - Fix checksum computation for Swift SDK bundles by @MaxDesiatov in #7748
- Work around
swift-bootstrap
inability to handle plugins by @MaxDesiatov in #7750 - Fix warnings caused by unused
await
by @MaxDesiatov in #7756 - [Build] Integrate build-tool plugin invocations into build planning by @xedin in #7753
- Invalidate manifest cache when
-Xbuild-tools-swiftc
changes by @kateinoigakukun in #7760 - Clarify unsupported direct macro module imports in
CHANGELOG.md
by @MaxDesiatov in #7754 - Bump
swift-argument-parser
to 1.4.0 by @MaxDesiatov in #7450 - Import new Bionic module from Android overlay instead where possible by @finagolfin in #7755
- Add the formalized Swift Testing event stream arguments to
swift test
. by @grynspan in #7768 - Detect when Swift Testing returns
EXIT_NO_TESTS_FOUND
. by @grynspan in #7777 - Add a helper tool for swift-testing by @xedin in #7771
- Build one test product for both Swift Testing and XCTest (with Swift Testing enabled by default.) by @grynspan in #7766
- Pass through the toolchain to use for manifest loading by @bnbarham in #7639
- Disable Swift Testing by default in
swift package init
. by @grynspan in #7783 - Expose
Environment
with@_spi
by @MaxDesiatov in #7780 - Remove
--enable-swift-testing
et al. fromswift build
. by @grynspan in #7784 - Fix warning in
OSSignpost.swift
w/@preconcurrency import
by @MaxDesiatov in #7785 - Revert #7766 and #7783. by @grynspan in #7788
- Revert "Remove
--enable-swift-testing
et al. fromswift build
. … by @grynspan in #7790 - Build one test product for both Swift Testing and XCTest (with Swift Testing enabled by default.) by @grynspan in #7789
- Don't stomp on xUnit output from XCTest when running Swift Testing. by @grynspan in #7796
- Fix Package.swift diagnostics line off by 1 for tools versions <= 5.7 by @bripeticca in #7795
- [PubGrub] Narrow down cases when pre-release decisions are marked invalid by @xedin in #7799
- Don't log "no matching tests" diagnostic when running XCTest only. by @grynspan in #7803
- Revert all of the functionality related to provided libraries by @xedin in #7801
- Rename
BuildParameters.Testing.Library
. by @grynspan in #7806 - Move the 'GitRepositoryProvider' to compare urls using their canonical representation, correctly accepting results where repositories only differ by '.git' by @francescomikulis in #7741
- Use
release
build configuration inexperimental-install
by @MaxDesiatov in #7744 - Handle
.xcprivacy
files inTargetSourcesBuilder.swift
by @MaxDesiatov in #7807 - Add back
--enable-experimental-swift-testing
toswift build
as a no-op. by @grynspan in #7817 - Expose
platformVersionProvider
with@_spi(SwiftPMInternal)
by @MaxDesiatov in #7819 - Adopt language mode naming in
PackageDescription
API by @dempseyatgithub in #7620 - [Build] NFC: Compute per-module macro requirements on-demand by @xedin in #7812
- [PackageDescription] Deprecated
swiftLanguageVersion
should result … by @xedin in #7825 - [PackageLoading] Support deserialization of manifests that used `swif… by @xedin in #7827
- Detect if XCTest is installed on Darwin by @grynspan in #7805
- Add tests for
Basics/AsyncProcess
by @MaxDesiatov in #7824 - Fix
OSSignpost.swift
concurrency warning by @MaxDesiatov in #7829 - Implement
--checksum
option onswift sdk install
by @MaxDesiatov in #7722 - NFC: Resolve some
Sendable
-related warnings by @MaxDesiatov in #7822 - NFC: Fix doc comment link in
UndirectedGraph.swift
by @MaxDesiatov in #7832 - [PackageDescription] NFC: Address a deprecation warning about SwiftVe… by @xedin in #7833
- NFC: Fix comment typo in
Package.swift
by @MaxDesiatov in #7837 - Update copyright years in
README.md
by @MaxDesiatov in #7836 - Add
/.index-data
to.gitignore
inInitPackage.swift
by @MaxDesiatov in #7843 - Add a comment to explain why we don't process code coverage on test fail by @grynspan in #7844
- Remove
temp_await
[part 1] by @AndrewHoos in #7761 - Restore XML output for Swift Testing when
--disable-xctest
is passed. by @grynspan in #7849 - Remove
temp_await
[part 2] by @AndrewHoos in #7845 - Add
--type
argument toswift package add-dependency
by @hi2gage in #7815 - Remove
temp_await
from PubGrub code by @AndrewHoos in #7847 - Remove
temp_await
from swift-bootstrap by @AndrewHoos in #7852 - Remove
temp_await
from Snippets by @AndrewHoos in #7848 - [BuildPlan] Switch build plan construction to use graph traversal by @xedin in #7854
- NFC: Rename
PinsStore
toPackageResolvedStore
by @MaxDesiatov in #7839 - [PackageModel] Support swift-testing installed in a toolchain by @xedin in #7840
- Remove
temp_await
fromBuild
/BuildPlan
/*Command
/Workspace
by @AndrewHoos in #7851 - Refactor
temp_await
out of RegistryClient by @AndrewHoos in #7853 - [PackageModel] UserToolchain: Add Testing framework from commandline … by @xedin in #7857
- Remove usage of
temp_await
in PackageContainer by @AndrewHoos in #7858 - Ensure tools builds never build in prepare mode. by @dschaefer2 in #7846
- Remove all remaining usages of
temp_await
andsafe_async
by @AndrewHoos in #7859 - Replace withCheckedThrowingContinuation with native async/await by @AndrewHoos in #7860
- NFC: Add
AsyncStream
-based API toAsyncProcess
by @MaxDesiatov in #7830 - [PackageModel] SwiftTesting: Fix directory existence check to use tes… by @xedin in #7861
- Finish moving package collections to async/await by @AndrewHoos in #7746
- Refactored PackageFingerprintStorage to not use callbacks or async/await by @AndrewHoos in #7862
- Add
async
-friendlyWritableStream
, create_AsyncFileSystem
module by @MaxDesiatov in #7831 - [Build/Commands] Switch
SymbolGraphExtract
to use build plan by @xedin in #7863 - [Build] Use a separate scope while constructing a build plan by @xedin in #7865
- [Build] NFC: Rename
ModuleBuildDescription
property fromtarget
t… by @xedin in #7867 - Add (partial) support for building on Windows using SwiftPM by @jakepetroules in #7866
- [BuildPlan] Add a way to traverse the graph and compute destinations for all modules by @xedin in #7868
- Update CODEOWNERS - add Owen by @jakepetroules in #7874
- Add more support for building on Windows using SwiftPM by @jakepetroules in #7873
- Remove some PIF overrides to match Xcode behavior by @jakepetroules in #7878
- Add new SwiftPM team members to CODEOWNERS. by @dschaefer2 in #7875
- [Build] BuildPlan: Always discover test modules through their aggrega… by @xedin in #7879
- [Build] Free
BuildPlan
fromBuildTriple
by @xedin in #7877 - Revert "[Build] Free
BuildPlan
fromBuildTriple
" by @xedin in #7882 - Ensure package plugin sandbox contents is deterministic by @owenv in #7876
- Un-Revert "[Build] Free
BuildPlan
fromBuildTriple
" by @xedin in #7883 - Disable part of a test that fails with Swift Testing in the toolchain. by @grynspan in #7885
- [SourceKitLSP] Start using SwiftPM independent
BuildDestination
typ… by @xedin in #7884 - [Build] BuildPlan: Use
Destination
instead ofBuildTriple
to form… by @xedin in #7881 - [Build] NFC: Remove uses of
buildTriple
fromcomputeDependencies(of:)
by @xedin in #7888 - Fix
InternalImportsByDefault
diagnostics in _AsyncFileSystem by @tshortli in #7895 - [CHANGELOG] NFC: Add an entry for SE-0441 and mark recursive dependencies as implemented in Swift 6 by @xedin in #7898
- Bump the Swift version to 6.1.0 by @shahmishal in #7900
- [PackageGraph/Build] Remove
BuildTriple
and its remaining uses by @xedin in #7896 - Fix more
InternalImportsByDefault
errors by @tshortli in #7905 - [PackageModel] Toolchain: Split SwiftTesting flags between swift comp… by @xedin in #7903
- Remove redundant EXECUTABLE_NAME overrides in PIF by @jakepetroules in #7906
- Update package templates to use Swift Testing in the toolchain rather than as a package dependency. by @grynspan in #7872
- Revert "Remove redundant EXECUTABLE_NAME overrides in PIF" by @bnbarham in #7915
- Update swift-toolchain-sqlite by @jakepetroules in #7909
- Temporarily disable new Swift Testing tests by @bnbarham in #7916
add-target
breaks resulting package when target name is not valid Swift identifier by @dmhts in #7764- [PackageModel] Inject swift-testing flags only if toolchain is target… by @xedin in #7920
- Disable
testAsyncStream*
inAsyncProcessTests.swift
by @MaxDesiatov in #7923 - Fix direct
FilePath
hashing inQueryEngine
by @MaxDesiatov in #7926 - Keep loose compatibility with Swift 5.8 in AsyncFileSystem by @kateinoigakukun in #7928
- Make deriveTargetSwiftSDK public by @kabiroberai in #7925
- Revert "Fix: use bearer auth when pulling binaryTarget or packages from a package registry" by @MaxDesiatov in #7811
- [cxx-interop] Improve wording of doc comment by @egorzhdan in #7933
- Use
SWIFTCI_USE_LOCAL_DEPS
as the CI check by @bnbarham in #7939 - Fix link in
CHANGELOG.md
, addswift sdk install --checksum
item by @MaxDesiatov in #7935 CheckoutState.swift
: Fix typo in comment by @valeriyvan in #7944XCBuildSupport/PIFBuilder.swift
: Add missed parameter to doc comment by @valeriyvan in #7945- Reapply "Remove redundant EXECUTABLE_NAME overrides in PIF" (#7915) by @jakepetroules in #7918
AsyncProcess
: Replace unused vars with_
to address warning by @valeriyvan in #7955- CoreCommands: fix unused
getRootPackageInformation()
result warning by @valeriyvan in #7956 - ManifestLoader.swift: Address concurrency warning by @plemarquand in #7961
- Address concurrency warnings by @plemarquand in #7964
- Fixup warnings in tests by @plemarquand in #7963
- APIDiff.swift: Address warning by using task group instead of semaphore by @valeriyvan in #7959
- PackageDescription: add 2024 Darwin OS versions to
SupportedPlatforms
by @MaxDesiatov in #7969 - Refactor withCheckedThrowingContinuation calls to get rid of warnings by @valeriyvan in #7981
- Workspace: fix warning applying @sendable annotation by @valeriyvan in #7980
- Workspace: use TaskGroup to fix concurrency warning by @valeriyvan in #7979
- Fix discrepancies with usage of package display name/package identity in
swift package edit
command by @bripeticca in #7941 - Report whether a source file is part of a test target in the SourceKit-LSP API by @ahoppen in #7978
- #7975 Update "Getting Started" guide link by @JacobHearst in #7985
- Change
traverseModules
to return modules with their dependencies by @ahoppen in #7977 - [Tests] NFC: Remove overload of
GeneralizedTime.init(_:)
by @xedin in #7986 - Add
OSFileSystem
to complementMockFileSystem
by @MaxDesiatov in #7927 - Improve displayVersion and scmRevision description exposed by PluginContextSerializer by @dfed in #7934
- Remove
@MainActor
from XCTest glue. by @grynspan in #7967 - Apply @sendable annotation to address the compiler warning by @valeriyvan in #7993
- Fix email in mailmap by @valeriyvan in #7991
- Enable WMO for Embedded targets automatically by @rauhul in #8003
- directoryURL is missing from the Target protocol in the PackagePlugin APIs by @jakepetroules in #8002
- Fix path handling for plugins on Windows by @jakepetroules in #8007
- Deprecate tvOS 11.0 and iOS 11.0 deployment target API by @jakepetroules in #8016
- Mark
LegacyHTTPClientRequest
as Sendable by @plemarquand in #8015 - Fix compiling test runners for Android by using the full overlay by @finagolfin in #8018
- Add a fallback extension none os dylibs by @rauhul in #8022
- Fix the typo in the word
Continuous
by @MojtabaHs in #8027 - Add an expectation of a warning diagnostic to tests that hide
libSwiftScan
. by @artemcm in #7995 - Tests: Fix always succeeding
XCTAssertAsyncNoThrow
by @kateinoigakukun in #8026 - Add a new show-executables package subcommand for all executables by @cmcgee1024 in #8005
- Use
OrderedDictionary
forPIF.BuildSettings
internal properties by @shawnhyam in #8032 - Fix typos in some files in
Fixtures
directory by @MojtabaHs in #8028 - Stop disabling implicit import of _Concurrency and _StringProcessing in bootstrap by @owenv in #8036
- Allow building against a single dynamic swift-syntax library by @ahoppen in #8039
- Fix target toolsets polluted with host toolset extra CLI options by @MaxDesiatov in #8034
- Plugin: Stop building with
-enable-testing
even with release config by @kateinoigakukun in #8025 - When generating manifest the type should be before the targets by @csknns in #8042
- Use
CaseIterable
to auto-generate CLI--help
entries by @cmcgee1024 in #8045 - Use
readData
to read data from a pipe instead ofavailableData
by @ahoppen in #8047 - Add descriptive error when attempting to list tests before building by @plemarquand in #8046
- Ensure a newline is printed after Planning build by @plemarquand in #8050
- Update completion-list help string by @plemarquand in #8052
- SE-0387: add
--toolset
option to build-related subcommands by @MaxDesiatov in #8051 completion-tool list-executables
should list executable names by @plemarquand in #8053- Implicitly support Darwin SDKs on macOS by @kabiroberai in #6828
- Don’t write output file map when getting compiler arguments for SourceKit-LSP by @ahoppen in #8075
- Fix initial manifest caching with nested scratch dir and local cache by @kateinoigakukun in #8088
- Test: ensure swift-[build|test] emit expected number of fatal error on console by @bkhouri in #8076
- Use async
HTTPClient
inBinaryArtifactsManager
by @MaxDesiatov in #8087 - Make access modifiers public for users of the package. by @shawnhyam in #8086
- Loosen swift-system version constraint by @owenv in #8063
- Refresh the Swift Package Registry OpenAPI document by @czechboy0 in #8096
- Remove
/.index-build
from the.gitignore
generated byswift package init
by @ahoppen in #8097 - Support separate modules for static and dynamic exporting symbols for Windows by @dschaefer2 in #8049
- Expose all target files to SourceKit-LSP by @matthewbastien in #8107
- Handle hash characters (#) in netrc fields by @plemarquand in #8109
- Attempt two at solving Windows symbol linking issues by @dschaefer2 in #8117
- Android: import new Android overlay in more places by @finagolfin in #8115
- Use Windows-style paths with backslashes in SourceKit-LSP compiler arguments for plugins by @ahoppen in #8118
- Add Package edit support for packages with unsafe flags by @hi2gage in #8120
- Log timestamps in the bootstrap scripts by @MaxDesiatov in #8113
- Add basic support for plugins in swift-bootstrap script by @owenv in #8128
- Tests: Disable assert in TraitTests by @bkhouri in #8132
- Fix typo in
Package.swift
comment by @MaxDesiatov in #8146 - Flush
Utilities/bootstrap
script logging output by @MaxDesiatov in #8141 - PackageDescription.Target.Dependency type have been changed to conform to Sendable by @coffmark in #8143
- Bump the Swift version to 6.2 by @shahmishal in #8135
- Package plugins don't work on Windows if the PATH environment variable isn't accessed with the right case by @jakepetroules in #8126
- Android: switch to the new swift-toolchain-sqlite package instead of requiring an external dependency by @finagolfin in #8148
- Guard resource access header with OBJC to avoid including Foundation.h by @rjmansfield in #7962
- Unify env vars for
Utilities/bootstrap
commands by @MaxDesiatov in #8154 - [6.1] Update related dependencies to release/6.1 by @ahoppen in #8157
- Add basic tests for
completion-tool list-{dependencies,snippets}
by @plemarquand in #8065 - Add additional test cases to the
ModuleAliasing
suite by @bkhouri in #8155 - Use
AbsolutePath.asURL
instead of creating a new URL from the path string by @matthewbastien in #8159 - Show human-readable git errors by @yyvch in #8152
- Workspace/InitPackage: Add
.vscode
to.gitignore
by @czechboy0 in #8164 - Fix comment typo in
SwiftCommandState.swift
by @MaxDesiatov in #8165 - Return compiler arguments for invalid package manifests by @ahoppen in #8138
- Enable cross-import overlays in test targets. by @grynspan in #8158
- Add
--experimental-attachments-path
toswift test
. by @grynspan in #8170 - Add additional tests for
interpreterFlags
by @ahoppen in #8172 - CMake: Make
SourceControl
a shared library by @Steelskin in #8124 - Revert "Workspace/InitPackage: Add
.vscode
to.gitignore
" by @plemarquand in #8168 - [Traits] Enable all traits when building the symbol graph by @FranzBusch in #8177
- [Traits] Only allow valid Swift identifiers by @FranzBusch in #8178
- [Traits] Remove experimental and SPI guards by @FranzBusch in #8179
- pipeline: changes to support nightly toolchain by @bkhouri in #8161
- Skip flakey PackageCommandTests.testCommandPluginDiagnostics test by @plemarquand in #8181
- Update owners file by @bkhouri in #8167
- Fixup some build warnings in tests by @plemarquand in #8184
- Tool version updates by @bkhouri in #8183
- Fix registry resolution of major alternate package manifests by @fortmarek in #8188
- Fix resolve failing when package from registry is referenced by name by @fortmarek in #8166
- version: set the version back to 6.1.0 by @bkhouri in #8173
- [6.1] Include the path to the platform's PrivateFrameworks directory in DYLD_FRAMEWORK_PATH when launching test runners by @stmontgomery in #8204
- Disable development mode by @bkhouri in #8139
- Swift-Syntax Prebuilts for Macros 6.1 by @dschaefer2 in #8214
- [6.1] Binary dependencies of C/C++ modules break build planning by @bnbarham in #8225
- Use prebuilts for macro tests. Add debug URL for swift-syntax. by @dschaefer2 in #8229
- Clean up warnings, fix handling of dep version changes by @dschaefer2 in #8232
- Fix prepare for indexing so plugin tools are properly built. (#8230) by @dschaefer2 in #8236
- [6.1] Fix registry package swizzling when package name casing differs by @plemarquand in #8234
- [6.1] Add include dir from a clang module into the build args. by @yyvch in #8241
- Set candidate URL for prebuilts download. by @dschaefer2 in #8246
- Fix layout of artifacts in build prebuilts script. by @dschaefer2 in #8256
- [6.1] Handle paginated registry metadata responses (#8219) by @plemarquand in #8262
- Enable building prebuilts on linux hosts without docker. by @dschaefer2 in #8269
- [6.1] Apply toolset's
debugger
property inswift run
by @MaxDesiatov in #8257 - [6.1] Apply toolset's
testRunner
property inswift-test
by @MaxDesiatov in #8258 - Signing of the prebuilts manifest file. by @dschaefer2 in #8284
- [6.1] Add a new
BuildDescription.load
API for use in SourceKit-LSP by @bnbarham in #8296 - [6.1] Fix retain cycle in
LLBuildProgressTracker
by @ahoppen in #8308 - Fixed update of swift-syntax package version in swiftpm macro templates by @johnbute in #8312
- Found another place where we specify the swift-syntax version. by @dschaefer2 in #8321
- Cherry pick swbuild support to 6.1 by @dschaefer2 in #8322
New Contributors
- @mnaruse made their first contribution in #7421
- @coffmark made their first contribution in #7427
- @Ryu0118 made their first contribution in #7448
- @pwallrich made their first contribution in #7454
- @csknns made their first contribution in #7666
- @parispittman made their first contribution in #7707
- @tokizuoh made their first contribution in #7730
- @dempseyatgithub made their first contribution in #7620
- @tshortli made their first contribution in #7895
- @JacobHearst made their first contribution in #7985
- @dfed made their first contribution in #7934
- @MojtabaHs made their first contribution in #8027
- @matthewbastien made their first contribution in #8107
- @rjmansfield made their first contribution in #7962
- @Steelskin made their first contribution in #8124
Full Changelog: swift-6.0.3-RELEASE...swift-6.1-RELEASE