Releases: Lightning-Flow-Scanner/lightning-flow-scanner-sfdx
v2.27.3
v2.27.2
v2.27.1
Core 3.18 | Community Release
Whats New?
This release is focused on contributor experience. We bring automation for any contributions that would be merged to master.
Thank you for your continuous support and contributions ❤️ @k-capehart @nvuillam
Automations for testing and releases #94 #92 thank you @nvuillam & @k-capehart
Improved verbosity of SF cli output by grouping flows on reporter #93 thank you @k-capehart
Full Changelog: v2.26.0...v2.27.0
v2.26.2
Core 3.12 - parse
We're excited to announce an update to our extension, leveraging the latest enhancements from the Lightning Flow Scanner Core Module (v3.12). This update includes:
- Streamlined Development Workflow: Enjoy improved parsing consistency across platforms, thanks to the core module's unified parsing modules.
- Enhanced XML Handling: Experience a smoother developer experience with direct manipulation of Flow XML files, enabled by xmlbuilder2 integration.
- Robust Error Handling: Benefit from resilient error handling mechanisms, ensuring smoother development processes.
Upgrade now to leverage these enhancements and stay tuned for more updates! Learn more
Upgrade Core 3.11
Release Notes - 2.24
Version 3.11 now includes 1 New Default Rule:
Rule (Configuration ID) | Description |
---|---|
Inactive Flow (InactiveFlow ) |
Like cleaning out your closet: deleting unused flows is essential. Inactive flows can still cause trouble, like accidentally deleting records during testing, or being activated as subflows within parent flows. |
https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-core/releases/edit/3.11
Upgrade Core 3.10
Release Notes - 3.10
Version 3.10 Improved Error Handling:
- Implements compiler traversal in the unconnected elemens rule, supporting custom flow elements.
- Adds error message to the result details in case a flow is scanned unsuccessfully.
https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-core/releases/tag/3.10
Upgrade Core 3.9
Version 3.9 of the Core Module now includes 2 New Default Rules:
Rule (Configuration ID) | Description |
---|---|
Auto Layout (AutoLayout ) |
With Canvas Mode set to Auto-Layout, Elements are spaced, connected, and aligned automatically, keeping your Flow neatly organized thus saving you time. |
Process Builder (ProcessBuilder ) |
Salesforce is transitioning away from Workflow Rules and Process Builder in favor of Flow. Ensure you're prepared for this transition by migrating your organization's automation to Flow. Refer to official documentation for more information on the transition process and tools available. |
Custom Rules
Release Note: Custom Rule Creation
We're excited to announce implement core 2.30 and with it, the ability to create custom rules! With this new feature, users can now define and enforce organization-specific standards and best practices tailored to their unique requirements by leveraging our compiler or creating completely customized typescript functions.
Key Features:
- Custom Rule Interface: Define custom rules that adhere to the
IRuleDefinition
interface, specifying properties such as name, label, description, supported types, and more. - Flexible Rule Configuration: Configure custom rules alongside default rules using the rules section of the scanner's configurations, allowing for fine-grained control over rule enforcement.
- Exception Handling: Specify exceptions at the flow, rule, or result level to exclude specific scenarios from rule enforcement, providing flexibility in rule application.
Getting Started with Custom Rule Creation:
- Rule Structure: Define a custom rule class following the structure outlined in the Custom Rule Interface section of our documentation.
- Implement Execute Method: Implement the
execute
method within your custom rule class to perform the desired logic for rule enforcement. - Adhere to Interface: Ensure your custom rule class adheres to the
IRuleDefinition
interface, defining required properties and methods for a rule definition. - Configure Rules: To load custom rules using the Lightning Flow Scanner Core, you can utilize the
path
attribute within the rules section of your configurations. This attribute allows you to specify the path to your custom rule class.
{
"rules": {
"<RuleName>": {
"path": "<Path>"
}
}
}
By leveraging the path
attribute, you can easily incorporate custom rule definitions into the Lightning Flow Scanner Core, tailoring rule enforcement to your organization's specific requirements.
For more details and examples, refer to our Custom Rule Creation Guide