Skip to content

Commit 44cca05

Browse files
committed
add 2.17.5 unified changelog
1 parent a160b89 commit 44cca05

File tree

3 files changed

+281
-0
lines changed

3 files changed

+281
-0
lines changed

docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.17.4.rst

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,48 @@ Query Packs
2727
Breaking Changes
2828
~~~~~~~~~~~~~~~~
2929

30+
C/C++
31+
"""""
32+
33+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
34+
35+
C#
36+
""
37+
38+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
39+
40+
Golang
41+
""""""
42+
43+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
44+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
45+
3046
Java
3147
""""
3248

49+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
3350
* Removed :code:`local` query variants. The results pertaining to local sources can be found using the non-local counterpart query. As an example, the results previously found by :code:`java/unvalidated-url-redirection-local` can be found by :code:`java/unvalidated-url-redirection`, if the :code:`local` threat model is enabled. The removed queries are :code:`java/path-injection-local`, :code:`java/command-line-injection-local`, :code:`java/xss-local`, :code:`java/sql-injection-local`, :code:`java/http-response-splitting-local`, :code:`java/improper-validation-of-array-construction-local`, :code:`java/improper-validation-of-array-index-local`, :code:`java/tainted-format-string-local`, :code:`java/tainted-arithmetic-local`, :code:`java/unvalidated-url-redirection-local`, :code:`java/xxe-local` and :code:`java/tainted-numeric-cast-local`.
3451

52+
JavaScript/TypeScript
53+
"""""""""""""""""""""
54+
55+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
56+
57+
Python
58+
""""""
59+
60+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
61+
62+
Ruby
63+
""""
64+
65+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
66+
67+
Swift
68+
"""""
69+
70+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
71+
3572
Minor Analysis Improvements
3673
~~~~~~~~~~~~~~~~~~~~~~~~~~~
3774

@@ -68,6 +105,49 @@ JavaScript/TypeScript
68105

69106
* Fixed a bug where very large TypeScript files would cause database creation to crash. Large files over 10MB were already excluded from analysis, but the file size check was not applied to TypeScript files.
70107

108+
Breaking Changes
109+
~~~~~~~~~~~~~~~~
110+
111+
C/C++
112+
"""""
113+
114+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
115+
116+
C#
117+
""
118+
119+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
120+
121+
Golang
122+
""""""
123+
124+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
125+
126+
Java
127+
""""
128+
129+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
130+
131+
JavaScript/TypeScript
132+
"""""""""""""""""""""
133+
134+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
135+
136+
Python
137+
""""""
138+
139+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
140+
141+
Ruby
142+
""""
143+
144+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
145+
146+
Swift
147+
"""""
148+
149+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
150+
71151
Major Analysis Improvements
72152
~~~~~~~~~~~~~~~~~~~~~~~~~~~
73153

@@ -118,6 +198,79 @@ Python
118198
Shared Libraries
119199
----------------
120200

