Skip to content

chore(deps): bump the go-dependencies group across 1 directory with 2 updates - #55

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-ba6c3874b8
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-ba6c3874b8

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group with 2 updates in the / directory: github.com/expr-lang/expr and github.com/stretchr/testify.

Updates github.com/expr-lang/expr from 1.17.8 to 1.18.0

Release notes

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

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)

Upgrade notes:

  • Memory budget: string concatenation and builtins such as repeat, replace, join, split, toJSON and toBase64 now count against MemoryBudget. Programs that build very large strings (over about 1 MB with the default budget) may now fail with memory budget exceeded. Raise the limit with expr.MemoryBudget(...) if needed.
  • Custom Safe builtins: builtin.Function.Safe and vm.SafeFunction now receive the remaining memory budget as their first argument: func(budget uint, args ...any) (any, uint, error). Add a _ uint parameter to existing implementations.
  • DisableAllBuiltins() now also disables predicate builtins (all, any, none, one, filter, map, count, sum, find, findIndex, findLast, findLastIndex, groupBy, sortBy, reduce). Re-enable the ones you need with expr.EnableBuiltin(...).
  • Nesting limit: expressions nested more than 10,000 levels deep are rejected at compile time.
Commits
  • 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)
  • 17809ba fix(builtin): resolve embedded-interface fields in get() (#977)
  • 75b0f47 fix(parser): support optional chaining on slice expressions (#945)
  • bf2f9b1 fix(conf): reject pointer-to-map environment with a clear error (#987)
  • Additional commits viewable in compare view

Updates github.com/stretchr/testify from 1.11.1 to 1.12.1

Release notes

Sourced from github.com/stretchr/testify's releases.

v1.12.1

This is the first release which has the minimum dependencies practical in testify v1. The last remaining dependencies are github.com/stretchr/objx which itself has no dependencies, and go.yaml.in/yaml/v3. Removing objx would require v2, it cannot be vendored. Removing YAML would require vendoring the yaml library, which would do more harm than good. It's better to become aware of vulnerabilities in the official yaml package than to attempt to maintain our own.

What's Changed

New Contributors

Full Changelog: stretchr/testify@v1.12.0...v1.12.1

What's Changed

New Contributors

Full Changelog: stretchr/testify@v1.12.0...v1.12.1

v1.12.0

What's Changed

Functional Changes

Fixes

Documentation, Build & CI

... (truncated)

Commits
  • 959dbda Merge pull request #1935 from harryzcy/yaml-update
  • 9bb7176 Update go.yaml.in/yaml/v3 to v3.0.5
  • 001eb79 Merge pull request #1905 from Kentzo/patch-1
  • ad40f38 Merge pull request #1906 from stretchr/dependabot/github_actions/actions/chec...
  • 3bae017 build(deps): bump actions/checkout from 6.0.2 to 6.0.3
  • f8c01f3 mock: Mock.Return does not exist anymore
  • 12f8b56 Merge pull request #1563 from stretchr/make-AssertionFunc-types-aliases
  • a11649e assert: make *AssertionFunc type just aliases
  • dc20f41 Merge pull request #1890 from stretchr/dolmen/codegen-modernize
  • 098f8d7 _codegen: use strings.Builder
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

… updates

Bumps the go-dependencies group with 2 updates in the / directory: [github.com/expr-lang/expr](https://github.com/expr-lang/expr) and [github.com/stretchr/testify](https://github.com/stretchr/testify).


Updates `github.com/expr-lang/expr` from 1.17.8 to 1.18.0
- [Release notes](https://github.com/expr-lang/expr/releases)
- [Commits](expr-lang/expr@v1.17.8...v1.18.0)

Updates `github.com/stretchr/testify` from 1.11.1 to 1.12.1
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.11.1...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/expr-lang/expr
  dependency-version: 1.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from soderluk as a code owner November 25, 2026 07:04
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 25, 2026
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