From 6805cbb1da8400bb78b36a32df9561725050ef9a Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino <96546612+fpseverino@users.noreply.github.com> Date: Thu, 30 Apr 2026 17:16:40 +0200 Subject: [PATCH 1/6] Update Swift version to 6.2 in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2daa5cd..34e1c6c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ MIT License Continuous Integration Code Coverage -Swift 6.1+ +Swift 6.2+


@@ -23,7 +23,7 @@ ### Supported Platforms -ConsoleKit supports all platforms supported by Swift 6.1 and later. +ConsoleKit supports all platforms supported by Swift 6.2 and later. ### Installation From 092ea7e94e8d0dee185db25319e26d5f06082e57 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Thu, 30 Apr 2026 10:44:16 -0500 Subject: [PATCH 2/6] Need a custom CodeQL workflow to get it to use Swift 6.2 --- .github/workflows/codeql.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..6d90c99 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,43 @@ +name: CodeQL +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + schedule: + - cron: '0 0 * * 1' + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + permissions: + security-events: write + actions: read + contents: read + strategy: + fail-fast: false + matrix: + include: + - language: actions + build-mode: none + - language: swift + build-mode: autobuild + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + steps: + - name: Select an Xcode which provides Swift 6.2.4 + if: ${{ matrix.language == 'swift' }} + uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0 + with: + xcode-version: '26.3' + - name: Checkout repository + uses: actions/checkout@v6 + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + queries: security-extended + build-mode: ${{ matrix.build-mode }} + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4 + with: + category: "/language:${{matrix.language}}" From 6c6c09a4f0f21cdef6783a8fbf09f41a895c5029 Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino <96546612+fpseverino@users.noreply.github.com> Date: Thu, 30 Apr 2026 17:49:00 +0200 Subject: [PATCH 3/6] Update README.md Co-authored-by: Gwynne Raskind --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 34e1c6c..dda75ca 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,18 @@ Continuous Integration Code Coverage Swift 6.2+ -

+
+ConsoleKit +
+ +[![Documentation](https://design.vapor.codes/images/readthedocs.svg)](https://docs.vapor.codes/4.0/) +[![Team Chat](https://design.vapor.codes/images/discordchat.svg)](https://discord.gg/vapor) +[![MIT License](https://design.vapor.codes/images/mitlicense.svg)](LICENSE) +[![Continuous Integration](https://img.shields.io/github/actions/workflow/status/vapor/console-kit/test.yml?event=push&style=plastic&logo=github&label=tests&logoColor=ccc)](https://github.com/vapor/console-kit/actions/workflows/test.yml) +[![Code Coverage](https://img.shields.io/codecov/c/gh/vapor/console-kit?style=plastic&logo=codecov&label=codecov)](https://codecov.io/gh/vapor/console-kit) +[![Swift 6.2+](https://design.vapor.codes/images/swift62up.svg)](https://swift.org) + +

From 3ec93643df4350c4c464126ffc17d0429dda6921 Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino <96546612+fpseverino@users.noreply.github.com> Date: Thu, 30 Apr 2026 17:49:10 +0200 Subject: [PATCH 4/6] Update README.md Co-authored-by: Gwynne Raskind --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dda75ca..1bb3600 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ `ConsoleKit` provides utilities for interacting with a console in a Swift application. It provides: * Utilities for sending text (including styles and colors, when supported) to and reading input from a terminal. -* ``ConsoleLogger``, a [SwiftLog](https://github.com/apple/swift-log) `LogHandler` implementation for customizable logging to a console. +* `ConsoleLogger`, a [SwiftLog](https://github.com/apple/swift-log) `LogHandler` implementation for customizable logging to a console. ### Supported Platforms From 0857d55ba2654d5be954fd4ca32d69f7301bdad5 Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino <96546612+fpseverino@users.noreply.github.com> Date: Thu, 30 Apr 2026 17:49:18 +0200 Subject: [PATCH 5/6] Update README.md Co-authored-by: Gwynne Raskind --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1bb3600..98f6b26 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ ConsoleKit supports all platforms supported by Swift 6.2 and later. ### Installation -Use the SPM string to easily include the dependendency in your `Package.swift` file +Use the Github repository URL to add the dependency to your `Package.swift` manifest: ```swift .package(url: "https://github.com/vapor/console-kit.git", from: "5.0.0") From 3ed0f6199dfa1e2089fabb24cb667dadbe5b55f0 Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino <96546612+fpseverino@users.noreply.github.com> Date: Thu, 30 Apr 2026 17:51:07 +0200 Subject: [PATCH 6/6] Remove HTML entities from README.md --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index 98f6b26..4bbcfdd 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,3 @@ -

-ConsoleKit -
-
-Documentation -Team Chat -MIT License -Continuous Integration -Code Coverage -Swift 6.2+

ConsoleKit