Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

CHANGELOG.md 12 KiB

před 3 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. 6.1.2 / 2018-10-05
  2. =================
  3. - [fix] Add link-type styling recommendation to anchor-is-valid #486
  4. - [fix] `label-has-for`: `textarea`s are inputs too #470
  5. 6.1.1 / 2018-07-03
  6. ==================
  7. - [fix] aria-proptypes support for idlist, #454
  8. - [fix] Image with expanded props throws 'The prop must be a JSXAttribute collected by the AST parser.', #459
  9. - [fix] label-has-for: broken in v6.1.0, #455
  10. 6.1.0 / 2018-06-26
  11. ==================
  12. - [new] Support for eslint v5, #451
  13. - [new] aria-query updated to latest version
  14. - [new] eslint-config-airbnb-base updated to the latest version
  15. - [deprecate] The rule label-has-for is deprecated and replaced with label-has-associated-control
  16. - [fix] heading-has-content updated to work with custom components, #431
  17. - [fix] aria-errormessage prop is now a valid ARIA property, #424
  18. 6.0.2 / 2017-06-28
  19. ==================
  20. - [fix] Prefix directories in `.npmignore` with `/` so it only matches the top-level directory
  21. 6.0.1 / 2017-06-28
  22. ==================
  23. - [temporary] Remove `src` and `flow` from package to resolve flow issues for consuming packages.
  24. 6.0.0 / 2017-06-05
  25. =================
  26. - [new] Add rule `anchor-is-valid`. See documentation for configuration options. Thanks @AlmeroSteyn.
  27. - [breaking] `href-no-hash` replaced with `anchor-is-valid` in the recommended and strict configs. Use the `invalidHref` aspect (active by default) in `anchor-is-valid` to continue to apply the behavior provided by `href-no-hash`.
  28. - [breaking] Removed support for ESLint peer dependency at version ^2.10.2.
  29. - [update] The rule `label-has-for` now allows inputs nested in label tags. Previously it was strict about requiring a `for` attribute. Thanks @ignatiusreza and @mjaltamirano.
  30. - [update] New configuration for `interactive-supports-focus`. Recommended and strict configs for now contain a trimmed-down whitelist of roles that will be checked.
  31. - [fix] Incompatibility between node version 4 and 5. Thanks @evilebottnawi.
  32. - [fix] Missing README entry for `media-has-caption`. Thanks @ismail-syed.
  33. - [fix] README updates explaining recommended and strict configs. Thanks @Donaldini.
  34. - [fix] Updated to aria-query@0.7.0, which includes new ARIA 1.1 properties. Previously, the `aria-props` rule incorrectly threw errors for these new properties.
  35. 5.1.1 / 2017-07-03
  36. ==================
  37. - [fix] revert v6 breaking changes unintentionally added in v5.1 (#283)
  38. 5.1.0 / 2017-06-26
  39. ==================
  40. - [new] Support eslint v4. (#267)
  41. - [new] `label-has-for`: add "required" option to allow customization (#240)
  42. - [new] add `anchor-is-valid` (#224)
  43. - [new] `interactive-supports-focus`: Split interactive supports focus into tabbable and focusable cases (#236)
  44. - [new] `anchor-is-valid`: add `aspects` option (#251)
  45. - [Deps] Bump aria-query to 0.7.0
  46. 5.0.3 / 2017-05-16
  47. ==================
  48. - [fix] Remove `flow` directory from `.npmignore` to accommodate explicit imports from `v5.0.2`.
  49. 5.0.2 / 2017-05-16
  50. ==================
  51. - [fix] Explicitly import flow types to resolve flow failures in consuming projects.
  52. 5.0.1 / 2017-05-07
  53. ==================
  54. - [fix] Polyfill Array.includes for node < 6 support.
  55. 5.0.0 / 2017-05-05
  56. ==================
  57. - [breaking] Refactor `img-has-alt` rule into `alt-text` rule
  58. - [breaking] Rule `onclick-has-role` is removed. Replaced with `no-static-element-interactions` and `no-noninteractive-element-interactions`.
  59. - [breaking] Rule `onclick-has-focus` is removed. Replaced with `interactive-supports-focus`.
  60. - [new] - Add rule `media-has-caption` rule
  61. - [new] - Add `ignoreNonDOM` option to `no-autofocus`.
  62. - [new] - Add rule `no-interactive-element-to-noninteractive-role`
  63. - [new] - Add rule `no-noninteractive-element-to-interactive-role`
  64. - [new] - Add rule `no-noninteractive-tabindex`
  65. - [new] - Configs split into "recommended" and "strict".
  66. - [enhanced] - Configuration options added to `no-static-element-interactions` and `no-noninteractive-element-interactions`. Options allow for fine-tuning of elements and event handlers to check.
  67. 4.0.0 / 2017-02-04
  68. ==================
  69. Add new rules:
  70. - `jsx-a11y/accessible-emoji`
  71. - `jsx-a11y/aria-activedescendant-has-tabindex`
  72. - `jsx-a11y/iframe-has-title`
  73. - `jsx-a11y/no-autofocus`
  74. - `jsx-a11y/no-distracting-elements` *(breaking: consolidated no-marquee and no-blink into this rule.)*
  75. - `jsx-a11y/no-redundant-roles`
  76. - [fix] - redundant-alt to only check full words
  77. - [docs] - Documentation upgrades across the board.
  78. - [new] - Add `ignoreNonDom`
  79. - [dev] - Add script to scaffold new rule creation.
  80. 3.0.2 / 2016-12-14
  81. ==================
  82. - [fix] - make `aria-invalid` values true and false pass for rule `aria-proptypes`
  83. 3.0.1 / 2016-10-11
  84. ==================
  85. - [breaking] - Update all rule schemas to accept objects. This allows a future schema expansion to not be a breaking change.
  86. - [breaking] - All rules with schemas that accepted a string OR array, now only allows an array.
  87. - [new] - `href-no-hash` accepts new schema property `specialLink` to check for custom `href` properties on elements. (fixes [#76](https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/76))
  88. - [breaking][fix] - `img-has-alt` now prefers `alt=""` over `role="presentation"`. You can set both, but not just `role="presentation"` by itself to ensure a11y across all devices.
  89. Note - see [rule documentation](https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules) for updated schemas.
  90. 2.2.3 / 2016-10-08
  91. ==================
  92. - [fix] - Add `switch` aria role.
  93. - [devDependencies] - Updgrade dev dependencies and fix linting issues.
  94. 2.2.2 / 2016-09-12
  95. ==================
  96. - [fix] `x-has-content` rules now pass with children prop set.
  97. 2.2.1 / 2016-08-31
  98. ==================
  99. - [fix] Update `tablist` role to include missing property `aria-multiselectable`.
  100. 2.2.0 / 2016-08-26
  101. ==================
  102. - [new] Add `click-events-have-key-events` rule.
  103. - [new] Add `no-static-element-interactions` rule.
  104. - [devDependencies] Upgrade `eslint`, `eslint-config-airbnb`, `mocha` to latest.
  105. - [lint] Fix all new linting errors with upgrade
  106. - [nit] Use `error` syntax over `2` syntax in recommended config.
  107. 2.1.0 / 2016-08-10
  108. ==================
  109. - [fix] Require `aria-checked` for roles that are subclasses of `checkbox`
  110. - [new] Add `anchor-has-content` rule.
  111. - [refactor] Use new eslint rule syntax
  112. - [new] Add support for custom words in `img-redundant-alt` (mainly for i18n).
  113. 2.0.1 / 2016-07-13
  114. ==================
  115. - [fix] JSXElement support in expression handlers for prop types.
  116. - [fix] `heading-has-content`: dangerouslySetInnerHTML will pass.
  117. 2.0.0 / 2016-07-12
  118. ==================
  119. - [breaking] Scope `no-onchange` rule to select menu elements only.
  120. 1.5.5 / 2016-07-05
  121. ==================
  122. - [fix] Add `eslint` v3 as a `peerDependency`.
  123. 1.5.4 / 2016-07-05
  124. ==================
  125. - [fix] Add `eslint` as a `peerDependency`.
  126. 1.5.3 / 2016-06-16
  127. ==================
  128. - [fix] Fix crash when ``<ELEMENT role />`` for `role-supports-aria-props`.
  129. 1.5.2 / 2016-06-16
  130. ==================
  131. - [fix] Fix `img-redundant-alt` rule to use `getLiteralPropValue` from `jsx-ast-utils`.
  132. 1.5.1 / 2016-06-16
  133. ==================
  134. - [fix] Fix checking for undefined in `heading-has-content` for children content.
  135. 1.5.0 / 2016-06-16
  136. ==================
  137. - [new] Add [heading-has-content](docs/rules/heading-has-content.md) rule.
  138. - [new] Add [html-has-lang](docs/rules/html-has-lang.md) rule.
  139. - [new] Add [lang](docs/rules/lang.md) rule.
  140. - [new] Add [no-marquee](docs/rules/no-marquee.md) rule.
  141. - [new] Add [scope](docs/rules/scope.md) rule.
  142. 1.4.2 / 2016-06-10
  143. ==================
  144. - [new] Integrate with latest `jsx-ast-utils` to use `propName` function. More support for namespaced names on attributes and elements.
  145. 1.4.1 / 2016-06-10
  146. ==================
  147. - [fix] Handle spread props in `aria-unsupported-elements` and `role-supports-aria-props` when reporting.
  148. 1.4.0 / 2016-06-10
  149. ==================
  150. - [dependency] Integrate [jsx-ast-utils](https://github.com/evcohen/jsx-ast-utils)
  151. - [fix] Better error reporting for aria-unsupported-elements indicating which prop to remove.
  152. 1.3.0 / 2016-06-05
  153. ==================
  154. - [new] Spelling suggestions for incorrect `aria-*` props
  155. - [fix] Ensure `role` value is a string before converting to lowercase in `img-has-alt` rule.
  156. 1.2.3 / 2016-06-02
  157. ==================
  158. - [fix] Handle dynamic `tabIndex` expression values, but still retain validation logic for literal `tabIndex` values.
  159. 1.2.2 / 2016-05-20
  160. ==================
  161. - [fix] Fix checks involving the tabIndex attribute that do not account for integer literals
  162. 1.2.1 / 2016-05-19
  163. ==================
  164. - [fix] Avoid testing interactivity of wrapper components with same name but different casing
  165. as DOM elements (such as `Button` vs `button`).
  166. 1.2.0 / 2016-05-06
  167. ==================
  168. - [new] Import all roles from DPUB-ARIA.
  169. 1.1.0 / 2016-05-06
  170. ==================
  171. - [new] Add expression value handler for `BinaryExpression` type.
  172. - [new] Add expression value handler for `NewExpression` type.
  173. - [new] Add expression value handler for `ObjectExpression` type.
  174. - [fix] Throws error when getting an expression of type without a handler function.
  175. - This is for more graceful error handling and better issue reporting.
  176. 1.0.4 / 2016-04-28
  177. ==================
  178. - [fix] Add expression value handler for `ConditionalExpression` type.
  179. 1.0.3 / 2016-04-25
  180. ==================
  181. - [fix] Fix typo in recommended rules for `onclick-has-focus`.
  182. 1.0.2 / 2016-04-20
  183. ==================
  184. - [fix] Add expression value handler for `ThisExpression` type.
  185. 1.0.1 / 2016-04-19
  186. ==================
  187. - [fix] Fix build to copy source JSON files to build output.
  188. 1.0.0 / 2016-04-19
  189. ==================
  190. - [breaking] Rename `img-uses-alt` to `img-has-alt`
  191. - [breaking] Rename `onlick-uses-role` to `onclick-has-role`
  192. - [breaking] Rename `mouse-events-map-to-key-events` to `mouse-events-have-key-events`
  193. - [breaking] Rename `use-onblur-not-onchange` to `no-onchange`
  194. - [breaking] Rename `label-uses-for` to `label-has-for`
  195. - [breaking] Rename `redundant-alt` to `img-redundant-alt`
  196. - [breaking] Rename `no-hash-href` to `href-no-hash`
  197. - [breaking] Rename `valid-aria-role` to `aria-role`
  198. - [new] Implement `aria-props` rule
  199. - [new] Implement `aria-proptypes` rule
  200. - [new] Implement `aria-unsupported-elements` rule
  201. - [new] Implement `onclick-has-focus` rule
  202. - [new] Implement `role-has-required-aria-props` rule
  203. - [new] Implement `role-supports-aria-props` rule
  204. - [new] Implement `tabindex-no-positive` rule
  205. 0.6.2 / 2016-04-08
  206. ==================
  207. - [fix] Fix rule details for img-uses-alt: allow alt="" or role="presentation".
  208. 0.6.1 / 2016-04-07
  209. ==================
  210. - [fix] Do not infer interactivity of components that are not low-level DOM elements.
  211. 0.6.0 / 2016-04-06
  212. ==================
  213. - [breaking] Allow alt="" when role="presentation" on img-uses-alt rule.
  214. - [new] More descriptive error messaging for img-uses-alt rule.
  215. 0.5.2 / 2016-04-05
  216. ==================
  217. - [fix] Handle token lists for valid-aria-role.
  218. 0.5.1 / 2016-04-05
  219. ==================
  220. - [fix] Handle null valued props for valid-aria-role.
  221. 0.5.0 / 2016-04-02
  222. ==================
  223. - [new] Implement valid-aria-role rule. Based on [AX_ARIA_01](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_01)
  224. 0.4.3 / 2016-03-29
  225. ==================
  226. - [fix] Handle LogicalExpression attribute types when extracting values. LogicalExpressions are of form `<Component prop={foo || "foobar"} />`
  227. 0.4.2 / 2016-03-24
  228. ==================
  229. - [fix] Allow component names of form `Object.Property` i.e. `UX.Layout`
  230. 0.3.0 / 2016-03-02
  231. ==================
  232. - [new] Implement [no-hash-href](docs/rules/no-hash-href.md) rule.
  233. - [fix] Fixed TemplateLiteral AST value building to get more exact values from template strings.
  234. 0.2.0 / 2016-03-01
  235. ==================
  236. - [new] Implement [redunant-alt](docs/rules/redundant-alt.md) rule.
  237. 0.1.2 / 2016-03-01
  238. ==================
  239. - Initial pre-release.