Release Notes for Corticon.js 2.1
Item Details
COR-12991 Within a Corticon.js rule test, when you specify Date attributes as numeric values (time since epoch) such as 1883952000 instead of 2025-09-13 it is reported as a data type mismatch even though the format is supported. This warning can be ignored, the Corticon.js runtime will accept the numeric format.
COR-12982 Within a Corticon.js rule test, when you specify DateTime attributes as epoch values such as 1757782800000 instead of 2025-09-13T13:00:00-0400 it is reported as a data type mismatch even though the format is supported. This warning can be ignored, the Corticon.js runtime will accept the numeric format.
COR-12939

When packaging a JavaScript decisions service, Corticon.js both obfuscates and minimizes the generated JavaScript code. The minification process reduces the size of the generated JavaScript bundle. The minification process fails when the line count of generated code exceeds 500,000 lines. This will result in an error in the Corticon.js log file:

The code generator has de-optimised the styling of as it exceeds the max of 500KB.

This is not a fatal error. It indicates that the generated code was not minimized. The generated decision is still valid and can be deployed. The generated code is still obfuscated.

COR-12654

Using promises and .then asynchronous programming pattern in service callouts is not supported. Running a ruletest from Corticon Studio that calls a service callout which uses this pattern, will hang Corticon Studio.

COR-12435

The rule trace view in Corticon Studio does not properly distinguish between rulesheets with identical names. If the rule trace statements from running a ruletest has entries for different rulesheets with identical names, the go to source navigation may not navigate to the correct rulesheet.