Skip to content

Latest commit

 

History

History
648 lines (507 loc) · 24.8 KB

CHANGELOG.md

File metadata and controls

648 lines (507 loc) · 24.8 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. This change log adheres to standards from Keep a CHANGELOG.

3.7.1 - 2015-11-05

Fixed

  • Fix sort-comp crash on stateless components (#285)
  • Fix crash in ES5 components detection (#286)
  • Fix ES5 components detection from nested functions (#287)

3.7.0 - 2015-11-05

Added

  • Add jsx-no-bind rule (#184 @Daniel15)
  • Add line-aligned option to jsx-closing-bracket-location (#243 @alopatin)

Fixed

  • Fix a lot of issues about components detection, mostly related to stateless components (#264, #267, #268, #276, #277, #280)

Changed

  • Update dependencies

3.6.3 - 2015-10-20

Fixed

  • Fix display-name for stateless components (#256)
  • Fix prop-types props validation in constructor (#259)
  • Fix typo in README (#261 @chiedojohn)

3.6.2 - 2015-10-18

Fixed

  • Fix wrong prop-types detection (#255)

3.6.1 - 2015-10-18

Fixed

  • Fix props validation in constructor (#254)

3.6.0 - 2015-10-18

Added

  • Add support for stateless function components to display-name and prop-types (#237)
  • Add callbacksLast option to jsx-sort-props and jsx-sort-prop-types (#242 @Daniel15)
  • Add prefer-es6-class rule (#247 @hamiltondanielb)

Fixed

  • Fix forbid-prop-types crash with destructured PropTypes (#230 @epmatsw)
  • Fix forbid-prop-types to do not modify AST directly (#249 @rhysd)
  • Fix prop-types crash with empty destructuring (#251)
  • Fix prop-types to not validate computed keys in destructuring (#236)

Changed

  • Update dependencies
  • Improve components detection (#233)
  • Documentation improvements (#248 @dguo)

3.5.1 - 2015-10-01

Fixed

  • Fix no-direct-mutation-state to report only in React components (#229)
  • Fix forbid-prop-types for arrayOf and instanceOf (#230)

Changed

  • Documentation improvements (#232 @edge)

3.5.0 - 2015-09-28

Added

  • Add no-direct-mutation-state rule (#133, #201 @petersendidit)
  • Add forbid-prop-types rule (#215 @pwmckenna)

Fixed

  • Fix no-did-mount/update-set-state rules, these rules were not working on ES6 classes

Changed

  • Update dependencies
  • Documentation improvements (#222 @Andersos)

3.4.2 - 2015-09-18

Fixed

  • Only display the jsx-quotes deprecation warning with the default formatter (#221)

3.4.1 - 2015-09-17

Fixed

  • Fix jsx-quotes rule deprecation message (#220)

3.4.0 - 2015-09-16

Added

  • Add namespaced JSX support to jsx-no-undef (#219 @zertosh)
  • Add option to jsx-closing-bracket-location to configure different styles for self-closing and non-empty tags (#208 @evocateur)

Deprecated

  • Deprecate jsx-quotes rule, will now trigger a warning if used (#217)

3.3.2 - 2015-09-10

Changed

  • Add state in lifecycle methods for sort-comp rule (#197 @mathieudutour)
  • Treat component with render which returns createElement as valid (#206 @epmatsw)

Fixed

  • Fix allowed methods on arrayOf in prop-types (#146)
  • Fix default configuration for jsx-boolean-value (#210)

3.3.1 - 2015-09-01

Changed

  • Update dependencies
  • Update changelog to follow the Keep a CHANGELOG standards
  • Documentation improvements (#198 @lencioni)

Fixed

  • Fix jsx-closing-bracket-location for multiline props (#199)

3.3.0 - 2015-08-26

Added

  • Add jsx-indent-props rule (#15, #181)
  • Add no-set-state rule (#197 @markdalgleish)
  • Add jsx-closing-bracket-location rule (#14, #64)

Changed

  • Update dependencies

Fixed

  • Fix crash on propTypes declarations with an empty body (#193 @mattyod)

3.2.3 - 2015-08-16

Changed

  • Update dependencies

Fixed

  • Fix object rest/spread handling (#187 @xjamundx, #189 @Morantron)

3.2.2 - 2015-08-11

Changed

  • Remove peerDependencies (#178)

3.2.1 - 2015-08-08

Fixed

  • Fix crash when propTypes don't have any parent (#182)
  • Fix jsx-no-literals reporting errors outside JSX (#183 @CalebMorris)

3.2.0 - 2015-08-04

Added

  • Add jsx-max-props-per-line rule (#13)
  • Add jsx-no-literals rule (#176 @CalebMorris)

Changed

  • Update dependencies

Fixed

  • Fix object access in jsx-no-undef (#172)

3.1.0 - 2015-07-28

Added

  • Add event handlers to no-unknown-property (#164 @mkenyon)
  • Add customValidators option to prop-types (#145 @CalebMorris)

Changed

  • Update dependencies
  • Documentation improvements (#167 @ngbrown)

Fixed

  • Fix comment handling in jsx-curly-spacing (#165)

3.0.0 - 2015-07-21

Added

  • Add jsx-no-duplicate-props rule (#161 @hummlas)
  • Add allowMultiline option to the jsx-curly-spacing rule (#156 @mathieumg)

Breaking

  • In jsx-curly-spacing braces spanning multiple lines are now allowed with never option (#156 @mathieumg)

Fixed

  • Fix multiple var and destructuring handling in props-types (#159)
  • Fix crash when retrieving propType name (#163)

2.7.1 - 2015-07-16

Changed

  • Update peerDependencies requirements (#154)
  • Update codebase for ESLint v1.0.0
  • Change oneOfType to actually keep the child types (#148 @CalebMorris)
  • Documentation improvements (#147 @lencioni)

2.7.0 - 2015-07-11

Added

  • Add no-danger rule (#138 @scothis)
  • Add jsx-curly-spacing rule (#142)

Fixed

  • Fix properties limitations on propTypes (#139)
  • Fix component detection (#144)

2.6.4 - 2015-07-02

Fixed

  • Fix simple destructuring handling (#137)

2.6.3 - 2015-06-30

Fixed

  • Fix ignore option for prop-types rule (#135)
  • Fix nested props destructuring (#136)

2.6.2 - 2015-06-28

Fixed

  • Fix props validation when using a prop as an object key (#132)

2.6.1 - 2015-06-28

Fixed

  • Fix crash in prop-types when encountering an empty variable declaration (#130)

2.6.0 - 2015-06-28

Added

  • Add support for nested propTypes (#62 #105 @Cellule)
  • Add require-extension rule (#117 @scothis)
  • Add support for computed string format in prop-types (#127 @Cellule)
  • Add ES6 methods to sort-comp default configuration (#97 #122)
  • Add support for props destructuring directly on the this keyword
  • Add acceptTranspilerName option to display-name rule (#75)
  • Add schema to validate rules options

Changed

  • Update dependencies

Fixed

  • Fix test command for Windows (#114 @Cellule)
  • Fix detection of missing displayName and propTypes when ecmaFeatures.jsx is false (#119 @rpl)
  • Fix propTypes destructuring with properties as string (#118 @Cellule)
  • Fix jsx-sort-prop-types support for keys as string (#123 @Cellule)
  • Fix crash if a ClassProperty has only one token (#125)
  • Fix invalid class property handling in jsx-sort-prop-types (#129)

2.5.2 - 2015-06-14

Fixed

  • Fix regression in jsx-uses-vars with babel-eslint (#110)

2.5.1 - 2015-06-14

Changed

  • Update dependencies
  • Documentation improvements (#99 @morenoh149)

Fixed

  • Fix prop-types crash when propTypes definition is invalid (#95)
  • Fix jsx-uses-vars for ES6 classes (#96)
  • Fix hasOwnProperty that is taken for a prop (#102)

2.5.0 - 2015-06-04

Added

  • Add option to make wrap-multilines more granular (#94 @PiPeep)

Changed

  • Update dependencies
  • Documentation improvements (#92 #93 @lencioni)

2.4.0 - 2015-05-30

Added

  • Add pragma option to jsx-uses-react (#82 @dominicbarnes)
  • Add context props to sort-comp (#89 @zertosh)

Changed

  • Update dependencies
  • Documentation improvement (#91 @matthewwithanm)

Fixed

  • Fix itemID in no-unknown-property rule (#85 @cody)
  • Fix license field in package.json (#90 @zertosh)
  • Fix usage of contructor in sort-comp options (#88)

2.3.0 - 2015-05-14

Added

  • Add sort-comp rule (#39)
  • Add allow-in-func option to no-did-mount-set-state (#56)

Changed

  • Update dependencies
  • Improve errors locations for prop-types

Fixed

  • Fix quoted propTypes in ES6 (#77)

2.2.0 - 2015-04-22

Added

  • Add jsx-sort-prop-types rule (#38 @AlexKVal)

Changed

  • Documentation improvements (#71 @AlexKVal)

Fixed

  • Fix variables marked as used when a prop has the same name (#69 @burnnat)

2.1.1 - 2015-04-17

Added

  • Add support for classes static properties (#43)
  • Add tests for the babel-eslint parser
  • Add ESLint as peerDependency (#63 @AlexKVal)

Changed

  • Documentation improvements (#55 @AlexKVal, #60 @chriscalo)

2.1.0 - 2015-04-06

Added

  • Add jsx-boolean-value rule (#11)
  • Add support for static methods in display-name and prop-types (#48)

Changed

  • Update jsx-sort-props to reset the alphabetical verification on spread (#47 @zertosh)
  • Update jsx-uses-vars to be enabled by default (#49 @banderson)

Fixed

  • Fix describing comment for hasSpreadOperator() method (#53 @AlexKVal)

2.0.2 - 2015-03-31

Fixed

  • Fix ignore rest spread when destructuring props (#46)
  • Fix component detection in prop-types and display-name (#45)
  • Fix spread handling in jsx-sort-props (#42 @zertosh)

2.0.1 - 2015-03-30

Fixed

  • Fix props detection when used in an object (#41)

2.0.0 - 2015-03-29

Added

  • Add jsx-sort-props rule (#16)
  • Add no-unknown-property rule (#28)
  • Add ignore option to prop-types rule

Changed

  • Update dependencies

Breaking

  • In prop-types the children prop is no longer ignored

Fixed

  • Fix components are now detected when using ES6 classes (#24)
  • Fix prop-types now return the right line/column (#33)
  • Fix props are now detected when destructuring (#27)
  • Fix only check for computed property names in prop-types (#36 @burnnat)

1.6.1 - 2015-03-25

Changed

  • Update jsx-quotes documentation

Fixed

  • Fix jsx-no-undef with babel-eslint (#30)
  • Fix jsx-quotes on Literal childs (#29)

1.6.0 - 2015-03-22

Added

  • Add jsx-no-undef rule
  • Add jsx-quotes rule (#12)
  • Add @jsx pragma support (#23)

Changed

  • Allow this.getState references (not calls) in lifecycle methods (#22 @benmosher)
  • Update dependencies

Fixed

  • Fix react-in-jsx-scope in Node.js env
  • Fix usage of propTypes with an external object (#9)

1.5.0 - 2015-03-14

Added

  • Add jsx-uses-vars rule

Fixed

  • Fix jsx-uses-react for ESLint 0.17.0

1.4.1 - 2015-03-03

Fixed

  • Fix this.props.children marked as missing in props validation (#7)
  • Fix usage of this.props without property (#8)

1.4.0 - 2015-02-24

Added

  • Add react-in-jsx-scope rule (#5 @glenjamin)
  • Add jsx-uses-react rule (#6 @glenjamin)

Changed

  • Update prop-types to check props usage insead of propTypes presence (#4)

1.3.0 - 2015-02-24

Added

  • Add no-did-mount-set-state rule
  • Add no-did-update-set-state rule

Changed

  • Update dependencies

1.2.2 - 2015-02-09

Changed

  • Update dependencies

Fixed

  • Fix childs detection in self-closing-comp (#3)

1.2.1 - 2015-01-29

Changed

  • Update Readme
  • Update dependencies
  • Update wrap-multilines and self-closing-comp rules for ESLint 0.13.0

1.2.0 - 2014-12-29

Added

  • Add self-closing-comp rule

Fixed

  • Fix display-name and prop-types rules

1.1.0 - 2014-12-28

Added

  • Add display-name rule
  • Add wrap-multilines rule
  • Add rules documentation
  • Add rules tests

1.0.0 - 2014-12-16

Added

  • First revision