Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/antonmedv/expr to v1.16.9 #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/antonmedv/expr v1.15.3 -> v1.16.9 age adoption passing confidence

Release Notes

antonmedv/expr (github.com/antonmedv/expr)

v1.16.9

Compare Source

Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.

In this release:

v1.16.8

Compare Source

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 checks for nil before string casts in VM (#​654)
  • Added int overflow checks. 45c1ae7
  • Improved lexer (#​653)
  • Improved error messages for index out of bounds errors. 6cf0edb
  • Fixed: invoke the Deref function as needed for the function arguments. (#​651)
  • Fixed build on 386 arch. cae6003

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.

v1.16.7

Compare Source

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:

  • Improved now() and date() type validation
  • Updated documentation

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.

v1.16.6

Compare Source

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() and now() builtins with expr.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.

v1.16.5

Compare Source

Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.

output, err := expr.Eval("metric > 100", map[string]any{
    "metric": 200,
})

In this release:

  • Added compiler optimization for boolean operations between all, any, none functions (#​626)
  • Added optional predicate to sum() builtin (#​592)
  • Added sum() compiler optimization c2b609e edb1b5a
  • Improved WithContext to work for methods on env struct (#​602)
  • Improved count() builtin: now predicate is optional 725b702
  • Fixed printing of combinations conditional with binary nodes 6157395
  • Fixed optional chaining to return proper nil 5804ccb

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.

v1.16.4

Compare Source

This release reverts a wrong compiler optimization for all, any, one, none predicates (#​555).

The optimization contains error logic which can lead to a wrong expression.

It is highly recommended to upgrade to the latest version.

v1.16.3

Compare Source

Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.

program, err := expr.Compile(`let x = 2 + 2; x ^ x`)
output, err := expr.Run(program, env)

In this release:

  • Improved printing for maps: {(foo + bar): 42}

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.

v1.16.2

Compare Source

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")`)
output, err := expr.Run(program, env)

In this release:

  • Added spans (#​584)
  • Added support for chained comparison 1 < 2 < 3 (#​581)
  • Improved builtin int: unwraps underlying int value (#​611)
  • Improved builtin min, max, sum, mean, median (#​580, #​576)
  • Improved bools comparison to be without reflect.DeepEqual (#​585)
  • Fixed case with expr.Operator passes before expr.Env caused error (#​606)
  • Fixed -1 not in [] expressions (#​590)

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.

v1.16.1

Compare Source

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")`)
output, err := expr.Run(program, env)

In this release:

  • Fixed recursive operator overloading bug (#​548, #​554)
  • Fixed AST printing of ?.[ operator (ffaec9e)
  • Fixed string literal slicing error (#​543)
  • Compilation performance improvements (95084fb)
  • Improved functions call performance (ed89647)
  • Refactored groupBy() and sortBy() builtins (#​562)
  • Added operator overloading with expr.Function() (#​408)
  • Added concat() builtin (#​565)
  • Added reverse() builtin (#​553)
  • Added program.Locations() method (e53cefe)
  • Added optional array access array?.[42] (#​550)
  • Added compiler optimization for jump opcodes (#​545)
  • Added compiler optimization for boolean operations with all, any, one, none functions (#​555)

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.

v1.16.0

Compare Source

Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy, safety, and speed.

expr repl demo

In this release:
  • Improved VM speed by 5%-15% (#​521)
  • Improve AST printing for boolean operators
  • Improved type checker (#​527)
  • Added option to override built-ins (#​522)
  • Added method to get AST tree from program: .Node() (#​528)
  • Added new Valuer patcher (#​525)
  • Added expr.WarnOnAny() option
  • Changed expr.As*() options behavior to accept any by default
  • Fixed type checker to visit all arguments of func even if arguments count mismatch
  • Fixed type propagation in AST for any type in type checker
  • Fixed context patcher (#​526)
  • Fixed race condition in working with variables (#​523)
  • Fixed pipeline and call parsing
Addition

In addition to open-source version of Expr, we have an embeddable Expr Editor and Expr Pro packages.

v1.15.8

Compare Source

Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.

output, err := expr.Eval(`now() - created_at < duration("24h")`, env)

In this release

  • Added builtin functions for bit operations. (#​496)
  • Added support for raw string literals. (#​485)
    raw string
  • Fixed type checker panic on embedded pointer to struct field. (#​500)
  • Removed redundant fields from ast nodes. (#​504) (#​503)
  • Improved Language Definition documentation.
Expr Editor

The Expr Editor is an embeddable code editor written in JavaScript with
full support of Expr language.

v1.15.7

Compare Source

Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy, safety, and speed.

In this release:
  • Fixed commutative property for comparison between a value and a pointer. (#​490)
  • Checker: forbid accessing built-ins and custom functions from $env. (#​495)
  • Enhanced the number parser to include support for parsing hexadecimal, binary, and octal literals. (#​483)
  • Added GetSource() method to vm.Program. (#​491)

v1.15.6

Compare Source

  • New module path expr-lang/epxr ⚠️
  • Added expr.WithContext() option to pass context to custom functions.
  • Added ast package comments.
  • Hidden internal fields in vm.Program.

v1.15.5

Compare Source

  • Added ceil(), floor() and round() function.
  • Fixed type checker for float arguments.

v1.15.4

Compare Source

  • Improved type checking for $env
  • Added support for floats in sort() built-in
  • Fixed: AST printing for ?? operator
  • Fixed: only emit OpEqual{Int,String} for simple types
  • Fixed: fetch without OpDeref (#​467)
  • Docs: categorize Language Definition functions (#​452)
  • Changed: ast.Node type now is not copied with ast.Patch

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.15.4 fix(deps): update module github.com/antonmedv/expr to v1.15.5 Nov 24, 2023
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from ac0bc3a to 828511b Compare November 24, 2023 19:43
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 828511b to 91aa93b Compare December 3, 2023 21:40
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.15.5 fix(deps): update module github.com/antonmedv/expr to v1.15.6 Dec 3, 2023
Copy link
Contributor Author

renovate bot commented Dec 3, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: github.com/antonmedv/[email protected]: parsing go.mod:
	module declares its path as: github.com/expr-lang/expr
	        but was required as: github.com/antonmedv/expr

@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 91aa93b to aee457a Compare December 10, 2023 13:20
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.15.6 fix(deps): update module github.com/antonmedv/expr to v1.15.7 Dec 10, 2023
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from aee457a to 60e28fd Compare January 7, 2024 19:37
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.15.7 fix(deps): update module github.com/antonmedv/expr to v1.15.8 Jan 7, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 60e28fd to c7fda74 Compare January 25, 2024 00:26
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.15.8 fix(deps): update module github.com/antonmedv/expr to v1.16.0 Jan 25, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from c7fda74 to 3668418 Compare February 18, 2024 10:21
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.0 fix(deps): update module github.com/antonmedv/expr to v1.16.1 Feb 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 3668418 to ffa6a9b Compare March 21, 2024 01:29
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.1 fix(deps): update module github.com/antonmedv/expr to v1.16.2 Mar 21, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from ffa6a9b to ceb6f98 Compare March 27, 2024 11:36
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.2 fix(deps): update module github.com/antonmedv/expr to v1.16.3 Mar 27, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from ceb6f98 to 5d6125a Compare April 10, 2024 11:06
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.3 fix(deps): update module github.com/antonmedv/expr to v1.16.4 Apr 10, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 5d6125a to f2f90c6 Compare April 17, 2024 00:42
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.4 fix(deps): update module github.com/antonmedv/expr to v1.16.5 Apr 17, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from f2f90c6 to 59156e2 Compare May 8, 2024 11:03
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.5 fix(deps): update module github.com/antonmedv/expr to v1.16.6 May 8, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 59156e2 to 92434fe Compare May 8, 2024 21:11
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.6 fix(deps): update module github.com/antonmedv/expr to v1.16.7 May 8, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 92434fe to 39926a4 Compare May 25, 2024 22:00
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.7 fix(deps): update module github.com/antonmedv/expr to v1.16.8 May 25, 2024
Copy link
Contributor Author

renovate bot commented May 25, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: github.com/antonmedv/[email protected]: parsing go.mod:
	module declares its path as: github.com/expr-lang/expr
	        but was required as: github.com/antonmedv/expr

@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 39926a4 to 7195498 Compare May 27, 2024 13:38
@renovate renovate bot changed the title fix(deps): update module github.com/antonmedv/expr to v1.16.8 fix(deps): update module github.com/antonmedv/expr to v1.16.9 May 27, 2024
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from 7195498 to ed64047 Compare August 20, 2024 22:10
@renovate renovate bot force-pushed the renovate/github.com-antonmedv-expr-1.x branch from ed64047 to 457a29f Compare September 1, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants