Upgrade Core to 2.26
-
DMLStatementInLoop Rule:
- The rule has undergone refinement to enhance accuracy in identifying DML statements within loops.
- The traversal logic has been improved to account for nested loops, ensuring precise detection of DML statements within these structures.
- To enhance maintainability, the rule has been split into a separate class.
-
SOQLQueryInLoop Rule:
- Introducing a new rule, SOQLQueryInLoop, which identifies instances of SOQL queries executed inside loops. This addition promotes best practices and aids in optimizing code for governor limits.
-
Flow Compiler Class:
- A new class, the Flow Compiler, has been introduced to elevate the capabilities of our rule-checking process. This addition allows for more sophisticated and uniform analyses of Salesforce flows.
https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-core/releases/tag/2.26