web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

491 lines
20 KiB

  1. 6.4.1 / 2020-10-26
  2. ==================
  3. - f8a4496 Upgrade jsx-ast-utils to v3.1.0
  4. 6.4.0 / 2020-10-26
  5. ==================
  6. - 83e4ff2 [Deps] update `axe-core`, `jsx-ast-utils`
  7. - eb92b07 [Dev Deps] update `@babel/cli`, `@babel/core`, `@babel/plugin-transform-flow-strip-types`, `eslint-plugin-flowtype`, `eslint-plugin-import`, `estraverse`, `expect`, `object.assign`
  8. - 3d98d7a [Deps] update `@babel/runtime`, `axe-core`
  9. - f702f62 [readme] add Spanish translation
  10. - c2ae092 [Docs] `no-static-element-interactions`: Fixed rule name in comments
  11. - b90e20d Fix screenreader -> screen reader
  12. - 645900a Fixed rule name in comments
  13. - 381b9d6 [fix:634] Ignore control elements that are hidden
  14. - 2c47f0a [Fix] `autocomplete-valid`: workaround for axe not being able to handle `null`
  15. - 00bd6d8 Add failing test for autocomplete with dynamic type
  16. - 3c49c9a Add WCAG guidelines to rule documentation
  17. - 4ecaf35 Add a testcase for tablist to interactive supports focus
  18. - dac6864 Deprecate the accessible-emoji rule
  19. - 5191053 Update to axobject-query@2.2.0
  20. - b315698 Allow negative tabindex in aria-activedescendant-has-tabindex
  21. - 8e6fcd0 docs: fix travis badge now points to correct location at travis-ci.com
  22. - 2234df7 Account for additional control elements in label-has-associated-control
  23. - 5cbb718 Adding test cases for label tests
  24. - 66c425c Additional test case for no-redundant-roles
  25. 6.3.1 / 2020-06-19
  26. ==================
  27. - 765da0f Update to aria-query 4.2.2
  28. - d528e8c Fix aria-level allowed on elements wit role heading (#704)
  29. - 29c6859 [meta] remove yarn registry from npmrc, so publishing works
  30. - f52c206 chore(package): update estraverse to version 5.0.0
  31. 6.3.0 / 2020-06-18
  32. ==================
  33. - cce838a Update aria-query to 4.2.0
  34. - 121e8a4 Add two test cases found while upgrading to ARIA 1.2
  35. - 8059f51 Fix test failures raised by the upgrade to ARIA 1.2
  36. - 0d24e3a Update package.json
  37. - b1f412a Fix test failures in role-has-required-aria-props due to ARIA 1.2 updates
  38. - 74cec6e Fix test failures in no-noninteractive-element-interactions due to ARIA 1.2 updates
  39. - 835b89e Fix test failures in role-supports-aria-props-test due to ARIA 1.2 updates
  40. - 730319b Account for the null semantic generic role in ARIA 1.2
  41. - 7dfa7c9 Update aria-query from 4.0.1 to 4.0.2
  42. - 42098b9 [Refactor] `img-redundant-alt`: removing a use of `some`
  43. - a910d83 [Tests] `label-has-associated-control`: add test for <div><label /><input /></div>
  44. - b273fe5 [New] Support ESLint 7.x
  45. - 1a97632 [Deps] update `@babel/runtime`, `array-includes`, `axe-core`, `axobject-query`, `damerau-levenshtein`, `jsx-ast-utils`
  46. - b36976f [Dev Deps] update `@babel/cli`, `@babel/core`, `@babel/plugin-transform-flow-types`, `babel-eslint`, `babel-jest`, `coveralls`, `eslint-config-airbnb-base`, `eslint-plugin-flowtype`, `eslint-plugin-import`, `estraverse`, `in-publish`, `jest`, `minimist`, `rimraf`, `safe-publish-latest`
  47. - 89acdc4 fix: removing the use of the some function
  48. - 410ae43 chore(package): update eslint-plugin-flowtype to version 5.0.0
  49. - a87f83d fix(package): update emoji-regex to version 9.0.0
  50. - 71940e6 chore(package): update babel-preset-airbnb to version 5.0.0
  51. - d471f54 docs: Fix 404 links to WAI-ARIA spec
  52. - 42a2016 Fixes #669: use the `language-tags` package to check the `lang` rule
  53. - 7bcea20 [Tests] update axe-core
  54. - f13dc38 [Deps] Pin axe-core version
  55. - 33670bb fix: require missing 'autocomplete-valid' rule
  56. - aca4c37 chore(mouse-event): revert unrelated formatting changes
  57. - df1e275 fix(mouse-event): remove check from custom elements
  58. - 1a16a1c chore(package): update jscodeshift to version 0.7.0
  59. - 7a55cdd chore(package): update flow-bin to version 0.113.0
  60. - 8e0d22b Update aria-query and axobject-query to the latest versions
  61. - dd49060 Added test cases for an empty or undefined value of aria-label and aria-labelledby in alt-text
  62. - 1a7b94f Updated dependencies including eslint-config-airbnb-base
  63. - 3aea217 chore: replace ignoreNonDOM with inputComponents
  64. - 1848d00 feat(autocomplete-valid): add to recommended & strict config
  65. - 8703840 refactor: use to axe-cre 3.4 SerialVirtualNode format
  66. - 3519c7b chore: Remove axe VirtualNode abstraction
  67. - 9ac55c4 autocomplete-valid: Add inline comment
  68. - 44c6098 Update axe-core to 3.3.0
  69. - 9916990 new autocomplete-valid rule
  70. - 82f598e [Docs] examples: add language in code block for syntax highlight
  71. - 2529ad3 fixing casing issue on aria-props
  72. - 00926f2 Update README.md
  73. - ce5d121 Update README.md
  74. - 031574e chore(package): update flow-bin to version 0.103.0
  75. - e00e1db [meta] add FUNDING.yml
  76. - e1e5fae Fix readme file
  77. 6.2.3 / 2019-06-30
  78. =================
  79. - [617] Add @babel/runtime to the dependencies
  80. 6.2.2 / 2019-06-29
  81. =================
  82. - Update jsx-ast-utils to v2.2.1
  83. - Add @babel/cli to the dev dependencies
  84. - Update ESLint to v6
  85. - Update jsx-ast-utils to 2.2.0
  86. - Update flow-bin to version 0.102.0
  87. - [589] Allow expression statements for attribute values in no-noninteractive-tabindexlow-bin-0.101.0
  88. - [583] Allow expression values in attributes by configurationrror
  89. - [596] Adding a test case for no-static-element-interactionseper/flow-bin-0.101.0) Merge branch 'master' into greenkeeper/flow-bin-0.101.0
  90. - Only run branch test coverage on the master branch
  91. - chore(package): update flow-bin to version 0.100.0
  92. - Allow select as a valid child of label.
  93. - Allow Node 4 / ESLint 3 failure to unblock ESLint upgrade in PR #568
  94. - chore(package): update flow-bin to version 0.99.0
  95. - Remove rootDir from Jest path configs
  96. - (fix) Template literals with undefined evaluate to the string undefined.
  97. - adds more tests to “anchor-is-valid”
  98. - Fixes “anchor-is-valid” false positive for hrefs starting with the word “javascript”
  99. - chore(package): update eslint-plugin-flowtype to version 3.5.0
  100. - Modified no-static-element-interactions to pass on non-literal roles.
  101. - Added isNonLiteralProperty util method
  102. - [#399] Account for spread in parser options
  103. - [552] control-has-associated-label should allow generic links
  104. - [issue 392] ul role='list' test case
  105. - chore(package): update eslint to version 5.15.2
  106. - chore(package): update flow-bin to version 0.95.0
  107. - chore(package): update expect to version 24.3.1
  108. - Fix typo: defintions > definitions
  109. - docs: add proper title to links to axe website for media-has-caption
  110. - docs: removes deprecated rule label-has-for
  111. - docs: fix typo and couple grammatical errors in Readme
  112. - Ignore null/undefined values in role-supports-aria-props rule
  113. - Ignore undefined values in aria-proptypes rule
  114. - Ignore null values in aria-proptypes rule
  115. - set target for node 4
  116. 6.2.1 / 2019-02-03
  117. =================
  118. - 9980e45 [fix] Prevent Error when JSXSpreadAttribute is passed to isSemanticRoleElement
  119. 6.2.0 / 2019-01-25
  120. =================
  121. - 5650674 [new rule] control-has-associated-label checks interactives for a label
  122. - f234698 [docs] add How to manage IDs
  123. - 9924d03 [docs] document jsx-a11y/label-has-associated-control assert option
  124. - 77b9870 [docs] Add newlines below headings
  125. - 8244e43 [docs] Add syntax highlighting to example
  126. - 26f41c8 [docs] Change explanation for role="presentation" escape hatch
  127. - 33a1f94 [fix] - Purely decorative emojis do not need descriptions.
  128. - 29d20f7 [fix] (package): update emoji-regex to version 7.0.2
  129. - 0b63f73 [chore] (package): update flow-bin to version 0.88.0
  130. - baa1344 [fix] Disable jsx-a11y/label-has-for in recommended
  131. - 2c5fb06 [chore] (package): update jscodeshift to version 0.6.0
  132. - 87debc0 [fix] corrected no-noninteractive-element-to-interactive-role.md file
  133. - d56265b [chore] (package): update flow-bin to version 0.87.0
  134. - 477966f [fix] Update test for implicit role of `img`
  135. - f484ce3 [fix] No implicit role for `<img>` with `alt=""`
  136. - 6c33bcb [fix] Add select to the list of default control elements in label-has-associated-control
  137. - 011f8d9 [fix] Dialog and Alert roles can host keyboard listeners
  138. - 0f6a8af [fix] More easier `plugin:jsx-a11y/{recommended,strict}` configs
  139. - 3844248 [fix] Mark the replacement for label-has-for
  140. - 93265cb [fix] normalizedValues to values
  141. - 651366c [fix] Make aria-role case sensitive
  142. - 56d3b9a [fix] [484] Fix role-has-required-aria-props for semantic elements like input[checkbox]
  143. - 46e9abd [fix] Handle the type={truthy} case in jsx
  144. 6.1.2 / 2018-10-05
  145. =================
  146. - [fix] Add link-type styling recommendation to anchor-is-valid #486
  147. - [fix] `label-has-for`: `textarea`s are inputs too #470
  148. 6.1.1 / 2018-07-03
  149. ==================
  150. - [fix] aria-proptypes support for idlist, #454
  151. - [fix] Image with expanded props throws 'The prop must be a JSXAttribute collected by the AST parser.', #459
  152. - [fix] label-has-for: broken in v6.1.0, #455
  153. 6.1.0 / 2018-06-26
  154. ==================
  155. - [new] Support for eslint v5, #451
  156. - [new] aria-query updated to latest version
  157. - [new] eslint-config-airbnb-base updated to the latest version
  158. - [deprecate] The rule label-has-for is deprecated and replaced with label-has-associated-control
  159. - [fix] heading-has-content updated to work with custom components, #431
  160. - [fix] aria-errormessage prop is now a valid ARIA property, #424
  161. 6.0.2 / 2017-06-28
  162. ==================
  163. - [fix] Prefix directories in `.npmignore` with `/` so it only matches the top-level directory
  164. 6.0.1 / 2017-06-28
  165. ==================
  166. - [temporary] Remove `src` and `flow` from package to resolve flow issues for consuming packages.
  167. 6.0.0 / 2017-06-05
  168. =================
  169. - [new] Add rule `anchor-is-valid`. See documentation for configuration options. Thanks @AlmeroSteyn.
  170. - [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`.
  171. - [breaking] Removed support for ESLint peer dependency at version ^2.10.2.
  172. - [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.
  173. - [update] New configuration for `interactive-supports-focus`. Recommended and strict configs for now contain a trimmed-down whitelist of roles that will be checked.
  174. - [fix] Incompatibility between node version 4 and 5. Thanks @evilebottnawi.
  175. - [fix] Missing README entry for `media-has-caption`. Thanks @ismail-syed.
  176. - [fix] README updates explaining recommended and strict configs. Thanks @Donaldini.
  177. - [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.
  178. 5.1.1 / 2017-07-03
  179. ==================
  180. - [fix] revert v6 breaking changes unintentionally added in v5.1 (#283)
  181. 5.1.0 / 2017-06-26
  182. ==================
  183. - [new] Support eslint v4. (#267)
  184. - [new] `label-has-for`: add "required" option to allow customization (#240)
  185. - [new] add `anchor-is-valid` (#224)
  186. - [new] `interactive-supports-focus`: Split interactive supports focus into tabbable and focusable cases (#236)
  187. - [new] `anchor-is-valid`: add `aspects` option (#251)
  188. - [Deps] Bump aria-query to 0.7.0
  189. 5.0.3 / 2017-05-16
  190. ==================
  191. - [fix] Remove `flow` directory from `.npmignore` to accommodate explicit imports from `v5.0.2`.
  192. 5.0.2 / 2017-05-16
  193. ==================
  194. - [fix] Explicitly import flow types to resolve flow failures in consuming projects.
  195. 5.0.1 / 2017-05-07
  196. ==================
  197. - [fix] Polyfill Array.includes for node < 6 support.
  198. 5.0.0 / 2017-05-05
  199. ==================
  200. - [breaking] Refactor `img-has-alt` rule into `alt-text` rule
  201. - [breaking] Rule `onclick-has-role` is removed. Replaced with `no-static-element-interactions` and `no-noninteractive-element-interactions`.
  202. - [breaking] Rule `onclick-has-focus` is removed. Replaced with `interactive-supports-focus`.
  203. - [new] - Add rule `media-has-caption` rule
  204. - [new] - Add `ignoreNonDOM` option to `no-autofocus`.
  205. - [new] - Add rule `no-interactive-element-to-noninteractive-role`
  206. - [new] - Add rule `no-noninteractive-element-to-interactive-role`
  207. - [new] - Add rule `no-noninteractive-tabindex`
  208. - [new] - Configs split into "recommended" and "strict".
  209. - [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.
  210. 4.0.0 / 2017-02-04
  211. ==================
  212. Add new rules:
  213. - `jsx-a11y/accessible-emoji`
  214. - `jsx-a11y/aria-activedescendant-has-tabindex`
  215. - `jsx-a11y/iframe-has-title`
  216. - `jsx-a11y/no-autofocus`
  217. - `jsx-a11y/no-distracting-elements` *(breaking: consolidated no-marquee and no-blink into this rule.)*
  218. - `jsx-a11y/no-redundant-roles`
  219. - [fix] - redundant-alt to only check full words
  220. - [docs] - Documentation upgrades across the board.
  221. - [new] - Add `ignoreNonDom`
  222. - [dev] - Add script to scaffold new rule creation.
  223. 3.0.2 / 2016-12-14
  224. ==================
  225. - [fix] - make `aria-invalid` values true and false pass for rule `aria-proptypes`
  226. 3.0.1 / 2016-10-11
  227. ==================
  228. - [breaking] - Update all rule schemas to accept objects. This allows a future schema expansion to not be a breaking change.
  229. - [breaking] - All rules with schemas that accepted a string OR array, now only allows an array.
  230. - [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))
  231. - [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.
  232. Note - see [rule documentation](https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules) for updated schemas.
  233. 2.2.3 / 2016-10-08
  234. ==================
  235. - [fix] - Add `switch` aria role.
  236. - [devDependencies] - Updgrade dev dependencies and fix linting issues.
  237. 2.2.2 / 2016-09-12
  238. ==================
  239. - [fix] `x-has-content` rules now pass with children prop set.
  240. 2.2.1 / 2016-08-31
  241. ==================
  242. - [fix] Update `tablist` role to include missing property `aria-multiselectable`.
  243. 2.2.0 / 2016-08-26
  244. ==================
  245. - [new] Add `click-events-have-key-events` rule.
  246. - [new] Add `no-static-element-interactions` rule.
  247. - [devDependencies] Upgrade `eslint`, `eslint-config-airbnb`, `mocha` to latest.
  248. - [lint] Fix all new linting errors with upgrade
  249. - [nit] Use `error` syntax over `2` syntax in recommended config.
  250. 2.1.0 / 2016-08-10
  251. ==================
  252. - [fix] Require `aria-checked` for roles that are subclasses of `checkbox`
  253. - [new] Add `anchor-has-content` rule.
  254. - [refactor] Use new eslint rule syntax
  255. - [new] Add support for custom words in `img-redundant-alt` (mainly for i18n).
  256. 2.0.1 / 2016-07-13
  257. ==================
  258. - [fix] JSXElement support in expression handlers for prop types.
  259. - [fix] `heading-has-content`: dangerouslySetInnerHTML will pass.
  260. 2.0.0 / 2016-07-12
  261. ==================
  262. - [breaking] Scope `no-onchange` rule to select menu elements only.
  263. 1.5.5 / 2016-07-05
  264. ==================
  265. - [fix] Add `eslint` v3 as a `peerDependency`.
  266. 1.5.4 / 2016-07-05
  267. ==================
  268. - [fix] Add `eslint` as a `peerDependency`.
  269. 1.5.3 / 2016-06-16
  270. ==================
  271. - [fix] Fix crash when ``<ELEMENT role />`` for `role-supports-aria-props`.
  272. 1.5.2 / 2016-06-16
  273. ==================
  274. - [fix] Fix `img-redundant-alt` rule to use `getLiteralPropValue` from `jsx-ast-utils`.
  275. 1.5.1 / 2016-06-16
  276. ==================
  277. - [fix] Fix checking for undefined in `heading-has-content` for children content.
  278. 1.5.0 / 2016-06-16
  279. ==================
  280. - [new] Add [heading-has-content](docs/rules/heading-has-content.md) rule.
  281. - [new] Add [html-has-lang](docs/rules/html-has-lang.md) rule.
  282. - [new] Add [lang](docs/rules/lang.md) rule.
  283. - [new] Add [no-marquee](docs/rules/no-marquee.md) rule.
  284. - [new] Add [scope](docs/rules/scope.md) rule.
  285. 1.4.2 / 2016-06-10
  286. ==================
  287. - [new] Integrate with latest `jsx-ast-utils` to use `propName` function. More support for namespaced names on attributes and elements.
  288. 1.4.1 / 2016-06-10
  289. ==================
  290. - [fix] Handle spread props in `aria-unsupported-elements` and `role-supports-aria-props` when reporting.
  291. 1.4.0 / 2016-06-10
  292. ==================
  293. - [dependency] Integrate [jsx-ast-utils](https://github.com/evcohen/jsx-ast-utils)
  294. - [fix] Better error reporting for aria-unsupported-elements indicating which prop to remove.
  295. 1.3.0 / 2016-06-05
  296. ==================
  297. - [new] Spelling suggestions for incorrect `aria-*` props
  298. - [fix] Ensure `role` value is a string before converting to lowercase in `img-has-alt` rule.
  299. 1.2.3 / 2016-06-02
  300. ==================
  301. - [fix] Handle dynamic `tabIndex` expression values, but still retain validation logic for literal `tabIndex` values.
  302. 1.2.2 / 2016-05-20
  303. ==================
  304. - [fix] Fix checks involving the tabIndex attribute that do not account for integer literals
  305. 1.2.1 / 2016-05-19
  306. ==================
  307. - [fix] Avoid testing interactivity of wrapper components with same name but different casing
  308. as DOM elements (such as `Button` vs `button`).
  309. 1.2.0 / 2016-05-06
  310. ==================
  311. - [new] Import all roles from DPUB-ARIA.
  312. 1.1.0 / 2016-05-06
  313. ==================
  314. - [new] Add expression value handler for `BinaryExpression` type.
  315. - [new] Add expression value handler for `NewExpression` type.
  316. - [new] Add expression value handler for `ObjectExpression` type.
  317. - [fix] Throws error when getting an expression of type without a handler function.
  318. - This is for more graceful error handling and better issue reporting.
  319. 1.0.4 / 2016-04-28
  320. ==================
  321. - [fix] Add expression value handler for `ConditionalExpression` type.
  322. 1.0.3 / 2016-04-25
  323. ==================
  324. - [fix] Fix typo in recommended rules for `onclick-has-focus`.
  325. 1.0.2 / 2016-04-20
  326. ==================
  327. - [fix] Add expression value handler for `ThisExpression` type.
  328. 1.0.1 / 2016-04-19
  329. ==================
  330. - [fix] Fix build to copy source JSON files to build output.
  331. 1.0.0 / 2016-04-19
  332. ==================
  333. - [breaking] Rename `img-uses-alt` to `img-has-alt`
  334. - [breaking] Rename `onlick-uses-role` to `onclick-has-role`
  335. - [breaking] Rename `mouse-events-map-to-key-events` to `mouse-events-have-key-events`
  336. - [breaking] Rename `use-onblur-not-onchange` to `no-onchange`
  337. - [breaking] Rename `label-uses-for` to `label-has-for`
  338. - [breaking] Rename `redundant-alt` to `img-redundant-alt`
  339. - [breaking] Rename `no-hash-href` to `href-no-hash`
  340. - [breaking] Rename `valid-aria-role` to `aria-role`
  341. - [new] Implement `aria-props` rule
  342. - [new] Implement `aria-proptypes` rule
  343. - [new] Implement `aria-unsupported-elements` rule
  344. - [new] Implement `onclick-has-focus` rule
  345. - [new] Implement `role-has-required-aria-props` rule
  346. - [new] Implement `role-supports-aria-props` rule
  347. - [new] Implement `tabindex-no-positive` rule
  348. 0.6.2 / 2016-04-08
  349. ==================
  350. - [fix] Fix rule details for img-uses-alt: allow alt="" or role="presentation".
  351. 0.6.1 / 2016-04-07
  352. ==================
  353. - [fix] Do not infer interactivity of components that are not low-level DOM elements.
  354. 0.6.0 / 2016-04-06
  355. ==================
  356. - [breaking] Allow alt="" when role="presentation" on img-uses-alt rule.
  357. - [new] More descriptive error messaging for img-uses-alt rule.
  358. 0.5.2 / 2016-04-05
  359. ==================
  360. - [fix] Handle token lists for valid-aria-role.
  361. 0.5.1 / 2016-04-05
  362. ==================
  363. - [fix] Handle null valued props for valid-aria-role.
  364. 0.5.0 / 2016-04-02
  365. ==================
  366. - [new] Implement valid-aria-role rule. Based on [AX_ARIA_01](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_01)
  367. 0.4.3 / 2016-03-29
  368. ==================
  369. - [fix] Handle LogicalExpression attribute types when extracting values. LogicalExpressions are of form `<Component prop={foo || "foobar"} />`
  370. 0.4.2 / 2016-03-24
  371. ==================
  372. - [fix] Allow component names of form `Object.Property` i.e. `UX.Layout`
  373. 0.3.0 / 2016-03-02
  374. ==================
  375. - [new] Implement [no-hash-href](docs/rules/no-hash-href.md) rule.
  376. - [fix] Fixed TemplateLiteral AST value building to get more exact values from template strings.
  377. 0.2.0 / 2016-03-01
  378. ==================
  379. - [new] Implement [redunant-alt](docs/rules/redundant-alt.md) rule.
  380. 0.1.2 / 2016-03-01
  381. ==================
  382. - Initial pre-release.