v0.3.0
What's Changed
The package has undergone significant changes in both its public APIs and internal architecture. We've substantially increased our conformance test coverage and redesigned the APIs to be more intuitive and lightweight. Running a CEL expression is now streamlined to just a few lines:
import { run } from "@bufbuild/cel";
import { STRINGS_EXT_FUNCS } from "@bufbuild/cel/ext/strings";
run(
`name.indexOf('taco') == 0`,
{name: "tacocat"},
{funcs: STRINGS_EXT_FUNCS },
); // trueThe above snippet uses variables and strings extension function, both of which are optional.
Full Changelog: v0.2.0...v0.3.0