Version 5.5.1.8
5.5.1.8 is a free minor release. This version introduces a couple of new features to the .NET assembly and multiple enhancements in the main client script of the Rule Editor.
What's New in 5.5.0.3?
Version 5.5.0.3 does not introduce new bug fixes but includes the following new features and enhancements:
CodeEffects.Rule.Editor .NET Library
- A new - GetTypeDelegatethat allows developers to implement a custom type resolver. See the new- TypeGetterproperty of the- CodeEffects.Rule.Editor.Controlclass and the delegate’s documentation for details on how and when to use this feature.
 
- The - Keyproperty of the- CodeEffects.Rule.Common.Models.DataSourceItemclass has been reintroduced after being omitted in version 5.5.x of the Code Effects platform. See the Dynamic Menu Data Sources topic and the class documentation for details on dynamic menus and this option for defining them.
 
This version is recommended for updating from any older version of Code Effects 5.x.
Code Effects Editor Script and Styles
The new version of the npm package that corresponds to the .NET version 5.5.1.8 is 6.2.11. The main script includes the following new features and enhancements:
- The max length of string inputs is now split into two separate values: - 
- If not set by the FieldAttribute,ParameterAttribute, orReturnAttribute, the default value of the HTMLmaxLengthattribute for string inputs is now512(up from256in previous versions).
- The maximum length of any string input that developers can set is 20,000characters, meaning that a rule author cannot type a string longer than20,000characters into a value rule element of typestring. In previous versions the limit was256chars.
 
- This version of the script replaces the deprecated - event.keyCodewith- event.key.
 
- This version of the script replaces the deprecated - String.substr(..)with the- String.slice(..)method.
 
- This version no longer declares the "use strict" directive at the top of the editor’s script. Use your own declaration(s) if needed. 
The CSS files in this version of the npm package include only format updates and were brought to version 6.0.11.
This new version of the npm package is recommended for updating from any older version.
How to Upgrade
- Install the CodeEffects.Rule.Editor.dll assembly version 5.5.1.8 from NuGet.
- Install the CodeEffects.Rule.Engine.dll assembly version 5.5.1.8 from NuGet if you use the Engine Free edition. Contact us if you use a paid edition. Note that the Code Effects Downloader app still works but is no longer supported.
- Install the npm package version 6.2.11.
Please read the main Code Effects Implementation article for details on how to implements Code Effects Decision Automation platform in your project(s). Contact us if you have any questions or require technical support.