Repository navigation
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:
- Security: type check nested calls of overloaded functions in linear time. Compile time used to grow exponentially with nesting depth, so a short expression such as 42 nested
replacecalls never finished compiling (GHSA-6h63-3f9q-wq5h, #1010) - Security:
reversechecks the memory budget before allocating its result (#1006) - Performance:
uniqno longer compares each element against every kept value; up to 98% faster on lists with many distinct values (#1007)
Upgrading from v1.18.0 requires no changes.