SonarJS Versions Save

SonarSource Static Analyzer for JavaScript and TypeScript

10.13.0.25911

2 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/SonarSource/SonarJS/compare/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.25537

2 months ago

This release

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

What's Changed

New Contributors

Full Changelog: https://github.com/SonarSource/SonarJS/compare/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.25225

3 months ago
  • Fix missing requiredForLanguages metadata in manifest

This release will be part of SonarQube 10.4

10.11.0.25043

3 months ago

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: https://github.com/SonarSource/SonarJS/compare/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.24774

4 months ago

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.24449

5 months ago

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.24207

5 months ago

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

  • Log memory configuration when bridge starts (#4263) by @saberduck
  • Delegate analysis-related HTTP requests to a worker thread (#4261) by @yassin-kammoun-sonarsource
  • Improve message when running in Docker (#4269) by @saberduck
  • Handle out-of-memory errors in the worker thread (#4273) by @yassin-kammoun-sonarsource
  • Improve reporting of memory size in docker env (#4274) by @saberduck
  • Report heap usage status with sonar.javascript.node.debugMemory (#4294 by @saberduck

Miscellaneous

  • Move css rule to a separate folder (#4201) by @alexander-kamushkin-sonarsource
  • Refactor npm scripts (#4203) by @ilia-kebets-sonarsource
  • Add sanity check on adding a new rule property (#4222) by @yassin-kammoun-sonarsource
  • Clean up Git submodules and ruling tests (#4224, #4252) by @victor-diez-sonarsource
  • Fix unescaped regexp chars and remove SQ exclusion (#4257) by @alexander-kamushkin-sonarsource
  • Update babel to 7.23.2 to fix babel/traverse vulnerability (#4298) by @alexander-kamushkin-sonarsource

This release will be part of SonarQube 10.3

Full Changelog: https://github.com/SonarSource/SonarJS/compare/10.7.0.22914...10.8.0.24207

10.7.0.22914

6 months ago

What's Changed

New Contributors

This release will be part of SonarQube 10.3

Full Changelog: https://github.com/SonarSource/SonarJS/compare/10.6.0.22520...10.7.0.22914

10.6.0.22520

7 months ago

What's Changed

Full Changelog: https://github.com/SonarSource/SonarJS/compare/10.5.1.22382...10.6.0.22520

Part of SonarQube 10.3

10.5.1.22382

7 months ago

Small fix release, because we forgot to include the eslint-plugin-sonarjs update in 10.5.0

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

This release will be part of SonarQube 10.2