v1.16.6
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")`)
In this release:
- Added an option to set default timezone for
date()
andnow()
builtins withexpr.Timezone("Europe/Zurich")
- Added a new
timezone("UTC")
builtin - Fixed double-escaping of keys in map printing (#640)
- Starting from this release, Expr has no dependencies go.mod (#618, #642)
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.