Skip to content

v1.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Jul 13:14
Immutable release. Only release title and notes can be modified.
97942fc

Minor Changes

  • #26 bf903e4 Thanks @alerizzo! - Add ls and directories commands to browse a repository's tree with quality
    metrics. ls lists the directories and files at a path — showing Grade, Issues,
    Complexity, Duplication, and Coverage per row — and directories (alias dirs)
    lists folders only, with --plus-children to also show one level of
    sub-directories as a └─ tree. Both auto-detect the provider/organization/repository
    from the git remote and the path from your current directory (relative to the
    repo root); override with positional args, --path, and --branch. Sort with
    --sort <field> (name, issues, grade, duplication, complexity,
    coverage) and --direction asc|desc. codacy ls --search <term> finds files
    at any depth under the path. Folders and files are marked with and · (no
    emojis). Both commands fetch every page of results, so nothing is truncated.

  • #24 bf527ad Thanks @alerizzo! - Add an npm-style "update available" notice. When a newer version is published, the
    CLI prints a one-time upgrade hint to stderr — it never auto-updates. The notice
    only shows with the default --output table in an interactive terminal; it is
    suppressed for --output json, when piped, in CI, and under npx/npm scripts, so
    machine-readable stdout stays byte-clean. The version lookup runs in a non-blocking
    background process (at most once a day) and never affects timing or exit codes. Opt
    out via CODACY_DISABLE_UPDATE_CHECK, NO_UPDATE_NOTIFIER, or --no-update-notifier.
    A package.json overrides entry pins update-notifier's transitive got/package-json
    to patched, still-CommonJS versions to avoid CVE-2022-33987.

Patch Changes

  • #27 c5c9af5 Thanks @alerizzo! - Stop issues --overview from suggesting noise reduction on repositories that aren't
    actually noisy. The "Suggested actions to reduce noise" section now requires two absolute
    floors before anything is suggested: the repository must have at least 200 issues in total,
    and an individual pattern must produce at least 100 issues on its own. The per-pattern floor
    matters because a repository with a long tail of tiny patterns pulls the median issues-per-
    pattern very low, which previously made a pattern with only a handful of issues look
    disproportionate — now a rule has to genuinely flood the repo before it's flagged. On top of
    those floors, a pattern must still show a relative signal: the "dominant share" rule (≥10% of
    all issues) only applies when there are at least 11 distinct patterns (an even split of N
    patterns only drops below 10% once N is above 10, so 8-10 balanced patterns would otherwise
    all be flagged), and the "disproportionate count" rule now compares each
    pattern against the median issues-per-pattern instead of the mean, so a single huge
    pattern can no longer inflate the baseline and hide smaller-but-still-disproportionate ones.