chore: version packages#682
Merged
Merged
Conversation
046dfa2 to
0179bdf
Compare
0179bdf to
a51eda9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
react-doctor@0.4.0
Minor Changes
#663
9a8ad6eThanks @rayhanadev! - Rework CI reporting: a renamedblockinggate, PR-introduced-issues-only baselines, inline PR review comments, and a simpler CLI flag surface.CI gate
fail-onis renamed toblocking(CLI--blocking <level>, configblocking, GitHub Actionblockinginput). Sameerror | warning | nonevalues, defaulterror: a scan fails CI when anerror-severity diagnostic reaches theciFailuresurface;warningblocks on any diagnostic;nonestays advisory (always exits 0).--fail-on/failOnstill work as a deprecated, warned alias hidden from--help.--blocking warningnow wins over--no-warnings(it previously silently no-op'd the gate — you can't block on warnings you've hidden).Baseline — report only the issues a PR introduces (Codecov-style)
--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.computeDiagnosticDelta,Git.showRefContent/Git.mergeBase,materializeSourceTree, andInspectOptions.baseline/InspectResult.baselineDelta.schemaVersion: 2with abaselineblock (newCount,fixedCount,baseTotalCount) andmode: "baseline";summary.scorestays the head score. v1 reports are unchanged.GitHub Action
annotationsinput was removed.fetch-depth: 0onactions/checkout. Newfixed-issuesoutput. Defaults:project: "*",node-version: 24.CLI flags (fewer flags, fewer footguns)
--explain/--why→ thereact-doctor why <file>:<line>subcommand (rules explain <rule>still explains what a rule means).--full(use--diff falseto 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-disablesfor audit mode). The internal--changed-files-fromis hidden from--help.--projectfilter (e.g.--project ",") is rejected.Patch Changes
#681
915745eThanks @rayhanadev! - Addreact-doctor experimental-lsp, an experimental language server that surfaces React Doctor diagnostics directly in your editor — VS Code, Cursor, Zed, Neovim, Sublime Text, Emacs, Helix, or any LSP client. It is gated behind theexperimental-prefix while its protocol, caching, and diagnostics stabilize. It scans the file you are editing live from the unsaved buffer, underlines the exact offending token via precise ranges, shows rich hovers (rule, category, recommendation, docs link), and offers quick fixes (disable-for-this-line with the correct comment style, suppress-all-in-file, explain, open docs, report false positive). It discovers every React project across workspace folders and monorepo packages, runs offline (no score lookup, no git), prioritizes open-buffer scans, supports push and pull diagnostics, and invalidates caches when config / package.json / lockfiles change. The background workspace scan is chunked so diagnostics stream in progressively (seconds to first results on large repos), parallelizes across all CPU cores, reserves a slot so edits stay responsive while it runs, and cancels in-flight work when config changes. Results are cached per file (by content metadata, invalidated on config change) and persisted to disk, so re-opening the editor or re-scanning surfaces diagnostics almost instantly — on an ~8,800-file repo a cold scan is ~27s and a warm scan ~2s.Start it with
react-doctor experimental-lsp --stdio(ornpx react-doctor@latest experimental-lsp --stdio). AscanOnTypeinitialization option toggles live-as-you-type scanning, with first-class companion extensions for VS Code/Cursor and Zed.Like the CLI, the language server reports anonymized usage analytics to Sentry — a per-workspace-scan wide event plus session/scan counters — sharing the CLI's IP-stripping and path/secret scrubbing. Opt out with
REACT_DOCTOR_NO_TELEMETRY=1(or by launching it with--no-telemetry).Updated dependencies []:
eslint-plugin-react-doctor@0.4.0
Patch Changes
oxlint-plugin-react-doctor@0.4.0
@react-doctor/core@0.3.0
Minor Changes
#663
9a8ad6eThanks @rayhanadev! - Rework CI reporting: a renamedblockinggate, PR-introduced-issues-only baselines, inline PR review comments, and a simpler CLI flag surface.CI gate
fail-onis renamed toblocking(CLI--blocking <level>, configblocking, GitHub Actionblockinginput). Sameerror | warning | nonevalues, defaulterror: a scan fails CI when anerror-severity diagnostic reaches theciFailuresurface;warningblocks on any diagnostic;nonestays advisory (always exits 0).--fail-on/failOnstill work as a deprecated, warned alias hidden from--help.--blocking warningnow wins over--no-warnings(it previously silently no-op'd the gate — you can't block on warnings you've hidden).Baseline — report only the issues a PR introduces (Codecov-style)
--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.computeDiagnosticDelta,Git.showRefContent/Git.mergeBase,materializeSourceTree, andInspectOptions.baseline/InspectResult.baselineDelta.schemaVersion: 2with abaselineblock (newCount,fixedCount,baseTotalCount) andmode: "baseline";summary.scorestays the head score. v1 reports are unchanged.GitHub Action
annotationsinput was removed.fetch-depth: 0onactions/checkout. Newfixed-issuesoutput. Defaults:project: "*",node-version: 24.CLI flags (fewer flags, fewer footguns)
--explain/--why→ thereact-doctor why <file>:<line>subcommand (rules explain <rule>still explains what a rule means).--full(use--diff falseto 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-disablesfor audit mode). The internal--changed-files-fromis hidden from--help.--projectfilter (e.g.--project ",") is rejected.Patch Changes
@react-doctor/api@0.2.20
Patch Changes
9a8ad6e]:@react-doctor/language-server@0.2.12
Patch Changes
9a8ad6e]:Note
Low Risk
Release-metadata only (versions and changelogs); user-facing behavior ships from already-merged PRs, not from edits in this diff.
Overview
Automated Changesets release prep: bumps workspace package versions and appends CHANGELOG entries—no application source changes in this diff.
react-doctor@0.4.0and@react-doctor/core@0.3.0document the CI rework (blockinggate, PR baseline / new-vs-fixed diagnostics, JSON report v2, GitHub Action inline comments, CLI flag cleanup).react-doctoralso notesexperimental-lspin the patch section.@react-doctor/api@0.2.20,@react-doctor/language-server@0.2.12,eslint-plugin-react-doctor@0.4.0, andoxlint-plugin-react-doctor@0.4.0are dependency-aligned bumps.Pending changeset files under
.changeset/(blocking-gate-baseline-and-cli-cleanup.md,language-server.md) are removed after their notes are folded into the package changelogs.Reviewed by Cursor Bugbot for commit a51eda9. Bugbot is set up for automated code reviews on this repo. Configure here.