Skip to content

chore(deps): update dependency betterleaks/betterleaks to v1.6.1#229

Open
renovate[bot] wants to merge 1 commit into
devfrom
renovate/betterleaks-betterleaks-1.x
Open

chore(deps): update dependency betterleaks/betterleaks to v1.6.1#229
renovate[bot] wants to merge 1 commit into
devfrom
renovate/betterleaks-betterleaks-1.x

Conversation

@renovate

@renovate renovate Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
betterleaks/betterleaks minor 1.5.01.6.1

Release Notes

betterleaks/betterleaks (betterleaks/betterleaks)

v1.6.1

Compare Source

Changelog

v1.6.0

Compare Source

What's New

v1.6.0 focuses on faster startup, lower cold-scan overhead, and the migration of Betterleaks’ expression runtime from CEL to Expr.

  • Replaced CEL-based filtering and validation with Expr. Existing CEL-shaped configs are still accepted for compatibility, but new configs should use Expr syntax.
  • Improved cold-start performance by lazily initializing expensive runtime work (160ms -> 20ms) :
    • regex compilation
    • global finding filters
    • per-rule filters
    • validation expressions
    • cl100k_base tokenizer loading
  • Added rule specificity support for more accurate generic-rule suppression.
    More specific rules now run first and can suppress lower-specificity generic matches earlier.
  • Switched keyword prefiltering to github.com/RRethy/ahocorasick. (faster startup, less mem)
  • Added lazy regex compilation while preserving early regex validation.
  • Added --validation-debug support with safer redaction of sensitive HTTP headers.
  • Reduced dependency weight by removing cel-go and related protobuf/genproto dependencies. Release binary size goes from 30MB to 22.7MB.
Note on CEL vs Expr and compatibility

When filtering and validation logic was implemented in CEL I was unaware of expr-lang. Expr provides all the bells and whistles that CEL provided but at a smaller cost. Expr is slightly faster and a much smaller dependency.

  • Existing CEL-style configs remain supported through compatibility handling.
  • New configs should prefer Expr syntax.
  • The deprecated allowlist translation path remains available.
What's Changed

Full Changelog: betterleaks/betterleaks@v1.5.0...v1.6.0


Configuration

📅 Schedule: (in timezone Asia/Taipei)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested review from a team and Copilot June 27, 2026 08:20
@renovate renovate Bot requested a review from charliie-dev as a code owner June 27, 2026 08:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot can't review bot-authored pull requests automatically. A user with Copilot access can request a review manually.

@renovate renovate Bot changed the title chore(deps): update dependency betterleaks/betterleaks to v1.6.0 chore(deps): update dependency betterleaks/betterleaks to v1.6.1 Jun 30, 2026
@renovate renovate Bot force-pushed the renovate/betterleaks-betterleaks-1.x branch from af74443 to 14aae97 Compare June 30, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant