Release Notes v4.0

We’re thrilled to announce that we’ve released version 4.0.0 onNov 9, 2020

Download on the Atlassian Marketplace for Server and Data Center

When upgrading from an app version 2.x or 3.x, please read our Migration guide to app version 4.

Improvements

Version range of supported SonarQube versions change to 7.8 - 8.x

By focusing on versions 7.8 upwards, we could simplify the app’s architecture. There is no need anymore to analyze the underlying build system (Maven, SonarScanner, etc.) because newer SonarQube versions use the file path representation for the component keys, and also because these newer versions deliver the commit SHA with the webhook which allows us to add annotations to Bitbucket with Code Insights more reliably. This will also reduce the analysis processing of the app and the number of requests that are sent to SonarQube which results in a better overall performance.

 

Add user tokens REST endpoint to Swagger REST documentation

Document the user tokens REST endpoint /rest/sonar4stash/1.0/user-tokens/USER_SLUG in our REST documentation.

 

Removal of features and configuration settings

After much thought, we decided to remove the following features and app settings with this major version upgrade :

  • Custom merge checks => use SonarQube’s own quality gates for the merge checks instead

  • Branch-based analysis build type and use leak period everywhere

  • "Show only new issues" option

  • "Show behind warning" option

  • "Prevent failed or in-progress builds" option

  • "Show quality gate status in lists" option

  • Global settings "thread pool size, timeouts, showing quality gate status"

For more information about what you need to change when upgrading, read our Migration guide to app version 4.

Changelog

4.0.0: resolved issues on Nov 9, 2020

  • /tags API call should use organization key, otherwise, it times out on SonarCloud

  • Get rid of CSS AUI padding override which results in a display issue with project / repository path separators

  • Do not log error to Bitbucket log in case a branch got deleted and repository configuration to delete cannot be found

  • Quality gates cannot be copied for SQ versions >= 8.4 due to its change to alphanumeric IDs

 

Do you have any questions, suggestions, or problems?

Let us know. We’re glad to help!

 

SONARâ„¢, SONARQUBEâ„¢ and SONARCLOUDâ„¢ are independent and trademarked products and services of SonarSource SA: see sonarsource.com, sonarqube.org, sonarcloud.io.