Skip to content

Upgrade Core to 2.26

Choose a tag to compare

@RubenHalman RubenHalman released this 24 Nov 21:49
dfbe287
  1. 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.
  2. 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.
  3. 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