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

Update module github.com/expr-lang/expr to v1.16.1 #31325

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/expr-lang/expr v1.16.0 -> v1.16.1 age adoption passing confidence

Release Notes

expr-lang/expr (github.com/expr-lang/expr)

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.


Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), 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 has been generated by Mend Renovate. View repository job log here.

@djaglowski djaglowski added the ready to merge Code review completed; ready to merge by maintainers label Feb 20, 2024
@TylerHelmuth TylerHelmuth removed the ready to merge Code review completed; ready to merge by maintainers label Feb 21, 2024
@renovate renovate bot force-pushed the renovate/git.luolix.top-expr-lang-expr-1.x branch from 5923c57 to 7680706 Compare February 21, 2024 17:13
@TylerHelmuth TylerHelmuth reopened this Feb 21, 2024
@TylerHelmuth TylerHelmuth merged commit e64f63a into main Feb 21, 2024
142 checks passed
@TylerHelmuth TylerHelmuth deleted the renovate/git.luolix.top-expr-lang-expr-1.x branch February 21, 2024 18:08
@github-actions github-actions bot added this to the next release milestone Feb 21, 2024
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/expr-lang/expr](https://github.com/expr-lang/expr) |
`v1.16.0` -> `v1.16.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fexpr-lang%2fexpr/v1.16.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fexpr-lang%2fexpr/v1.16.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fexpr-lang%2fexpr/v1.16.0/v1.16.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fexpr-lang%2fexpr/v1.16.0/v1.16.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>expr-lang/expr (github.com/expr-lang/expr)</summary>

###
[`v1.16.1`](https://github.com/expr-lang/expr/releases/tag/v1.16.1)

[Compare
Source](https://github.com/expr-lang/expr/compare/v1.16.0...v1.16.1)

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

```go
program, err := expr.Compile(`now() - created_at < duration("24h")`)
output, err := expr.Run(program, env)
```

**In this release**:

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

**Expr Editor**

The [Expr Editor](https://expr-lang.org/editor) is an embeddable code
editor written in JavaScript with
full support of Expr language.

**Expr Pro**

[Expr Pro](https://expr-lang.org/expr-pro) is a set of extensions for
Expr for advanced use cases. It includes
expressions explanation, performance profiling, and more.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants