Skip to content

Commit ee55fbb

Browse files
chore: Bump github.com/expr-lang/expr from 1.17.5 to 1.17.7 (#348)
Bumps [github.com/expr-lang/expr](https://github.com/expr-lang/expr) from 1.17.5 to 1.17.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/expr-lang/expr/releases">github.com/expr-lang/expr's releases</a>.</em></p> <blockquote> <h2>v1.17.7</h2> <p><strong>Expr</strong> is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy, safety, and speed.</p> <pre lang="go"><code>program, err := expr.Compile(`let foo = bar(); baz(foo, foo)`) </code></pre> <p>This release brings new language features, <strong>performance improvements</strong> across runtime and compiler, better error handling, and many important bug fixes.</p> <h2>New Features</h2> <h3><strong>Support for <code>else if</code> expressions</strong></h3> <ul> <li>You can now chain conditional branches using <code>else if</code>! (<a href="https://redirect.github.com/expr-lang/expr/issues/879">#879</a>)</li> </ul> <h3><strong>Unicode escapes in the <code>\u{XXXXXX}</code> format</strong></h3> <ul> <li>String literals now support Unicode code point escapes such as <code>\u{1F600}</code>. (<a href="https://redirect.github.com/expr-lang/expr/issues/882">#882</a>)</li> </ul> <h3><strong>Byte slice support in the <code>matches</code> operator</strong></h3> <p>The <code>matches</code> operator now works with <code>[]byte</code>, improving interoperability with binary data. (<a href="https://redirect.github.com/expr-lang/expr/issues/876">#876</a>)</p> <h3><strong>Short-circuit control options</strong></h3> <p>New options allow enabling or disabling short-circuiting behavior in the compiler and VM. (<a href="https://redirect.github.com/expr-lang/expr/issues/847">#847</a>)</p> <h3><strong>Option to disable <code>if</code> operator</strong></h3> <p>A separate <code>DisableIfOperator</code> option is now available. (<a href="https://redirect.github.com/expr-lang/expr/issues/881">#881</a>)</p> <h2>Performance Improvements</h2> <h3><strong>Runtime structure fetch improvements</strong></h3> <p>Accessing struct fields at runtime is now faster. (<a href="https://redirect.github.com/expr-lang/expr/issues/833">#833</a>)</p> <h3><strong>VM function call optimizations</strong></h3> <p>Function calls inside the VM execute more efficiently. (<a href="https://redirect.github.com/expr-lang/expr/issues/832">#832</a>)</p> <h3><strong>Type system performance boost</strong></h3> <p>Large or complex type operations now run significantly faster. (<a href="https://redirect.github.com/expr-lang/expr/issues/824">#824</a>)</p> <h2>Bug Fixes</h2> <ul> <li>Guard negative forward jump offsets (<em><a href="https://redirect.github.com/expr-lang/expr/issues/861">#861</a></em>).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/expr-lang/expr/commit/d4722867d2df8480c650afa169b350a03d0b668a"><code>d472286</code></a> Improve gen.go</li> <li><a href="https://github.com/expr-lang/expr/commit/713a26a272ae656fa73685994b875bda8322a5af"><code>713a26a</code></a> Add support for Unicode escape sequences in the <code>\u{XXXXXX}</code> format (<a href="https://redirect.github.com/expr-lang/expr/issues/882">#882</a>)</li> <li><a href="https://github.com/expr-lang/expr/commit/6ed72a21491b5d18b419d2115c404f400431248b"><code>6ed72a2</code></a> Add <code>DisableIfOperator</code> option (<a href="https://redirect.github.com/expr-lang/expr/issues/881">#881</a>)</li> <li><a href="https://github.com/expr-lang/expr/commit/4d38449b9f7f0238c6ac534e414cd4b4f25704e8"><code>4d38449</code></a> chore: test and build on Go 1.25 (<a href="https://redirect.github.com/expr-lang/expr/issues/880">#880</a>)</li> <li><a href="https://github.com/expr-lang/expr/commit/087698e2554c3928e19f6fbb7f55f6aba7c2186f"><code>087698e</code></a> Add error handling for invalid <code>if</code> condition and test for crash with null byte</li> <li><a href="https://github.com/expr-lang/expr/commit/738da0b342aa8a57e4a88ddd8c74c810bc8886c6"><code>738da0b</code></a> Remove <code>ExampleDisableShortCircuit</code> test function</li> <li><a href="https://github.com/expr-lang/expr/commit/eb73788eb823513b73e3f62dada27de4f4c73cd2"><code>eb73788</code></a> Add <code>else if</code> support (<a href="https://redirect.github.com/expr-lang/expr/issues/879">#879</a>)</li> <li><a href="https://github.com/expr-lang/expr/commit/cf53913bd4fb966a7bd4250def200bfe8b085c64"><code>cf53913</code></a> Improve the performance of runtime.Fetch for structures (<a href="https://redirect.github.com/expr-lang/expr/issues/833">#833</a>)</li> <li><a href="https://github.com/expr-lang/expr/commit/e5ee6c245bbf664c6a48d2eb1241320336aa98ed"><code>e5ee6c2</code></a> Rename <code>DisableSC</code> to <code>ShortCircuit</code> for better clarity and consistency</li> <li><a href="https://github.com/expr-lang/expr/commit/1973835b26fd4efc0990df48fb283d5a78808d9a"><code>1973835</code></a> feat: add disable short-circuiting option to compiler (<a href="https://redirect.github.com/expr-lang/expr/issues/847">#847</a>)</li> <li>Additional commits viewable in <a href="https://github.com/expr-lang/expr/compare/v1.17.5...v1.17.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/expr-lang/expr&package-manager=go_modules&previous-version=1.17.5&new-version=1.17.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/flowexec/flow/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ff3b944 commit ee55fbb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ require (
5757
github.com/dustin/go-humanize v1.0.1 // indirect
5858
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
5959
github.com/esiqveland/notify v0.13.3 // indirect
60-
github.com/expr-lang/expr v1.17.5 // indirect
60+
github.com/expr-lang/expr v1.17.7 // indirect
6161
github.com/go-logfmt/logfmt v0.6.0 // indirect
6262
github.com/go-logr/logr v1.4.3 // indirect
6363
github.com/go-ole/go-ole v1.3.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6
8282
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
8383
github.com/esiqveland/notify v0.13.3 h1:QCMw6o1n+6rl+oLUfg8P1IIDSFsDEb2WlXvVvIJbI/o=
8484
github.com/esiqveland/notify v0.13.3/go.mod h1:hesw/IRYTO0x99u1JPweAl4+5mwXJibQVUcP0Iu5ORE=
85-
github.com/expr-lang/expr v1.17.5 h1:i1WrMvcdLF249nSNlpQZN1S6NXuW9WaOfF5tPi3aw3k=
86-
github.com/expr-lang/expr v1.17.5/go.mod h1:8/vRC7+7HBzESEqt5kKpYXxrxkr31SaO8r40VO/1IT4=
85+
github.com/expr-lang/expr v1.17.7 h1:Q0xY/e/2aCIp8g9s/LGvMDCC5PxYlvHgDZRQ4y16JX8=
86+
github.com/expr-lang/expr v1.17.7/go.mod h1:8/vRC7+7HBzESEqt5kKpYXxrxkr31SaO8r40VO/1IT4=
8787
github.com/flowexec/tuikit v0.2.3 h1:hGlBc8yXvj4AXaKFp+IUNQ9nO7xOYY4W99m1BfNT13Q=
8888
github.com/flowexec/tuikit v0.2.3/go.mod h1:fjMwEM7FkxbP7bIV4CfEjsixgjicgQqPrejoBZAHf5s=
8989
github.com/flowexec/vault v0.2.1 h1:IYII6iXhhzUc4o0arJVH8281so67L9V8HY8ary/kTps=

0 commit comments

Comments
 (0)