Skip to content

chore(deps): bump github.com/expr-lang/expr from 1.17.8 to 1.18.1 - #3

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/expr-lang/expr-1.18.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/expr-lang/expr-1.18.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/expr-lang/expr from 1.17.8 to 1.18.1.

Release notes

Sourced from github.com/expr-lang/expr's releases.

v1.18.1

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 replace calls never finished compiling (GHSA-6h63-3f9q-wq5h, #1010)
  • Security: reverse checks the memory budget before allocating its result (#1006)
  • Performance: uniq no 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.

v1.18.0

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: limit expression nesting depth to prevent a fatal stack overflow on deeply nested input (#1003)
  • Security: enforce MemoryBudget for string concatenation and string-producing builtins (#1003)
  • New feature: added merge() builtin for combining maps (#947)
  • New feature: added log2() builtin (#981)
  • New feature: support DisableBuiltin("$env") to hide the $env variable (#949)
  • New feature: allow field access on concrete types behind interface values (#952)
  • New feature: support optional chaining on slice expressions, e.g. foo?.[0:1] (#945)
  • Fixed: DisableBuiltin and DisableAllBuiltins now apply to predicate builtins such as all, filter and map (#1005)
  • Fixed: compile-time panic on field access after the filter(...)[0] optimization (#1004)
  • Fixed: panic in ConstantNode.String on NaN and infinite floats (#974)
  • Fixed: evaluate the third argument of reduce and sortBy in the enclosing scope (#1002)
  • Fixed: add sum([...]) elements left to right, matching unoptimized results (#999)
  • Fixed: resolve embedded-interface fields in get() (#977)
  • Fixed: reject pointer-to-map environment with a clear error (#987)
  • Fixed: check struct field name is a string in Fetch and get() (#973)
  • Fixed: reject non-comparable keys in fromPairs() (#964)
  • Fixed: reject negative count in take() (#965)
  • Fixed: pop stale bool from stack in emitLoopBackwards (#954)
  • Fixed: clear error when fetching a field from a string at runtime (#963)
  • Fixed: handle non-comparable groupBy keys (#940)
  • Fixed: reject unexported struct fields at runtime (#935)
  • Fixed: wrap LoadLocation error in date() (#931)
  • Docs: map literal key types (#998), WithContext signature requirements (#997), min and max arguments (#985)

... (truncated)

Commits
  • 399159a checker: check nested overloaded calls in linear time (#1010)
  • f14b1e3 perf(builtin): avoid quadratic string scans in uniq (#1007)
  • 8569439 builtin: check reverse's remaining memory budget before allocation (#1006)
  • dc3f3a4 feat(builtin): add merge() for combining maps (#947)
  • 8cf9fe5 fix(builtin): reject negative count in take (#965)
  • 02f9314 docs: explain min and max arguments (#985)
  • 105b8de docs: explain WithContext signature requirements (#997)
  • 179baf8 docs: explain map literal key types (#998)
  • d922853 feat: add log2 builtin (#981)
  • 60ff29b feat: support DisableBuiltin("$env") to hide the $env variable (#949)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 25, 2026
Bumps [github.com/expr-lang/expr](https://github.com/expr-lang/expr) from 1.17.8 to 1.18.1.
- [Release notes](https://github.com/expr-lang/expr/releases)
- [Commits](expr-lang/expr@v1.17.8...v1.18.1)

---
updated-dependencies:
- dependency-name: github.com/expr-lang/expr
  dependency-version: 1.18.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/expr-lang/expr-1.18.1 branch from 3c17940 to 83ea576 Compare November 26, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants