What's Changed
- Minor Codable conformance improvements in SwiftBuildSupport by @pmattos in #8449
- Adopt SwiftBuild.ProjectModel API in the new PIF builder in SwiftBuildSupport by @pmattos in #8441
- Tests: Enabled SourceControlTests on Windows by @bkhouri in #8453
- Clarify documented behavior of versioned manifest files in usage docs by @stmontgomery in #8462
- Tests: Enable some WorkspaceTests on Windows by @bkhouri in #8463
- Tests: Enable tests on Windows by @bkhouri in #8466
- SwiftSDK: Remove hardcoded WASI sysroot path derivation by @kateinoigakukun in #8468
- Copy helpers internally by @bkhouri in #8467
- Revert "Copy helpers internally" by @nate-chandler in #8474
- Fix duplicate modulemap errors with macro and plugin deps by @dschaefer2 in #8472
- Copy helpers internally by @bkhouri in #8476
- Fix
SwiftBuildSupport/README.mdby @MaxDesiatov in #8483 - Fix bootstrapping on OpenBSD by @3405691582 in #8451
- Link test command test failures on Linux to issue by @cmcgee1024 in #8459
- Revert "Copy helpers internally" again by @pmattos in #8494
- Tests: Split SerializedJSONTests by @bkhouri in #8496
- Mark skipped test with a GitHub issue by @bkhouri in #8502
- Improve Swift Build error formatting by @pmattos in #8493
- Docs: Refer to swiftly in CONTRIBUTING.md by @bkhouri in #8504
- Test: Enable ConcurrencyHelpersTests on Windows by @bkhouri in #8506
- Really fix duplicate module maps this time. by @dschaefer2 in #8498
- Implement --enable-parseable-module-interfaces for swift-build buildsystem by @daveinglis in #8421
- Add
swift test --attachments-path. by @grynspan in #8492 - Tests: Ensure we get clean test fixtures by @pmattos in #8507
- Revert "Really fix duplicate module maps this time." by @dschaefer2 in #8517
- Adopt new PIF builder in SwiftBuildSupport by @pmattos in #8454
- Tests: Fix 22 warning in BuildCommandTests by @pmattos in #8509
- Add an .editorconfig file by @jakepetroules in #8518
- Make sure the workspace state is saved after adding/removing artifacts. by @shawnhyam in #8475
- build-using-self use a self build of swift-test instead by @dschaefer2 in #8548
- Disable failing SwiftBuild test on AmazonLinux 2 by @bkhouri in #8546
- Tests: Run packageInitExecutable test on all platforms for native build system by @pmattos in #8527
- Adopt MemberImportVisibility by @plemarquand in #8525
- Add support for testable executables on Windows by @jakepetroules in #8515
- Add FreeBSD support to SwiftBuild PIF builder by @pmattos in #8550
- Skip failing test in
TestCommandTests.swiftby @MaxDesiatov in #8553 - [Build] Enable diagnostic serialization by default for swift modules by @xedin in #8531
- [Commands] Initial implementation of
swift package add-settingcommand by @xedin in #8532 - Output Swift Build PIF JSON for Graphviz visualization by @pmattos in #8539
- Enable more plugin related tests for non-macOS platforms by @cmcgee1024 in #8477
- Revert "Enable more plugin related tests for non-macOS platforms" by @MaxDesiatov in #8557
- Prevent non-targets from depending on test targets by @johnbute in #8513
- Adds DocC catalog to host SwiftPM documentation by @heckj in #8487
- Closes #8520 - Fix up test execution for IntegrationTests by @kcieplak in #8538
- Re-enable more plugin related tests for non-macOS platforms by @cmcgee1024 in #8558
- Re-enable tests in Windows CI by @dschaefer2 in #8562
- Tests: enable a test and update skip reason by @bkhouri in #8542
- Test: Enable most AsyncProcessTests by @bkhouri in #8500
- Fix a number of minor curated documentation issues by @jakepetroules in #8563
- Use
GENERATE_PRELINK_OBJECT_FILEinPackagePIFProjectBuilderby @MaxDesiatov in #8570 - Avoid building targets that are conditional on platform when building all by @cmcgee1024 in #8568
- Factor the working directory skip into a common function by @jakepetroules in #8561
- Tests: Enable more WorkspaceTests on Windows by @bkhouri in #8457
- Refactor slow to type check expression by @plemarquand in #8565
- Use correct FileSystem in the PIF builder for Swift Build by @pmattos in #8574
- Make add-dependency idempotent by @plemarquand in #8534
- pipeline: support additional args in build-using-self by @bkhouri in #8559
- [Traits] Change
TraitConfigurationto be an enum instead of struct by @bripeticca in #8370 - Fix dup modmaps taking into account macro test targets. by @dschaefer2 in #8524
- Tests: Merge Windows helper function and update GH issues by @bkhouri in #8569
- Some PIF delegate fixes for Swift Build by @pmattos in #8573
- stubs for initial DocC structure by @heckj in #8572
- Introduce new defines to enable #bundle in Swift Packages by @matthewseaman in #8556
- Add missing file to SwiftBuildSupport/CMakeLists.txt by @pmattos in #8581
- Rename remaining occurrences of the old helper. by @yyvch in #8583
- Add swift version file to record the Swift toolchain to use by @cmcgee1024 in #8411
- Tests: Conditionally skip the Archiver tests by @bkhouri in #8601
- Tests: Enable some BuildTests/**/*.swift tests on Windows by @bkhouri in #8512
- Tests: Reference issue in skipped SourceControlPackageContainerTests by @bkhouri in #8579
- Tests: Enable BasicsTests/FileSystem/* Tests on Windows (Swift Testing) by @bkhouri in #8450
- Implement SwiftFixIt — a library for deserializing diagnostics and applying fix-its by @AnthonyLatsis in #8585
- Test: Guard a ManifestSourceGenerationTest and annotate skip message by @bkhouri in #8582
- Test: Convert more tests to Swift Testing by @bkhouri in #8100
- Bump iOS deployment target to 17 to match dependencies by @jakepetroules in #8611
- Tests: Convert some WorkspaceTests module tests to Swift Testing by @bkhouri in #8092
- Tests: Convert more BasicTests to Swift Testing by @bkhouri in #8617
- [SwiftFixIt] Allow filtering diagnostics by category by @xedin in #8620
- Tests: Convert SPMBuildCoreTests to Swift Testing by @bkhouri in #8625
- normalize abstracts and help content for swift commands by @heckj in #8566
- Display PID of other running SwiftPM processes by @louisunlimited in #8575
- [Commands]
swift package migratecommand by @xedin in #8613 - [Commands] Adjust
swift package migrateto only apply fix-its to th… by @xedin in #8629 - Tests: Convert Environment/Graph and other suites to ST by @bkhouri in #8624
- Use async methods when loading manifests by @plemarquand in #8551
- Tests: Convert more tests to Swift Testing by @bkhouri in #8636
- Minor improvement in SwiftBuildSupport helpers by @pmattos in #8631
- Remove previous maintainers from CODEOWNERS by @bnbarham in #8644
- Add more context for validation errors for target properties. by @yyvch in #8612
- Support Swift SDKs w/ many metadata files in same directory by @MaxDesiatov in #8638
- Set tools version to 6.1 by @bkhouri in #8637
- Forward cherry pick the prebuilts feature to main. by @dschaefer2 in #8610
- Do not try to add rpath arguments on noneOS by @rauhul in #8358
- Use mergeable symbols in embedded by @rauhul in #8654
- Revert "Tests: Convert Environment/Graph and other suites to ST" by @bkhouri in #8647
- [cmake] Turn
SwiftFixItinto a static library by @xedin in #8661 - Build SwiftBuild as part of CMake bootstrapping by @owenv in #8445
- Remove Swift-numerics dependency by @bkhouri in #8664
- Add
.staticLibrarysupport for binary targets by @FranzBusch in #8639 - CLI command docs by @heckj in #8642
- Tests: Convert Environment/Graph and other suites to ST by @bkhouri in #8663
- Fix comment typo in
SwiftCommandState.swiftby @MaxDesiatov in #8667 - Clarify release branch cherry-picks process in
CONTRIBUTING.mdby @MaxDesiatov in #8634 - Copy helpers internally - take 3 by @bkhouri in #8495
- clean up misformatting for CLI command options by @heckj in #8666
- SwiftBuild: Fix executable can't find dynamic lib runtime error by @pmattos in #8650
- Fix typos in package registry documentation by @robinkunde in #8669
- Use WasmKit by default for Wasm triples in toolsets by @MaxDesiatov in #8668
- Fixes many tests (plus skips) to get more tests running on windows by @daveinglis in #8609
- Include search path for Swift Testing's macro plugin from toolchain if present by @stmontgomery in #8670
- SwiftFixIt: Misc improvements by @AnthonyLatsis in #8671
- Add target name to PIF graphviz output by @pmattos in #8678
- Migrate README by @heckj in #8621
- Clean up some Darwin platform conditions by @jakepetroules in #8679
- Tests: Convert RegistryClientTests to Swift Testing by @plemarquand in #8640
- [Commands] Migrate: Group manifest update errors per target by @xedin in #8677
- [Commands] Migrate: Avoid injecting feature settings into every Swift… by @xedin in #8700
- [Commands] AddSetting: Searching for a target in the manifest shouldn… by @xedin in #8699
- Add new maintainers to migrate command and SwiftFixIt module by @xedin in #8713
- [CODEOWNERS] Move code owners for specific directories/files under wi… by @xedin in #8719
- Mark completion callbacks as Sendable by @plemarquand in #8712
- Fix issue with running test on windows w/no-parallel by @daveinglis in #8676
- Dynamically determine the swift compiler version. by @dschaefer2 in #8708
- [test] SwiftFixIt: Switch to Swift Testing by @AnthonyLatsis in #8683
- [Swift migrate] Handle migration for optional features by @DougGregor in #8711
- Convert git WorkingCopy API to async by @plemarquand in #8681
- Improve output formatting with Swift Build backend by @jakepetroules in #8698
- swift-package-migrate: Report a fix-it application summary by @AnthonyLatsis in #8684
- Swift Build: pass some additional settings needed for cross-compilation by @jakepetroules in #8697
- Migrate PackageDescription.md reference by @bripeticca in #8675
- Curate (organize layout) and remove DocC warnings for PackageDescription by @heckj in #8718
- Pass the correct toolchain path to SwiftBuild by @jakepetroules in #8696
- Partial migration of Usage.md - topics related to dependencies and C language modules by @heckj in #8709
- build-using-self: Add ability to pass extra build/run/test arguments by @kcieplak in #8723
- Generate the compatibility header for libraries on all platforms by @xymus in #8695
- SwiftFixIt: Always rely on the UTF-8 offset of an input source location by @AnthonyLatsis in #8733
- Allow staging in new BuildSettings.Declaration cases without introducing failures by @owenv in #8724
- [test] SwiftFixIt: Add XFAILed test for duplicate insertion fix-its by @AnthonyLatsis in #8735
- Wire up the plugin script runner to the PIF Builder for build tool plugins by @cmcgee1024 in #8728
- Pass the correct toolchain path to SwiftBuild on Windows and FreeBSD by @jakepetroules in #8737
- Tests: Convert StaticBinaryLibrary Test to Swift Testing by @bkhouri in #8685
- Fix several warnings across the codebase by @AndrewHoos in #8743
- Add PackageIdentity to Workspace prebuilt delegate methods by @plemarquand in #8740
- Move to TrieTest to swift-testing by @AndrewHoos in #8742
- Port contents of
Documentation/PackageSecurity.mdto DocC by @bripeticca in #8726 - Port contents of
Documentation/libSwiftPM.mdto DocC by @bripeticca in #8725 - Add sandboxing to build tool plugins in swiftbuild build system by @cmcgee1024 in #8747
- Detect embedded swift in flags by @rauhul in #8693
- Leverage package graph, add include paths. by @dschaefer2 in #8750
- Port contents of
Documentation/ModuleAliasing.mdto DocC by @bripeticca in #8730 - migrated, and updated, swift package manager getting started content by @heckj in #8738
- Sever TSC/Driver dependencies if using SwiftBuild Framework by @bkhouri in #8442
- Migrate remaining content from documentation/Usage.md into DocC articles by @heckj in #8734
- Migrate
PackageCollections.mdto DocC by @bripeticca in #8715 - Enable contrived test plugin test case by @cmcgee1024 in #8756
- Temporarily skip a Swift Build test to allow staging in changes to the test product type. by @owenv in #8758
- Unskip tests blocked by requireThreadSafeWorkingDirectory by @jakepetroules in #8763
- [PackageModel] Toolchain: A few fixes for features supported by Swift compiler by @xedin in #8761
- exclude README in docs sources to resolve build warning by @heckj in #8764
- Binary Static Library Artifact auditing tool by @daniel-grumberg in #8741
- migrates documentation/continuousintegration.md by @heckj in #8760
- SwiftBuildSupport: Cover additional BuildParameters options by @owenv in #8768
- Provide library paths to plugin tools when run as custom tasks by @cmcgee1024 in #8767
- Remove workarounds for missing chdir support on Amazon Linux 2 by @jakepetroules in #8781
- Async git repository opening by @plemarquand in #8721
- Disable some tests when running on Windows platform smoke test by @bkhouri in #8759
- Fix testIncorrectDependencies failure on linux due to merge race by @owenv in #8795
- Add SwiftBuildSupport to the primary libSwiftPM product by @owenv in #8780
- Allow prebuilt manifests to be updated as platforms are added. by @dschaefer2 in #8784
- Unify argument formatting for add setting and migrate by @xedin in #8800
- Add the new platform versions to the SupportedPlatforms API by @jakepetroules in #8790
- Remove obsolete experimental explicitly-built modules implementation by @artemcm in #8778
- Adding --verbose to swift build triggers a full rebuild instead of incremental by @plemarquand in #8717
- Test: disable environment test in self hosted by @bkhouri in #8799
- build: update swift-argument-parser dependency by @compnerd in #8789
- Tests: Add "XCTSkipExhibits" call by @bkhouri in #8783
- Migrates plugin documentation into DocC by @heckj in #8766
- Command plugins should respect --build-system selection by @owenv in #8779
- Update Package.swift dependency by @bkhouri in #8802
- Add support for a
--sanitize=fuzzerflag by @DanBlackwell in #8729 - [Commands] Fixes a few issues with
swift package migratecommand by @xedin in #8806 - Tests: Convert Build Command Tests to Swift Testing by @bkhouri in #8714
- adds documentation to define the default value for target isolation by @heckj in #8823
- [ModuleGraph] Bring back original check for implicit system libraries by @xedin in #8824
- Support using a Swift file as a build tool plugin executable by @plemarquand in #8807
- Tests: Augment TraitTests to support SwiftBuild by @bkhouri in #8813
- Do not include all of the build dir for API digester to avoid conflicting definitions. by @yyvch in #8776
- Fixup testBuildToolPluginSwiftFileExecutable by @plemarquand in #8833
- Fix warnings in generated build-tool-plugin template code by @plemarquand in #8801
- _AsyncFileSystem: add missing file in the CMake build by @compnerd in #8817
- updates build-tool documentation by @heckj in #8829
- Migrate PluginTests to Swift Testing by @cmcgee1024 in #8793
- build: avoid duplicating all the flags for FreeBSD by @compnerd in #8818
- build: correct the package name for SPM by @compnerd in #8819
- Prevent unnecessary rebuilds when modifying swiftc arguments by @plemarquand in #8803
- Tests: Convert Run Command Tests to Swift Testing by @bkhouri in #8771
- [Commands] SE-0481: Align the arguments to
--targetand `--to-featu… by @xedin in #8840 - Fix plugin incorrect dependencies test known issue by @cmcgee1024 in #8839
- CI: Minor improvement to build-using-self by @bkhouri in #8836
- Tests: Mark test as intermittent failing by @bkhouri in #8851
- Mark known issue as intermittent for plugin test by @cmcgee1024 in #8854
- Explicitly import _Concurrency in PackageDescription/BuildSettings.swift by @plemarquand in #8850
- Test: Merge IntegrationTests into Tests by @bkhouri in #8223
- SwiftBuildSystem: Expose public API for reuse by SourceKit-LSP/BSP by @owenv in #8842
- Delete wrong doc comment for Package.name by @ole in #8843
- build: complete the CMake based build by @compnerd in #8834
- Extends support for arm64e to macOS & visionOS platforms by @pmattos in #8837
- Async repository fetching by @plemarquand in #8860
- [SE-0480] Build settings for warning control flags by @DmT021 in #8315
- Non-darwin test discovery with Swift Build by @owenv in #8722
- Require explicit build system when initializing BuildParameters by @owenv in #8861
- Activate swift build support for command plugins by @cmcgee1024 in #8845
- Port
Documentation/PackageRegistrydirectory contents into DocC by @bripeticca in #8745 - Support String Catalog symbol generation by adding String Catalogs as both Sources and Resources by @matthewseaman in #8815
- Tests: mark tests as intermittent failure by @bkhouri in #8871
- Fix test failures by @cmcgee1024 in #8874
- build-using-self: Do not set unnecessary env var by @bkhouri in #8859
- Unskip swiftbuild tests that previously failed due to missing dsymutil by @cmcgee1024 in #8879
- SwiftBuild: Enable traits support by @bkhouri in #8873
- Cherry picks FreeBSD fix to main by @pmattos in #8887
- Implement diagnose-api-breaking-changes support with --build-system swiftbuild by @owenv in #8857
- Allow C targets to import the compatibility header generated for Swift libraries by @xymus in #8736
- Tests: Migrate Test Command Tests to Swift Testing by @bkhouri in #8835
- Tests: Update expectation by @bkhouri in #8891
- Fix --quiet option not working with swift run #8844 by @MaelRB in #8858
- Revising DocC content for the CLI commands to be able to read the arguments for the commands by @heckj in #8883
- Fix pkgconfig file parsing on Windows. by @dschaefer2 in #8904
- Package: Update Swift Tool Support Core references by @bkhouri in #8910
- SwiftFixIt: Skip duplicate insertion fix-its by @AnthonyLatsis in #8892
- Fix
swift package describefor packages with binary artifacts that has a .zip extension. by @taji-taji in #8809 - Disable check for unsafe flags. by @dschaefer2 in #8896
- Inherit current environment in build tool plugin custom tasks by @cmcgee1024 in #8880
- Support swift package migrate with --build-system swiftbuild by @owenv in #8888
- Add %p to LLVM_PROFILE_FILE pattern when running tests with coverage by @simonjbeaumont in #8894
- Bump swift-syntax in template to 602.0.0-latest by @rconnell9 in #8921
- Tests: APIDiff Tests - mark known issues on AL2 by @bkhouri in #8927
- AsyncProcess: simplify the code path to not depend on the TSC wrappers functions on Darwin by @jakepetroules in #8924
- Allow omitting the target triple for
swift sdk configureby @marcprux in #8856 - fix deprecation to introduction for publicHeadersDirectoryURL property by @heckj in #8870
- Tests: Update isAmazonLinux2() logic by @bkhouri in #8932
- swift-package-migrate: Hide global options by @AnthonyLatsis in #8934
- Fix warning - Sending value of non-Sendable type '() async -> ()' risks causing data races by @rconnell9 in #8937
- Symbol graph support for swiftbuild build system by @cmcgee1024 in #8923
- Update CODEOWNERS by @jakepetroules in #8939
- Make sdkRootPath property of swift-sdk.json targetTriples object optional by @marcprux in #8687
- [BuildPlan] Fix
traverseModulesto account for tests with direct ma… by @xedin in #8940 - Assure trait-guarded dependencies are not included in resolution; precompute enabled traits before resolution by @bripeticca in #8852
- Accept arbitrary strings in Swift Testing event stream version options by @stmontgomery in #8944
- swift-package-migrate: Call SwiftFixIt once for all diagnostic files by @AnthonyLatsis in #8933
- Add FreeBSD platform again to SwiftBuild PIF builder by @pmattos in #8686
- Only enable unsafe flags if version 6.2 or newer. by @dschaefer2 in #8951
- Docs/interoperability mode by @heckj in #8902
- Test: mark test withKnownIssue by @bkhouri in #8956
- SwiftBuildSupport: Revert patch required when we were using '#if canImport(SwiftBuild)' checks by @pmattos in #8957
- Use swiftCompilerTag for the swift compiler version by @dschaefer2 in #8959
- swift-package-migrate: Miscellaneous low-risk improvements and more tests by @AnthonyLatsis in #8965
- Revert "swift-package-migrate: Emit feature validation errors through… by @AnthonyLatsis in #8968
- Docs/package plugin api docs by @heckj in #8901
- Build fat packages when shouldPackagesBuildForARM64e is set by @pmattos in #8969
- Tests: Do not use mix of XCTest and Swift Testing by @bkhouri in #8942
- Cannot use Metal properly with Swift Packages by @rconnell9 in #8974
- Update minimum deployment target to macOS 14 by @bkhouri in #8962
- New technique for resolving module name conflicts to module alias docs by @cmcgee1024 in #8979
- Run Command: Add SwiftBuild repl support by @bkhouri in #8971
- Use only enabled traits when loading package by @plemarquand in #8970
- New technique for resolving module name conflicts to module alias docs by @cmcgee1024 in #8983
- test helpers: do not use default build system by @bkhouri in #8975
- Tests: Update test expectation - take 2 by @bkhouri in #8899
- fix: DownloadTaskManager handle redirect authentication by @vsarunas in #8947
- pipeline: Run proper cross compile host by @bkhouri in #8304
- Only fetch swiftc target info when needed. by @dschaefer2 in #8992
- Allow use of swiftbuild backend when multi-arch builds are explicitly requested by @owenv in #9001
- Properly format build duration when using --build-system swiftbuild by @owenv in #9000
- Add an Xcode project to help codevelop SwiftBuild by @dschaefer2 in #9002
- Tests: Migrate to Swift Testing and augment suites by @bkhouri in #8988
- Frequent crashes in LLBuildProgressTracker while building swift-java on linux and swift 6.1.2 by @rconnell9 in #8998
- Add Linux devcontainer by @plemarquand in #9003
- Migrate DependencyResolutionTests to Swift Testing by @bkhouri in #8985
- Tests: Migrate more suites to Swift Testing by @bkhouri in #8993
- Add build prebuilts support for any version of swift-syntax. by @dschaefer2 in #8994
- fix test failure (error output changed) by @daveinglis in #9030
- SwiftModuleBuildDescription: Fix diagnostic file paths for WMO builds by @AnthonyLatsis in #9020
- Add missing target dependency by @bkhouri in #9008
- [SwiftBuild] Use
hostBuildToolproduct type for build plugin targets by @hamishknight in #8936 - [Commands] Port package refactoring commands to use refactoring actions from swift-syntax by @xedin in #9016
- Tests: make threadSafe*() tests more robust by @bkhouri in #9045
- Fixup several warnings by @plemarquand in #9009
- Fix testDiagnostics usages in ModulesGraphTests by @plemarquand in #9052
- proofreading fixes on the version-specific manifests article by @heckj in #9054
- Tests: Migrate PackageCommandTests to Swift Testing and Augment by @bkhouri in #9012
- [Commands] Update
AddTargetcommand to add auxiliary files for new … by @xedin in #9043 - Correctly pass linker flags to Swift Build backend by @jakepetroules in #9024
- Add initial support for "none" triples using the Swift Build backend by @jakepetroules in #9023
- Fix for .when(traits:) condition not working for multiple traits by @bripeticca in #9015
- Fix: Generate tests for executable/tool with
--enable-swift-testingby @JeffESchmitz in #9032 - Emit "Found unhandled resource" to observability scope by @jakepetroules in #9059
- [Commands] Adopt changes to package manifest refactoring actions by @xedin in #9064
- adds traits to dependency output in show-dependencies --json and --text by @heckj in #9034
- Tests: Migrate 2 suites to Swift Testing by @bkhouri in #9017
- Tests: Migrate BuildSystemDelegateTests to Swift Testing and augment by @bkhouri in #9013
- Stage in fix for toolsetRunner test by @owenv in #9086
- initial, simple SDK documentation by @heckj in #9004
- Traits docs by @heckj in #9048
- Add bootstrap option to install without building. by @3405691582 in #9050
- Bump the Swift version to 6.3 by @shahmishal in #9028
- Drop unknown platforms when generating PIF by @owenv in #9021
- Test: Add issue to test by @bkhouri in #9084
- Test: Migrate CFamilyTargetTests to Swift Testing and augment by @bkhouri in #9014
- Tests: Update helpers to support both test libraries by @bkhouri in #9082
- Test: Update test expectation to be more flexible by @bkhouri in #9115
- Generate entrypoints for test bundles on macOS by @owenv in #9018
- Fix pre-computation of traits when loading dependency manifests by @bripeticca in #9057
- Revert "Add SwiftBuildSupport to the primary libSwiftPM product" by @bnbarham in #9104
- Make sure we don't get backslashes in the Prebuilts Manifest by @dschaefer2 in #9112
- Tests: Update tests to support if dev mode is enabled/disabled by @bkhouri in #9123
- Add a comment about LD_RUNPATH_SEARCH_PATHS being incompatible with -static by @jakepetroules in #9022
- Tests: Migrate PluginsBuildPlanTests to SwiftTesting and augment by @bkhouri in #9058
- Use .app to detect Xcode toolchains rather than .xctoolchain by @jakepetroules in #9097
- Pass symbol graph options to swift build to customize the output by @cmcgee1024 in #9124
- Add Snippet support with SwiftBuild by @bkhouri in #9089
- SwiftBuild: Support Module aliasing by @bkhouri in #9135
- Updates to get executables building and running on windows by @daveinglis in #9130
- Add self to recommended reviewers list by @rconnell9 in #9133
- mark a failing test on linux+swiftbuild as withKnownIssue (moduleDirectDeps2) by @daveinglis in #9150
- [Swift Build] Correct -parse-as-library behavior for executable targets by @owenv in #9140
- Fix linking against library targets on Mac and Linux by @daveinglis in #9158
- swift test: Fix incorrect
wasmkitarguments by @MaxDesiatov in #9114 - Add missing
testTargetfor package init swift-testing tests by @plemarquand in #9152 - Documentation.docc/AddingDependencies.md: fix typo by @Diggory in #9160
- [test] Fix testExamplePackageDealer by @sebsto in #9134
- [Tests] Consolidate expectThrowsCommandExecutionError usage by @plemarquand in #9125
- [native] Add toolchain span back deployment rpaths when required by @owenv in #9164
- Use SwiftBuild API to reliably compute built artifacts by @owenv in #9143
- dump-pif: Add support for the swift-build PIFBuilder by @owenv in #9161
- Update .swift-version file to 6.2 by @bkhouri in #9146
- Remove animated progress bar from SwiftBuild output by @bripeticca in #9180
- fix linker flags for dynamic libraries when executing command plugin by @supersonicbyte in #9091
- Use
customnotation for platform conditions where necessary in manifest code generation by @omochi in #9169 - Fix inverted logic on registry cache expiration by @ZachNagengast in #9144
- using more direct language to make it clear Package.resolved doesn't pin versions for dependencies by @heckj in #9181
- Disable optimization to work around a compiler bug by @Steelskin in #9178
- Compile all of the plugins at the start of a build with swiftbuild by @cmcgee1024 in #9190
- fix modulemap generation on window using swift-build by @daveinglis in #9179
- Update the docs.swift.org url in the README by @shahmishal in #9208
- Make the
dump-packagecommand output defaultLocalization by @omochi in #9170 - Add support for traits in manifest code generation by @omochi in #9173
- Swift Build: Adopt LINKER_DRIVER=auto in PIF by @owenv in #8884
- Add SwiftBuild coverage support by @bkhouri in #9162
- Clean up test traits by @bkhouri in #9214
- Prebuild plugin support for swiftbuild build system by @cmcgee1024 in #9209
- Add include inherited docs option to symbol graph generation by @cmcgee1024 in #9132
- Rename runCommandPlugins methods to a more accurate name by @cmcgee1024 in #9223
- Fix crash in PIF generation by @kcieplak in #9217
- Tests: Run some test serially on Windows by @bkhouri in #9224
- [Swift Build] Default to the package's declared deployment target if none is explicitly specified by @owenv in #9139
- Mirror what native build system does for enabling clang modules by @daveinglis in #9188
- Show traits package subcommand by @cmcgee1024 in #9213
- Runtime: extract a Runtime subdirectory for SPM by @compnerd in #9063
- Revert "Disable some optimizations on Windows" by @Steelskin in #9225
- Add rpath to test runner binaries to find adjacent test dylib by @owenv in #9218
- Use new common object product type in PIF by @daveinglis in #9216
- Move PluginConfiguration to its own file by @plemarquand in #9233
- extending the docs to explain how to use embedInCode by @heckj in #9231
- Fix build failure by @daveinglis in #9241
- remove legacy docs by @heckj in #9236
- Fix typo in shoudUseSwiftBuildFramework in Package.swift by @rjmansfield in #9239
- [test] Disable
testUseOfVendedBinaryTool(buildSystem:)to unblock CI by @AnthonyLatsis in #9244 - Remove redundant PackageDescription docs page by @bripeticca in #9237
- Stop using mergeable-symbols in embedded by @rauhul in #9246
- Disable failing test on Amazon Linux 2 by @kcieplak in #9250
- Allow purge-cache to run without Package.swift by @plemarquand in #9247
- Testing: Run all test SPM executable actions in a operation queue by @kcieplak in #9243
- Mark commandPluginCompilation as intermittent by @cmcgee1024 in #9253
- [test] Mark
externalComplexas intermittent to unblock Amazon Linux 2 nightlies by @AnthonyLatsis in #9256 - Fix spelling mistake shoudUseSwiftBuildFramework -> shouldUseSwiftBuildFramework by @rconnell9 in #9038
- Update the package dependencies by @dschaefer2 in #9227
- Fix building frameworks by @daveinglis in #9259
- Cleanup some unnecessary build setting by @daveinglis in #9234
- Bootstrap: Use computed module triple by @etcwilde in #9265
- Use versioned host triples for non-Darwin platforms by @jakepetroules in #9271
- Explicitly set the Swift language mode on package init by @rconnell9 in #9263
- updated getting started by @heckj in #9238
- Add tags to Swift Testing Tests by @bkhouri in #9292
- Align PIF generation for user-authored modulemaps with native build system by @owenv in #9295
- Fix artifactPath used for binary targets in PIF by @owenv in #9301
- Detect system GNU ld script pretending to be system libraries by @daniel-grumberg in #9296
- Allow auditing of uncompressed artifact bundles by @daniel-grumberg in #9297
- Disable ONLY_ACTIVE_ARCH when --arch is used to request more than one explicitly by @owenv in #9303
- Resolve traits on top level manifests explicitly by @plemarquand in #9300
- Add some extra conditionals for swift-build on OpenBSD. by @3405691582 in #9309
- OpenBSD uses versioned triples for imports. by @3405691582 in #9308
- Use a switch instead of if/else if by @daveinglis in #9267
- Add tags to swift-testing tests that have withKnownIssue calls. by @kcieplak in #9312
- Specify the platform version as the fixtures depend on swift concurrency by @rconnell9 in #9318
- Add tags to swift-testing tests withKnownIssues by @bkhouri in #9313
- Fix linking error on linux by @daveinglis in #9306
- Run EnvironmentTests serially as it is testing the non thread-safe global state of Environment by @rconnell9 in #9332
- Command availability annotations by @heckj in #9335
- Update CODEOWNERS by @bripeticca in #9337
- Deprecate
--use-integrated-swift-driveroption by @bkhouri in #9334 - fix: comment typo in ModulesGraph+Loading.swift by @NakaokaRei in #9330
- Introduce richer
EnabledTraitmodel to handle thread-safe enabled traits computations by @bripeticca in #9269 - Fix Typo in System Pacakage docs. by @Diggory in #9348
- Unskip artifact bundle test with Swift Build by @owenv in #9357
- Remove withKnownIssue Amazon Linux 2 clauses by @kcieplak in #9355
- Optional xcframework support for Linux by @hassila in #7239
- Ensure resource bundles aren't marked as executable by @plemarquand in #9354
- swift package --help doesn't show subcommands provided by plugins by @johnbute in #9284
- Make lazy properties in UserToolchain thread safe by @plemarquand in #9356
- Add experimental flag to log Swift Build task backtraces by @owenv in #9352
- [Swift Build] Implement --disable-local-rpath by @owenv in #9366
- Use the correct build path suffix across all platforms by @jakepetroules in #9353
- Revert "Optional xcframework support for Linux" by @daveinglis in #9374
- Fix libraryEvolutionLinuxXCFramework test on arm by @vsarunas in #9376
- Add experimental max parallelization width option for Swift Testing. by @grynspan in #9361
- Optional xcframework support for Linux by @vsarunas in #9375
- bootstrap - add swift-tools-protocols by @owenv in #9371
- [GH:#9304] Explicit source file declaration in Target's sources causes a performance degradation in TargetSourcesBuilder by @rconnell9 in #9385
- Mark purgeCacheWithoutPackage withKnowIssue for AL2 by @daveinglis in #9386
- Fix setting SPECIALIZATION_SDK_OPTIONS, .ARCHS by @plemarquand in #9379
- [CI] Add support for GitHub Actions by @shahmishal in #9391
- Improve reliability of online/offline detection when fetching dependencies by @plemarquand in #9378
- Warn when SWIFT_EXEC or SWIFT_EXEC_MANIFEST point to invalid paths. by @rjmansfield in #9358
- Pin GitHub actions workflows to a version by @bkhouri in #9435
- Mark Windows tests as intermittently failing by @bkhouri in #9442
- Pipeline: Enable unacceptable language checks by @bkhouri in #9426
- Change AsyncProcess stdout/err reads to 4096 instead of Int.max by @daveinglis in #9408
- Fix for linking tests with swiftbuild on windows by @daveinglis in #9405
- SwiftBuild: Add index store support by @bkhouri in #9388
- Mark purgeCacheInPackageDirectory withKnowIssue for AL2 (#9386) by @daveinglis in #9400
- Merge
mainintorelease/6.3by @github-actions[bot] in #9463 - Merge
mainintorelease/6.3by @github-actions[bot] in #9401 - Merge
mainintorelease/6.3by @github-actions[bot] in #9410 - GHA: Enforce license header check by @bkhouri in #9451
- Remove placeholder line in WritingCommandPlugin.md by @EmingK in #9440
- Expose a SwiftPM BSP interface based on Swift Build by @owenv in #9129
- Fix test the broke build due to merge race by @daveinglis in #9470
- Remove triple from SwiftBuild system output path by @bkhouri in #9370
- Fix warnings in Sources/Commands by @plemarquand in #9425
- Enable SwiftBuild in pipeline by @bkhouri in #9406
- SwiftBuild Integration: Enable some sanitizers by @bkhouri in #9389
- [6.3] Update relatedDependenciesBranch to release/6.3 by @rconnell9 in #9469
- Provide the downloadable metal toolchain to swiftbuild by @rconnell9 in #9434
- Fix concurrency warnings in AsyncProcess by @plemarquand in #9430
- Fixup licence header in DisableSigpipe.swift by @plemarquand in #9475
- Tests: Add automated tests to verify dead code strip by @bkhouri in #9407
- Promote to public operation to compute PIF GUID for products by @pmattos in #9409
- Add Dependabot configuration for GitHub Actions by @shahmishal in #9482
- Mark build server tests as flaky while debugging build description loading issue by @owenv in #9483
- Bump swiftlang/github-workflows/.github/workflows/create_automerge_pr.yml from 0.0.1 to 0.0.2 by @dependabot[bot] in #9488
- Ensure testable variants of targets depend on the primary variant's resource bundle by @owenv in #9486
- Set explicit file types in PIF for binary artifacts by @owenv in #9479
- Expose PackageDependency creation methods by @plemarquand in #9484
- Remove Ben Barham from code owners by @bnbarham in #9494
- Use the correct module name for executable targets combined with an executable product with a different name by @owenv in #9480
- Bump swiftlang/github-workflows/.github/workflows/swift_package_test.yml from 0.0.1 to 0.0.2 by @dependabot[bot] in #9489
- Bump swiftlang/github-workflows/.github/workflows/soundness.yml from 0.0.1 to 0.0.2 by @dependabot[bot] in #9487
- Capture code snippet from diagnostic compiler output by @bripeticca in #9362
- Fixup InMemoryFilesSystemTests to use #expect(throws:) vs withKnownIssue by @plemarquand in #9481
- Link Swift Testing documentation in its test template by @jerryjrchen in #9368
- Use dedicated thread when invoking buildSystem.build() as it is a blocking operation by @rconnell9 in #9493
- Don't rely on current working directory in BasicTests - use packagePath by @rconnell9 in #9500
- Update build-using-self by @bkhouri in #9496
- Remove a couple areas where tests where changing cwd (fixes AL2 crashes) by @daveinglis in #9505
- Statically linking Swift Stdlib in SwiftBuild if set by @bkhouri in #9417
- Only include the platform PrivateFrameworks directory as a runtime, not build-time, search path by @stmontgomery in #9518
- Various fixes for tests on Windows by @daveinglis in #9268
- Merge
mainintorelease/6.3by @github-actions[bot] in #9510 - Merge
mainintorelease/6.3by @github-actions[bot] in #9472 - Merge
mainintorelease/6.3by @github-actions[bot] in #9473 - [Swift Build] Wire up --jobs by @owenv in #9367
- Provide all fatalError() a string by @bkhouri in #9522
- Forward target change notifications to clients by @owenv in #9520
- Fix unhandled file warning by @bkhouri in #9521
- Mark tests as expected failure in a specific environment by @bkhouri in #9525
- Refactor ThreadSafeBox to use non-optional type by @plemarquand in #9477
- Update test traceability by @bkhouri in #9526
- Revert "Change AsyncProcess stdout/err reads to 4096 instead of Int.max (#9408)" by @meg-gupta in #9535
- Revert "Change AsyncProcess stdout/err reads to 4096 instead of Int.max (#9408)" by @meg-gupta in #9539
- Move
CODEOWNERSto.github/CODEOWNERSby @ahoppen in #9536 - Added clarity to
swift package update --dry-runby @johnbute in #9418 - Bump swiftlang/github-workflows/.github/workflows/swift_package_test.yml from 0.0.2 to 0.0.4 by @dependabot[bot] in #9548
- Mark
Connection.sendas@_disfavoredOverloadby @ahoppen in #9556 - Pin swift-tools-protocol to specific revision by @bkhouri in #9561
- Bump swiftlang/github-workflows/.github/workflows/create_automerge_pr.yml from 0.0.2 to 0.0.4 by @dependabot[bot] in #9549
- TestCommandTests: fix
withKnownIssuestring typo by @MaxDesiatov in #9377 - GHA: Enable more builds by @bkhouri in #9450
- swift-tools-protocols: update to 0.0.10 by @owenv in #9559
- Tests: Add package-path on some PackageCommand tests by @bkhouri in #9566
- Fix: URLSessionHTTPClient only move file if response code is within OK range by @otaviolima in #9474
- Propagate build jobs through plugin compilation by @kateinoigakukun in #9541
- Fix plugin with custom task invocation using swiftbuild on windows by @daveinglis in #9553
- GHA: Build executable target in release conf on Windows by @bkhouri in #9581
- Mark soon-to-be-fixed APIDiff tests intermittently failing instead of expected to fail by @owenv in #9575
- Add support for Windows .lib static libraries. by @dschaefer2 in #9579
- Do not pass temporary to CStringArray in attempt to avoid underlying runtime issue on AL2 by @rconnell9 in https://github.com/swiftlang/swift-package-manager/pull/9571
- Update PIF to use new common static archive type by @daveinglis in https://github.com/swiftlang/swift-package-manager/pull/9572
- GHA: Disable iOS builds by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/9590
- Fix potential hang in SwiftBuildServer where it sends message (and waits indefinitely for response) prior to completing initialization by @rconnell9 in https://github.com/swiftlang/swift-package-manager/pull/9599
- Disable test that is failing in CI by @daveinglis in https://github.com/swiftlang/swift-package-manager/pull/9596
- Add Linux aarch64 as a supported platform for the test fixture plugins by @cmcgee1024 in https://github.com/swiftlang/swift-package-manager/pull/9609
- Fix test failures in URLSessionHTTPClientTests by @cmcgee1024 in https://github.com/swiftlang/swift-package-manager/pull/9597
- Tests: Migrate InitTests to Swift testing and Augment by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/9531
- Tests: Migrate and Augment Resources and ModuleMaps tests by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/9530
- Bump swiftlang/github-workflows/.github/workflows/soundness.yml from 0.0.2 to 0.0.5 by @dependabot[bot] in https://github.com/swiftlang/swift-package-manager/pull/9615
- Bump swiftlang/github-workflows/.github/workflows/swift_package_test.yml from 0.0.4 to 0.0.5 by @dependabot[bot] in https://github.com/swiftlang/swift-package-manager/pull/9614
- Bump swiftlang/github-workflows/.github/workflows/create_automerge_pr.yml from 0.0.4 to 0.0.5 by @dependabot[bot] in https://github.com/swiftlang/swift-package-manager/pull/9616
- Use new Swift Build run destination API for SDK's by @cmcgee1024 in https://github.com/swiftlang/swift-package-manager/pull/9527
- Disable SwiftPMBuildServerTests on Windows has it hangs intermittently by @rconnell9 in https://github.com/swiftlang/swift-package-manager/pull/9629
- Update Build system help text by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/9568
- [CI] Update the github-workflows tag to 0.0.6 to support macOS Tahoe by @shahmishal in https://github.com/swiftlang/swift-package-manager/pull/9627
- Update tests affected by upcoming swift-build merge by @owenv in https://github.com/swiftlang/swift-package-manager/pull/9623
- [6.3] Set isDevelopment flag to false in order to drop the trailing -dev from the version output by @rconnell9 in https://github.com/swiftlang/swift-package-manager/pull/9631
- Store the correct package name in PackagePIFBuilder.LinkedPackageBinary metadata by @pmattos in https://github.com/swiftlang/swift-package-manager/pull/9436
- Merge
mainintorelease/6.3by @github-actions[bot] in https://github.com/swiftlang/swift-package-manager/pull/9632 - Fix race condition in PIFBuilderTests when running tests concurrently by @pmattos in https://github.com/swiftlang/swift-package-manager/pull/9634
- Merge
mainintorelease/6.3by @github-actions[bot] in https://github.com/swiftlang/swift-package-manager/pull/9639 - Ensure static archive products of root packages are always materialized by @owenv in https://github.com/swiftlang/swift-package-manager/pull/9582
- Docs: Swift Build Preview by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/9595
- GHA: Disabled scheduled automerger by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/9641
- Improve PIFBuilder testability by exposing PackagePIFBuilder objects by @pmattos in https://github.com/swiftlang/swift-package-manager/pull/9501
- Expand prebuilts to plugins, and ensure prebuilts don't leak to cross targets by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/9602
- Update CODEOWNERS by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/9642
- Remove support for prebuilts with plugins and don't remove packages by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/9645
- Merge
mainintorelease/6.3by @github-actions[bot] in https://github.com/swiftlang/swift-package-manager/pull/9649 - [Cherry-pick] Traits documentation update; Update Swift Build progress; 6.3 release notes by @bripeticca in https://github.com/swiftlang/swift-package-manager/pull/9652
- [Cherry-pick] Refine Swift Build preview note for Swift SDKs by @bripeticca in https://github.com/swiftlang/swift-package-manager/pull/9657
- [🍒] Include linker generated symbol in default defined set (#9416) by @FranzBusch in https://github.com/swiftlang/swift-package-manager/pull/9662
- [6.3] Docs: Add SwiftBuild behavioural difference by @bkhouri in https://github.com/swiftlang/swift-package-manager/pull/9667
- Treat package root top dependencies as exporting for prebuilts (#9665) by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/9675
- [6.3] Reduce restrictions on Code Gen of C artifacts by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/9681
- Reverts "[6.3] Reduce restrictions on Code Gen of C artifacts (#9681)" by @rconnell9 in https://github.com/swiftlang/swift-package-manager/pull/9700
- [6.3] Avoid producing duplicate modules in the products dir when 2 executable products incorporate the same executable target by @owenv in https://github.com/swiftlang/swift-package-manager/pull/9659
- [6.3] Fix pkg-config path lookup on non-macOS platforms when using Swift Build by @owenv in https://github.com/swiftlang/swift-package-manager/pull/9698
- Cleanup prebuilts for MacOS, make manifest per platform. (cherry-picking #9672) by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/9677
- Make sure Windows DLLs are copied over with their LIBs. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/9709
- [Cherry-pick] Logging improvements by @bripeticca in https://github.com/swiftlang/swift-package-manager/pull/9710
- [6.3] Bump swift-syntax in template to 603.0.0-latest by @rconnell9 in https://github.com/swiftlang/swift-package-manager/pull/9711
- [6.3] SwiftCompilerFeature: Do not require upcoming features to carry a language mode by @AnthonyLatsis in https://github.com/swiftlang/swift-package-manager/pull/9694
- Experimental C code generation from build tool plugins. by @dschaefer2 in https://github.com/swiftlang/swift-package-manager/pull/9730
New Contributors
- @louisunlimited made their first contribution in #8575
- @robinkunde made their first contribution in #8669
- @DanBlackwell made their first contribution in #8729
- @ole made their first contribution in #8843
- @MaelRB made their first contribution in #8858
- @simonjbeaumont made their first contribution in #8894
- @hamishknight made their first contribution in #8936
- @JeffESchmitz made their first contribution in #9032
- @sebsto made their first contribution in #9134
- @supersonicbyte made their first contribution in #9091
- @ZachNagengast made their first contribution in #9144
- @hassila made their first contribution in #7239
- @github-actions[bot] made their first contribution in #9463
- @EmingK made their first contribution in #9440
- @meg-gupta made their first contribution in #9535
- @otaviolima made their first contribution in #9474
Full Changelog: swift-6.2.4-RELEASE...swift-6.3-RELEASE