diff --git a/_data/builds/swift_releases.yml b/_data/builds/swift_releases.yml index c22f265be..258d6e6ee 100644 --- a/_data/builds/swift_releases.yml +++ b/_data/builds/swift_releases.yml @@ -2241,3 +2241,64 @@ archs: - x86_64 - arm64 +- name: "6.2" + tag: swift-6.2-RELEASE + xcode: Xcode 26 + xcode_release: true + date: 2025-09-15 + platforms: + - name: Ubuntu 22.04 + platform: Linux + docker: 6.2-jammy + archs: + - x86_64 + - aarch64 + - name: Ubuntu 24.04 + platform: Linux + docker: 6.2-noble + archs: + - x86_64 + - aarch64 + - name: Debian 12 + platform: Linux + docker: 6.2-bookworm + archs: + - x86_64 + - aarch64 + - name: Fedora 39 + platform: Linux + docker: 6.2-fedora39 + archs: + - x86_64 + - aarch64 + - name: Amazon Linux 2 + platform: Linux + docker: 6.2-amazonlinux2 + archs: + - x86_64 + - aarch64 + - name: Red Hat Universal Base Image 9 + platform: Linux + docker: 6.2-rhel-ubi9 + dir: ubi9 + archs: + - x86_64 + - aarch64 + - name: Windows 10 + platform: Windows + docker: 6.2-windowsservercore-ltsc2022 + archs: + - x86_64 + - arm64 + - name: Static SDK + platform: static-sdk + checksum: d2225840e592389ca517bbf71652f7003dbf45ac35d1e57d98b9250368769378 + archs: + - x86_64 + - arm64 + - name: Wasm + platform: wasm + checksum: fe4e8648309fce86ea522e9e0d1dc48e82df6ba6e5743dbf0c53db8429fb5224 + archs: + - x86_64 + - arm64 \ No newline at end of file diff --git a/_data/new-data/install/linux/releases.yml b/_data/new-data/install/linux/releases.yml index 5510be1f0..47dfeb94c 100644 --- a/_data/new-data/install/linux/releases.yml +++ b/_data/new-data/install/linux/releases.yml @@ -2,7 +2,7 @@ latest-release: swiftly: pre-code-text: | The Swiftly installer manages Swift and its dependencies. It supports switching between different versions and downloading updates. - headline: Swiftly + headline: 1. Install Swift via Swiftly tabs: - label: Bash code: |- @@ -20,12 +20,10 @@ latest-release: links: - href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt' copy: 'License: Apache-2.0' - - href: 'https://download.swift.org/swiftly/linux/swiftly-0.4.0-dev-x86_64.tar.gz.sig' + - href: 'https://download.swift.org/swiftly/linux/swiftly-x86_64.tar.gz.sig' copy: 'PGP: Signature' - href: 'https://www.swift.org/install/linux/swiftly' copy: 'Instructions' - - href: "https://www.swift.org/tools/#editors" - copy: "Editors" container: pre-code-text: |- Official container images are available for compiling and running Swift on a variety of distributions. diff --git a/_data/new-data/install/macos/releases.yml b/_data/new-data/install/macos/releases.yml index 2e79670ad..0d7939e8b 100644 --- a/_data/new-data/install/macos/releases.yml +++ b/_data/new-data/install/macos/releases.yml @@ -2,7 +2,7 @@ latest-release: swiftly: pre-code-text: | To download toolchains from Swift.org, use the Swiftly toolchain installer. Swift.org toolchains support Static Linux SDK, include experimental features like Embedded Swift and support for WebAssembly. - headline: Swiftly + headline: 1. Install Swift via Swiftly tabs: - label: Bash code: | @@ -22,11 +22,17 @@ latest-release: copy: 'License: Apache-2.0' - href: 'https://www.swift.org/install/macos/swiftly' copy: 'Instructions' - - href: "https://www.swift.org/tools/#editors" - copy: "Editors" xcode: pre-code-text: To develop with Swift for Apple platforms, download the latest version of Xcode, which is regularly refreshed with the latest Swift toolchain. headline: Xcode links: - href: 'https://developer.apple.com/xcode/' copy: 'Install Xcode' + - href: 'https://developer.apple.com/documentation/xcode' + copy: 'Documentation' + other_editors: + pre-code-text: Any editor that supports the Language Server Protocol (LSP) can use SourceKit-LSP to provide intelligent editor functionality for Swift. + headline: Other editors + links: + - href: 'https://www.swift.org/tools/#editors' + copy: 'Learn more' \ No newline at end of file diff --git a/_data/new-data/install/windows/releases.yml b/_data/new-data/install/windows/releases.yml index 192e6067f..373a02f7f 100644 --- a/_data/new-data/install/windows/releases.yml +++ b/_data/new-data/install/windows/releases.yml @@ -15,17 +15,15 @@ latest-release: copy: "Additional details included in Instructions" vscode: pre-code-text: Visual Studio Code is a cross-platform and extensible editor that supports Swift through the Swift extension, which provides intelligent editor functionality as well as debugging and test support. - headline: 2. Select an Editor

