Skip to content

Releases: MAIF/arta

0.8.1

05 Sep 14:12
b7b8938
Compare
Choose a tag to compare

Fixes:

  • Simple condition: an error occurs when the field is of type camelCase or PascalCase by @meriemjebali in #32

Documentation:

0.8.0

29 Jul 14:07
86fcd7c
Compare
Choose a tag to compare

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.

0.7.1

21 Jun 15:36
Compare
Choose a tag to compare

Features:

Fixes:

  • You can now use whitespaces in a string within a simple condition (e.g., input.text=="super hero") (#23).

0.7.0b*

10 Jun 08:41
fe5c31a
Compare
Choose a tag to compare
0.7.0b* Pre-release
Pre-release
Features:
  • Configure your rules in a YAML file or use a straightforward python dictionary.
  • Use "standard conditions" (YAML defined conditions) for flexibility.
  • Use "simple conditions" (one-liner conditions) for simplicity (beta feature).
  • Implement your own "custom conditions" (python classes) for adaptability.
  • Define your own parameter's parsing strategy (raise, ignore, default value).
  • Use many rule sets as you need.