Skip to content

Commit f75ec7a

Browse files
chore: version packages (#682)
1 parent 7593271 commit f75ec7a

14 files changed

Lines changed: 102 additions & 43 deletions

File tree

.changeset/blocking-gate-baseline-and-cli-cleanup.md

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

.changeset/language-server.md

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

packages/api/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @react-doctor/api
22

3+
## 0.2.20
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`9a8ad6e`](https://github.com/millionco/react-doctor/commit/9a8ad6e40d9ed1fbe7ddb1f1c57bfd5c791a4b9e)]:
8+
- @react-doctor/core@0.3.0
9+
310
## 0.2.19
411

512
### Patch Changes

packages/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-doctor/api",
3-
"version": "0.2.19",
3+
"version": "0.2.20",
44
"private": true,
55
"description": "Internal: programmatic diagnose() API for React Doctor — thin Effect.runPromise shell around @react-doctor/core's runInspect orchestrator. Not published.",
66
"license": "MIT",

packages/core/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @react-doctor/core
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- [#663](https://github.com/millionco/react-doctor/pull/663) [`9a8ad6e`](https://github.com/millionco/react-doctor/commit/9a8ad6e40d9ed1fbe7ddb1f1c57bfd5c791a4b9e) Thanks [@rayhanadev](https://github.com/rayhanadev)! - Rework CI reporting: a renamed `blocking` gate, PR-introduced-issues-only baselines, inline PR review comments, and a simpler CLI flag surface.
8+
9+
**CI gate**
10+
11+
- **`fail-on` is renamed to `blocking`** (CLI `--blocking <level>`, config `blocking`, GitHub Action `blocking` input). Same `error | warning | none` values, default `error`: a scan fails CI when an `error`-severity diagnostic reaches the `ciFailure` surface; `warning` blocks on any diagnostic; `none` stays advisory (always exits 0). `--fail-on` / `failOn` still work as a deprecated, warned alias hidden from `--help`.
12+
- `--blocking warning` now wins over `--no-warnings` (it previously silently no-op'd the gate — you can't block on warnings you've hidden).
13+
14+
**Baseline — report only the issues a PR introduces (Codecov-style)**
15+
16+
- In `--diff <base>` mode, react-doctor runs a second lint pass over the changed files as they existed at the base merge-base and reports only the diagnostics the change introduced; pre-existing findings that merely shifted lines are matched out by a content fingerprint (`file + rule + flagged-line hash`). The head project-health **score is unchanged**; the gate fails on newly-introduced errors only. If the baseline can't be computed (base unreachable, or a lint pass failed), the run degrades to a plain diff — all findings stay visible and CI isn't gated on findings whose new-vs-pre-existing attribution is unknown.
17+
- **New core API:** `computeDiagnosticDelta`, `Git.showRefContent` / `Git.mergeBase`, `materializeSourceTree`, and `InspectOptions.baseline` / `InspectResult.baselineDelta`.
18+
- **JSON report v2:** baseline runs emit `schemaVersion: 2` with a `baseline` block (`newCount`, `fixedCount`, `baseTotalCount`) and `mode: "baseline"`; `summary.score` stays the head score. v1 reports are unchanged.
19+
20+
**GitHub Action**
21+
22+
- Posts **inline PR review comments** on the changed lines that triggered each diagnostic (with fix guidance + a docs link), plus a restyled CLI-style sticky summary with linkable findings and the new / fixed delta. The `annotations` input was removed.
23+
- On pull requests it fetches the base commit for baselining — use `fetch-depth: 0` on `actions/checkout`. New `fixed-issues` output. Defaults: `project: "*"`, `node-version: 24`.
24+
25+
**CLI flags (fewer flags, fewer footguns)**
26+
27+
- `--explain` / `--why` → the `react-doctor why <file>:<line>` subcommand (`rules explain <rule>` still explains what a rule means).
28+
- Removed `--full` (use `--diff false` to force a full scan), `--pr-comment` (the Action renders its comment from `--json`), and the positive `--respect-inline-disables` (already the default; use `--no-respect-inline-disables` for audit mode). The internal `--changed-files-from` is hidden from `--help`.
29+
- Removed flags now fail with a migration error instead of being silently dropped, and an empty `--project` filter (e.g. `--project ","`) is rejected.
30+
31+
### Patch Changes
32+
33+
- Updated dependencies []:
34+
- oxlint-plugin-react-doctor@0.4.0
35+
336
## 0.2.19
437

538
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-doctor/core",
3-
"version": "0.2.19",
3+
"version": "0.3.0",
44
"private": true,
55
"description": "Internal: diagnostic engine for React Doctor (lint runner, scoring, config, suppressions). Not published.",
66
"license": "MIT",

packages/eslint-plugin-react-doctor/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# eslint-plugin-react-doctor
22

3+
## 0.4.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies []:
8+
- oxlint-plugin-react-doctor@0.4.0
9+
310
## 0.3.0
411

512
### Patch Changes

packages/eslint-plugin-react-doctor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react-doctor",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "ESLint plugin for React Doctor: diagnose React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
55
"keywords": [
66
"accessibility",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# @react-doctor/language-server
2+
3+
## 0.2.12
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`9a8ad6e`](https://github.com/millionco/react-doctor/commit/9a8ad6e40d9ed1fbe7ddb1f1c57bfd5c791a4b9e)]:
8+
- @react-doctor/core@0.3.0

packages/language-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-doctor/language-server",
3-
"version": "0.2.11",
3+
"version": "0.2.12",
44
"private": true,
55
"description": "Internal: editor language server for React Doctor — daemonized diagnostics, hovers, and code actions over LSP. Not published directly; bundled into the react-doctor CLI as `react-doctor experimental-lsp`.",
66
"license": "MIT",

0 commit comments

Comments
 (0)