chore: version packages#558
Merged
Merged
Conversation
a9d2910 to
e56e980
Compare
e56e980 to
d505d22
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
eslint-plugin-react-doctor@0.2.12
Patch Changes
#570
d917f62Thanks @aidenybai! - Add theno-prop-typesarchitecture rule. React 19 removed runtimepropTypesvalidation entirely — React no longer readsComponent.propTypes, so invalid props that used to log a console warning now pass silently. The rule flagsComponent.propTypes = { ... }assignments andstatic propTypesclass fields on component-cased identifiers, and is version-gated to React 19+ (requires: ["react:19"]) so projects wherepropTypesstill runs stay quiet. It steers users toward TypeScript prop types plus explicit runtime validation. See #460.#582
b2934f9Thanks @rayhanadev! - Fix arn-no-raw-textfalse positive on fbtee translation tags. fbtee's<fbt>/<fbs>(and namespaced children like<fbt:param>) are compile-time translation tags that disappear at build time, so text inside<Text><fbt>…</fbt></Text>is really rendered inside<Text>and is safe on React Native. The rule now treatsfbt/fbsas transparent wrappers when every ancestor up to a text-handling component is also transparent, while still reporting raw text when an<fbt>is used outside a<Text>boundary. See #581.Updated dependencies [
d917f62,d0f5206,b2934f9]:oxlint-plugin-react-doctor@0.2.12
Patch Changes
#570
d917f62Thanks @aidenybai! - Add theno-prop-typesarchitecture rule. React 19 removed runtimepropTypesvalidation entirely — React no longer readsComponent.propTypes, so invalid props that used to log a console warning now pass silently. The rule flagsComponent.propTypes = { ... }assignments andstatic propTypesclass fields on component-cased identifiers, and is version-gated to React 19+ (requires: ["react:19"]) so projects wherepropTypesstill runs stay quiet. It steers users toward TypeScript prop types plus explicit runtime validation. See #460.#572
d0f5206Thanks @aidenybai! - Add thereact-doctor/no-self-updating-effectrule. It warns when auseEffect/useLayoutEffectlists a state value in its dependency array and the effect body unconditionally calls that state's ownuseStatesetter with a value that never settles — a functional updater (setCount((value) => value + 1)), a freshly-constructed reference (setItems([]),setUser({ ...user })), or a value derived from the same state (setCount(count + 1)). Every commit re-runs the effect and re-sets the state, causing a render loop thatexhaustive-depsdoes not catch because the dependency array is already complete. The rule stays quiet on mount-only[]effects, setters deferred inside timer/subscription/promise callbacks, guarded updates, and plausibly-stable scalar writes that settle viaObject.is(setOpen(true),setTab(props.tab)). See #346.#582
b2934f9Thanks @rayhanadev! - Fix arn-no-raw-textfalse positive on fbtee translation tags. fbtee's<fbt>/<fbs>(and namespaced children like<fbt:param>) are compile-time translation tags that disappear at build time, so text inside<Text><fbt>…</fbt></Text>is really rendered inside<Text>and is safe on React Native. The rule now treatsfbt/fbsas transparent wrappers when every ancestor up to a text-handling component is also transparent, while still reporting raw text when an<fbt>is used outside a<Text>boundary. See #581.react-doctor@0.2.12
Patch Changes
#570
d917f62Thanks @aidenybai! - Add theno-prop-typesarchitecture rule. React 19 removed runtimepropTypesvalidation entirely — React no longer readsComponent.propTypes, so invalid props that used to log a console warning now pass silently. The rule flagsComponent.propTypes = { ... }assignments andstatic propTypesclass fields on component-cased identifiers, and is version-gated to React 19+ (requires: ["react:19"]) so projects wherepropTypesstill runs stay quiet. It steers users toward TypeScript prop types plus explicit runtime validation. See #460.#582
b2934f9Thanks @rayhanadev! - Fix arn-no-raw-textfalse positive on fbtee translation tags. fbtee's<fbt>/<fbs>(and namespaced children like<fbt:param>) are compile-time translation tags that disappear at build time, so text inside<Text><fbt>…</fbt></Text>is really rendered inside<Text>and is safe on React Native. The rule now treatsfbt/fbsas transparent wrappers when every ancestor up to a text-handling component is also transparent, while still reporting raw text when an<fbt>is used outside a<Text>boundary. See #581.#557
67848aeThanks @aidenybai! - Scope React subproject discovery so runningreact-doctorfrom a home directory no longer reports unrelated, vendored projects as ambiguous candidates. When the scan root has nopackage.jsonor workspace manifest, the filesystem crawl now skips OS/editor app-data directories (AppData,Library, …) and stops descending past a fixed depth. Previously a home-directory scan could surface React packages bundled inside editor installs (e.g. a VS Code extension underAppData) alongside real projects, aborting withMultiple React projects found. See #545.#576
e7a998aThanks @aidenybai! - Unrefprocess.stdinat CLI startup so an inherited stdin pipe/socket can no longer keep the event loop alive after a scan completes. Previouslyreact-doctor --json(and other one-shot runs) could finish the scan and flush the full report yet never exit when launched by a parent that holds the stdin write-end open (eval runners, CI harnesses, editor integrations) — Node kept the loop alive on the idleSocket fd=0. Interactive prompts are unaffected becauseprompts'readlineinterface re-refs stdin on demand.Updated dependencies [
d917f62,d0f5206,b2934f9]:@react-doctor/api@0.2.12
Patch Changes
@react-doctor/core@0.2.12
Patch Changes
d917f62,d0f5206,b2934f9]:Note
Low Risk
Release-metadata-only diff (versions, changelogs, deleted changesets); behavioral changes were reviewed in the feature PRs this aggregates.
Overview
This is a Changesets release PR: it bumps the monorepo from 0.2.11 → 0.2.12, folds pending changeset notes into package CHANGELOGs, and removes the consumed
.changeset/*.mdfiles. There is no application source in the diff—only version and release metadata.What 0.2.12 documents for consumers (already landed on
main):Lint plugins (
oxlint-plugin-react-doctor, mirrored ineslint-plugin-react-doctor): newno-prop-types(React 19+ only) andno-self-updating-effect;rn-no-raw-textno longer false-positives on fbtee<fbt>/<fbs>wrappers.CLI (
react-doctor): tighter subproject discovery when scanning from a home directory without a root manifest (skip app-data dirs, depth cap);process.stdinunref at startup so one-shot runs (e.g.--json) exit when a parent keeps stdin open.Internal (
@react-doctor/api,@react-doctor/core): version alignment and dependency bumps onoxlint-plugin-react-doctor@0.2.12only.Reviewed by Cursor Bugbot for commit d505d22. Bugbot is set up for automated code reviews on this repo. Configure here.