Skip to content

Commit e20522c

Browse files
committed
Update CHANGELOG and bump version
1 parent bb2b8db commit e20522c

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

CHANGELOG.md

+26-6
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,31 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44
This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
55

6+
## [7.20.4] - 2020.07.26
7+
8+
### Fixed
9+
* improve algorithm to check if a variable is coming from the pragma ([#2706][] @jzabala)
10+
* [`prop-types`]: handle component returning null ([#2696][] @hank121314)
11+
* [`prop-types`]/[`function-component-definition`]: Add check for first letter capitalization in functional component detection ([#2699][] @jzabala)
12+
* [`prop-types`]: use variable value in prop type fields defined by variables ([#2704][] @jzabala)
13+
* [`no-typos`]: warn on a bindingless `react` import
14+
15+
### Changed
16+
* [Tests] `boolean-prop-naming`: Added test for function invocation of bool ([#2697][] @ajkovar)
17+
* [Tests] `jsx-curly-brace-presence`, `jsx-no-comment-textnodes`: add passing tests
18+
* [Refactor] `no-unused-state`: avoid a loop
19+
20+
[7.20.4]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.4
21+
[#2704]: https://github.com/yannickcr/eslint-plugin-react/pull/2704
22+
[#2699]: https://github.com/yannickcr/eslint-plugin-react/pull/2699
23+
[#2697]: https://github.com/yannickcr/eslint-plugin-react/pull/2697
24+
[#2696]: https://github.com/yannickcr/eslint-plugin-react/pull/2696
25+
626
## [7.20.3] - 2020-06-30
727

828
### Fixed
9-
* [Fix] `no-unused-prop-types`/`prop-types`: typescript interface support literal type and only FunctionComponent should have propTypes validation ([#2690][] @hank121314)
10-
* [Fix] `no-unused-prop-types`/TypeScript: avoid crash on indexable interface ([#2687][] @ljharb)
29+
* [`no-unused-prop-types`]/[`prop-types`]: typescript interface support literal type and only FunctionComponent should have propTypes validation ([#2690][] @hank121314)
30+
* [`no-unused-prop-types`]/TypeScript: avoid crash on indexable interface ([#2687][] @ljharb)
1131

1232
[7.20.3]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.2...v7.20.3
1333
[#2690]: https://github.com/yannickcr/eslint-plugin-react/pull/2690
@@ -16,10 +36,10 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1636
## [7.20.2] - 2020-06-29
1737

1838
### Fixed
19-
* [Fix] [`no-unused-prop-types`]: handle optional chaining ([#2679][] @hank121314)
20-
* [Fix] [`jsx-pascal-case`]: fix a false positive with "H1" ([#2683][] @ljharb)
21-
* [Fix] [`jsx-no-useless-fragment`]: avoid a crash when autofixing a self-closing React.Fragment ([#2680][] @ljharb)
22-
* [Fix] [`forbid-prop-types`]: avoid crash ([#2682][] @ljharb)
39+
* [`no-unused-prop-types`]: handle optional chaining ([#2679][] @hank121314)
40+
* [`jsx-pascal-case`]: fix a false positive with "H1" ([#2683][] @ljharb)
41+
* [`jsx-no-useless-fragment`]: avoid a crash when autofixing a self-closing React.Fragment ([#2680][] @ljharb)
42+
* [`forbid-prop-types`]: avoid crash ([#2682][] @ljharb)
2343

2444
[7.20.2]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.1...v7.20.2
2545
[#2683]: https://github.com/yannickcr/eslint-plugin-react/issues/2683

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-react",
3-
"version": "7.20.3",
3+
"version": "7.20.4",
44
"author": "Yannick Croissant <[email protected]>",
55
"description": "React specific linting rules for ESLint",
66
"main": "index.js",

0 commit comments

Comments
 (0)