Skip to content

Commit 97942fc

Browse files
chore: version packages (#25)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c5c9af5 commit 97942fc

6 files changed

Lines changed: 43 additions & 53 deletions

.changeset/ls-and-directories-commands.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/skip-changeset-check-on-version-pr.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/tune-issues-overview-noise-suggestions.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.changeset/update-available-notice.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
# @codacy/codacy-cloud-cli
22

3+
## 1.5.0
4+
5+
### Minor Changes
6+
7+
- [#26](https://github.com/codacy/codacy-cloud-cli/pull/26) [`bf903e4`](https://github.com/codacy/codacy-cloud-cli/commit/bf903e45f6aaa96a25d4cdbfdf19966d2a5f1c38) Thanks [@alerizzo](https://github.com/alerizzo)! - Add `ls` and `directories` commands to browse a repository's tree with quality
8+
metrics. `ls` lists the directories and files at a path — showing Grade, Issues,
9+
Complexity, Duplication, and Coverage per row — and `directories` (alias `dirs`)
10+
lists folders only, with `--plus-children` to also show one level of
11+
sub-directories as a `└─` tree. Both auto-detect the provider/organization/repository
12+
from the git remote and the path from your current directory (relative to the
13+
repo root); override with positional args, `--path`, and `--branch`. Sort with
14+
`--sort <field>` (`name`, `issues`, `grade`, `duplication`, `complexity`,
15+
`coverage`) and `--direction asc|desc`. `codacy ls --search <term>` finds files
16+
at any depth under the path. Folders and files are marked with `` and `·` (no
17+
emojis). Both commands fetch every page of results, so nothing is truncated.
18+
19+
- [#24](https://github.com/codacy/codacy-cloud-cli/pull/24) [`bf527ad`](https://github.com/codacy/codacy-cloud-cli/commit/bf527ad694a3f7d78576a5a3647dd4d53984e088) Thanks [@alerizzo](https://github.com/alerizzo)! - Add an npm-style "update available" notice. When a newer version is published, the
20+
CLI prints a one-time upgrade hint to stderr — it never auto-updates. The notice
21+
only shows with the default `--output table` in an interactive terminal; it is
22+
suppressed for `--output json`, when piped, in CI, and under `npx`/npm scripts, so
23+
machine-readable stdout stays byte-clean. The version lookup runs in a non-blocking
24+
background process (at most once a day) and never affects timing or exit codes. Opt
25+
out via `CODACY_DISABLE_UPDATE_CHECK`, `NO_UPDATE_NOTIFIER`, or `--no-update-notifier`.
26+
A package.json `overrides` entry pins `update-notifier`'s transitive `got`/`package-json`
27+
to patched, still-CommonJS versions to avoid CVE-2022-33987.
28+
29+
### Patch Changes
30+
31+
- [#27](https://github.com/codacy/codacy-cloud-cli/pull/27) [`c5c9af5`](https://github.com/codacy/codacy-cloud-cli/commit/c5c9af57f63bbdc2762acb59800de65247cdf94a) Thanks [@alerizzo](https://github.com/alerizzo)! - Stop `issues --overview` from suggesting noise reduction on repositories that aren't
32+
actually noisy. The "Suggested actions to reduce noise" section now requires two absolute
33+
floors before anything is suggested: the repository must have at least 200 issues in total,
34+
and an individual pattern must produce at least 100 issues on its own. The per-pattern floor
35+
matters because a repository with a long tail of tiny patterns pulls the median issues-per-
36+
pattern very low, which previously made a pattern with only a handful of issues look
37+
disproportionate — now a rule has to genuinely flood the repo before it's flagged. On top of
38+
those floors, a pattern must still show a relative signal: the "dominant share" rule (≥10% of
39+
all issues) only applies when there are at least 11 distinct patterns (an even split of N
40+
patterns only drops below 10% once N is above 10, so 8-10 balanced patterns would otherwise
41+
all be flagged), and the "disproportionate count" rule now compares each
42+
pattern against the **median** issues-per-pattern instead of the mean, so a single huge
43+
pattern can no longer inflate the baseline and hide smaller-but-still-disproportionate ones.
44+
345
## 1.4.0
446

547
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codacy/codacy-cloud-cli",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "A command-line tool to interact with Codacy Cloud from your terminal",
55
"homepage": "https://www.codacy.com",
66
"repository": {

0 commit comments

Comments
 (0)