Download Latest Version v1.17.8 source code.tar.gz (2.1 MB)
Email in envelope

Get an email when there's a new version of Expr

Home / v1.17.8
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-02-14 1.1 kB
v1.17.8 source code.tar.gz 2026-02-14 2.1 MB
v1.17.8 source code.zip 2026-02-14 2.1 MB
Totals: 3 Items   4.2 MB 1

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

:::go
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)
Source: README.md, updated 2026-02-14