What changed in github/codeql-action from 3 to 4

8 releases numbered after v3.39.3 up to and including v4.39.3, stable releases only. v3.39.3 and v4.39.3 are the newest stable releases of 3 and 4 we track; this page follows them as new ones ship.

19 changes across 8 releases

Added 4

v4.39.2

  • Emit a warning when a workflow is about to perform a traced analysis on macOS 27 or above or Xcode 27 or above, which is unsupported, and show this warning on the Tool Status Page
  • The analyze Action now warns when the CODEQL_ACTION_CLEANUP_TRAP_CACHES environment variable is set

v4.38.1

  • Experimental support for CodeQL releases that provide per-language bundles, which are smaller and faster to download than combined bundles.

v4.38.0

  • The CodeQL Action supports CodeQL releases compatible with Linux Arm64 and downloads the native linux-arm64 CodeQL bundle when available.
Changed 9

v4.39.2

  • Update default CodeQL bundle version to 2.27.4

v4.39.1

  • Update default CodeQL bundle version to 2.27.3

v4.39.0

  • Bump the minimum required CodeQL bundle version to 2.20.7
  • The codeql-action/analyze step now validates that a correct argument for the checkout_path input has been provided, producing a warning if the path does not point to a repository checkout or differs from the path used by codeql-action/init

v4.38.3

  • Added a deprecation warning for customers using CodeQL version 2.21.2 and earlier, which are discontinued on 24 September 2026 alongside GitHub Enterprise Server 3.17 and will be unsupported by the next minor release of the CodeQL Action
  • Updated the default CodeQL bundle version to 2.27.2

v4.38.2

  • Update default CodeQL bundle version to 2.27.1

v4.38.0

  • On GitHub-hosted runners, the CodeQL Action deletes unused CodeQL bundles from the toolcache before downloading a different bundle, freeing up disk space for the analysis.
  • Default CodeQL bundle version updated to 2.27.0.
Fixed 4

v4.39.3

  • Fixed diff-informed alert filtering incorrectly removing alerts in changed files whose paths contain spaces, special characters, or non-ASCII characters.

v4.39.0

  • Resolved an issue with third-party caching implementations that prevented caches from being restored correctly
  • The codeql-action/start-proxy step used in Code Scanning Default Setup now finds CodeQL releases using the same logic as codeql-action/init, so it no longer ends up using outdated private registry authentication proxy versions on GitHub instances other than github.com

v4.38.3

  • Fixed a bug where the decision of whether to use a per-language bundle did not account for custom configurations that reference queries outside of compiled CodeQL packs
Removed 1

v4.39.2

  • The undocumented TRAP cache cleanup feature enabled by the CODEQL_ACTION_CLEANUP_TRAP_CACHES environment variable has been removed
Deprecated 1

v4.39.2

  • CodeQL version 2.22.3 and earlier are discontinued on 16 October 2026 alongside GitHub Enterprise Server 3.18 and will be unsupported by the next minor release of the CodeQL Action; a deprecation warning is now shown for customers using these versions

Original release notes, newest first

The list above is our reading of these notes; the originals from GitHub are here, one fold per release.

v4.39.3
  • Fixed diff-informed alert filtering incorrectly removing alerts in changed files whose paths contain spaces, special characters, or non-ASCII characters. #4283

View originalPermalink

v4.39.2
  • Update default CodeQL bundle version to 2.27.4. #4284
  • Upcoming breaking change: CodeQL version 2.22.3 and earlier were discontinued on 16 October 2026 alongside GitHub Enterprise Server 3.18, and will be unsupported by the next minor release of the CodeQL Action. Added a deprecation warning for customers using these versions of CodeQL. #4266
  • Starting with macOS 27 and Xcode 27, traced analyses are unsupported. See this blog post for more information. The CodeQL Action will now try to identify if a workflow is about to perform a traced analysis on version 27 or above of macOS or Xcode. If so, the CodeQL Action will emit a corresponding warning that will also be visible on the Tool Status Page. This check will be rolled out following this release of the CodeQL Action. #4221
  • The undocumented TRAP cache cleanup feature that could be enabled using the CODEQL_ACTION_CLEANUP_TRAP_CACHES environment variable has been removed, as announced in the release notes for CodeQL Action 4.35.2. The analyze Action now warns if this environment variable is set. If you used TRAP cache cleanup to limit Actions cache usage, we recommend disabling TRAP caching by passing the trap-caching: false input to the init Action. #4243

View originalPermalink

v4.39.1
  • Update default CodeQL bundle version to 2.27.3. #4256

View originalPermalink

v4.39.0
  • Breaking change: Bump the minimum required CodeQL bundle version to 2.20.7. #4205
  • The codeql-action/analyze step now validates that a correct argument for the checkout_path input has been provided. The checkout_path input must be set to the path where the repository that is being analyzed is checked out at on the runner, if that path is something other than the workspace root. If the path does not point to a repository checkout or is different from the path that was used by codeql-action/init, then the CodeQL Action now produces a warning. #4148
  • Resolved an issue with third-party caching implementations that prevented caches from being restored correctly. #4206
  • The codeql-action/start-proxy step that is used in Code Scanning Default Setup now finds CodeQL releases using the same logic as codeql-action/init. This primarily benefits customers who are using GitHub instances other than github.com where the codeql-action/start-proxy step may previously have been unable to locate recent releases and ended up using outdated versions of the private registry authentication proxy as a result. #4198

View originalPermalink

v4.38.3
  • Upcoming breaking change: CodeQL version 2.21.2 and earlier were discontinued on 24 September 2026 alongside GitHub Enterprise Server 3.17, and will be unsupported by the next minor release of the CodeQL Action. Added a deprecation warning for customers using these versions of CodeQL. #4188
  • Update default CodeQL bundle version to 2.27.2. #4203
  • Fixed a bug where the decision of whether to use a per-language bundle did not account for custom configurations that reference queries outside of compiled CodeQL packs. This issue was caught during internal testing and did not affect any customer repositories. We will resume the roll out of per-language bundles in the coming weeks. #4184

View originalPermalink

v4.38.2
  • Update default CodeQL bundle version to 2.27.1. #4160

View originalPermalink

v4.38.1
  • The CodeQL Action now has experimental support for CodeQL releases for which per-language bundles are available. Per-language bundles support analysis for a single language and are therefore smaller than the combined bundles that allow analysis for all supported languages. As a result, per-language bundles take up less space on disk and are faster to download. We expect to roll this change out to everyone in the coming weeks. #4146

View originalPermalink

v4.38.0
  • On GitHub-hosted runners, the CodeQL Action now deletes unused CodeQL bundles from the toolcache before downloading a different bundle, which frees up disk space for the analysis. We expect to roll this change out to everyone in September. #4124
  • The CodeQL Action now supports CodeQL releases that are compatible with Linux Arm64 and downloads the native linux-arm64 CodeQL bundle when available. #4072
  • Update default CodeQL bundle version to 2.27.0. #4129

View originalPermalink