---
title: "sigma-cli 4.0.0 Breaking Changes on Homebrew | Since.dev"
description: "What each sigma-cli release removed, renamed or changed: 6 breaking changes in 1 version on Homebrew, each with its source."
canonical_url: https://since.dev/packages/homebrew/sigma-cli
last_updated: 2026-12-05
---

# sigma-cli breaking changes

sigma-cli 4.0.0 is its newest release with breaking changes, 6 of them. The first: Migrated the CLI to pySigma 2 in sigma-cli 4.0.0. Every breaking API change we have recorded in sigma-cli on Homebrew: 6 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 5, 2026

Latest version `4.1.1`, released December 5, 2026. LGPL-2.1-or-later license. [Source repository](https://github.com/SigmaHQ/sigma-cli)

## sigma-cli 4.0.0 breaking changes

sigma-cli 4.0.0: 6 breaking changes.

- **Behavior changed**  

The CLI now runs on pySigma 2, which may change behavior for code and plugins that depend on pySigma 1. [github.com](https://github.com/SigmaHQ/sigma-cli/releases/tag/v4.0.0)
- **Behavior changed** `--output-dir`  

When a rule fails with --output-dir, the command now exits non-zero and continues converting the remaining rules. Scripts that relied on a zero exit status must handle this. [github.com](https://github.com/SigmaHQ/sigma-cli/releases/tag/v4.0.0)
- **Default changed** `--allow-external-sources`  

External rule sources are rejected unless allowed. Pass --allow-external-sources or use --policy trusted to permit them. [github.com](https://github.com/SigmaHQ/sigma-cli/releases/tag/v4.0.0)
- **Default changed** `--enable-template-vars`  

Template variable expansion is off unless enabled. Pass --enable-template-vars or use --policy trusted to turn it on. [github.com](https://github.com/SigmaHQ/sigma-cli/releases/tag/v4.0.0)
- **Default changed** `--policy`  

The default policy is now safe, which uses RE2 and blocks template variables and external sources. Use --policy trusted to restore broader processing. [github.com](https://github.com/SigmaHQ/sigma-cli/releases/tag/v4.0.0)
- **Default changed** `--regex-engine`  

The default regex engine is now RE2 instead of Python's native engine. Pass --regex-engine python or use --policy trusted to keep the previous engine. [github.com](https://github.com/SigmaHQ/sigma-cli/releases/tag/v4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
