Release Notes - SonarQube - Version 6.4 - HTML format

Bug

  • [SONAR-6037] - Initial Elasticsearch indexation does not recover on failures/restarts
  • [SONAR-6135] - Error message with "Possible memory leak" when using MySQL
  • [SONAR-6315] - Registration of Quality profiles is slow at server startup
  • [SONAR-7752] - Server fails to start if property sonar.web.port=-1
  • [SONAR-8402] - Purge should delete queued task when deleting a project
  • [SONAR-8435] - WS api/system/status fails on timeout when server is being started
  • [SONAR-8712] - Quality Gate cannot be fetched if it includes a custom metric that was deleted
  • [SONAR-8767] - Hard to identify issues that makes the quality gate fails over leak period
  • [SONAR-8784] - Blank page when requesting pages starting with 2 slashes
  • [SONAR-8854] - Focus is kept on the error message on the login page
  • [SONAR-8869] - Empty portfolio graph
  • [SONAR-8909] - JS exception when browsing issues
  • [SONAR-8911] - Timeline is not correct on project page
  • [SONAR-8957] - Remove template permissions when removing a user
  • [SONAR-8960] - Migration removing quality gate conditions on IT/overall coverage is failing
  • [SONAR-8966] - The "Background Tasks" page should not be available on modules or folders
  • [SONAR-8975] - Project page extension link is wrong
  • [SONAR-8982] - Error message is not shown when issue action fails
  • [SONAR-8984] - Web page extensions are not loaded for just created portfolios
  • [SONAR-8995] - Scanner fails when using issue exclusions
  • [SONAR-9003] - Fix XSS
  • [SONAR-9004] - Max authentication session timeout is limited to 25 days, whereas it should be 3 months
  • [SONAR-9013] - Error 500 is generated when creating a custom rule from unknown template rule
  • [SONAR-9047] - Gratuitous call to google fonts
  • [SONAR-9056] - Even if the Governance plugin is removed, views are still returned in the upper right search
  • [SONAR-9057] - CE tables must be cleaned at startup by web leader, not by compute engine
  • [SONAR-9061] - Leak period header is not correct
  • [SONAR-9084] - Issue auto-assignment should ignore case when comparing with email address
  • [SONAR-9086] - Index on ORGANIZATION.KEE is not unique
  • [SONAR-9114] - The Project facet in the issue search only shows projects of the default organization
  • [SONAR-9118] - Organization name can be missing in front of project names in Issues page
  • [SONAR-9139] - Quality profiles administer permission should be required to creating a custom rule
  • [SONAR-9141] - Failure to create reports in issues mode when using branches
  • [SONAR-9148] - query fails on MsSQL due to excessive number of parameters
  • [SONAR-9155] - Fix https proxy authentication
  • [SONAR-9160] - All files are scanned in "issues" mode when analysing a branch
  • [SONAR-9168] - Indexing project measures index is failing when projects contain some old data
  • [SONAR-9170] - Creating a custom rule from a deleted template is possible although it should not
  • [SONAR-9173] - Footer is not displayed correctly on login page
  • [SONAR-9176] - Redundant request of organizations
  • [SONAR-9177] - Display of removed files is misleading
  • [SONAR-9197] - Web service api/rules/search is slow when there are many Quality profiles
  • [SONAR-9204] - File with BOM are not correctly parsed by the CPD tokenizer
  • [SONAR-9224] - Upload big analysis report can cause OutOfMemory errors on web server
  • [SONAR-9287] - Permission is missing for some users in api/permissions/users when there's more than 20 permissions
  • [SONAR-9851] - Global search may leads to out-of-memory exceptions

