Scan your whole stack
Are you using better-semantic-release?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.14.1
better-semantic-release was last scanned on 27 Nov 2026 at version 1.14.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.14.1 LATEST | 27 Nov 2026 | No rules fired |
| 1.14.1b1 | 27 Nov 2026 | No rules fired |
| 1.14.0 | 25 Nov 2026 | No rules fired |
| 1.13.4b2 | 24 Nov 2026 | Not shown |
| 1.13.4b1 | 24 Nov 2026 | Not shown |
Findings for v1.14.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.14.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
better-semantic-release
A drop-in fork of python-semantic-release with built-in release-safety guards.
.. image:: https://github.com/n24q02m/better-semantic-release/actions/workflows/ci.yml/badge.svg :target: https://github.com/n24q02m/better-semantic-release/actions/workflows/ci.yml :alt: CI status
.. image:: https://github.com/n24q02m/better-semantic-release/actions/workflows/cd.yml/badge.svg :target: https://github.com/n24q02m/better-semantic-release/actions/workflows/cd.yml :alt: CD status
.. image:: https://codecov.io/github/n24q02m/better-semantic-release/graph/badge.svg :target: https://app.codecov.io/github/n24q02m/better-semantic-release :alt: Coverage of src/semantic_release/bsr
.. image:: https://img.shields.io/pypi/v/better-semantic-release :target: https://pypi.org/project/better-semantic-release/ :alt: Latest release on PyPI
.. image:: https://img.shields.io/pypi/pyversions/better-semantic-release :target: https://pypi.org/project/better-semantic-release/ :alt: Supported Python versions
.. image:: https://img.shields.io/badge/license-Apache--2.0-blue :target: https://github.com/n24q02m/better-semantic-release/blob/main/LICENSE :alt: Apache-2.0 licence
better-semantic-release is a drop-in fork of python-semantic-release_ (MIT licensed).
This fork is distributed under Apache-2.0; the upstream MIT terms are preserved in LICENSE-MIT.
It keeps the same [tool.semantic_release] configuration schema, the same
semantic-release CLI (also exposed as bsr, better-semantic-release, python-semantic-release, and psr), and the same GitHub Action interface -- switching over only
requires pointing the uses: line at the fork:
.. code-block:: yaml
uses: n24q02m/better-semantic-release@v<major>
.. note::
For anything beyond a quick trial, pin the full commit SHA and record the exact
version beside it, as GitHub's own hardening guide_ recommends for third-party
actions:
.. code-block:: yaml
uses: n24q02m/better-semantic-release@<40-char-sha> # v1.2.3
The trailing comment is not decoration -- it is what Renovate (and Dependabot)
read to decide what the pin currently is. Pin the SHA but write # v<major>
in the comment and the bot tracks a moving tag: the only update it can offer
is an opaque "update digest" pull request with no version anywhere in it, which
is how a pin silently falls several minor versions behind while every dashboard
still looks healthy.
On top of that, the fork adds release-safety guards that run automatically before any
commit, tag, or push is made. Guards can be opted out of per-repository under the
[tool.semantic_release.bsr] table in pyproject.toml. Cross-ecosystem
starting points (Python, Node, Rust, generic repos) live in
docs/recipes/.
.. contents:: Table of contents :depth: 2 :local:
better-semantic-release is evolving from a safety-guarded fork into a release control plane built around three verbs:
plan -- compute and render the release decision (what would be released, for which
components, and every blocker) as structured data, read-only. verify -- run the
safety/policy checks and report pass/fail per check. publish -- execute the release
with the same fail-closed guards, reporting structured results.
Non-negotiables for every change to this codebase:
plan surface
(CLI, JSON, job summaries), never from bot branches, PR labels, or PR state machines.[tool.semantic_release] schema,
the existing CLI commands, and the GitHub Action interface must keep working unchanged;
new behavior is opt-in under [tool.semantic_release.bsr] or behind new subcommands.if ecosystem == ... branches
scattered through the core. New version sources, targets, and publishers plug in as
adapters; core logic stays ecosystem-agnostic.src/semantic_release/bsr/* where possible, keeping the
upstream delta auditable and the future upstream-sync cost low.The following surfaces are locked; the right-hand column lists the only allowed extension direction.
.. list-table:: :header-rows: 1 :widths: 30 40 30
semantic-release version stdout--format json (already opt-in); new subcommands only[tool.semantic_release] schema[tool.semantic_release.bsr] onlyversion, tag, released, commit_sha, ...)
keep their names and semantics--noop behavior.. list-table:: :header-rows: 1 :widths: 40 25 35
INFO log level, never surfacedexplain)str(exc), or an uncaught tracebackactionable_errors)summary)stable_notes_aggregate)--format json on version and publish.. note::
The guards are on by default. The registry-collision guard auto-targets PyPI for a
project that declares [project].name and fails closed -- if the registry is
unreachable (network / rate-limit / 5xx) it aborts the release rather than risk a double
publish, which couples release availability to the registry's uptime. Tune or disable per
repository under [tool.semantic_release.bsr] (guard_orphan_tag,
guard_registry_collision, registry = "pypi" | "npm" | "none").
.. note::
Guards evaluate even under --noop / dry-run -- this is deliberate, so a dry-run
surfaces would-be blocks instead of silently skipping the safety checks a real release
would hit. In dry-run, the registry-collision guard still performs a live, read-only
HTTP GET against the target registry (PyPI/npm) to check whether the computed version
already exists; no commit, tag, or push is made either way.
Every fork addition lives under [tool.semantic_release.bsr] in the same config file
upstream already reads (pyproject.toml, setup.cfg, releaserc.toml, ...). The
two guards are on by default; everything else is off by default, so an untouched
config behaves exactly like upstream.
.. list-table:: :header-rows: 1 :widths: 32 18 50
guard_orphan_tagtrueHEAD (a rebase / force-push dropped the release commit).guard_registry_collisiontrueregistry"pypi", "npm" or "none". Auto-targets PyPI when [project].name
is declared.path_filter / pathsfalse / []explainfalseactionable_errorsfalsesummary / componentsfalse / []stable_notes_aggregate / stable_notes_scopefalse / "line"Every diagnostic below writes to stderr, so semantic-release version keeps
printing only the version number on stdout and stays safe to capture in a shell
substitution.
explain)When next_version() recomputes a version that already exists, upstream always prints
the same line -- No release will be made, X has already been released! -- no matter
what actually happened. The usual real cause is that no commit since the last release
qualified for a bump, a fact upstream only logs at INFO and never surfaces.
.. code-block:: toml
[tool.semantic_release.bsr]
schema_version = 1
explain = true
With explain on, that line is replaced by the classified cause:
NO_QUALIFYING_COMMITS -- commits were scanned, none were releasable (no
feat / fix / breaking-change commits). This is the case upstream misattributes.ALREADY_RELEASED_NOOP -- the current tip is already tagged; a genuine re-dispatch
with nothing new to release.ORPHAN -- the version recomputes to an already-released but unreachable tag,
which is the silent-release-freeze the orphan-tag guard exists for.On a run that does release, it also prints a "why this bump" line -- the bump level, the per-commit-type breakdown behind it, the base version, and how many commits were scanned::
better-semantic-release explain: minor bump from 2 feat, 3 fix commit(s) since 1.4.0 (5 commit(s) scanned).
actionable_errors)Upstream surfaces its most-cited failures as a bare str(exc) with no framing, and
leaves two of them uncaught entirely (raw traceback).
.. code-block:: toml
[tool.semantic_release.bsr]
schema_version = 1
actionable_errors = true
With the flag on, these categories are rewritten as "what happened / why / how to fix":
[tool.semantic_release.<key>]: <reason> instead of a raw pydantic dump.angular, conventional,
conventional-monorepo, emoji, scipy) and the module:ClassName form.[tool.semantic_release.remote] at an existing one).tag_format, which otherwise makes upstream silently treat the
repository as having no prior releases and start over from the initial version... note::
MissingGitRemote and ParserLoadError are not caught by upstream at all. With
actionable_errors off they are deliberately re-raised unchanged, so output stays
byte-for-byte identical to upstream; only with the flag on are they caught and
enriched. This is pure message enrichment -- no new exception types, and no change to
exit codes.
Upstream's directory: input only selects where config (pyproject.toml,
tag_format, ...) is read from -- it does not filter which commits are analyzed, so
in a monorepo a commit touching an unrelated component still bumps this component's
version and shows up in its changelog. This is opt-in and off by default (drop-in):
enable it under [tool.semantic_release.bsr].
.. code-block:: toml
[tool.semantic_release.bsr]
schema_version = 1
path_filter = true
paths = ["apps/api", "libs/shared"]
path_filter (default false) -- master switch. When false the fork behaves
identically to upstream: every commit since the last release counts, regardless of
which paths it touched.paths (default [], repository-root-relative) -- one or more path prefixes; a
commit only counts toward this component if it changed a file under one of them.
Multiple entries are OR'd together, which supports a component that also depends on
shared code (e.g. ["apps/api", "libs/shared"]).path_filter is true and paths is left empty, it defaults to the run
directory (the GitHub Action's directory: input) made relative to the repository
root... note::
Path filtering applies to both the version-bump computation and the generated changelog -- a commit excluded from one is excluded from the other.
summary)Neither upstream's conventional-monorepo parser nor the path filter above tells you
what a release run would do across a monorepo's components before it does it.
.. code-block:: toml
[tool.semantic_release.bsr]
schema_version = 1
summary = true
components = [
{ name = "api", paths = ["apps/api", "libs/shared"] },
{ name = "web", paths = ["apps/web"] },
]
Each row is computed with the same next_version() upstream uses for the real
release, scoped to that component's paths:
.. code-block:: text
better-semantic-release summary: monorepo release plan
component would-release level commits sample paths version
--------- ------------- ---------- ------- -------------------------------------- -------
api yes MINOR 4 apps/api/main.go, apps/api/handlers.go 1.4.0
web no NO_RELEASE 0 - 1.2.3
components is optional. Left empty, you get a single row built from bsr.paths
and named after [project].name -- so a non-monorepo project still gets a plan
instead of an empty report.paths means "the whole repository" (the filter is a
passthrough), not "nothing".stable_notes_aggregate)Upstream buckets every commit under the nearest tag walking back from HEAD. Once a
line has rc/beta tags, those prereleases have already "consumed" the commits, so
finalizing the stable version with no brand-new commits of its own produces a release
section that is empty -- or fragmented across the prerelease tags instead of one grouped
vX.Y.Z section. This is the most-cited changelog complaint upstream (issues #555,
.. code-block:: toml
[tool.semantic_release.bsr]
schema_version = 1
stable_notes_aggregate = true
stable_notes_scope = "line" # or "since_stable"
With this on, the notes of every intervening prerelease are merged into the stable release that finalizes them, de-duplicated by commit sha, covering both the written changelog and the VCS release notes. It only ever runs for a genuine stable finalize; a prerelease run is untouched.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.