Skip to content

chore(deps): bump github.com/expr-lang/expr from 1.16.9 to 1.17.0#985

Merged
jdkato merged 1 commit intov3from
dependabot/go_modules/github.com/expr-lang/expr-1.17.0
Mar 18, 2025
Merged

chore(deps): bump github.com/expr-lang/expr from 1.16.9 to 1.17.0#985
jdkato merged 1 commit intov3from
dependabot/go_modules/github.com/expr-lang/expr-1.17.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 2025

Bumps github.com/expr-lang/expr from 1.16.9 to 1.17.0.

Release notes

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

v1.17.0

Expr is a Go-centric 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:

This release added the biggest change to the Expr language: if-else expressions and sequential expressions. #736 e750878

if foo > 42 {
    assert(foo);
    calc(foo, foo / 2)
} else {
    calc(0, 0)
}

A sequence of expression may be separated by ; char. The last semicolon must be omitted. Expr returns the value of the last expression in the sequence.

If-else is also expressions. Each if must have an else part. Result of if-else can be used as an expression:

let foo = if bar > 0 {
    process(bar)
} else {
    fallback()
};
foo + 42

Added:

  • Added ast.Find helper for easy AST searching. 579de74
  • Added compile node budget and memory limits (#762)
  • Added uniq() builtin (#705)
  • Added flatten() builtin (#684)
  • Added types pkg (#665 #667 #668)

Improvements:

  • Allow tailing comma in arguments (#623)
  • Improved type checker for named types 6fa83ad
  • Now len() return runes count for string e8bd7f8

... (truncated)

Commits
  • 3be6386 Code style: remove repeated helper functions
  • 25690fe chore: Added SOLO to the companies list (#769)
  • a9cda30 Test for issue 756
  • 2bc0eed Remove duplicated dereferences
  • f4bbea5 Add support deref in all builtins
  • 7d564c0 Remove print
  • 80f0ea6 Correctly add OpDeref if needed
  • 2d9f616 Add more tailing comma tests
  • 8f83203 Allow tailing comma in arguments (#623)
  • 435b79d Make sure get() returns nil for map[string]string on missing keys
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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.

Bumps [github.com/expr-lang/expr](https://github.com/expr-lang/expr) from 1.16.9 to 1.17.0.
- [Release notes](https://github.com/expr-lang/expr/releases)
- [Commits](expr-lang/expr@v1.16.9...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/expr-lang/expr
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Mar 18, 2025
@jdkato jdkato merged commit 74f7480 into v3 Mar 18, 2025
5 of 6 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/expr-lang/expr-1.17.0 branch March 18, 2025 01:01
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Mar 26, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [errata-ai/vale](https://github.com/errata-ai/vale) | minor | `v3.9.6` -> `v3.10.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>errata-ai/vale (errata-ai/vale)</summary>

### [`v3.10.0`](https://github.com/errata-ai/vale/releases/tag/v3.10.0)

[Compare Source](errata-ai/vale@v3.9.6...v3.10.0)

This release introduces support for MDX (errata-ai/vale#841). See the [documentation](https://vale.sh/docs/formats/mdx) for more information.

Notably, it is no longer necessary to configure `CommentDelimiters` or use a `[formats]` association with Markdown.

#### Changelog

-   [`74f7480`](errata-ai/vale@74f7480d) chore(deps): bump github.com/expr-lang/expr from 1.16.9 to 1.17.0 ([#&#8203;985](errata-ai/vale#985))
-   [`1bcb343`](errata-ai/vale@1bcb3437) test: add MDX case with old configuration
-   [`4476a1e`](errata-ai/vale@4476a1ec) chore(deps): bump golang.org/x/net from 0.34.0 to 0.36.0 ([#&#8203;982](errata-ai/vale#982))
-   [`32e40db`](errata-ai/vale@32e40dbc) refactor: fix golangci-lint
-   [`04a7039`](errata-ai/vale@04a70399) fix: support non-expressions in `{...}`
-   [`bc79b15`](errata-ai/vale@bc79b15a) refactor: clean up cmd execution
-   [`811d6c4`](errata-ai/vale@811d6c43) chore: install mdx2vast in CI
-   [`61c8d15`](errata-ai/vale@61c8d15a) feat: add built-in support for MDX

</details>

---

### 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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMTMuNSIsInVwZGF0ZWRJblZlciI6IjM5LjIxMy41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
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.

1 participant