Improvement

  • [SONAR-3915] - Give the admin a way to add or remove notifications for a given user
  • [SONAR-5761] - Allow to display more results in the Search Box when reaching the limit of 6 results by category
  • [SONAR-6100] - Improve support of files with different encoding other than default encoding
  • [SONAR-6220] - Add a project name to the search results
  • [SONAR-6724] - Support modules having both source code and submodules
  • [SONAR-6911] - Improve the display of default group on the groups management page
  • [SONAR-6962] - Improve performances when searching for the issues of a single project
  • [SONAR-7485] - Improve logging of error messages at server startup
  • [SONAR-7500] - Improve error message when server fails to startup for "good" reason
  • [SONAR-7511] - Remove useless error log when forcefully stopping the Compute Engine
  • [SONAR-7818] - Remove RubyRailsWebservice API
  • [SONAR-7854] - Improve display of issue flows
  • [SONAR-7939] - Display recently visited favorite components
  • [SONAR-8174] - Log a meaningful error message from the SQ web server when ES is not available
  • [SONAR-8224] - Allow sorting by project name in api/components/search_projects
  • [SONAR-8225] - Allow sorting by metrics in api/components/search_projects
  • [SONAR-8231] - Return distribution of projects per language in api/components/search_projects
  • [SONAR-8251] - Deprecate a WS domain
  • [SONAR-8290] - Add language criteria in api/components/search_projects
  • [SONAR-8369] - Sanitize page titles
  • [SONAR-8408] - WS api/components/update_key and api/components/bulk_update_key should have the same name for key parameter
  • [SONAR-8452] - Projects Homepage for an authenticated user without favorites should be Projects > All
  • [SONAR-8521] - Improve rating facets on projects page
  • [SONAR-8596] - Untranslated microcopy in a project's issue tab
  • [SONAR-8598] - Filters available for "Issues" even if nothing matches
  • [SONAR-8601] - Performing bulk change in "Issues" is not intuitive
  • [SONAR-8602] - Clearing filters in "Issues" is not intuitive
  • [SONAR-8641] - Update severity icons
  • [SONAR-8718] - Allow HTML for WS domain description
  • [SONAR-8724] - Add the SonarQube base URL to webhook payload
  • [SONAR-8725] - Highlight matching characters in search results
  • [SONAR-8738] - When bulk assigning an issue to "Not Assigned", it does not select the checkbox
  • [SONAR-8771] - Display more languages on the Projects page
  • [SONAR-8772] - Performance hotspot in verification of project permissions
  • [SONAR-8773] - Move api/components/update_key and api/components/bulk_update_key to api/projects
  • [SONAR-8775] - Deprecate use of component uuid in api/components and api/projects
  • [SONAR-8777] - Correctly display changelog of web service past updates
  • [SONAR-8778] - Display the deprecated key and version of an active parameter
  • [SONAR-8779] - Do not display deprecated web services, actions and parameters by default
  • [SONAR-8783] - Improve display of error when uploading scanner report
  • [SONAR-8795] - Allow searching by project key and name in api/components/search_projects
  • [SONAR-8799] - Support POST redirects when sending webhook payloads
  • [SONAR-8803] - Allow sorting by quality gate in api/components/search_projects
  • [SONAR-8807] - Issue navigation is not easily discoverable
  • [SONAR-8815] - Specify operators in facets on projects page
  • [SONAR-8816] - Automatic election of the cluster web leader
  • [SONAR-8817] - Ensure cluster nodes have same SonarQube version
  • [SONAR-8822] - Default organization's administrators should not see global administration menu
  • [SONAR-8824] - Add since to the deprecated key of an active parameter
  • [SONAR-8825] - Deprecate parameters named 'key' in web services api/projects and api/components
  • [SONAR-8826] - Add SonarQube server version to the task report
  • [SONAR-8827] - Ensure consistency with the plugin information set
  • [SONAR-8832] - Support project level Sensors
  • [SONAR-8836] - Always display plugin categories in installed plugins page
  • [SONAR-8837] - Log summary of indexing tasks at server startup
  • [SONAR-8841] - Add tags to WS api/components/show response
  • [SONAR-8842] - Add tags to WS api/components/search_projects
  • [SONAR-8843] - Display projects tags
  • [SONAR-8844] - Administrate projects tags
  • [SONAR-8845] - Filter projects by tags
  • [SONAR-8846] - Compute distribution by tags for projects
  • [SONAR-8847] - Do not return duplicated views when searching for local views
  • [SONAR-8848] - Don't fallback to no proxy when a proxy is configured and fails
  • [SONAR-8870] - Search by WS descriptions
  • [SONAR-8874] - Display a panel with secondary locations
  • [SONAR-8880] - Use the new 6.4 Web API
  • [SONAR-8881] - Display changelog of web services in api documentation
  • [SONAR-8882] - Ease testability of InputFile virtual content
  • [SONAR-8886] - Collapse directory path in component header
  • [SONAR-8895] - api/permissions/add_user should fail if user doesn't belong to given organization
  • [SONAR-8898] - api/user_groups/add_user should fail if user doesn't belong to given organization
  • [SONAR-8899] - api/issues/assign should fail if user doesn't belong to issue's organization
  • [SONAR-8900] - api/issues/bulk_change should ignore issues assigned to user that is not a member of the issues organization
  • [SONAR-8901] - Associate new users to organizations
  • [SONAR-8903] - Stop ordering issues by creation date and change default filter
  • [SONAR-8904] - Make it clear why a file with no blocks is not part of the CPD analysis
  • [SONAR-8908] - Check permissions when displaying an issue permalink
  • [SONAR-8913] - Display analysis date on the Projects page
  • [SONAR-8916] - Deprecate parameters 'language', 'profileName' from api/qualityprofiles/search
  • [SONAR-8919] - Set default assignee within members of the project's organization
  • [SONAR-8921] - Delete organization members when deleting an organization
  • [SONAR-8927] - Change format of quality profile permalinks
  • [SONAR-8930] - When removing a user, remove him from any organization he belongs to
  • [SONAR-8931] - Support organization when creating quality profiles at startup
  • [SONAR-8935] - Log information when a new server member joins the cluster
  • [SONAR-8936] - api/permissions/add_user_to_template should fail if user doesn't belong to given organization
  • [SONAR-8953] - Isolate scrolling of facets sidebar on projects page
  • [SONAR-8956] - Forbid to remove last administrator when removing a member of an organization
  • [SONAR-8961] - When drilling down on local portfolios, the breadcrumb should contain the root portfolio
  • [SONAR-8962] - Make WS api/measures/search support Governance sub-views
  • [SONAR-8968] - Add organization filter to web service api/users/groups
  • [SONAR-8969] - Update issues WS response
  • [SONAR-8970] - When creating an organization, the creator should become member of it
  • [SONAR-8974] - Update "view" to "portfolio" in UI
  • [SONAR-8989] - tasks wrongly in "in progress" state should be reset to "pending" state
  • [SONAR-8996] - Only members must be returned in the different user searchbox
  • [SONAR-8997] - Filter organization members when selecting users to change permissions
  • [SONAR-8998] - Filter organization members when selecting users to change permission templates
  • [SONAR-8999] - Filter organization members when selecting users to change group members
  • [SONAR-9002] - Add a log when a node is waiting for back-end initialization from another node
  • [SONAR-9014] - Enforce usage of default group "sonar-users"
  • [SONAR-9016] - Return 'isDefault' field on WS that are returning groups
  • [SONAR-9018] - Create a "Members" group when creating an organization
  • [SONAR-9019] - Create "Members" groups on existing organizations
  • [SONAR-9020] - Create the group "Members" on default organization when activating organization
  • [SONAR-9022] - Prevent updating default user group
  • [SONAR-9023] - Update "Members" group when updating organization membership
  • [SONAR-9025] - Optimize computation of issue exclusions
  • [SONAR-9026] - Increase precision for coverage QG conditions
  • [SONAR-9037] - New users should not be associated to default organization when organizations are enabled
  • [SONAR-9039] - CE tasks must not be executed more than twice
  • [SONAR-9044] - Easy access to my organizations
  • [SONAR-9045] - Add a color legend to projects bubble charts
  • [SONAR-9048] - Restrict the parameter metricKeys of WS api/measures/component_tree to 15 values
  • [SONAR-9049] - Do not accept metrics with type DATA or DISTRIB in WS api/measures/component_tree
  • [SONAR-9050] - Reduce memory consumption of WS api/measures/component_tree
  • [SONAR-9051] - Ability to set the maximum number of values on a WS parameter
  • [SONAR-9062] - Use the network interface defined by sonar.search.host when resolving sonar.search.port=0
  • [SONAR-9063] - Add the number of multiple locations on issue box
  • [SONAR-9064] - Rework facets sidebar on the issues page
  • [SONAR-9065] - Display concise issues list when browsing code
  • [SONAR-9066] - Display secondary locations in the issues list
  • [SONAR-9067] - Display multiple flows in the issues list
  • [SONAR-9068] - Grant same permission as "sonar-users" group when creating "Members" group on default organization
  • [SONAR-9070] - Make it easier to work with test files in unit tests
  • [SONAR-9082] - H2 must bind only to the localhost interface
  • [SONAR-9083] - Return type in /batch/issues
  • [SONAR-9085] - Number of users per group in the "Groups" page can be wrong
  • [SONAR-9091] - Add parameter "visibility" to WS api/projects/create
  • [SONAR-9096] - Add "visibility" flag to response of WS api/components/search_projects
  • [SONAR-9099] - Add "visibility" flag to response of WS api/components/show
  • [SONAR-9107] - Add "projectVisibility" to response of WS api/navigation/organization
  • [SONAR-9110] - Create page extensions for organizations
  • [SONAR-9115] - Creation of custom rules must fail if organizations are enabled
  • [SONAR-9117] - Delete the unused Java interface org.sonar.api.security.ResourcePermissions
  • [SONAR-9119] - Disable organization form while submitting it
  • [SONAR-9120] - POST api/issues/set_tags response should contain issue information
  • [SONAR-9121] - Add a flag in api/navigation/organization to know if projects can become private
  • [SONAR-9122] - Prevent setting a project as private when organization is not allowed to use private projects
  • [SONAR-9124] - api/projects/update_visibility should fail when an organization cannot use private projects
  • [SONAR-9125] - api/organizations/update_project_visibility should fail when an organization cannot use private projects
  • [SONAR-9126] - Make it possible to prevent the processing of an analysis report by Compute Engine
  • [SONAR-9128] - Return avatars in WS api/users/search
  • [SONAR-9129] - Fix some glitches in documentation of WS api/qualityprofiles and api/rules
  • [SONAR-9130] - api/projects/create should fail when creating private project and organization is not allowed to use private projects
  • [SONAR-9133] - Number of Elasticsearch replica must be set at startup and overridable
  • [SONAR-9134] - Number of Elasticsearch master nodes must be set at startup and overridable
  • [SONAR-9135] - In cluster mode the node must stop if missing properties
  • [SONAR-9138] - Server startup logs about servlet filters are unreadable
  • [SONAR-9143] - Stop documenting 'previous_analysis' as a valid option for the leak period
  • [SONAR-9145] - Display 'Maximum values' metadata in web services list page
  • [SONAR-9150] - api/organizations/search should return paging in response
  • [SONAR-9151] - Add "visibility" flag to response of WS api/navigation/component
  • [SONAR-9162] - Add a flag in api/navigation/component to know if project can become private
  • [SONAR-9164] - Display project visibility badge
  • [SONAR-9165] - Allow to change project visibility on its permissions page
  • [SONAR-9166] - Allow to change default project visibility
  • [SONAR-9167] - Allow to set a visibility when creating a project
  • [SONAR-9174] - Display issue box on the last line of its primary location
  • [SONAR-9175] - Remember the last selection for My Issues / All filter
  • [SONAR-9180] - Remove default highlighting of invalid inputs in FF
  • [SONAR-9182] - Add visibility to WS api/projects/search
  • [SONAR-9183] - Do not collapse setting descriptions
  • [SONAR-9187] - Display the global search input in the navigation bar
  • [SONAR-9188] - Update qualifier icons
  • [SONAR-9189] - Always display avatars even if gravatars are disabled
  • [SONAR-9190] - Embed SonarXML code analyzer
  • [SONAR-9193] - l10n WS should also return the bundle language
  • [SONAR-9194] - Add canAdmin flag to api/navigation/global
  • [SONAR-9199] - InputFile::content() and InputFile::inputStream() should filter BOM
  • [SONAR-9217] - Make components easier to find, by alphabetically ordering search suggestions, if they have the same relevancy
  • [SONAR-9219] - Deprecate parameters "developer{Id|Key}" in web services api/measures/component and api/measures/component_tree
  • [SONAR-9220] - Update OkHttp to v3.7
  • [SONAR-9221] - Update embedded analyzers
  • [SONAR-9222] - Enable avatars with initials by default, instead of gravatars
  • [SONAR-9265] - Extra log error when stopping a cluster
  • [SONAR-9286] - Elasticsearch error during startup in DataCenter Edition

