Home

Release notes

3.0.1 (19/09/2015)

Bug fix:

  • DoubleEvaluator was not thread safe, even when each thread instantiate a new instance.

3.0.0 (27/05/2014)

Changes:

  • Because of the changes in AbstractEvaluator.tokenize method, this version is not totally compatible with previous ones. In particular, implementations that have overloaded AbstractEvaluator.tokenize method might not work.
  • In order to have a clearer definition of the roles of the AbstractEvaluator.tokenize method, the following changes have been made, making now this method fully responsible for turning the evaluated expression into tokens:
    • The tokens returned by AbstractEvaluator.tokenize method are no more trimmed by the evaluator.
    • The empty tokens returned by AbstractEvaluator.tokenize method are no more ignored by the evaluator.
    • The Tokenizer constructor is now public.

Bug fix:

  • Fix "-" operator in BooleanSetEvaluator example.

2.0.0 (01/11/2013)

Changes:

  • Change package name to com.fathzer.soft.javaluator in order to release the package to Maven central. Because of this change, this version is not compatible with previous ones.

1.2.4 (20/07/2013)

Bug fix:

  • Fixes java.util.regex.PatternSyntaxException while evaluating an expression with an evaluator that accepts, for instance, only "or" and "and" operators.

1.2.3 (02/02/2013)

Bug fix:

  • Evaluate an expression that starts a function argument separator caused a NullPointerException.

1.2.2 (09/12/2012)

Bug fixes:

  • Evaluate the expression ")" caused a NullPointerException.
  • The DoubleEvaluator considered numbers followed by "d" or "f" as valid ones.

1.2.1 (22/11/2012)

Changes:

  • Adds getDefaultParameters(Style) method to DoubleEvaluator. When passing Style.EXCEL_LIKE, to the DoubleEvaluator constructor, -2^2 is interpreted as 4, like in Excel or Bash scripts.

Bug fix:

  • Revert the precedence of unary minus and exponentiation operators in DoubleEvaluator to the standard one, where -2^2=-4.

1.2.0 (20/11/2012)

Changes:

  • Adds protected method tokenize(String) in AbstractEvaluator.

Bug fix:

  • Fixes precedence of unary minus and exponentiation operators in DoubleEvaluator. Previously it returned -4 when evaluating -2^2, where bash shell (for example) returns 4.

1.1.0 (01/09/2012)

Changes:

  • Support for operators with length > 1 (example &&, ||, ==)

1.0.0 (28/08/2012)

Changes:

  • This is the first Javaluator official release.
Advertising

Back to top