201+
Breaking Changes
202+
~~~~~~~~~~~~~~~~
203+
204+
Dataflow Analysis
205+
"""""""""""""""""
206+
207+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
208+
209+
Control Flow Analysis
210+
"""""""""""""""""""""
211+
212+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
213+
214+
Regular Expression Analysis
215+
"""""""""""""""""""""""""""
216+
217+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
218+
219+
Static Single Assignment (SSA)
220+
""""""""""""""""""""""""""""""
221+
222+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
223+
224+
Type Trackers
225+
"""""""""""""
226+
227+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
228+
229+
Models-as-Data (MaD)
230+
""""""""""""""""""""
231+
232+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
233+
234+
YAML Data Analysis
235+
""""""""""""""""""
236+
237+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
238+
239+
XML Data Analysis
240+
"""""""""""""""""
241+
242+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
243+
244+
QL Detective Tutorial
245+
"""""""""""""""""""""
246+
247+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
248+
249+
Database of Common Typographical Errors
250+
"""""""""""""""""""""""""""""""""""""""
251+
252+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
253+
254+
Utility Classes
255+
"""""""""""""""
256+
257+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
258+
259+
Range Analysis
260+
""""""""""""""
261+
262+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
263+
264+
Threat Models
265+
"""""""""""""
266+
267+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
268+
269+
Type-flow Analysis
270+
""""""""""""""""""
271+
272+
* CodeQL package management is now generally available, and all GitHub-produced CodeQL packages have had their version numbers increased to 1.0.0.
273+
121274
Minor Analysis Improvements
122275
~~~~~~~~~~~~~~~~~~~~~~~~~~~
123276

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
.. _codeql-cli-2.17.5:
2+
3+
==========================
4+
CodeQL 2.17.5 (2024-06-12)
5+
==========================
6+
7+
.. contents:: Contents
8+
:depth: 2
9+
:local:
10+
:backlinks: none
11+
12+
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 <https://github.blog/tag/code-scanning/>`__, `relevant GitHub Changelog updates <https://github.blog/changelog/label/code-scanning/>`__, `changes in the CodeQL extension for Visual Studio Code <https://marketplace.visualstudio.com/items/GitHub.vscode-codeql/changelog>`__, and the `CodeQL Action changelog <https://github.com/github/codeql-action/blob/main/CHANGELOG.md>`__.
13+
14+
Security Coverage
15+
-----------------
16+
17+
CodeQL 2.17.5 runs a total of 414 security queries when configured with the Default suite (covering 161 CWE). The Extended suite enables an additional 131 queries (covering 35 more CWE).
18+
19+
CodeQL CLI
20+
----------
21+
22+
Breaking Changes
23+
~~~~~~~~~~~~~~~~
24+
25+
* All the commands that output SARIF will output a minified version to reduce the size.
26+
The :code:`codeql database analyze`, :code:`codeql database interpret-results`, :code:`codeql generate query-help`, and :code:`codeql bqrs interpret` commands support the option :code:`--no-sarif-minify` to output a pretty printed SARIF file.
27+
28+
* A number of breaking changes have been made to the :code:`semmle-extractor-options` functionality available for C and C++ CodeQL tests.
29+
30+
* The Arm, Intel, and CodeWarrior compilers are no longer supported and the
31+
:code:`--armcc`, :code:`--intel`, :code:`--codewarrior` flags are now ignored, as are all the flags that only applied to those compilers.
32+
* The :code:`--threads` and :code:`-main-file-name` options, which did not have any effect on tests, are now ignored. Any specification of these options as part of
33+
:code:`semmle-extractor-options` should be removed.
34+
* Support for :code:`--linker`, all flags that would only invoke the preprocessor,
35+
and the :code:`/clr` flag have been removed, as those flags would never produce any usable test output.
36+
* Support for the :code:`--include_path_environment` flag has been removed. All include paths should directly be specified as part of :code:`semmle-extractor-options`.
37+
* Microsoft C/C++ compiler response files specified via :code:`@some_file_name` are now ignored. Instead, all options should directly be specified as part of
38+
:code:`semmle-extractor-options`.
39+
* Support for Microsoft :code:`#import` preprocessor directive has been removed, as support depends on the availability of the Microsoft C/C++ compiler, and availability cannot be guaranteed on all platforms while executing tests.
40+
* Support for the Microsoft :code:`/EHa`, :code:`/EHs`, :code:`/GX`, :code:`/GZ`, :code:`/Tc`, :code:`/Tp`, and :code:`/Zl` flags, and all :code:`/RTC` flags have been removed. Any specification of these options as part of :code:`semmle-extractor-options` should be removed.
41+
* Support for the Apple-specific :code:`-F` and :code:`-iframework` flags has been removed.
42+
The :code:`-F` flag can still be used by replacing :code:`-F <directory>` by
43+
:code:`--edg -F --edg <directory>`. Any occurrence of :code:`-iframework <arg>` should be replaced by :code:`--edg --sys_framework --edg <arg>`.
44+
* Support for the :code:`/TC`, :code:`/TP`, and :code:`-x` flags has been removed. Please ensure all C, respectively C++, source files have a :code:`.c`, respectively :code:`.cpp`,
45+
extension.
46+
* The :code:`--build_error_dir`, :code:`-db`, :code:`--edg_base_dir`, :code:`--error_limit`,
47+
:code:`--src_archive`, :code:`--trapfolder`, and :code:`--variadic_macros` flags are now ignored.
48+
49+
The above changes do not affect the creation of databases through the CodeQL CLI,
50+
or when calling the C/C++ extractor directly with the :code:`--mimic` or :code:`--linker` flags.
51+
Similar functionality continues to be supported in those scenarios, except for CodeWarrior and the :code:`--edg_base_dir`, :code:`--include_path_environment`, :code:`/Tc`, and :code:`/Tp` flags, which were never supported.
52+
53+
Improvements
54+
~~~~~~~~~~~~
55+
56+
* :code:`codeql generate log-summary` now reports completed pipeline runs that are part of an incomplete recursive predicate.
57+
58+
Miscellaneous
59+
~~~~~~~~~~~~~
60+
61+
* The OWASP Java HTML Sanitizer library used by the CodeQL CLI for internal documentation generation commands has been updated to version
62+
\ `20240325.1 <https://github.com/OWASP/java-html-sanitizer/releases/tag/release-20240325.1>`__.
63+
64+
Query Packs
65+
-----------
66+
67+
Minor Analysis Improvements
68+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
69+
70+
C/C++
71+
"""""
72+
73+
* The :code:`cpp/dangerous-function-overflow` no longer produces a false positive alert when the :code:`gets` function does not have exactly one parameter.
74+
75+
C#
76+
""
77+
78+
* .NET 8 Runtime models have been updated based on the newest version of the model generator. Furthermore, the database sources have been changed slightly to reduce result multiplicity.
79+
80+
Java
81+
""""
82+
83+
* The query :code:`java/spring-disabled-csrf-protection` detects disabling CSRF via :code:`ServerHttpSecurity$CsrfSpec::disable`.
84+
* Added more :code:`java.io.File`\ -related sinks to the path injection query.
85+
86+
Python
87+
""""""
88+
89+
* Added models for :code:`opml` library.
90+
91+
Language Libraries
92+
------------------
93+
94+
Major Analysis Improvements
95+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
96+
97+
Java
98+
""""
99+
100+
* The precision of virtual dispatch has been improved. This increases precision in general for all data flow queries.
101+
102+
Minor Analysis Improvements
103+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
104+
105+
C/C++
106+
"""""
107+
108+
* A partial model for the :code:`Boost.Asio` network library has been added. This includes sources, sinks and summaries for certain functions in :code:`Boost.Asio`, such as :code:`read_until` and :code:`write`.
109+
110+
Java
111+
""""
112+
113+
* Support for Eclipse Compiler for Java (ecj) has been fixed to work with (a) runs that don't pass :code:`-noExit` and (b) runs that use post-Java-9 command-line arguments.
114+
115+
New Features
116+
~~~~~~~~~~~~
117+
118+
C/C++
119+
"""""
120+
121+
* Data models can now be added with data extensions. In this way source, sink and summary models can be added in extension :code:`.model.yml` files, rather than by writing classes in QL code. New models should be added in the :code:`lib/ext` folder.
122+
123+
Golang
124+
""""""
125+
126+
* When writing models-as-data models, the receiver is now referred to as :code:`Argument[receiver]` rather than :code:`Argument[-1]`.
127+
* Neutral models are now supported. They have no effect except that a manual neutral summary model will stop a generated summary model from having any effect.

docs/codeql/codeql-overview/codeql-changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ A list of queries for each suite and language `is available here <https://docs.g
1111
.. toctree::
1212
:maxdepth: 1
1313

14+
codeql-cli-2.17.5
1415
codeql-cli-2.17.4
1516
codeql-cli-2.17.3
1617
codeql-cli-2.17.2

0 commit comments

Comments
 (0)