New Feature

  • [SONAR-8838] - Create WS to set tags of a project
  • [SONAR-8840] - Create WS to search for project tags
  • [SONAR-8857] - Quality Profiles should belong to organizations
  • [SONAR-8865] - Rules should be managed per organization
  • [SONAR-8875] - Add language facet on projects page
  • [SONAR-8876] - Add a searchbox for the language facet on the projects page
  • [SONAR-8877] - Add a project searchbox on the projects page
  • [SONAR-8878] - Add a sorting button for every facet on the projects page
  • [SONAR-8892] - Create api/organizations/add_member
  • [SONAR-8893] - Create api/organizations/remove_member
  • [SONAR-8894] - Create api/organizations/search_members
  • [SONAR-8910] - Populate organization members
  • [SONAR-8922] - Create the tags facet on the projects page
  • [SONAR-8923] - Create the tags searchbox on the tags facet
  • [SONAR-8959] - Display portfolios link near projects link
  • [SONAR-8977] - Add quality model bubble chart
  • [SONAR-8978] - Add simple bubble charts
  • [SONAR-8990] - Display the list of organization members
  • [SONAR-8991] - Ability to manage the organization membership of a user
  • [SONAR-8992] - Shows a modal to search and add a member
  • [SONAR-8993] - Add a modal window to remove member
  • [SONAR-8994] - Show a modal to manage the groups of a member
  • [SONAR-9005] - Move rules tab into the organization scope
  • [SONAR-9008] - Move quality profiles tab to organization scope
  • [SONAR-9054] - PageDefinition API can be scoped to an organization
  • [SONAR-9087] - Add private flag on components
  • [SONAR-9088] - Add a flag per organization to indicate the default visibility of new projects
  • [SONAR-9089] - Apply public flag on components when resolving permissions
  • [SONAR-9105] - Add WS api/projects/update_visibility
  • [SONAR-9106] - Add WS api/organizations/update_project_visibility
  • [SONAR-9156] - Apply organizations' default visibility in api/ce/submit when auto provisioning project

