github expr-lang/expr v1.17.8

10 hours ago

Expr is an expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.

program, err := expr.Compile(`let foo = bar(); baz(foo, foo)`)

In this release:

  • New feature: added bytes literal syntax (#894)
  • Improved performance: count comparisons to any (#897)
  • Improved performance: added sum range optimization (#896)
  • Improved performance: added count threshold comparisons (#898)
  • Improved performance: optimize loop iteration with scope pool (#908)
  • Improved performance: added fast paths for min, max, mean, and median (#909)
  • Fixed: ctx into nested custom funcs and Env (#883)
  • Fixed: disable check for missing predicate during parseing (#924)
  • Fixed: detect $env() calls at compile time (#923)
  • Fixed: bounds check to get() (#918)
  • Fixed: validate sortBy order argument type (#912)
  • Fixed: reduce empty array without init val (#911)
  • Fixed: validate arg count before OpCall (#904)
  • Fixed: correct variadic method arg type (#889)

Don't miss a new expr release

NewReleases is sending notifications on new releases.