Skip to content

Releases: SonarSource/SonarJS

SonarJS 2.20 RC1

31 Jan 16:43
Compare
Choose a tag to compare
SonarJS 2.20 RC1 Pre-release
Pre-release

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.19 RC1

23 Dec 16:34
Compare
Choose a tag to compare
SonarJS 2.19 RC1 Pre-release
Pre-release

SNAPSHOT version of the plugin to allow users to test SonarJS during the request for feedback for the release 2.19.

This version brings 14 new rules! Among them couple rules based on built-in method resolution:

  • Arguments to built-in functions should match documented types
  • Return values should not be ignored when function calls don't have any side effects

Moreover some work was done on coverage side, see tickets SONARJS-800 and SONARJS-801.

Release notes: https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10933&version=13460

JavaScript Plugin 2.18 RC1

08 Nov 10:17
Compare
Choose a tag to compare
Pre-release

SNAPSHOT version of the plugin to allow users to test the plugin during the request for feedback for the release 2.18.

This version brings 10 new rules including several type-based rules:

  • Arithmetic operations should not result in "NaN"
  • Values not convertible to numbers should not be used in numeric comparisons
  • Arithmetic operators should only have numbers as operands
  • Non-existent properties shouldn't be accessed for reading

JavaScript Plugin 2.17 RC1

04 Oct 15:23
Compare
Choose a tag to compare
Pre-release

SNAPSHOT version of the plugin to allow users to test the plugin during the request for feedback for the release 2.17.

This version brings a new bug-detection rule "The output of functions that don't return anything should not be used".

JavaScript Plugin 2.16 RC1

02 Sep 16:10
Compare
Choose a tag to compare
Pre-release

SNAPSHOT version of the plugin to allow users to test the plugin during the vote for release 2.16.

Here are the main changes:
-Rule metadata were reviewed to fit the new SonarQube quality model
-Class and property decorators are now supported (ECMAScript 2017)
-The symbolic execution engine now tracks relations between variables (e.g. "a > b")
-Integration with SonarLint was improved

JavaScript Plugin 2.15 RC1

09 Aug 12:55
Compare
Choose a tag to compare
Pre-release

SNAPSHOT version of the plugin to allow users to test the plugin during the vote for release 2.15.

This version brings:

  • support of some features proposed for ES2017
  • improvement of rules based on type inference
  • an improved function complexity computation
  • an improved detection of minified files
  • a new rule "Calls should not be made to non-callable values"
  • a new rule "Functions should not be called both with and without "new""

JavaScript Plugin 2.14 RC1

17 Jun 15:58
Compare
Choose a tag to compare
Pre-release

SNAPSHOT version of the plugin to allow users to test the plugin during the vote for release 2.14.
This version requires SonarQube 5.6 (LTS version) and Java 8.
It brings precise issue location for all rules and adds 2 new rules. Rules based on symbolic execution report better results.

JavaScript Plugin 2.13 RC1

20 May 13:01
Compare
Choose a tag to compare
Pre-release

SNAPSHOT version of the plugin to allow users to test the plugin during the vote for release 2.13.

This version brings a new bug-detection rule "Properties of variables with null or undefined values should not be accessed".

JavaScript Plugin 2.12 RC1

11 Apr 09:08
Compare
Choose a tag to compare
Pre-release

SNAPSHOT version of the plugin to allow users to test the plugin during the vote for release 2.12.

This version mainly brings:

JavaScript Plugin 2.11 RC1

01 Mar 13:48
Compare
Choose a tag to compare
Pre-release

SNAPSHOT version of the plugin to allow users to test the plugin during the vote for release 2.11.
This version mainly brings two things: new rules targeting ES2015 and improvement of some existing rules with the help of CFG (control flow graph).