Skip to content

Releases: SonarSource/SonarJS

10.14.0

23 Apr 16:48
1ac0884
Compare
Choose a tag to compare

What's Changed

Full Changelog: 10.13.2.25981...10.14.0.26080

This release will be part of SonarQube 10.6

milestone: https://github.com/SonarSource/SonarJS/milestone/89?closed=1

10.13.2

11 Apr 13:26
5950215
Compare
Choose a tag to compare
  • skip the whole file when we have incorrect text range for token

10.13.1

08 Apr 09:07
0e5e923
Compare
Choose a tag to compare

What's Changed

Full Changelog: 10.13.0.25911...10.13.1.25965

10.13.0

28 Mar 13:44
42659d2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 10.12.0.25537...10.13.0.25911

This release will be part of SonarQube 10.5

Milestone: https://github.com/SonarSource/SonarJS/milestone/86

10.12.0

13 Feb 13:42
92d5b7b
Compare
Choose a tag to compare

This release

Improve Top Dismissed JS/TS Rules (https://sonarsource.atlassian.net/browse/MMF-2934)

What's Changed

New Contributors

Full Changelog: 10.11.1.25225...10.12.0.25537

This release will be part of SonarQube 10.5

https://github.com/SonarSource/SonarJS/milestone/84?closed=1

10.11.1

16 Jan 12:59
b377dc9
Compare
Choose a tag to compare
  • Fix missing requiredForLanguages metadata in manifest

This release will be part of SonarQube 10.4

10.11.0

22 Dec 11:46
a69c26f
Compare
Choose a tag to compare

This release

1/ Fail-fast
Misconfigurations now cause analysis failure, this includes missing or incompatible Node.js runtime.
There are also new and more detailed warnings, including new warnings in the UI.

2/ Added support for TypeScript 5.3

3/ Drop support for Node.js v14

4/ Added 5 new adaptability rules:

  • S6859: Imports should not use absolute paths
  • S6861: Mutable variables should not be exported
  • S2187: Test files should contain at least one test case
  • S1444: Public "static" fields should be read-only
  • S5973: Tests should be stable

What's Changed

Full Changelog: 10.10.0.24774...10.11.0.25043

This release will be part of SonarQube 10.4

https://github.com/SonarSource/SonarJS/milestone/83?closed=1

10.10.0

23 Nov 08:52
8167e5b
Compare
Choose a tag to compare

This release

Added 17 new rules for React Accessibility

  • S6841 tabIndex values should be non-positive
  • S6842 Non-interactive DOM elements should not have interactive ARIA roles
  • S6840 DOM elements should use the autocomplete attribute correctly
  • S6843 Interactive DOM elements should not have non-interactive ARIA roles
  • S6844 Anchor tags should not be used as buttons
  • S6846 DOM elements should not use the accesskey property
  • S6850 Header elements should have accessible content
  • S6851 Images should have a non-redundant alternate description
  • S6847 Non-interactive elements shouldn't have event handlers
  • S6854 iFrames must have a title
  • S6855 Media elements should have captions
  • S6845 Non-interactive DOM elements should not have the tabIndex property
  • S6849 HTML elements should have a valid language property
  • S6848 Non-interactive DOM elements should not have an interactive handler
  • S1077 Image, area, button with image and object elements should have an alternative text
  • S6852 Elements with an interactive role should support focus
  • S6853 Label elements should have a text label and an associated control

Added 5 new rules for React deprecated APIs

  • S6788 Disallow usage of findDOMNode
  • S6789 Disallow usage of isMounted
  • S6790 Disallow using string references
  • S6791 Disallow usage of unsafe lifecycle methods
  • S1874 Disable older React deprecated APIs

What's Changed

This release will be part of SonarQube 10.4

https://github.com/SonarSource/SonarJS/milestone/82?closed=1

10.9.0

01 Nov 12:07
11173bb
Compare
Choose a tag to compare

What's Changed

This release will be part of SonarQube 10.3

Milestone: https://github.com/SonarSource/SonarJS/milestone/81?closed=1

10.8.0

23 Oct 09:11
9dc9703
Compare
Choose a tag to compare

What's Changed

MMF-2996: First-class React: Accessibility (part 1 of 2)

  • Add rule S1082 (mouse-events-a11y): Mouse events should have corresponding keyboard events (#4301) by @saberduck
  • Modify rule S6747 (no-unknown-property): add jsx-a11y/aria-props by @ilia-kebets-sonarsource
  • Add rule S6793 (jsx-a11y/aria-proptypes): ARIA properties in DOM elements should have valid values (#4265) by @ilia-kebets-sonarsource
  • Add rule S6807 (jsx-a11y/role-has-required-aria-props): DOM elements with ARIA roles should have the required properties by @alexander-kamushkin-sonarsource
  • Add rule S6811 (jsx-a11y/role-supports-aria-props): DOM elements with ARIA role should only have supported properties (#4264) by @alexander-kamushkin-sonarsource
  • Add rule S6819 (jsx-a11y/prefer-tag-over-role): Prefer tag over ARIA role (#4267) by @alexander-kamushkin-sonarsource
  • Add rule S6821 (jsx-a11y/aria-role): DOM elements with ARIA roles should have a valid non-abstract role (#4268) by @ilia-kebets-sonarsource
  • Add rule S6822 (jsx-a11y/no-redundant-roles): No redundant ARIA role (#4270) by @alexander-kamushkin-sonarsource
  • Add rule S6823 (jsx-a11y/aria-activedescendant-has-tabindex): DOM elements with the aria-activedescendant property should be accessible via the tab key (#4277) by @ilia-kebets-sonarsource
  • Add rule S6824 (jsx-a11y/aria-unsupported-elements): No ARIA role or property for unsupported DOM elements (#4275) by @ilia-kebets-sonarsource
  • Add rule S6825 (jsx-a11y/no-aria-hidden-on-focusable): Focusable elements should not have aria-hidden attribute (#4292) by @alexander-kamushkin-sonarsource
  • Add rule S6827 (jsx-a11y/anchor-has-content): Anchors should contain accessible content (#4296) by @ilia-kebets-sonarsource

MMF-3393: Better diagnostics of memory issues

Miscellaneous

This release will be part of SonarQube 10.3

Full Changelog: 10.7.0.22914...10.8.0.24207