Skip to content

0.8.0

Compare
Choose a tag to compare
@develop-cs develop-cs released this 29 Jul 14:07
· 8 commits to main since this release
86fcd7c

Features:

  • Add a new parameter config_dict to the RulesEngine's constructor. It can be used when you have already loaded the YAML configuration in a dictionary and want to use it straightforward.
  • Add a new parameter ignored_rules to the apply_rules() method. It can be used to easily disable a rule by its id.
  • Split a rule set in two (or more) files (keep the rules organized by their file names [alphabetically sorted]).

Fixes:

  • Simple condition: an error occurs when the right operand is an uppercase string (e.g., input.text=="LABEL").

Refactoring:

  • Function sanitize_regex() is converted to an instance method get_sanitized_id() of BaseCondition class.