@@ -5,14 +5,97 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
5
5
6
6
## Unreleased
7
7
8
+ ### Fixed
9
+ * [ ` boolean-prop-naming ` ] : avoid a crash with a non-TSTypeReference type ([ #3718 ] [ ] @developer-bandi )
10
+
11
+ [ #3718 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3718
12
+
13
+ ## [ 7.34.1] - 2024.03.15
14
+
15
+ ### Fixed
16
+ * [ ` jsx-no-leaked-render ` ] : prevent wrongly adding parens ([ #3700 ] [ ] @developer-bandi )
17
+ * [ ` boolean-prop-naming ` ] : detect TS interfaces ([ #3701 ] [ ] @developer-bandi )
18
+ * [ ` boolean-prop-naming ` ] : literalType error fix ([ #3704 ] [ ] @developer-bandi )
19
+ * [ ` boolean-prop-naming ` ] : allow TSIntersectionType ([ #3705 ] [ ] @developer-bandi )
20
+ * [ ` no-unknown-property ` ] : support ` popover ` , ` popovertarget ` , ` popovertargetaction ` attributes ([ #3707 ] [ ] @ljharb )
21
+ * [ ` no-unknown-property ` ] : only match ` data-* ` attributes containing ` - ` ([ #3713 ] [ ] @silverwind )
22
+ * [ ` checked-requires-onchange-or-readonly ` ] : correct options that were behaving opposite ([ #3715 ] [ ] @jaesoekjjang )
23
+
24
+ ### Changed
25
+ * [ ` boolean-prop-naming ` ] : improve error message (@ljharb )
26
+
27
+ [ 7.34.1 ] : https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1
28
+ [ #3715 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3715
29
+ [ #3713 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3713
30
+ [ #3707 ] : https://github.com/jsx-eslint/eslint-plugin-react/issues/3707
31
+ [ #3705 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3705
32
+ [ #3704 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3704
33
+ [ #3701 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3701
34
+ [ #3700 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3700
35
+
36
+ ## [ 7.34.0] - 2024.03.03
37
+
8
38
### Added
9
39
* [ ` sort-prop-types ` ] : give errors on TS types ([ #3615 ] [ ] @akulsr0 )
40
+ * [ ` no-invalid-html-attribute ` ] : add support for ` apple-touch-startup-image ` ` rel ` attributes in ` link ` tags ([ #3638 ] [ ] @thomashockaday )
41
+ * [ ` no-unknown-property ` ] : add requireDataLowercase option ([ #3645 ] [ ] @HermanBilous )
42
+ * [ ` no-unknown-property ` ] : add ` displaystyle ` on ` <math> ` ([ #3652 ] [ ] @lounsbrough )
43
+ * [ ` prefer-read-only-props ` ] , [ ` prop-types ` ] , component detection: allow components to be async functions ([ #3654 ] [ ] @pnodet )
44
+ * [ ` no-unknown-property ` ] : support ` onResize ` on audio/video tags ([ #3662 ] [ ] @caesar1030 )
45
+ * [ ` jsx-wrap-multilines ` ] : add ` never ` option to prohibit wrapping parens on multiline JSX ([ #3668 ] [ ] @reedws )
46
+ * [ ` jsx-filename-extension ` ] : add ` ignoreFilesWithoutCode ` option to allow empty files ([ #3674 ] [ ] @burtek )
47
+ * [ ` jsx-boolean-value ` ] : add ` assumeUndefinedIsFalse ` option ([ #3675 ] [ ] @developer-bandi )
48
+ * ` linkAttribute ` setting, [ ` jsx-no-target-blank ` ] : support multiple properties ([ #3673 ] [ ] @burtek )
49
+ * [ ` jsx-no-script-url ` ] : add ` includeFromSettings ` option to support ` linkAttributes ` setting ([ #3673 ] [ ] @burtek )
50
+ * [ ` jsx-one-expression-per-line ` ] : add ` non-jsx ` option to allow non-JSX children in one line ([ #3677 ] [ ] @burtek )
51
+ * add [ ` checked-requires-onchange-or-readonly ` ] rule ([ #3680 ] [ ] @jaesoekjjang )
10
52
11
53
### Fixed
12
54
* [ ` jsx-no-leaked-render ` ] : preserve RHS parens for multiline jsx elements while fixing ([ #3623 ] [ ] @akulsr0 )
55
+ * [ ` jsx-key ` ] : detect conditional returns ([ #3630 ] [ ] @yialo )
56
+ * [ ` jsx-newline ` ] : prevent a crash when ` allowMultilines ` ([ #3633 ] [ ] @ljharb )
57
+ * [ ` no-unknown-property ` ] : use a better regex to avoid a crash ([ #3666 ] [ ] @ljharb @SCH227 )
58
+ * [ ` prop-types ` ] : handle nested forwardRef + memo ([ #3679 ] [ ] @developer-bandi )
59
+ * [ ` no-unknown-property ` ] : add ` fetchPriority ` ([ #3697 ] [ ] @SevereCloud )
60
+ * [ ` forbid-elements ` ] : prevent a crash on ` createElement() ` ([ #3632 ] [ ] @ljharb )
13
61
62
+ ### Changed
63
+ * [ ` jsx-boolean-value ` ] : make error messages clearer ([ #3691 ] [ ] @developer-bandi )
64
+ * [ Refactor] ` propTypes ` : extract type params to var ([ #3634 ] [ ] @HenryBrown0 )
65
+ * [ Refactor] [ ` boolean-prop-naming ` ] : invert if statement ([ #3634 ] [ ] @HenryBrown0 )
66
+ * [ Refactor] [ ` function-component-definition ` ] : exit early if no type params ([ #3634 ] [ ] @HenryBrown0 )
67
+ * [ Refactor] [ ` jsx-props-no-multi-spaces ` ] : extract type parameters to var ([ #3634 ] [ ] @HenryBrown0 )
68
+ * [ Docs] [ ` jsx-key ` ] : fix correct example ([ #3656 ] [ ] @developer-bandi )
69
+ * [ Tests] ` jsx-wrap-multilines ` : passing tests ([ #3545 ] [ ] @burtek )
70
+ * [ Docs] [ ` iframe-missing-sandbox ` ] : fix link to iframe attribute on mdn ([ #3690 ] [ ] @nnmrts )
71
+ * [ Docs] [ ` hook-use-state ` ] : fix an undefined variable ([ #3626 ] [ ] @chentsulin )
72
+
73
+ [ 7.34.0 ] : https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.0
74
+ [ #3697 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3697
75
+ [ #3691 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3691
76
+ [ #3690 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3690
77
+ [ #3680 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3680
78
+ [ #3679 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3679
79
+ [ #3677 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3677
80
+ [ #3675 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3675
81
+ [ #3674 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3674
82
+ [ #3673 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3673
83
+ [ #3668 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3668
84
+ [ #3666 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3666
85
+ [ #3662 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3662
86
+ [ #3656 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3656
87
+ [ #3654 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3654
88
+ [ #3652 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3652
89
+ [ #3645 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3645
90
+ [ #3638 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3638
91
+ [ #3634 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3634
92
+ [ #3633 ] : https://github.com/jsx-eslint/eslint-plugin-react/issues/3633
93
+ [ #3632 ] : https://github.com/jsx-eslint/eslint-plugin-react/issues/3632
94
+ [ #3630 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3630
95
+ [ #3626 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3626
14
96
[ #3623 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3623
15
97
[ #3615 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3615
98
+ [ #3545 ] : https://github.com/jsx-eslint/eslint-plugin-react/issues/3545
16
99
17
100
## [ 7.33.2] - 2023.08.15
18
101
@@ -4098,6 +4181,7 @@ If you're still not using React 15 you can keep the old behavior by setting the
4098
4181
4099
4182
[ `boolean-prop-naming` ] : docs/rules/boolean-prop-naming.md
4100
4183
[ `button-has-type` ] : docs/rules/button-has-type.md
4184
+ [ `checked-requires-onchange-or-readonly` ] : docs/rules/checked-requires-onchange-or-readonly.md
4101
4185
[ `default-props-match-prop-types` ] : docs/rules/default-props-match-prop-types.md
4102
4186
[ `destructuring-assignment` ] : docs/rules/destructuring-assignment.md
4103
4187
[ `display-name` ] : docs/rules/display-name.md
0 commit comments