See the releases page for the relevant changes to the CodeQL CLI and language packs.
[UNRELEASED]
Improve the log output when an error occurs in an invocation of the CodeQL CLI. #1927
2.22.1 - 09 Oct 2023
Add a workaround for Python 3.12, which is not supported in CodeQL CLI version 2.14.6 or earlier. If you are running an analysis on Windows and using Python 3.12 or later, the CodeQL Action will switch to running Python 3.11. In this case, if Python 3.11 is not found, then the workflow will fail. #1928
2.22.0 - 06 Oct 2023
The CodeQL Action now requires CodeQL version 2.10.5 or later. For more information, see the corresponding changelog entry for CodeQL Action version 2.21.8. #1907
Fix a bug which prevented tracing of projects using Go 1.21 and above on Linux. #1909
2.21.9 - 27 Sep 2023
Update default CodeQL bundle version to 2.14.6. #1897
We are rolling out a feature in October 2023 that will improve the success rate of C/C++ autobuild. #1889
We are rolling out a feature in October 2023 that will provide specific file coverage information for C and C++, Java and Kotlin, and JavaScript and TypeScript. Currently file coverage information for each of these pairs of languages is grouped together. #1903
Add a warning to help customers avoid inadvertently analyzing the same CodeQL language in multiple matrix jobs. #1901
2.21.8 - 19 Sep 2023
Add a deprecation warning for customers using CodeQL version 2.10.4 and earlier. These versions of CodeQL were discontinued on 12 September 2023 alongside GitHub Enterprise Server 3.6, and will be unsupported by the next minor release of the CodeQL Action. #1884
If you are using one of these versions, please update to CodeQL CLI version 2.10.5 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.
Alternatively, if you want to continue using a version of the CodeQL CLI between 2.9.5 and 2.10.4, you can replace github/codeql-action/*@v2 by github/codeql-action/*@v2.21.7 in your code scanning workflow to ensure you continue using this version of the CodeQL Action.
Enable the following language aliases when using CodeQL 2.14.4 and later: c-cpp for C/C++ analysis, java-kotlin for Java/Kotlin analysis, and javascript-typescript for JavaScript/TypeScript analysis. #1883
2.21.7 - 14 Sep 2023
Update default CodeQL bundle version to 2.14.5. #1882
2.21.6 - 13 Sep 2023
Better error message when there is a failure to determine the merge base of the code to analysis. #1860
Improve the calculation of default amount of RAM used for query execution on GitHub Enterprise Server. This now reduces in proportion to the runner's total memory to better account for system memory usage, helping to avoid out-of-memory failures on larger runners. This feature is already available to GitHub.com users. #1866
Enable improved file coverage information for GitHub Enterprise Server users. This feature is already available to GitHub.com users. #1867
Update default CodeQL bundle version to 2.14.4. #1873
2.21.5 - 28 Aug 2023
Update default CodeQL bundle version to 2.14.3. #1845
Fixed a bug in CodeQL Action 2.21.3 onwards that affected beta support for Project Lombok when analyzing Java. The environment variable CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS will now be respected if it was manually configured in the workflow. #1844
Enable support for Kotlin 1.9.20 when running with CodeQL CLI v2.13.4 through v2.14.3. #1853
2.21.4 - 14 Aug 2023
... (truncated)
Commits
fdcae64 Merge pull request #1932 from github/update-v2.22.1-18e6c398c
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github/codeql-action from 2.21.2 to 2.22.1.
Changelog
Sourced from github/codeql-action's changelog.
... (truncated)
Commits
fdcae64
Merge pull request #1932 from github/update-v2.22.1-18e6c398c8554648
Update changelog for v2.22.118e6c39
Merge pull request #1930 from github/aeisenberg-patch-15e34d08
Link PR and fix case of Pythonfaf91ca
Merge pull request #1926 from github/mbg/suppress-go-workaround-warningffaea6c
Merge branch 'main' into mbg/suppress-go-workaround-warning0a0988c
Update CHANGELOG.md0d5c2e0
Merge pull request #1928 from github/aeisenberg/fix-python31294b6970
Update CHANGELOG.md669c610
Add a feature flag to turn this off for newer versions of codeqlDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show