Visual Studio Code + headline: Visual Studio Code links: - href: 'https://marketplace.visualstudio.com/items?itemName=swiftlang.swift-vscode' copy: 'Install Swift extension' - href: 'https://code.visualstudio.com/docs/languages/swift' copy: 'Documentation' - - href: "https://www.swift.org/tools/#editors" - copy: "Other Editors" build-a-package: pre-code-text: "Let’s write a small application with your new Swift development environment." - headline: 3. Build a Command-line Tool + headline: after-code-text: | Create a directory:
mkdir MyCLI
diff --git a/_includes/new-includes/components/linux-releases.html b/_includes/new-includes/components/linux-releases.html index e2a74562a..cca3d4945 100644 --- a/_includes/new-includes/components/linux-releases.html +++ b/_includes/new-includes/components/linux-releases.html @@ -55,6 +55,11 @@

Tarball

{% include new-includes/components/static-linux-sdk.html %} +
+
+ {% include new-includes/components/wasm-sdk.html %} +
+
{% if include.rpm %}
diff --git a/_includes/new-includes/components/static-linux-sdk.html b/_includes/new-includes/components/static-linux-sdk.html index 0288e018d..427817ea0 100644 --- a/_includes/new-includes/components/static-linux-sdk.html +++ b/_includes/new-includes/components/static-linux-sdk.html @@ -3,10 +3,8 @@ {% assign tag_downcase = site.data.builds.swift_releases.last.tag | downcase %}
-

Static Linux SDK

+

Static Linux

- Static Linux SDK - Cross compile to Linux. -

{% assign base_url = "https://download.swift.org/" | append: tag_downcase | append: "/static-sdk/" | append: tag | append: "/" | append: tag %} {% assign command = "swift sdk install " | append: base_url | append: "_static-linux-0.0.1.artifactbundle.tar.gz --checksum " | append: platform.checksum %} +

+ + +
\ No newline at end of file diff --git a/install/linux/index.md b/install/linux/index.md index 551c0813e..23798a1ab 100644 --- a/install/linux/index.md +++ b/install/linux/index.md @@ -16,16 +16,43 @@ title: Install Swift - Linux {% include new-includes/components/code-box.html content = site.data.new-data.install.linux.releases.latest-release.container %}
+

2. Select an Editor

+
+
+
+ {% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.vscode%} +
+
+
+
+ {% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.other_editors%} +
+
+
+

3. Build a Command-line Tool

- {% include new-includes/components/static-linux-sdk.html %} + {% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%}
-
+

Swift SDK Bundles

+
+

Additional components for cross-compilation

+
+
+
+
+ {% include new-includes/components/static-linux-sdk.html %} +
+
+
- {% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.vscode%} + {% include new-includes/components/wasm-sdk.html %} +
+

+

Development Snapshots

Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.

diff --git a/install/macos/index.md b/install/macos/index.md index 00c168dd0..e5813c770 100644 --- a/install/macos/index.md +++ b/install/macos/index.md @@ -8,18 +8,54 @@ title: Install Swift - macOS {% assign xcode_dev_builds = site.data.builds.development.xcode | sort: 'date' | reverse %} {% assign xcode_6_2_builds = site.data.builds.swift-6_2-branch.xcode | sort: 'date' | reverse %} +
{% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.macos.releases.latest-release.swiftly%}
+

2. Select an Editor

+
{% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.xcode%}
+
+
+ {% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.vscode%} +
+
+
+
+
+ {% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.other_editors%} +
+
+

3. Build a Command-line Tool

+
+
+ {% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%} +
+
+

Swift SDK Bundles

+
+

Additional components for cross-compilation

+
+
+
+ {% include new-includes/components/static-linux-sdk.html %} +
+
+
+
+ {% include new-includes/components/wasm-sdk.html %} +
+
+
+

Alternative toolchain install options

@@ -36,12 +72,6 @@ title: Install Swift - macOS
-
-
- {% include new-includes/components/static-linux-sdk.html %} -
-
-
@@ -50,6 +80,8 @@ title: Install Swift - macOS
+

+

Development Snapshots

Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.

@@ -118,7 +150,11 @@ title: Install Swift - macOS
-

Static Linux SDK

+

Swift SDK Bundles

+
+

Additional components for cross-compilation

+
+

Swift SDK for Static Linux

Instructions diff --git a/install/windows/index.md b/install/windows/index.md index daaea834d..ade3873dd 100644 --- a/install/windows/index.md +++ b/install/windows/index.md @@ -18,11 +18,20 @@ title: Install Swift - Windows {% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.winget %}

-
-
- {% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.vscode%} +

2. Select an Editor

+
+
+
+ {% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.vscode%} +
+
+
+
+ {% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.other_editors%} +
+

3. Build a Command-line Tool

{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%}