Skip to content

Commit e7219e0

Browse files
committed
docs: update changelog
1 parent a6c3610 commit e7219e0

File tree

2 files changed

+94
-0
lines changed

2 files changed

+94
-0
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
## v2.0.0 (TBD)
2+
3+
### 💥 Breaking Changes
4+
5+
#### Plugins and Rules
6+
7+
The following rules have been renamed:
8+
9+
- `react-x/no-comment-textnodes` to `react-x/jsx-no-comment-textnodes`
10+
- `react-x/no-nested-components` to `react-x/no-nested-component-definitions`
11+
- `react-x/prefer-react-namespace-import` to `react-x/prefer-namespace-import`
12+
13+
The following rules have been integrated into new rules:
14+
15+
- `react-x/jsx-shorthand-boolean` replaces `avoid-shorthand-boolean` and `prefer-shorthand-boolean`
16+
- `react-x/jsx-shorthand-fragment` replaces `avoid-shorthand-fragment` and `prefer-shorthand-fragment`
17+
- `react-hooks-extra/no-direct-set-state-in-use-effect` replaces `no-direct-set-state-in-use-layout-effect`
18+
19+
The following rules have been relocated to new plugins:
20+
21+
- `react-hooks-extra/no-unnecessary-use-callback` to `react-x/no-unnecessary-use-callback`
22+
- `react-hooks-extra/no-unnecessary-use-memo` to `react-x/no-unnecessary-use-memo`
23+
- `react-hooks-extra/no-unnecessary-use-prefix` to `react-x/no-unnecessary-use-prefix`
24+
- `react-hooks-extra/prefer-use-state-lazy-initialization` to `react-x/prefer-use-state-lazy-initialization`
25+
26+
#### Settings
27+
28+
The following settings have been removed from `settings["react-x"]`:
29+
30+
- `additionalComponents`
31+
- `additionalHooks`
32+
- `skipImportCheck`
33+
34+
### ✨ New
35+
36+
- feat: add `react-x/jsx-shorthand-boolean` rule to replace `avoid-shorthand-boolean` and `prefer-shorthand-boolean` rules
37+
- feat: add `react-x/jsx-shorthand-fragment` rule to replace `avoid-shorthand-fragment` and `prefer-shorthand-fragment` rules
38+
- feat: add `react-x/no-forbidden-props` rule to disallow specific props on components
39+
- feat: add `react-x/no-unnecessary-key` rule to report unnecessary `key` props on elements
40+
- feat: add `react-x/no-unused-props` rule to report unused props in components
41+
- feat: add `react-dom/no-string-style-prop` rule to disallow string values in `style` prop
42+
- feat: add `react-dom/prefer-namespace-import` rule to enforce using namespace import for `react-dom`
43+
44+
### 🪄 Improvements
45+
46+
- build: migrate to `tsdown` for building the packages
47+
148
## v1.53.1 (2025-09-11)
249

350
### 🐞 Fixes

apps/website/content/docs/changelog.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,53 @@
22
title: Changelog
33
---
44

5+
## v2.0.0 (TBD)
6+
7+
### 💥 Breaking Changes
8+
9+
#### Plugins and Rules
10+
11+
The following rules have been renamed:
12+
13+
- `react-x/no-comment-textnodes` to `react-x/jsx-no-comment-textnodes`
14+
- `react-x/no-nested-components` to `react-x/no-nested-component-definitions`
15+
- `react-x/prefer-react-namespace-import` to `react-x/prefer-namespace-import`
16+
17+
The following rules have been integrated into new rules:
18+
19+
- `react-x/jsx-shorthand-boolean` replaces `avoid-shorthand-boolean` and `prefer-shorthand-boolean`
20+
- `react-x/jsx-shorthand-fragment` replaces `avoid-shorthand-fragment` and `prefer-shorthand-fragment`
21+
- `react-hooks-extra/no-direct-set-state-in-use-effect` replaces `no-direct-set-state-in-use-layout-effect`
22+
23+
The following rules have been relocated to new plugins:
24+
25+
- `react-hooks-extra/no-unnecessary-use-callback` to `react-x/no-unnecessary-use-callback`
26+
- `react-hooks-extra/no-unnecessary-use-memo` to `react-x/no-unnecessary-use-memo`
27+
- `react-hooks-extra/no-unnecessary-use-prefix` to `react-x/no-unnecessary-use-prefix`
28+
- `react-hooks-extra/prefer-use-state-lazy-initialization` to `react-x/prefer-use-state-lazy-initialization`
29+
30+
#### Settings
31+
32+
The following settings have been removed from `settings["react-x"]`:
33+
34+
- `additionalComponents`
35+
- `additionalHooks`
36+
- `skipImportCheck`
37+
38+
### ✨ New
39+
40+
- feat: add `react-x/jsx-shorthand-boolean` rule to replace `avoid-shorthand-boolean` and `prefer-shorthand-boolean` rules
41+
- feat: add `react-x/jsx-shorthand-fragment` rule to replace `avoid-shorthand-fragment` and `prefer-shorthand-fragment` rules
42+
- feat: add `react-x/no-forbidden-props` rule to disallow specific props on components
43+
- feat: add `react-x/no-unnecessary-key` rule to report unnecessary `key` props on elements
44+
- feat: add `react-x/no-unused-props` rule to report unused props in components
45+
- feat: add `react-dom/no-string-style-prop` rule to disallow string values in `style` prop
46+
- feat: add `react-dom/prefer-namespace-import` rule to enforce using namespace import for `react-dom`
47+
48+
### 🪄 Improvements
49+
50+
- build: migrate to `tsdown` for building the packages
51+
552
## v1.53.1 (2025-09-11)
653

754
### 🐞 Fixes

0 commit comments

Comments
 (0)