fix(deps): update module github.com/antonmedv/expr to v1.17.8#61
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update module github.com/antonmedv/expr to v1.17.8#61renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
Author
|
c121233 to
7fbc508
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.15.3→v1.17.8Release Notes
antonmedv/expr (github.com/antonmedv/expr)
v1.17.8Compare Source
Expr is an expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
v1.17.7Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
This release brings new language features, performance improvements across runtime and compiler, better error
handling, and many important bug fixes.
New Features
Support for
else ifexpressionselse if! (#879)Unicode escapes in the
\u{XXXXXX}format\u{1F600}. (#882)Byte slice support in the
matchesoperatorThe
matchesoperator now works with[]byte, improving interoperability with binary data. (#876)Short-circuit control options
New options allow enabling or disabling short-circuiting behavior in the compiler and VM. (#847)
Option to disable
ifoperatorA separate
DisableIfOperatoroption is now available. (#881)Performance Improvements
Runtime structure fetch improvements
Accessing struct fields at runtime is now faster. (#833)
VM function call optimizations
Function calls inside the VM execute more efficiently. (#832)
Type system performance boost
Large or complex type operations now run significantly faster. (#824)
Bug Fixes
AsBoolwith nil and undefined variables (#866).ifconditions and detect null-byte crashes.v1.17.6Compare Source
What's Changed
v1.17.5Compare Source
v1.17.4Compare Source
v1.17.3Compare Source
getbuilt-in to work withnilexpr-lang#786v1.17.2Compare Source
expr.Evalexpr-lang#775v1.17.1Compare Source
v1.17.0Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
This release added the biggest change to the Expr language: if-else expressions and sequential expressions. #736
e750878A sequence of expression may be separated by
;char. The last semicolon must be omitted. Expr returns the value of thelast expression in the sequence.
If-else is also expressions. Each
ifmust have anelsepart. Result of if-else can be used as an expression:Added:
ast.Findhelper for easy AST searching.579de74uniq()builtin (#705)flatten()builtin (#684)Improvements:
6fa83adlen()return runes count for stringe8bd7f82bc0eedf4bbea580f0ea64511e9229dff34Fixes:
get()returns nil formap[string]stringon missing keys435b79dd63c3b5filter() | map()if#indexis used35bdb68v1.16.9Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
v1.16.8Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
45c1ae76cf0edbcae6003Expr 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.7Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
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.6Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
date()andnow()builtins withexpr.Timezone("Europe/Zurich")timezone("UTC")builtinExpr 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.5Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
sum()builtin (#592)sum()compiler optimizationc2b609eedb1b5aWithContextto work for methods on env struct (#602)count()builtin: now predicate is optional725b70261573955804ccbExpr 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.4Compare 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.3Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
{(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.2Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
1 < 2 < 3(#581)int: unwraps underlying int value (#611)min,max,sum,mean,median(#580, #576)reflect.DeepEqual(#585)expr.Operatorpasses beforeexpr.Envcaused error (#606)-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.1Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
?.[operator (ffaec9e)95084fb)ed89647)groupBy()andsortBy()builtins (#562)expr.Function()(#408)concat()builtin (#565)reverse()builtin (#553)program.Locations()method (e53cefe)array?.[42](#550)all,any,one,nonefunctions (#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.0Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy, safety, and speed.
In this release:
.Node()(#528)Valuerpatcher (#525)expr.WarnOnAny()optionexpr.As*()options behavior to acceptanyby defaultanytype in type checkerAddition
In addition to open-source version of Expr, we have an embeddable Expr Editor and Expr Pro packages.
v1.15.8Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release
Expr Editor
The Expr Editor is an embeddable code editor written in JavaScript with
full support of Expr language.
v1.15.7Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy, safety, and speed.
In this release:
$env. (#495)GetSource()method tovm.Program. (#491)v1.15.6Compare Source
expr-lang/epxrexpr.WithContext()option to pass context to custom functions.vm.Program.v1.15.5Compare Source
ceil(),floor()andround()function.v1.15.4Compare Source
$envsort()built-in??operatorOpEqual{Int,String}for simple typesOpDeref(#467)ast.Nodetype now is not copied withast.PatchConfiguration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.