Skip to content

Commit b398f96

Browse files
committed
expand change-note to mention classes that have a changed basetype
1 parent e64f96c commit b398f96

File tree

1 file changed

+52
-1
lines changed

1 file changed

+52
-1
lines changed

javascript/ql/lib/change-notes/2022-04-04-dataflow-models.md

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,55 @@ category: breaking
33
---
44
* Many library models have been rewritten to use dataflow nodes instead of the AST.
55
The types of some classes have been changed, and these changes may break existing code.
6-
Other classes and predicates have been renamed, in these cases the old name is still available as a deprecated feature.
6+
Other classes and predicates have been renamed, in these cases the old name is still available as a deprecated feature.
7+
8+
* The basetype of the following list of classes has changed from an expression to a dataflow node, and and thus code using these classes might break.
9+
The fix to these breakages is usually to use `asExpr()` to get an expression from a dataflow node, or to use `.flow()` to get a dataflow node from an expression.
10+
- DOM.qll#WebStorageWrite
11+
- CryptoLibraries.qll#CryptographicOperation
12+
- Express.qll#Express::RequestBodyAccess
13+
- HTTP.qll#HTTP::ResponseBody
14+
- HTTP.qll#HTTP::CookieDefinition
15+
- HTTP.qll#HTTP::ServerDefinition
16+
- HTTP.qll#HTTP::RouteSetup
17+
- NoSQL.qll#NoSql::Query
18+
- SQL.qll#SQL::SqlString
19+
- SQL.qll#SQL::SqlSanitizer
20+
- HTTP.qll#ResponseBody
21+
- HTTP.qll#CookieDefinition
22+
- HTTP.qll#ServerDefinition
23+
- HTTP.qll#RouteSetup
24+
- HTTP.qll#HTTP::RedirectInvocation
25+
- HTTP.qll#RedirectInvocation
26+
- Express.qll#Express::RouterDefinition
27+
- AngularJSCore.qll#LinkFunction
28+
- Connect.qll#Connect::StandardRouteHandler
29+
- CryptoLibraries.qll#CryptographicKeyCredentialsExpr
30+
- AWS.qll#AWS::Credentials
31+
- Azure.qll#Azure::Credentials
32+
- Connect.qll#Connect::Credentials
33+
- DigitalOcean.qll#DigitalOcean::Credentials
34+
- Express.qll#Express::Credentials
35+
- NodeJSLib.qll#NodeJSLib::Credentials
36+
- PkgCloud.qll#PkgCloud::Credentials
37+
- Request.qll#Request::Credentials
38+
- ServiceDefinitions.qll#InjectableFunctionServiceRequest
39+
- SensitiveActions.qll#SensitiveVariableAccess
40+
- SensitiveActions.qll#CleartextPasswordExpr
41+
- Connect.qll#Connect::ServerDefinition
42+
- Restify.qll#Restify::ServerDefinition
43+
- Connect.qll#Connect::RouteSetup
44+
- Express.qll#Express::RouteSetup
45+
- Fastify.qll#Fastify::RouteSetup
46+
- Hapi.qll#Hapi::RouteSetup
47+
- Koa.qll#Koa::RouteSetup
48+
- Restify.qll#Restify::RouteSetup
49+
- NodeJSLib.qll#NodeJSLib::RouteSetup
50+
- Express.qll#Express::StandardRouteHandler
51+
- Express.qll#Express::SetCookie
52+
- Hapi.qll#Hapi::RouteHandler
53+
- HTTP.qll#HTTP::Servers::StandardHeaderDefinition
54+
- HTTP.qll#Servers::StandardHeaderDefinition
55+
- Hapi.qll#Hapi::ServerDefinition
56+
- Koa.qll#Koa::AppDefinition
57+
- SensitiveActions.qll#SensitiveCall

0 commit comments

Comments
 (0)