github expr-lang/expr v1.16.2

latest releases: v1.16.9, v1.16.8, v1.16.7...
7 months ago

Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.

program, err := expr.Compile(`now() - created_at < duration("24h")`)
output, err := expr.Run(program, env)

In this release:

  • Added spans (#584)
  • Added support for chained comparison 1 < 2 < 3 (#581)
  • Improved builtin int: unwraps underlying int value (#611)
  • Improved builtin min, max, sum, mean, median (#580, #576)
  • Improved bools comparison to be without reflect.DeepEqual (#585)
  • Fixed case with expr.Operator passes before expr.Env caused error (#606)
  • Fixed -1 not in [] expressions (#590)

Expr Editor

The Expr Editor is an embeddable code editor written in JavaScript with full support of Expr language.

Expr Pro

Expr Pro is a set of extensions for Expr for advanced use cases. It includes expressions explanation, performance profiling, and more.

Don't miss a new expr release

NewReleases is sending notifications on new releases.