Task

  • [SONAR-7860] - Remove CodeColorizerFormat API
  • [SONAR-8092] - Improve reliability of bulk indexing during server startup
  • [SONAR-8390] - Improve reliability of indexing of users in Elasticsearch
  • [SONAR-8400] - Backend cleanup must clean CE tables
  • [SONAR-8456] - Remove old/useless properties from CoreProperties
  • [SONAR-8809] - Incrementally index components (instead of delete and create whole projects)
  • [SONAR-8902] - Create ORGANIZATION_MEMBERS table
  • [SONAR-8906] - Hide sonar.import_unknown_files from the UI
  • [SONAR-8938] - Merge properties sonar.cluster.name and sonar.search.clusterName
  • [SONAR-8980] - Add organization to user ES index
  • [SONAR-8983] - Changelog must be deleted from database when deleting a Quality profile
  • [SONAR-9042] - Add organization parameter to WS api/issues/tags
  • [SONAR-9071] - Provide number of "more" results in api/components/suggestions
  • [SONAR-9072] - Provide warning about ignored, short search terms in api/components/suggestions
  • [SONAR-9073] - Rename qualifiers in api/components/suggestions
  • [SONAR-9074] - "recently browsed" in api/component/suggestions
  • [SONAR-9075] - Allow to increase the number of results for one qualifier in api/components/suggestions
  • [SONAR-9076] - Add organization to response of api/components/suggestions
  • [SONAR-9077] - Search result highlighting for api/components/suggestions
  • [SONAR-9078] - Add project to response of api/components/suggestions
  • [SONAR-9079] - "favorites" in api/component/suggestions
  • [SONAR-9080] - Stop using api/batch/users
  • [SONAR-9132] - Template rules must not be visible on instances with organizations enabled
  • [SONAR-9186] - Return unfiltered list of favorites and recentlyBrowsed in api/components/suggestions
  • [SONAR-9312] - Replace SonarQube.com by SonarCloud

