Skip to content

Releases: SonarSource/SonarJS

4.2.1

24 Jul 07:39
e63a36a
Compare
Choose a tag to compare

Hi,

we released a new version of SonarJS 4.2 🎆

Highlights of this version

  • import issues from ESLint report (see documentation)
  • improve parsing of Vue files
  • fix several parsing issues

SonarJS 4.1

09 Feb 15:59
Compare
Choose a tag to compare

Hi,

New release of SonarJS is there! This version brings 7 new rules and many bug fixes (full list of fixed tickets is here).

See some highlights:

  • Support of short fragment syntax of JSX
  • Rules about unused and duplicated imports
  • Some bug detection rules:
    • "Collection elements should not be replaced unconditionally"
    • "Collection sizes and array length comparisons should make sense"
  • A lot of FPs fixed (like #873, #895)

SonarJS 4.0

18 Dec 10:11
7c3166e
Compare
Choose a tag to compare

See 4.0-RC1 for details

SonarJS 4.0-RC

12 Dec 13:38
c604293
Compare
Choose a tag to compare
SonarJS 4.0-RC Pre-release
Pre-release

Hi,

We are opening the feedback period for SonarJS 4.0.

You can find the details of this release in this milestone: https://github.com/SonarSource/sonar-javascript/milestone/8?closed=1.

This version is updated to support the new SonarQube LTS version 6.7 (#837). Thus SonarJS 4.0 is not compatible anymore with SQ <6.7. Moreover, the previously deprecated coverage import configuration properties are now removed (#839).

We also improved and tuned many rules (fixes false positives, false negatives etc) to get them to the level of accuracy required to belong to the default Sonar Way profile, which, as a result, is now much richer.

The feedback period will last until Monday (December 18). Do not hesitate to leave any feedback: just create an issue --> https://github.com/SonarSource/SonarJS/issues/new

Many thanks to @NilSet for reporting and fixing #828!

To test use the jar attached to this prerelease.

Introducing SonarJS-CLI 📺

SonarJS 4.0 is also embedded in the beta of the command-line version of SonarJS, which we just published to npm.

This version of SonarJS can output the results of SonarJS directly in the console or as an object (when used as a library).
vscode

You can install it with npm install sonarjs (or globally, or as a development dependency, as you need).

Check the npm page for more information : https://www.npmjs.com/package/sonarjs
For any feedback, as usual, just create an issue --> https://github.com/SonarSource/SonarJS/issues/new and label it sonarjs-cli

SonarJS 3.3

22 Nov 10:00
Compare
Choose a tag to compare

New rules and node_modules exclusion

SonarJS 3.3-RC

03 Nov 17:05
Compare
Choose a tag to compare
SonarJS 3.3-RC Pre-release
Pre-release

Hi,

Since today you are more than welcome to provide feedback for SonarJS 3.3.

All the fixed issues you can find in this milestone https://github.com/SonarSource/sonar-javascript/milestone/7?closed=1. There are 3 new awesome rules in this version:

Collection and array contents should be used

image

Assignments should not be redundant

screen shot 2017-11-03 at 18 02 22

Conditionals should start on new lines

screen shot 2017-11-03 at 17 55 45

Note that #665 will force ignore of all files inside of node_modules directory, that way your analysis will be more clean without additional configuration.

BTW documentation has been reworked and it will be nice to hear from you any opinion on that.

The feedback period will last until next Wednesday (November 8). Do not hesitate to leave any feedback: just create an issue --> https://github.com/SonarSource/SonarJS/issues/new

To test use jar attached to this prerelease.

P.S. Since several days we have a twitter account, so if you want to follow development on this plugin, it's a nice way to do it

SonarJS 3.2

04 Oct 11:51
Compare
Choose a tag to compare

This version adds support for Flow syntax

3.2-RC1

28 Sep 16:31
Compare
Choose a tag to compare
3.2-RC1 Pre-release
Pre-release

Hi,

Today we are starting a feedback period for SonarJS 3.2.

All the fixed issues you can find in this milestone https://github.com/SonarSource/sonar-javascript/milestone/5?closed=1

In this version we finally delivered support for Flow syntax (#584)!

Moreover 2 new rules were added:

  • "Array.reverse" should not be used misleadingly
  • Exception should not be created without being thrown

We also fixed many bugs, among them three reported by @fxOne, and two more reported by @stcherenkov and @rjgotten.

Many thanks to @NilSet who provided the fix for #731! It's really valuable for us to merge PRs of such high quality.

The feedback period will last until next Wednesday (October 4). Do not hesitate to leave any feedback: just create an issue --> https://github.com/SonarSource/sonar-javascript/issues/new

To test use jar attached to this prerelease.

3.1.1.5128

28 Jun 15:45
Compare
Choose a tag to compare

This version fixes a bug introduced in SonarJS 3.0 and which appears only in the case of a Data Flow Analysis rule throwing an unexpected exception.

SonarJS 3.1 RC1

12 Jun 11:19
Compare
Choose a tag to compare
SonarJS 3.1 RC1 Pre-release
Pre-release

We would like to release SonarJS 3.1.

We implemented Vue.js single file component support (#576), the Cognitive Complexity metric (#588), a new rule "Method returns should not be invariant" (#582) and plenty of minor improvements.

Release notes : https://github.com/SonarSource/sonar-javascript/milestone/4?closed=1

For any feedback on this release, please create an issue.