Skip to content

Commit 7b742d0

Browse files
committed
Update CHANGELOG and bump version
1 parent 692cdc8 commit 7b742d0

File tree

2 files changed

+69
-1
lines changed

2 files changed

+69
-1
lines changed

CHANGELOG.md

+68
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,70 @@ 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.6.0] - 2018-01-25
7+
### Added
8+
* Add [`forbid-dom-props`][] rule ([#1562][] @davazp)
9+
* Add [`jsx-child-element-spacing`][] rule ([#1515][] @pfhayes)
10+
* Add [`no-this-in-sfc`][] rule ([#1435][] @jomasti)
11+
* Add [`jsx-sort-default-props`][] rule ([#281][] @b0gok)
12+
* Add `message` option to [`boolean-prop-naming`][] ([#1588][] @louisscruz)
13+
* Add `beforeClosing` option to [`jsx-tag-spacing`][] ([#1396][] @cjskillingstad)
14+
* Add `instance-methods` and `instance-variables` to [`sort-comp`][] ([#599][] @RDGthree)
15+
* Add `propWrapperFunctions` support for [`boolean-prop-naming`][] ([#1478][] @jomasti)
16+
* Add warning for `React.addons.TestUtils` in [`no-deprecated`][] ([#1644][] @nirnaor)
17+
* Add URL to rule documentation to the rules metadata ([#1635][] @Arcanemagus)
18+
19+
### Fixed
20+
* Fix crashes in [`no-access-state-in-setstate`][] ([#1559][] @jomasti, [#1611][] @pfhayes)
21+
* Fix crash in [`require-optimization`][] when encountering arrays with empty items as values in object ([#1621][] @kamataryo)
22+
* Fix crash in [`no-unused-prop-types`][] when passing an empty function as a PropType ([#1542][] [#1581][] @kevinzwhuang)
23+
* Fix crash in [`no-typos`][] when using `PropType.shape` without arguments ([#1471][] @mrichmond)
24+
* Fix crash when using Unions in flow propTypes ([#1468][] @justinanastos)
25+
* Fix missing meta in [`jsx-tag-spacing`][] ([#1650][] @flyerhzm)
26+
* Fix [`no-unused-state`][] to detect usage of `this.state` as an object ([#1572][])
27+
* Fix [`no-access-state-in-setstate`][] to detect when the `state` variable is destructured from `this.state` ([#1597][] @jaaberg)
28+
* Fix [`jsx-no-literals`][] to correctly find string literals part of BinaryExpressions ([#1511][] @jaaberg)
29+
* Fix [`no-typos`][] false positive on custom propTypes with isRequired ([#1607][] @lfades)
30+
* Fix [`prop-types`][] to check for `nextProps` in `componentWillReceiveProps` ([#1636][] @xjmdoo)
31+
* Fix [`no-unknown-property`][] to not pascal-casing `crossorigin` attribute and only allow it on script/img/video ([#1642][] @ljharb)
32+
33+
### Changed
34+
* Improve [`jsx-wrap-multilines`][] auto fix ([#1576][] @sharmilajesupaul)
35+
* Export `defaultConfig` from [`sort-comp`][] rule for programmatic use ([#1578][] @Andarist)
36+
* Documentation improvements ([#1552][] @TSMMark, [#1566][] @lukeapage, [#1624][] @alexilyaev, @ljharb)
37+
* Update dependencies (@ljharb)
38+
39+
[7.6.0]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.5.1...v7.6.0
40+
[#1562]: https://github.com/yannickcr/eslint-plugin-react/pull/1562
41+
[#1515]: https://github.com/yannickcr/eslint-plugin-react/issues/1515
42+
[#1435]: https://github.com/yannickcr/eslint-plugin-react/issues/1435
43+
[#281]: https://github.com/yannickcr/eslint-plugin-react/issues/281
44+
[#1588]: https://github.com/yannickcr/eslint-plugin-react/pull/1588
45+
[#1396]: https://github.com/yannickcr/eslint-plugin-react/issues/1396
46+
[#599]: https://github.com/yannickcr/eslint-plugin-react/issues/599
47+
[#1478]: https://github.com/yannickcr/eslint-plugin-react/pull/1478
48+
[#1644]: https://github.com/yannickcr/eslint-plugin-react/issues/1644
49+
[#1635]: https://github.com/yannickcr/eslint-plugin-react/pull/1635
50+
[#1559]: https://github.com/yannickcr/eslint-plugin-react/issues/1559
51+
[#1611]: https://github.com/yannickcr/eslint-plugin-react/pull/1611
52+
[#1621]: https://github.com/yannickcr/eslint-plugin-react/pull/1621
53+
[#1542]: https://github.com/yannickcr/eslint-plugin-react/issues/1542
54+
[#1581]: https://github.com/yannickcr/eslint-plugin-react/issues/1581
55+
[#1471]: https://github.com/yannickcr/eslint-plugin-react/issues/1471
56+
[#1468]: https://github.com/yannickcr/eslint-plugin-react/issues/1468
57+
[#1650]: https://github.com/yannickcr/eslint-plugin-react/pull/1650
58+
[#1572]: https://github.com/yannickcr/eslint-plugin-react/issues/1572
59+
[#1597]: https://github.com/yannickcr/eslint-plugin-react/issues/1597
60+
[#1511]: https://github.com/yannickcr/eslint-plugin-react/issues/1511
61+
[#1607]: https://github.com/yannickcr/eslint-plugin-react/issues/1607
62+
[#1636]: https://github.com/yannickcr/eslint-plugin-react/issues/1636
63+
[#1642]: https://github.com/yannickcr/eslint-plugin-react/issues/1642
64+
[#1576]: https://github.com/yannickcr/eslint-plugin-react/pull/1576
65+
[#1578]: https://github.com/yannickcr/eslint-plugin-react/pull/1578
66+
[#1552]: https://github.com/yannickcr/eslint-plugin-react/pull/1552
67+
[#1566]: https://github.com/yannickcr/eslint-plugin-react/pull/1566
68+
[#1624]: https://github.com/yannickcr/eslint-plugin-react/pull/1624
69+
670
## [7.5.1] - 2017-11-19
771
### Fixed
872
* Fix [`jsx-no-bind`][] crash ([#1543][] @jomasti)
@@ -2045,3 +2109,7 @@ If you're still not using React 15 you can keep the old behavior by setting the
20452109
[`destructuring-assignment`]: docs/rules/destructuring-assignment.md
20462110
[`no-access-state-in-setstate`]: docs/rules/no-access-state-in-setstate.md
20472111
[`button-has-type`]: docs/rules/button-has-type.md
2112+
[`forbid-dom-props`]: docs/rules/forbid-dom-props.md
2113+
[`jsx-child-element-spacing`]: docs/rules/jsx-child-element-spacing.md
2114+
[`no-this-in-sfc`]: docs/rules/no-this-in-sfc.md
2115+
[`jsx-sort-default-props`]: docs/rules/jsx-sort-default-props.md

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.5.1",
3+
"version": "7.6.0",
44
"author": "Yannick Croissant <[email protected]>",
55
"description": "React specific linting rules for ESLint",
66
"main": "index.js",

0 commit comments

Comments
 (0)