# Changelog for Teamscale 6.4


Check out the Release Newsletter for Teamscale 6.4.

Changed permissions when running Teamscale in Docker

  • As of Teamscale 6.3, Teamscale is no longer executed as the root user in the Docker container, but as user teamscale (UID=1000). Please make sure to either allow this user to access the mounted directories and files or add a user mapping to your docker-compose file, e.g. user: technical-user, which refers to a user whose permissions should be mapped to teamscale.

Versions older than 4.0.0 are no longer supported

  • As of Teamscale 6.3, importing data from versions earlier than 4.0.0 is no longer supported

Changed System Requirements

  • As of Teamscale 6.2, running the Teamscale server requires a Java Runtime Environment, Version 11 or later.

Deprecated REST XML Interface

  • As of Teamscale 6.0, Teamscale's REST XML interface has been deprecated. Accordingly, any existing scripts should be migrated to the new public API.

Changed loading of configuration files and locating relative paths

  • As of Teamscale 6.0, all configuration files are loaded using the same logic. In particular configuration files in the process working directory take precedence over ones in the Teamscale installation.
  • Relative paths specified in configuration files will always be resolved to the working directory. The working directory usually equals the installation directory unless explicitly changed.
  • Custom check JAR files can be deployed in a directory relative to the working directory and installation directory.
  • Searching for a Teamscale configuration file teamscale-config.properties in the installation root directory. Use the file teamscale.properties in one of the config directories.
  • Searching for a license in the installation root directory or a directory specified by the Java system property teamscale.license.path is no longer supported. Use the environment variable TEAMSCALE_CONFIG to specify a separate configuration directory or pass the license using the TS_LICENSE environment variable if you cannot place the license in one of the config directories.
  • The administrative service to read and write configuration files via the Web API (config-files) has been removed.

Update from Older Version

  • When updating from 6.4.x, drop-in.
  • When updating from 6.3.x or earlier, a full re-analysis via backup is required.

# Version 6.4.2 latest

Download Teamscale v6.4.2 (ZIP)
1st December, 2020

# Fixes

  • Repeated line comments for structure findings whose associated metric details had changed
  • Testwise coverage was not shown when opening a file via an architecture path
  • False positives for "Avoid using c-style arrays in C++" check flagging char[] used for string constants
  • False positives for "Avoid conditional expressions of the form if (true..." checks in case of complex expressions
  • Connector option Ignore Yellow Findings For Comments did not have any effect
  • Switching default branches in Git connectors could lead to unwanted side effects and missing commits
  • Creating an external upload session based on a Git revision failed in case of missing credentials
  • ESLintFindingsSynchronizer failed with ESLint could not find plugin message when using custom ESLint configuration
  • NullPointerException when parsing Simulink models with unsupported port types
  • Scheduled maintenance triggers were skipped when Teamscale was under high load

# Improvements

# Version 6.4.1

Download Teamscale v6.4.1 (ZIP)
24th November, 2020

# Fixes

  • Rollbacks occured due to write overlap
  • Trends in the Issues page started on January 1st 1970
  • Single Metric Trend Chart widgets showed no trend
  • False positives for "Statements in Conditional Expression are equal" check for C/C++ in case of macro expansions
  • Upload dates for external data changed in case of reanalyses or rollbacks
  • Changes to the field Finding Creation in the architecture editor were sometimes overwritten
  • The font size of block quotes in task descriptions was too big
  • User or group filter dropdowns in the Activity perspective were initially empty
  • Sorting the table in the Files page in the Test Gaps perspective did not work

# Version 6.4.0

Download Teamscale v6.4.0 (ZIP)
17th November, 2020

# Major Features

  • Analysis granularity configuration
  • Support for importing SonarQube Quality Profiles (Java, JavaScript, Kotlin and PHP)
  • Test Gaps perspective: New Unlinked Changes page showing changes with test gaps, which are not linked to any issue

# Web UI

  • Code view: Line coverage can now be filtered by partitions
  • Activity perspective: New detail view for test coverage upload commits
  • Activity perspective: Commits can now be filtered using the text in commit messages
  • Baselines can now be added or edited directly from the widget settings dialog
  • New toggle to hide default or unused profiles in the Analysis Profiles page

# Architecture Editor

  • Sub-components can now be collapsed
  • Ability to sort the mappings list either lexicographically or based on the number of matches

# SAML Integration

  • Support for encrypted assertions and generating metadata XML for IdP
  • New option to specify SAML IdP metadata via URL
  • Improved error messages in case of SAML authentication issues

# Languages and Tools

  • JavaScript/TypeScript analysis: Support for .jsx and .tsx file extensions
  • C/C++: Any preprocessor directives can now be used in the default-directives box in the analysis profile
  • Simulink Model Advisor: Findings are now generated for failed analyses from the report
  • Simulink Model Advisor: Support for some legacy checks
  • SAP integration: Coverage from SAP tests can now be retrieved per test

# New Checks

  • "Comments should not contain nested comments" check (Objective-C & Python)

# Administration

  • New analysis profile option allowing Clang-Tidy C++ checks to be executed for C code as well
  • Ability to export analysis profiles, project configurations, dashboards and threshold profiles in JSON format