Skip to content

Releases: swiftlang/swift-package-manager

Swift 6.1.3 Release

08 Sep 16:23
587a4fd

Choose a tag to compare

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

14 Oct 06:11
3cf1cb6

Choose a tag to compare

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
  • _InternalTestSupport should not depend on Build by @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-changes command. 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 Deque usage 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 debugger property in swift run by @MaxDesiatov in #8252
  • Apply toolset's testRunner property in swift test by @MaxDesiatov in #8254
  • NFC: Fix comment typo in TestCommandTests.swift by @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-dependency command 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 package access 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.load API 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 LLBuildProgressTracker by @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 downloadAndPopulateCache by @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.md by @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 @retroactive conformances 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 self in SwiftBuildSystem by @plemarquand in #8368
  • More swiftbuild testing by @cmcgee1024 in #8333
  • [Traits] Re-enable no unused dependencies assertion in TraitTests.swift by @bripeti...
Read more

Swift 6.1.1 Release

24 May 07:56
a892ce7

Choose a tag to compare

What's Changed

Full Changelog: swift-6.1-RELEASE...swift-6.1.1-RELEASE

Swift 6.1 Release

01 Apr 08:24
1fc90e2

Choose a tag to compare

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 and DataTaskManager 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 of argumentList 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 to 600.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 and QueryEngineTests 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 to ResolvedModule 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 and DirectedGraph 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 and experimental-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 in Target.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] ...
Read more

Swift 6.0.3 Release

13 Dec 07:18
bc68941

Choose a tag to compare

What's Changed

  • [6.0] Disable part of a test that fails with Swift Testing in the toolchain. by @grynspan in #7901
  • [6.0][PackageModel] Toolchain: Split SwiftTesting flags between swift compiler and linker by @xedin in #7907
  • [6.0] Update package templates to use Swift Testing in the toolchain rather than as a package dependency. by @grynspan in #7910
  • [6.0] Temporarily disable new Swift Testing tests by @bnbarham in #7917
  • [6.0][PackageModel] Inject swift-testing flags only if toolchain is target… by @xedin in #7921
  • [6.0] Add 2024 Darwin OS versions to SupportedPlatforms by @MaxDesiatov in #7972
  • [6.0] Remove @MainActor from XCTest glue. by @grynspan in #7988
  • Bump the Swift version to 6.0.3 by @shahmishal in #8017
  • [6.0.3] Fix compiling test runners for Android by using the full overlay by @finagolfin in #8019
  • [6.0][PackageModel] UserToolchain: Add -F when building with CommandLineTools by @bnbarham in #8035
  • Disable SwiftVersion development mode by @bkhouri in #8074

Full Changelog: swift-6.0.2-RELEASE...swift-6.0.3-RELEASE

Swift 6.0.1 Release

16 Oct 10:08
dd22b6e

Choose a tag to compare

What's Changed

Full Changelog: swift-6.0-RELEASE...swift-6.0.1-RELEASE

Swift 6.0 Release

16 Oct 10:08
5bd155f

Choose a tag to compare

What's Changed

Read more

Swift 5.10.1 Release

06 Jun 19:12
54d135f

Choose a tag to compare

What's Changed

Full Changelog: swift-5.10-RELEASE...swift-5.10.1-RELEASE

Swift 5.10 Release

06 Mar 15:00

Choose a tag to compare

Notable Changes

  • #7010

    On macOS, swift build and swift run now produce binaries that allow backtraces in debug builds. Pass SWIFT_BACKTRACE=enable=yes environment variable to enable backtraces on such binaries when running them.

  • #7101

    Binary artifacts are now cached alongside repository checkouts so they do not need to be re-downloaded across projects.

Merged Pull Requests

Read more

swift-5.9.2-RELEASE

19 Feb 12:02
2b7ebe6

Choose a tag to compare

Bump the Swift version to 5.9.2 (#7175)