CodeQL 2.21.1 (2025-04-22) — CodeQL (original) (raw)

Contents

This is an overview of changes in the CodeQL CLI and relevant CodeQL query and library packs. For additional updates on changes to the CodeQL code scanning experience, check out the code scanning section on the GitHub blog, relevant GitHub Changelog updates, changes in the CodeQL extension for Visual Studio Code, and the CodeQL Action changelog.

Security Coverage

CodeQL 2.21.1 runs a total of 452 security queries when configured with the Default suite (covering 168 CWE). The Extended suite enables an additional 136 queries (covering 35 more CWE).

CodeQL CLI

Bug Fixes

Query Packs

New Features

GitHub Actions

Bug Fixes

JavaScript/TypeScript

GitHub Actions

Major Analysis Improvements

Ruby

Minor Analysis Improvements

C#

JavaScript/TypeScript

Python

Language Libraries

Minor Analysis Improvements

C#

Golang

Java/Kotlin

JavaScript/TypeScript

Ruby

New Features

GitHub Actions

C/C++

Shared Libraries

Deprecated APIs

Static Single Assignment (SSA)