0.8.0
Features:
- Add a new parameter
config_dict
to theRulesEngine
'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 theapply_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 methodget_sanitized_id()
ofBaseCondition
class.