Releases: SonarSource/SonarJS
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:/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:/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:/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:/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:/SonarSource/sonar-javascript/milestone/4?closed=1
For any feedback on this release, please create an issue.
SonarJS 3.0 "Kill The Noise" RC1
Hi,
We are glad to finally go for the release of the new major version of SonarJS: 3.0.
The main goal of this version was to increase the value of the analyzer by reducing the noise it makes, so in release notes you can see plenty of false-positives fixed as well as rule and engine improvements.
Moreover the default rule profile "Sonar way" was changed to retain only those rules that are useful for the largest possible number of JS developers. To complement the now minimalist "Sonar way" profile we created a new predefined profile "Sonar way Recommended" which will help you to maintain your JavaScript projects on the long term.
Finally, we took the opportunity of releasing a major version to update the custom rules API (see docs).
Release notes: https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10933&version=13050
Release Candidate: https:/SonarSource/sonar-javascript/releases/tag/3.0-RC1
Any feedback is highly welcome as usual!
Feedback period is open until Wednesday April 26.
P.S. FYI since next version we will start tracking issues on GitHub, so don't hesitate if you find some bug or have a good idea for a new feature!
SonarJS 2.21 RC1
SNAPSHOT version of the plugin to allow users to test SonarJS during the request for feedback for the release 2.21.
We took the first steps in cross-procedural data flow analysis (also known as symbolic execution) and improved it to reduce false positives and false negatives.
Release notes: https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10933&version=13693
SonarJS 2.20 RC2
RC2 fixes bug SONARJS-900
SNAPSHOT version of the plugin to allow users to test SonarJS during the request for feedback for the release 2.20.
We introduced 8 new rules, among them we have :
- Cognitive Complexity of functions should not be too high
- Non-existent variables should not be referenced (requires configuration at project level)
Release notes: http://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10933&version=13651
SonarJS 2.20 RC1
SNAPSHOT version of the plugin to allow users to test SonarJS during the request for feedback for the release 2.20.
We introduced 8 new rules, among them we have :
- Cognitive Complexity of functions should not be too high
- Non-existent variables should not be referenced (requires configuration at project level)
Release notes: http://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10933&version=13651