Skip to content

Commit a1afa20

Browse files
committed
add change-notes
1 parent d46a2d4 commit a1afa20

File tree

9 files changed

+61
-0
lines changed

9 files changed

+61
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the deprecated `getAllocatorCall` predicate from `DeleteOrDeleteArrayExpr`, use `getDeallocatorCall` instead.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the deprecated `getInstanceType` predicate from the `UnboundGenericType` class.
5+
* Deleted the deprecated `getElement` predicate from the `Node` class in `ControlFlowGraph.qll`, use `getAstNode` instead.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the deprecated `describeBitSize` predicate from `IncorrectIntegerConversionLib.qll`
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the deprecated `isLValue` and `isRValue` predicates from the `VarAccess` class, use `isVarWrite` and `isVarRead` respectively instead.
5+
* Deleted the deprecated `getRhs` predicate from the `VarWrite` class, use `getASource` instead.
6+
* Deleted the deprecated `LValue` and `RValue` classes, use `VarWrite` and `VarRead` respectively instead.
7+
* Deleted a lot of deprecated classes ending in "*Access", use the corresponding "*Call" classes instead.
8+
* Deleted a lot of deprecated predicates ending in "*Access", use the corresponding "*Call" predicates instead.
9+
* Deleted the deprecated `EnvInput` and `DatabaseInput` classes from `FlowSources.qll`, use the threat models feature instead.
10+
* Deleted some deprecated API predicates from `SensitiveApi.qll`, use the Sink classes from that file instead.
11+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the old deprecated TypeTracking library.
5+
* Deleted the deprecated `classRef` predicate from the `FieldStorage` module, use `subclassRef` instead.
6+
* Deleted a lot of deprecated modules and predicates from `Stdlib.qll`, use API-graphs directly instead.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the deprecated `getCallNode` predicate from `API::Node`, use `asCall()` instead.
5+
* Deleted the deprecated `getASubclass`, `getAnImmediateSubclass`, `getASuccessor`, `getAPredecessor`, `getASuccessor`, `getDepth`, and `getPath` predicates from `API::Node`.
6+
* Deleted the deprecated `Root`, `Use`, and `Def` classes from `ApiGraphs.qll`.
7+
* Deleted the deprecated `Label` module from `ApiGraphs.qll`.
8+
* Deleted the deprecated `getAUse`, `getAnImmediateUse`, `getARhs`, and `getAValueReachingRhs` predicates from `API::Node`, use `getAValueReachableFromSource`, `asSource`, `asSink`, and `getAValueReachingSink` instead.
9+
* Deleted the deprecated `getAVariable` predicate from the `ExprNode` class, use `getVariable` instead.
10+
* Deleted the deprecated `getAPotentialFieldAccessMethod` predicate from the `ActiveRecordModelClass` class.
11+
* Deleted the deprecated `ActiveRecordModelClassMethodCall` class from `ActiveRecord.qll`, use `ActiveRecordModelClass.getClassNode().trackModule().getMethod()` instead.
12+
* Deleted the deprecated `PotentiallyUnsafeSqlExecutingMethodCall` class from `ActiveRecord.qll`, use the `SqlExecution` concept instead.
13+
* Deleted the deprecated `ModelClass` and `ModelInstance` classes from `ActiveResource.qll`, use `ModelClassNode` and `ModelClassNode.getAnInstanceReference()` instead.
14+
* Deleted the deprecated `Collection` class from `ActiveResource.qll`, use `CollectionSource` instead.
15+
* Deleted the deprecated `ServiceInstantiation` and `ClientInstantiation` classes from `Twirp.qll`.
16+
* Deleted a lot of deprecated dataflow modules from "*Query.qll" files.
17+
* Deleted the old deprecated TypeTracking library.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the deprecated `Make` and `MakeWithState` modules, use `Global` and `GlobalWithState` instead.
5+
* Deleted the deprecated `hasFlow`, `hasFlowPath`, `hasFlowTo`, and `hasFlowToExpr` predicates, use `flow`, `flowPath`, `flowTo`, and `flowToExpr` respectively instead.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the deprecated `ConsistencyChecks` module.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: breaking
3+
---
4+
* Deleted the deprecated `ArrayContent` class from the dataflow library, use `CollectionContent` instead.
5+
* Deleted the deprecated `getOptionsInput`, `getRegexInput`, and `getStringInput` predicates from the regexp library, use `getAnOptionsInput`, `getRegexInputNode`, and `getStringInputNode` instead.

0 commit comments

Comments
 (0)