Releases: swiftlang/swift-package-manager
Releases · swiftlang/swift-package-manager
Release list
Swift 6.3.1 Release
What's Changed
- Update the Swift version to 6.3.1 by @shahmishal in #9866
Full Changelog: swift-6.3-RELEASE...swift-6.3.1-RELEASE
Swift 6.3 Release
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 https://github.com/swiftlang/swift-package-...
Swift 6.2.4 Release
What's Changed
- [6.2] [GH:#9304] Explicit source file declaration in Target's sources causes a performance degradation in TargetSourcesBuilder by @rconnell9 in #9506
- [6.2] Cherry-pick: Introduce richer
EnabledTraitmodel (#9269) by @bripeticca in #9349 - Do not set a fixture prefix by @bkhouri in #9514
- Bump the Swift version to 6.2.4 by @shahmishal in #9555
Full Changelog: swift-6.2.3-RELEASE...swift-6.2.4-RELEASE
Swift 6.2.2 Release
What's Changed
- [🍒] Detect system GNU ld script pretending to be system libraries (#9296) by @FranzBusch in #9359
- [🍒]Allow auditing of uncompressed artifact bundles (#9297) by @FranzBusch in #9360
Full Changelog: swift-6.2.1-RELEASE...swift-6.2.2-RELEASE
Swift 6.2.3 Release
What's Changed
- Add build prebuilts support for any version of swift-syntax. (#8994) by @dschaefer2 in #9011
- [6.2] SwiftModuleBuildDescription: Fix diagnostic file paths for WMO builds by @AnthonyLatsis in #9041
- [6.2] fix: DownloadTaskManager handle redirect authentication by @vsarunas in #9051
- [6.2] Fix for .when(traits:) condition not working for multiple traits by @bripeticca in #9074
- [6.2] Make sure we don't get backslashes in the Prebuilts Manifest by @dschaefer2 in #9127
- Update isDevelopment check on 6.2 by @bnbarham in #9117
- [6.2] Cherry-pick: Fix pre-computation of traits when loading dependency manifests by @bripeticca in #9136
- [6.2][native] Add toolchain span back deployment rpaths when required (#9164) by @owenv in #9167
- [6.2] Cherry Pick - Build fat packages when shouldPackagesBuildForARM64e is set by @plemarquand in #9185
- [6.2] Cherry Pick - Use only enabled traits when loading package (#8970) by @plemarquand in #9195
- [6.2] Cherry Pick - Fix inverted logic on registry cache expiration #9144 by @plemarquand in #9210
- [6.2] Cherry-pick: Remove animated progress bar from SwiftBuild output by @bripeticca in #9207
- [6.2]Fix crash in macros caused by mixing prebuilts and source. by @dschaefer2 in #9261
- [6.2][cherrypick]Add bootstrap option to install without building. by @3405691582 in #9105
- [6.2] - Resolve traits on top level manifests by @plemarquand in #9307
- [6.2] Frequent crashes in LLBuildProgressTracker while building swift-java on linux and swift by @rconnell9 in #9314
- Specify the platform version as the fixtures depend on swift concurrency by @rconnell9 in #9319
- Run EnvironmentTests serially as it is testing the non thread-safe global state of Environment by @rconnell9 in #9333
- [6.2] Testing: Run all test SPM executable actions in a operation queue (#9243) by @kcieplak in #9266
- Update the Swift version to 6.2.3 by @shahmishal in #9433
Full Changelog: swift-6.2.2-RELEASE...swift-6.2.3-RELEASE
Swift 6.2.1 Release
What's Changed
- [6.2.1] Bump the Swift version to 6.2.1 by @shahmishal in #9029
- Update isDevelopment check on 6.2.1 by @bnbarham in #9116
- 6.2.1 fix prebuilts slashes by @dschaefer2 in #9128
- [6.2.1] Cherry-pick: Fix traits .when(traits:) condition; pre-computation when loading dependency manifests by @bripeticca in #9141
- Update related dependencies version to track 6.2.1 branch by @kcieplak in #9026
- [6.2.1][native] Add toolchain span back deployment rpaths when required (#9164) by @owenv in #9168
- [6.2.1][cherrypick]Add bootstrap option to install without building. by @3405691582 in #9106
- [6.2.1] Frequent crashes in LLBuildProgressTracker while building swift-java on linux and swift by @rconnell9 in #9315
Full Changelog: swift-6.2-RELEASE...swift-6.2.1-RELEASE
Swift 6.1.3 Release
What's Changed
- [6.1] Frequent crashes in LLBuildProgressTracker while building swift-java on linux and swift 6.1.2 by @rconnell9 in #9019
- Bump the Swift version to 6.1.3 by @shahmishal in #9065
Full Changelog: swift-6.1.2-RELEASE...swift-6.1.3-RELEASE
Swift 6.2 Release
What's Changed
- Include the path to the platform's PrivateFrameworks directory in DYLD_FRAMEWORK_PATH when launching test runners by @stmontgomery in #8199
- Re-enable APIDiff tests by @yyvch in #8196
- use closefrom(2) on platforms supports it to reduce race condition window by @michael-yuji in #8201
- Add support for a prebuilt swift-syntax library for macros by @dschaefer2 in #8142
- Retrieve resolved package versions in parallel by @fortmarek in #8203
- Revert "Retrieve resolved package versions in parallel" by @dschaefer2 in #8217
- Removed unused dependency 'DriverSupport' from 'XCBuildSupport'. by @shawnhyam in #8213
- Format XCBuildSupport target by @cmcgee1024 in #8221
- Binary dependencies of C++ module break build planning by @furby-tm in #8056
_InternalTestSupportshould not depend onBuildby @neonichu in #8224- Tests: Canary Swift Testing test by @bkhouri in #8222
- Add a test case for static products with a binary artifact dependency by @bnbarham in #8212
- Update CI triggers in CONTRIBUTING.md by @shahmishal in #8187
- Basics,_AsyncFileSystem: internalise SystemPackage by @compnerd in #8231
- Fix registry package swizzling when package name casing differs by @fortmarek in #8194
- Fix prepare for indexing so plugin tools are properly built. by @dschaefer2 in #8230
- Add include dir from a clang module into the build args in
diagnose-api-breaking-changescommand. by @yyvch in #8209 - SourceKitLSPAPI: export library as an interface by @compnerd in #8240
- _AsyncFileSystem: reduce visibility of import (NFCI) by @compnerd in #8239
- build: add missing dependencies by @compnerd in #8238
- Basics: internalise
Dequeusage by @compnerd in #8237 - Extract more build-related content from _InternalTestSupport by @owenv in #8242
- Utilities: remove Yams from the bootstrap script by @compnerd in #8247
- [FreeBSD] suspend all other threads before closing file descriptors by @michael-yuji in #8251
- Apply toolset's
debuggerproperty inswift runby @MaxDesiatov in #8252 - Apply toolset's
testRunnerproperty inswift testby @MaxDesiatov in #8254 - NFC: Fix comment typo in
TestCommandTests.swiftby @MaxDesiatov in #8259 - Handle paginated registry metadata responses by @plemarquand in #8219
- Revert "Tests: Canary Swift Testing test" by @bkhouri in #8266
- Update CODEOWNERS by @jakepetroules in #8270
- Remove the forward slash '/' in the output by @shahmishal in #8280
- Fix: preserve symlinks in ZipArchive compress function by @sphanley in #8250
- Update xUnit to display output on failures by @bkhouri in #8147
- Tests: Canary Swift Testing test by @bkhouri in #8267
- Add titles to global option groups for better help screens by @natecook1000 in #8282
- Allow relative path with
swift package add-dependencycommand by @hi2gage in #7871 - Add additional information by @bkhouri in #8291
- Tests: Improve testVersion assertion and add duplicate symbol test by @bkhouri in #8293
- Add new swift-crypto on asn1 to the bootstrap script by @cmcgee1024 in #8297
- Add
packageaccess level to access level enums by @daniel-grumberg in #8261 - Do not add rpath to swift-testing for CLT or custom toolchains by @bnbarham in #8295
- pipeline: Convert build-using-self to python by @bkhouri in #8288
- Add a new
BuildDescription.loadAPI for use in SourceKit-LSP by @bnbarham in #8286 - Disable the testLTO test in MiscellaneousTests by @dschaefer2 in #8307
- Update path to support swbuild if available by @bkhouri in #8306
- build: define build path structure in BuildSystemProvider.Kind by @bkhouri in #8298
- Fix retain cycle in
LLBuildProgressTrackerby @ahoppen in #8305 - [SE-0458] Implement the strictMemorySafety Swift setting by @DougGregor in #8314
- Align --build-system xcode language mode validation with --build-system native by @owenv in #8313
- Deprecate sync methods in RegistryClient by @plemarquand in #8263
- update CLanguageStandard c89 description by @esnssr in #8320
- Create an alternate SwiftPM build system called Swift Build by @cmcgee1024 in #8271
- Paralellize retrieving resolved packages by @fortmarek in #8220
- Correct "Did you mean XYZ" messages when a dependency is not found. by @yyvch in #8303
- Remove use of
NSString.replacingOccurrences(of:with:)by @compnerd in #6650 - Deprecate sync methods in RegistryDownloadsManager by @plemarquand in #8323
- Add a SourceKit-LSP API to get the output paths of a clang target by @ahoppen in #8317
- Fix building and testing on FreeBSD; Add FreeBSD platform support by @michael-yuji in #8193
- Remove trailing comma from
downloadAndPopulateCacheby @ahoppen in #8328 - Update contribution guide by @neonichu in #8329
- [Traits] Disallow disabling default traits of a package without traits by @FranzBusch in #8326
- Improve debug logging by @bkhouri in #8325
- update Swift-driver dependency by @bkhouri in #8324
- Clarify formatting changes in
CONTRIBUTING.mdby @MaxDesiatov in #8339 - Remove trailing comma in RegistryDownloadsManager.swift by @ahoppen in #8340
- Fix some broken links in Documentation by @plemarquand in #8343
- Move traits into resolution phase by @bripeticca in #8205
- Fix Swift 6.0 trailing comma compatibility by @ehyche in #8349
- Include Swift Build support in second stage bootstrap builds by @owenv in #8334
- Remove code that supports < Swift 6.0 by @plemarquand in #8348
- Remove unnecessary
@retroactiveconformances by @plemarquand in #8353 - Get run and test working against Swift Build. by @dschaefer2 in #8331
- Revert "Include Swift Build support in second stage bootstrap builds" by @owenv in #8366
- Add missing
selfin SwiftBuildSystem by @plemarquand in #8368 - More swiftbuild testing by @cmcgee1024 in #8333
- [Traits] Re-enable no unused dependencies assertion in
TraitTests.swiftby @bripeti...
Swift 6.1.2 Release
What's Changed
- Add swift-syntax 601.0.1 to the prebuilts generator. by @dschaefer2 in #8447
- Add missing products from the swift-syntax prebuilts. by @dschaefer2 in #8458
- Bump the Swift version to 6.1.2 by @shahmishal in #8456
- Ensure prebuilt Modules include path added to generated modules by @dschaefer2 in #8485
- [6.1] Fix prebuild commands (#8440) by @dschaefer2 in #8490
- [6.1] Fix duplicate modulemap errors with macro and plugin deps (#8472) by @dschaefer2 in #8491
Full Changelog: swift-6.1.1-RELEASE...swift-6.1.2-RELEASE
Swift 6.1.1 Release
What's Changed
- [6.1.1] Ensure prebuilt Modules include path added to generated modules (#8485) by @dschaefer2 in #8526
- Bump the Swift version to 6.1.1 by @shahmishal in #8455
Full Changelog: swift-6.1-RELEASE...swift-6.1.1-RELEASE