# Changelog for Teamscale 6.3

Newsletter

Check out the Release Newsletter for Teamscale 6.3.

Changed permissions when running Teamscale in Docker

  • New: 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

  • New: 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.3.x, drop-in.
  • When updating from 6.2.x or earlier, a full re-analysis via backup is required.

# Version 6.3.3 latest

Download Teamscale v6.3.3 (ZIP)
27th October, 2020

# Fixes

  • The affected files and the test gap treemap in the Issue detail view included changes which have only been merged from another branch
  • Finding toleration was not applied to the correct date after a backup import
  • Tooltips were not closed when switching between different dashboards
  • Changing the status of a task led to an InternalServerError in certain conditions
  • C/C++ enums in methods were not parsed correctly
  • False positives in "Non-empty switch clauses have to be terminated unconditionally" check with C fallthrough attributes
  • Gitlab server permissions were not validated during project creation
  • "Consistent Storage Class Modifiers" findings were not linked to any siblings
  • C/C++ unused parameter annotation was not recognized if it contained a line break
  • Metrics view did not show correct delta for small changes in the clone coverage metric
  • Architecture analysis logged too many warnings about overlapping components
  • Test executions were not merged anymore
  • Metrics view table was unreadable if the window was too narrow
  • Eclipse plug-in allowed findings, introduced on the temporary pre-commit branch, to be flagged as tolerated or false-positive
  • Dataflow annotation indices in the Finding detail view were incorrect if multiple files were affected

# Improvements

  • IDE Plugins: Deleted files no longer count towards the server's pre-commit file limit
  • Dataflow finding descriptions were improved

# Version 6.3.2

Download Teamscale v6.3.2 (ZIP)
20th October, 2020

# Fixes

  • Review status for a file that was changed after the last review was not updated
  • Objects used as function parameters in AngularJS methods were incorrectly parsed
  • StyleCopFindingsSynchronizer crashed when encountering files exceeding the Windows filename length limit
  • False positives in naming conventions analysis for TypeScript parameters
  • Triggering a re-analysis after changing an analysis profile validated the old analysis profile instead of the updated one
  • The findings marker was sometimes rendered on the wrong code snippet lines in the Task Detail slide
  • Unnecessary scrollbars were displayed in the treemap and trend history dialogs
  • Labels for issue states were sometimes rendered incorrectly
  • Wrong redirection for some legacy tasks perspective URLs
  • False positives for "Each variable should be declared on a separate line" check in C# in case of tuple typed properties
  • Incorrect test gap churn percentage was dispalyed in the Files and Issues views in the Test Gaps perspective
  • Multiple views and pages did not load in Internet Explorer
  • Dropdown menus were sometimes not wide enough in Internet Explorer
  • Permanent offline warning was shown in the report editor in Internet Explorer
  • Report editor had unnecessary scrollbars in Internet Explorer
  • IntelliJ did not respect local encoding when uploading source files for pre-commit analysis
  • Dashboard names containing a slash were not fully displayed
  • Cloud icon caused a UI glitch in the delete architecture dialog

# Version 6.3.1

Download Teamscale v6.3.1 (ZIP)
13th October, 2020

# Fixes

  • The Numneric Metric Value Widget showed value and trend with different numeric precision
  • "Non-virtual destructor" check for C++ did not accurately implement the Autosar ruleset
  • False positives for "Catch of generic exception" check in C# when using the when clause
  • False positives in dead store analysis for C# discards
  • Comment ratio metric mistakenly took architectures into account
  • IllegalArgumentException in Assignment of variable to itself check due to certain TypeScript function declarations
  • NullPointerException occurred during the dead store analysis in rare cases
  • NullPointerException occurred during backup import
  • OutOfMemoryError in DeleteExternalAnalysisResultTrigger when deleting huge commits
  • OutOfMemoryError in IntegrateImportedAnalysisResultsTrigger when overwriting huge reports
  • TestGapSynchronizer was very slow for certain commits

# Version 6.3.0

Download Teamscale v6.3.0 (ZIP)
6th October, 2020

# Architecture Editor Enhancements

  • Architecture editor now allows to reference and exclude other components in code mappings
  • Architecture editor now supports focusing on components and their transitive dependencies
  • Components can be dragged after exiting policy creation with Esc
  • Component properties view now indicates overlapping regexes with a warning icon
  • Components created from orphans are automatically resized to fit entire name
  • Special handling for single component result queries in the architecture editor
  • Ability to search for types in the architecture editor

# Test Gap Analysis

  • Test Gap percentage and number of Test Gaps are now both displayed in the Files and Issues views in the Test Gaps perspective
  • Test Gap analysis now considers changes which have been introduced in merge commits
  • Partitions can now be assigned labels to allow selecting multiple partitions at once in the coverage selector

# Web UI

  • Project and branch selectors now remember recently viewed items and display them first
  • Task comments now support Markdown
  • User who tolerated a finding is now displayed in the findings table
  • Context menu actions in the findings table allowing easier filtering
  • New filter options in the findings table
  • Resource history view now supports filtering of commits
  • Merged coverage entries are now shown in the Method history view

# New Checks

  • "Type inference should be used for lambda parameters" check (Java)
  • "Do not put multiple statements in a Lambda expression" check (Java)
  • "Do not use parallel streams" check (Java)

# Tools Support

  • Findbugs reports with FindSecBugs findings are now supported
  • Integration of Mypy static type checker for Python

# ABAP

  • ABAP version of connected systems is now logged and optionally included in usage data
  • Support for RFC-enabled functions in taint propagation analysis

# Administration

  • User search has been extended to include searching in group names
  • "Unused variable or parameter" check now allows filtering of protected methods