From 41bf91072d21b7d86a878f5a55293c8126838787 Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Tue, 4 Nov 2025 15:56:39 +0100 Subject: [PATCH 1/2] Swift: Update supported versions in the documentation Also document that we need to update the supported versions, so we don't forget it next time around. --- docs/codeql/reusables/supported-versions-compilers.rst | 2 +- swift/third_party/resources/updating.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/codeql/reusables/supported-versions-compilers.rst b/docs/codeql/reusables/supported-versions-compilers.rst index fb204bc4685e..8dcfd1a5dc0f 100644 --- a/docs/codeql/reusables/supported-versions-compilers.rst +++ b/docs/codeql/reusables/supported-versions-compilers.rst @@ -26,7 +26,7 @@ Python [9]_,"2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13",Not applicable,``.py`` Ruby [10]_,"up to 3.3",Not applicable,"``.rb``, ``.erb``, ``.gemspec``, ``Gemfile``" Rust [11]_,"Rust editions 2021 and 2024","Rust compiler","``.rs``, ``Cargo.toml``" - Swift [12]_ [13]_,"Swift 5.4-6.1","Swift compiler","``.swift``" + Swift [12]_ [13]_,"Swift 5.4-6.2","Swift compiler","``.swift``" TypeScript [14]_,"2.6-5.9",Standard TypeScript compiler,"``.ts``, ``.tsx``, ``.mts``, ``.cts``" .. container:: footnote-group diff --git a/swift/third_party/resources/updating.md b/swift/third_party/resources/updating.md index 766d3e9410ee..492f07f27423 100644 --- a/swift/third_party/resources/updating.md +++ b/swift/third_party/resources/updating.md @@ -23,4 +23,5 @@ In order to perform a Swift update: (or whatever you have overridden). This will pull the staged archives in the repository for git LFS. 8. Clear `_override` in [`load.bzl`](../load.bzl). 9. Add a change note to the [library change note directory](../../ql/lib/change-notes/) that mentions that we now support the Swift version we updated to. -10. Push and your PR will be ready for `main`. +10. If this not patch update, then update the [supported versions](../../../docs/codeql/reusables/supported-versions-compilers.rst) with the Swift version we updated to. +11. Push and your PR will be ready for `main`. From a29c9af4a765ad6ad59fc59f9fb90d9ca08fe19a Mon Sep 17 00:00:00 2001 From: Jeroen Ketema <93738568+jketema@users.noreply.github.com> Date: Tue, 4 Nov 2025 16:00:23 +0100 Subject: [PATCH 2/2] Update swift/third_party/resources/updating.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- swift/third_party/resources/updating.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/third_party/resources/updating.md b/swift/third_party/resources/updating.md index 492f07f27423..0d5874aa5661 100644 --- a/swift/third_party/resources/updating.md +++ b/swift/third_party/resources/updating.md @@ -23,5 +23,5 @@ In order to perform a Swift update: (or whatever you have overridden). This will pull the staged archives in the repository for git LFS. 8. Clear `_override` in [`load.bzl`](../load.bzl). 9. Add a change note to the [library change note directory](../../ql/lib/change-notes/) that mentions that we now support the Swift version we updated to. -10. If this not patch update, then update the [supported versions](../../../docs/codeql/reusables/supported-versions-compilers.rst) with the Swift version we updated to. +10. If this is not a patch update, then update the [supported versions](../../../docs/codeql/reusables/supported-versions-compilers.rst) with the Swift version we updated to. 11. Push and your PR will be ready for `main`.