Skip to content

Releases: swiftlang/swift-package-manager

Swift 6.1 Release

01 Apr 08:24
1fc90e2
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

What's Changed

Read more

Swift 5.10.1 Release

06 Jun 19:12
54d135f
Compare
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
Compare
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
Compare
Choose a tag to compare
Bump the Swift version to 5.9.2 (#7175)

0.6.0

31 Mar 15:49
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release
[Package.swift] Require swift-llbuild and swift-tools-support-core us…

swift-5.1.5-RELEASE: Merge pull request #2663 from aciidb0mb3r/fix-install-name

25 Mar 09:38
61ed0e0
Compare
Choose a tag to compare
[bootstrap] Use the right install name for PackageDescription

Swift 5.2 Release

25 Mar 09:39
Compare
Choose a tag to compare
swift-5.2-RELEASE

[PackageGraph] Fix package name validation for product target depende…