Commit ee55fbb
authored
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 />
[](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
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments