From 8f15b0b6c1c8595f5eb94067bd029baba9080e01 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Wed, 15 May 2024 22:54:34 +0100 Subject: [PATCH 1/4] Swift: Remove beta label on documentation. --- .../codeql-language-guides/analyzing-data-flow-in-swift.rst | 2 -- .../codeql-language-guides/basic-query-for-swift-code.rst | 1 - docs/codeql/codeql-language-guides/codeql-for-swift.rst | 2 -- docs/codeql/query-help/codeql-cwe-coverage.rst | 1 - docs/codeql/query-help/index.rst | 1 - docs/codeql/reusables/supported-frameworks.rst | 2 -- docs/codeql/reusables/swift-beta-note.rst | 4 ---- 7 files changed, 13 deletions(-) delete mode 100644 docs/codeql/reusables/swift-beta-note.rst diff --git a/docs/codeql/codeql-language-guides/analyzing-data-flow-in-swift.rst b/docs/codeql/codeql-language-guides/analyzing-data-flow-in-swift.rst index 9de7d620abf4..61aa63e00be7 100644 --- a/docs/codeql/codeql-language-guides/analyzing-data-flow-in-swift.rst +++ b/docs/codeql/codeql-language-guides/analyzing-data-flow-in-swift.rst @@ -5,8 +5,6 @@ Analyzing data flow in Swift You can use CodeQL to track the flow of data through a Swift program to places where the data is used. -.. include:: ../reusables/swift-beta-note.rst - About this article ------------------ diff --git a/docs/codeql/codeql-language-guides/basic-query-for-swift-code.rst b/docs/codeql/codeql-language-guides/basic-query-for-swift-code.rst index fdaa1ec62908..9e146513a20c 100644 --- a/docs/codeql/codeql-language-guides/basic-query-for-swift-code.rst +++ b/docs/codeql/codeql-language-guides/basic-query-for-swift-code.rst @@ -5,7 +5,6 @@ Basic query for Swift code Learn to write and run a simple CodeQL query using Visual Studio Code with the CodeQL extension. -.. include:: ../reusables/swift-beta-note.rst .. include:: ../reusables/vs-code-basic-instructions/setup-to-run-queries.rst About the query diff --git a/docs/codeql/codeql-language-guides/codeql-for-swift.rst b/docs/codeql/codeql-language-guides/codeql-for-swift.rst index 132ab004d6f0..5d05739829f8 100644 --- a/docs/codeql/codeql-language-guides/codeql-for-swift.rst +++ b/docs/codeql/codeql-language-guides/codeql-for-swift.rst @@ -5,8 +5,6 @@ CodeQL for Swift Experiment and learn how to write effective and efficient queries for CodeQL databases generated from Swift codebases. -.. include:: ../reusables/swift-beta-note.rst - .. toctree:: :hidden: diff --git a/docs/codeql/query-help/codeql-cwe-coverage.rst b/docs/codeql/query-help/codeql-cwe-coverage.rst index 54219ea8f3b3..31ce5b7ec965 100644 --- a/docs/codeql/query-help/codeql-cwe-coverage.rst +++ b/docs/codeql/query-help/codeql-cwe-coverage.rst @@ -4,7 +4,6 @@ CodeQL CWE coverage You can view the full coverage of MITRE's Common Weakness Enumeration (CWE) or coverage by language for the latest release of CodeQL. .. include:: ../reusables/kotlin-beta-note.rst -.. include:: ../reusables/swift-beta-note.rst About CWEs ########## diff --git a/docs/codeql/query-help/index.rst b/docs/codeql/query-help/index.rst index 05d53a2cddf9..e15aee39b2ce 100644 --- a/docs/codeql/query-help/index.rst +++ b/docs/codeql/query-help/index.rst @@ -13,7 +13,6 @@ View the query help for the queries included in the ``default``, ``security-exte - :doc:`CodeQL query help for Swift ` .. include:: ../reusables/kotlin-beta-note.rst -.. include:: ../reusables/swift-beta-note.rst .. pull-quote:: Information diff --git a/docs/codeql/reusables/supported-frameworks.rst b/docs/codeql/reusables/supported-frameworks.rst index 5ab3b6058343..2e858578b002 100644 --- a/docs/codeql/reusables/supported-frameworks.rst +++ b/docs/codeql/reusables/supported-frameworks.rst @@ -286,8 +286,6 @@ and the CodeQL library pack ``codeql/ruby-all`` (`changelog `__, `source `__) and the CodeQL library pack ``codeql/swift-all`` (`changelog `__, `source `__). diff --git a/docs/codeql/reusables/swift-beta-note.rst b/docs/codeql/reusables/swift-beta-note.rst deleted file mode 100644 index 273366833409..000000000000 --- a/docs/codeql/reusables/swift-beta-note.rst +++ /dev/null @@ -1,4 +0,0 @@ - .. pull-quote:: Note - - CodeQL analysis for Swift is currently in beta. During the beta, analysis of Swift code, - and the accompanying documentation, will not be as comprehensive as for other languages. \ No newline at end of file From 533c5218dd04cec872fc28f20504e01ca0d67abc Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Wed, 15 May 2024 22:56:50 +0100 Subject: [PATCH 2/4] Swift: Remove more beta references. --- docs/codeql/reusables/supported-versions-compilers.rst | 2 +- swift/README.md | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/codeql/reusables/supported-versions-compilers.rst b/docs/codeql/reusables/supported-versions-compilers.rst index 6f47503d102a..30c8985079d4 100644 --- a/docs/codeql/reusables/supported-versions-compilers.rst +++ b/docs/codeql/reusables/supported-versions-compilers.rst @@ -39,5 +39,5 @@ .. [8] JSX and Flow code, YAML, JSON, HTML, and XML files may also be analyzed with JavaScript files. .. [9] The extractor requires Python 3 to run. To analyze Python 2.7 you should install both versions of Python. .. [10] Requires glibc 2.17. - .. [11] Swift support is currently in beta. Support for the analysis of Swift requires macOS or Linux. + .. [11] Support for the analysis of Swift requires macOS or Linux. .. [12] TypeScript analysis is performed by running the JavaScript extractor with TypeScript enabled. This is the default. diff --git a/swift/README.md b/swift/README.md index a2ac9fca380e..3baab86c51db 100644 --- a/swift/README.md +++ b/swift/README.md @@ -1,8 +1,5 @@ # Swift on CodeQL -> [!NOTE] -> CodeQL analysis for Swift is currently in beta. During the beta, analysis of Swift code, and the accompanying documentation, will not be as comprehensive as for other languages. - ## Development ### Building the Swift extractor From e5761d65240da52a944e45ecbda8b201b3d33084 Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Thu, 11 Jul 2024 15:36:28 +0100 Subject: [PATCH 3/4] Swift: Add GA change note. --- swift/ql/lib/change-notes/2024-11-07-swift-ga.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 swift/ql/lib/change-notes/2024-11-07-swift-ga.md diff --git a/swift/ql/lib/change-notes/2024-11-07-swift-ga.md b/swift/ql/lib/change-notes/2024-11-07-swift-ga.md new file mode 100644 index 000000000000..e50a30741574 --- /dev/null +++ b/swift/ql/lib/change-notes/2024-11-07-swift-ga.md @@ -0,0 +1,4 @@ +--- +category: feature +--- +* Swift support is now out of beta, and generally available. From f5bfdbf5ef978a30aa6cd5a74afc6f0150cc67eb Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:01:52 +0100 Subject: [PATCH 4/4] Swift: Fix change note file. --- .../{2024-11-07-swift-ga.md => 2024-07-11-swift-ga.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename swift/ql/lib/change-notes/{2024-11-07-swift-ga.md => 2024-07-11-swift-ga.md} (100%) diff --git a/swift/ql/lib/change-notes/2024-11-07-swift-ga.md b/swift/ql/lib/change-notes/2024-07-11-swift-ga.md similarity index 100% rename from swift/ql/lib/change-notes/2024-11-07-swift-ga.md rename to swift/ql/lib/change-notes/2024-07-11-swift-ga.md