Sub-task

  • [SONAR-8818] - Add properties in sonar.properties to configure Hazelcast cluster
  • [SONAR-8819] - Fail if property sonar.cluster.web.startupLeader is configured
  • [SONAR-8859] - Create Quality profiles on default organization
  • [SONAR-8866] - New parameter "organization" on api/rules/app
  • [SONAR-8867] - Rule tags, extended description and remediation function must belong to an organization
  • [SONAR-8888] - Create provided profiles when creating an organization
  • [SONAR-8889] - Delete Quality profiles when deleting an organization
  • [SONAR-8924] - Make rule statistics, returned by ws/api/qualityprofiles/search organization specific
  • [SONAR-8925] - Make the scanner provide the organization key, when asking for active quality profiles of a project
  • [SONAR-8926] - New parameter "organization" on web service api/qualityprofiles/search
  • [SONAR-8932] - New parameter "organization" on web service api/qualityprofiles/delete
  • [SONAR-8933] - New parameter "organization" on the web services api/qualityprofiles related to backup
  • [SONAR-8940] - New parameter "organization" on the web services api/qualityprofiles related to projects
  • [SONAR-8942] - Add organization parameter to WS api/quality_profile/[de]activate_rule[s]
  • [SONAR-8943] - Add organization parameter to WS api/quality_profile/change_parent and /inheritance
  • [SONAR-8944] - Add organization parameter to WS api/qualiy_profile/compare
  • [SONAR-8945] - Make WS api/quality_profile/rename organization aware
  • [SONAR-8946] - Add organization parameter to WS api/quality_profile/set_default
  • [SONAR-8947] - Add organization parameter to WS api/qualityprofiles/changelog
  • [SONAR-8948] - New parameter "organization" on the web service api/qualityprofiles/copy
  • [SONAR-8949] - Add organization parameter to WS api/rules/update
  • [SONAR-8950] - Add organization parameter to WS api/rules/search
  • [SONAR-8951] - Add organization parameter to WS api/rules/show
  • [SONAR-8952] - Add organization parameter to WS api/rules/tags
  • [SONAR-8971] - Compute Engine should check that the Quality profiles sent by scanner relate to the expected organization
  • [SONAR-8985] - CE workers must have a unique identifier and persist it to tasks they process
  • [SONAR-8986] - In progress tasks of non existent ce workers should be automatically reset
  • [SONAR-8987] - CE workers should reset any in progress tasks of their own when looking for new tasks to process
  • [SONAR-8988] - Listen to membership leaving inside CE with HazelCast
  • [SONAR-9038] - Update WS api/issues/tags to work with new rule index types
  • [SONAR-9040] - do not try and execute tasks which have already been executed twice
  • [SONAR-9041] - Add a job to CE to automatically cancel tasks which been executed twice
  • [SONAR-9052] - Add organization parameter to WS api/issues/search
  • [SONAR-9090] - Populate PROJECTS.PRIVATE column based on existing permissions and clean permissions
  • [SONAR-9102] - Ensure consistency of projects permissions in api/permissions/add_group
  • [SONAR-9103] - Ensure consistency of projects permissions in api/permissions/add_user
  • [SONAR-9104] - Ensure consistency of projects permissions in api/permissions/remove_group
  • [SONAR-9108] - Consider private flag of component when applying permission template
  • [SONAR-9109] - Apply public/private flag on components in Issues, Components and ProjectMeasures indexes
  • [SONAR-9136] - Support public/private projects in default permission templates
  • [SONAR-9140] - Public root components virtually give permissions USER and BROWSE to any group and user
  • [SONAR-9159] - Ensure consistency of projects permissions in api/permissions/remove_user
  • [SONAR-9192] - Support public/private projects in permission templates

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.