Sourced from github/codeql-action's changelog.
CodeQL Action Changelog
See the releases page for the relevant changes to the CodeQL CLI and language packs.
Note that the only difference between
v2
andv3
of the CodeQL Action is the node version they support, withv3
running on node 20 while we continue to releasev2
to support running on node 16. For example3.22.11
was the firstv3
release and is functionally identical to2.22.11
. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.[UNRELEASED]
No user facing changes.
3.24.7 - 12 Mar 2024
- Update default CodeQL bundle version to 2.16.4. #2185
3.24.6 - 29 Feb 2024
No user facing changes.
3.24.5 - 23 Feb 2024
- Update default CodeQL bundle version to 2.16.3. #2156
3.24.4 - 21 Feb 2024
- Fix an issue where an existing, but empty,
/sys/fs/cgroup/cpuset.cpus
file always resulted in a single-threaded run. #21513.24.3 - 15 Feb 2024
- Fix an issue where the CodeQL Action would fail to load a configuration specified by the
config
input to theinit
Action. #21473.24.2 - 15 Feb 2024
- Enable improved multi-threaded performance on larger runners for GitHub Enterprise Server users. This feature is already available to GitHub.com users. #2141
3.24.1 - 13 Feb 2024
- Update default CodeQL bundle version to 2.16.2. #2124
- The CodeQL action no longer fails if it can't write to the telemetry api endpoint. #2121
3.24.0 - 02 Feb 2024
- CodeQL Python analysis will no longer install dependencies on GitHub Enterprise Server, as is already the case for GitHub.com. See release notes for 3.23.0 for more details. #2106
3.23.2 - 26 Jan 2024
- On Linux, the maximum possible value for the
--threads
option now respects the CPU count as specified incgroup
files to more accurately reflect the number of available cores when running in containers. #2083- Update default CodeQL bundle version to 2.16.1. #2096
3.23.1 - 17 Jan 2024
... (truncated)
3ab4101
Merge pull request #2192
from github/update-v3.24.7-5e882999fa006adf
Update changelog for v3.24.75e88299
Bump the npm group with 2 updates (#2190)69e120d
Merge pull request #2191
from github/henrymercer/use-include-query-help-flag5ec06c7
Use the --sarif-include-query-help
option when
supportedcaf3779
Update default bundle to 2.16.4 (#2185)532ca54
Fail analyze
step by passing an invalid option to
database finalize
(#2189)2fa207a
Merge pull request #2188
from github/henrymercer/prepare-build-mode-help24c3eda
Escape named value in input description27a6cd0
Remove experimental qualifiers from build mode inputSourced from black's releases.
24.3.0
Highlights
This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.
This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.
Stable style
- Don't move comments along with delimiters, which could cause crashes (#4248)
- Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
- Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)
Performance
- Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)
Documentation
- Note what happens when
--check
is used with--quiet
(#4236)
Sourced from black's changelog.
24.3.0
Highlights
This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.
This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.
Stable style
- Don't move comments along with delimiters, which could cause crashes (#4248)
- Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
- Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)
Performance
- Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)
Documentation
- Note what happens when
--check
is used with--quiet
(#4236)
552baf8
Prepare release 24.3.0 (#4279)f000936
Fix catastrophic performance in lines_with_leading_tabs_expanded() (#4278)7b5a657
Fix --line-ranges behavior when ranges are at EOF (#4273)1abcffc
Use regex where we ignore case on windows (#4252)719e674
Fix 4227: Improve documentation for --quiet --check (#4236)e5510af
update plugin url for Thonny (#4259)6af7d11
Fix AST safety check false negative (#4270)f03ee11
Ensure blib2to3.pygram
is initialized before use (#4224)e4bfedb
fix: Don't move comments while splitting delimiters (#4248)d0287e1
Make trailing comma logic more concise (#4202)Sourced from ruff's releases.
v0.3.3
Changes
Preview features
- [
flake8-bandit
]: ImplementS610
rule (#10316)- [
pycodestyle
] Implementblank-line-at-end-of-file
(W391
) (#10243)- [
pycodestyle
] Implementredundant-backslash
(E502
) (#10292)- [
pylint
] - implementredeclared-assigned-name
(W0128
) (#9268)Rule changes
- [
flake8_comprehensions
] Handled special case forC400
which also matchesC416
(#10419)- [
flake8-bandit
] Implement upstream updates forS311
,S324
andS605
(#10313)- [
pyflakes
] RemoveF401
fix for__init__
imports by default and allow opt-in to unsafe fix (#10365)- [
pylint
] Implementinvalid-bool-return-type
(E304
) (#10377)- [
pylint
] Include builtin warnings in useless-exception-statement (PLW0133
) (#10394)CLI
- Add message on success to
ruff check
(#8631)Bug fixes
- [
PIE970
] Allow trailing ellipsis intyping.TYPE_CHECKING
(#10413)- Avoid
TRIO115
if the argument is a variable (#10376)- [
F811
] Avoid removing shadowed imports that point to different symbols (#10387)- Fix
F821
andF822
false positives in.pyi
files (#10341)- Fix
F821
false negatives in.py
files whenfrom __future__ import annotations
is active (#10362)- Fix case where
Indexer
fails to identify continuation preceded by newline #10351 (#10354)- Sort hash maps in
Settings
display (#10370)- Track conditional deletions in the semantic model (#10415)
- [
C413
] Wrap expressions in parentheses when negating (#10346)- [
pycodestyle
] Do not ignore lines before the first logical line in blank lines rules. (#10382)- [
pycodestyle
] Do not triggerE225
andE275
when the next token is a ')' (#10315)- [
pylint
] Avoid false-positive slot non-assignment for__dict__
(PLE0237
) (#10348)- Gate f-string struct size test for Rustc < 1.76 (#10371)
Documentation
- Use
ruff.toml
format in README (#10393)- [
RUF008
] Make it clearer that a mutable default in a dataclass is only valid if it is typed as a ClassVar (#10395)- [
pylint
] Extend docs and test ininvalid-str-return-type
(E307
) (#10400)- Remove
.
fromcheck
andformat
commands (#10217)Contributors
... (truncated)
Sourced from ruff's changelog.
0.3.3
Preview features
- [
flake8-bandit
]: ImplementS610
rule (#10316)- [
pycodestyle
] Implementblank-line-at-end-of-file
(W391
) (#10243)- [
pycodestyle
] Implementredundant-backslash
(E502
) (#10292)- [
pylint
] - implementredeclared-assigned-name
(W0128
) (#9268)Rule changes
- [
flake8_comprehensions
] Handled special case forC400
which also matchesC416
(#10419)- [
flake8-bandit
] Implement upstream updates forS311
,S324
andS605
(#10313)- [
pyflakes
] RemoveF401
fix for__init__
imports by default and allow opt-in to unsafe fix (#10365)- [
pylint
] Implementinvalid-bool-return-type
(E304
) (#10377)- [
pylint
] Include builtin warnings in useless-exception-statement (PLW0133
) (#10394)CLI
- Add message on success to
ruff check
(#8631)Bug fixes
- [
PIE970
] Allow trailing ellipsis intyping.TYPE_CHECKING
(#10413)- Avoid
TRIO115
if the argument is a variable (#10376)- [
F811
] Avoid removing shadowed imports that point to different symbols (#10387)- Fix
F821
andF822
false positives in.pyi
files (#10341)- Fix
F821
false negatives in.py
files whenfrom __future__ import annotations
is active (#10362)- Fix case where
Indexer
fails to identify continuation preceded by newline #10351 (#10354)- Sort hash maps in
Settings
display (#10370)- Track conditional deletions in the semantic model (#10415)
- [
C413
] Wrap expressions in parentheses when negating (#10346)- [
pycodestyle
] Do not ignore lines before the first logical line in blank lines rules. (#10382)- [
pycodestyle
] Do not triggerE225
andE275
when the next token is a ')' (#10315)- [
pylint
] Avoid false-positive slot non-assignment for__dict__
(PLE0237
) (#10348)- Gate f-string struct size test for Rustc < 1.76 (#10371)
Documentation
608df9a
Bump version to 0.3.3 (#10425)740c08b
[pylint
] - implement redeclared-assigned-name
(W0128
) (#9268)7e652e8
[flake8_comprehensions
] Handled special case for
C400
which also matches ...9675e18
Allow trailing ellipsis in typing.TYPE_CHECKING
(#10413)10ace88
Track conditional deletions in the semantic model (#10415)a8e50a7
[RUF008] Make it clearer that a mutable default in a dataclass is only
valid ...e944c16
[pycodestyle
] Do not ignore lines before the first logical
line in blank li...5f40371
Use ExprFString
for StringLike::FString
variant (#10311)f7802ad
[pylint
] Extend docs and test in
invalid-str-return-type
(E307
) (#10400)e832327
Require --preview for ruff server
(#10368)