Releases: SonarSource/SonarJS
4.2.1
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
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:
SonarJS 4.0
See 4.0-RC1 for details
SonarJS 4.0-RC
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).
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
New rules and node_modules exclusion
SonarJS 3.3-RC
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
Assignments should not be redundant
Conditionals should start on new lines
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
This version adds support for Flow syntax
3.2-RC1
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
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
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.