---
url: /changelog/v2025.4.x.md
---

# Update Notices for Teamscale 2025.4

:::tip Teamscale 2025.4 is now available

* The Docker image `cqse/teamscale:2025.4.0` is now available on [Docker Hub](https://hub.docker.com/r/cqse/teamscale/tags)
* You can also download Teamscale as a ZIP archive [here](patch-releases.md)
  :::

::: details   Removed feature: Timespan-based threshold configurations
The Timespan-based threshold configurations section of the "Threshold Configuration List" project option has been removed,
as this functionality caused inconsistencies when combined with certain other features and was rarely used.
This change does not affect the project's default threshold configuration.
:::

::: details   Deprecated Legacy API: Pre-Commit 2 REST API
The pre-commit 2 REST API, unused by Teamscale's own IDE plug-ins since version 9.3, has been deprecated and will be completely removed with version 2025.5.

**Action required**: If you are using the API to make pre-commit requests, either update to the new `/api/projects/{project}/pre-commit3` REST API or, preferably, use the [command-line client for developers (`teamscale-dev`)](../../reference/cli/teamscale-dev/#the-pre-commit-command) to perform your requests.
:::

::: details   .NET 8 Required (for analysis of C# code)

Starting with version 2025.2, the Teamscale server will [require](../../reference/system-requirements/#additional-system-requirements-for-specific-analyses) .NET 8 to execute the internal analysis tools *StyleCop*, *SonarLint* and *SecurityCodeScan*.

**Action required**: In case you are not using a Docker-based deployment, please make sure to update to .NET 8 framework.
:::

::: details   Java 21 Required (Teamscale server application)

Starting with version 2024.9, the Teamscale server will [require](../../reference/system-requirements/#system-requirements-for-analysis-server) Java 21 to be executed.

**Action required**: In case you are not using a Docker-based deployment, please make sure to update the JRE used for executing Teamscale to Java 21.
:::

::: details   Java 21 Required (`teamscale-dev`)

Starting with version 2024.9, the [platform-independent download](../../reference/cli/teamscale-dev/#installation) (`teamscale-dev.zip`) of `teamscale-dev` will require Java 21 to be executed.

**Action required**: In case you are not using the self-contained platform-dependent `teamscale-dev` download (`teamscale-dev-windows-x86_64.zip`, etc.), please make sure to update the JRE used for executing `teamscale-dev` to Java 21.
:::

::: details   Disabled Legacy API: Update .NET Profiler, ADO Plugin & REST API calls
From version 2024.8 the Legacy API has been disabled by default, and we plan to completely remove it with 2025.1 (or later).

**Action required**: Make sure you update the [Teamscale .NET Profiler](https://github.com/cqse/teamscale-profiler-dotnet), [Teamscale Plugin for Azure Dev Ops](https://github.com/cqse/Teamscale-AzureDevOps-Extension) or scripts that interact with Teamscale's Legacy REST API to their newest versions.

To temporarily re-enable the Legacy API (in case you cannot upgrade a part of your setup yet), you can set the system property `com.teamscale.legacy-api.enabled` to `true`.

Teamscale will show a warning banner to administrators if usages of the Legacy API have been detected since the last instance restart. You will find the used legacy services in the *System -> Service Log* view.\
:::

::: details   Removed feature: "Pretty Print" file action in code view
From version 2024.7.0 the ability to generate a pretty-printed representation of a file was removed.
The feature was not working reliably for all programming languages and at the same time was rarely used.
:::

::: details   Bitbucket Server/Data Center Integration: Support for "Source branch updated" webhook event
From version 2024.7, **Source branch updated** has been added to the list of the webhook events needed for
[Teamscale's Bitbucket Server/Data Center integration](../../howto/connecting-version-control-system/bitbucket/#bitbucket-data-center-on-premise-integration)
to work.

**Action required**: If you create the Bitbucket repository webhooks manually, then please update your current webhooks
to include the **Source branch updated** event as described [here](../../howto/connecting-version-control-system/bitbucket/#manual-creation-of-webhooks).
If not, then the webhooks will be updated automatically by Teamscale.
:::

::: details   Updated Minimum Bitbucket Server/Data Center Version
From version 2024.7, the minimum required Bitbucket version for
[Teamscale's Bitbucket Server/Data Center integration](../../howto/connecting-version-control-system/bitbucket/#bitbucket-data-center-on-premise-integration)
has been updated and raised to **7.0.0**.
Teamscale's pull request integration features are no longer available for Bitbucket Server/Data Center instances
older than 7.0.0.
:::

::: details   Removed feature: bgRFC protocol for background full sync with SAP ABAP systems
The option to execute full syncs with SAP ABAP systems in the background using the bgRFC protocol has been deprecated since
version 9.6 and is no longer available with Teamscale 9.8.
Please use the default option of scheduling a batch (BTC) job instead. For further information please refer to the [documentation](../../howto/sap-integration/teamscale-sap-connection/#background-full-sync)
:::

::: details   Re-Analysis when Upgrading

* When updating from 2025.4.x, drop-in.
* When updating from 2025.3.x or earlier, a full re-analysis via backup is required.
  :::

***

# What's New for Teamscale 2025.4

## Critical Changes in Merge Requests

Teamscale now introduces merge request badges that highlight **critical changes** that require special attention within
your codebase through merge requests, ensuring that software teams can adapt
their quality assurance and review processes based on the criticality of code modifications.
Teamscale posts these badges when changes occur in predefined critical code areas within a merge request.

![Critical change badges in Bitbucket pull request](bitbucket_pr_critical_change_badges.png)

Key features include:

* **Customization Options**
  * Badges can be tailored with specific titles, texts, descriptions, colors, and hover text.
  * Badges support markdown-based descriptions and can include optional clickable links, offering direct access to relevant guidelines or detailed information.
* **Configurability**
  * Ability to define regex patterns for identifying critical files and/or methods. So whenever changes in a merge request match
    the defined patterns, badges are applied indicating that the merge request requires special attention (e.g. an additional expert review).
* **Badge Visibility**
  * Badges are prominently displayed in the merge request.
  * *Critical Changes* section is displayed in the merge request details view showing all relevant badges, their descriptions, and the specific changes that triggered them.
    ![Critical Changes section in the merge request details view](critical_changes_mr_detail_view.png)

This feature is currently available only for **Bitbucket Data Center**.
Detailed instructions on configuring the critical change badges can be found in our [documentation](../../howto/tracking-critical-changes-in-merge-requests/).

## Git Repository Support

### Git LFS

Teamscale now supports **Git LFS**, enabling the analysis of code files stored in Git Large File Storage by resolving LFS links
and downloading the actual files rather than just placeholder metadata. This enhancement allows for proper analysis of files
stored in LFS, respecting existing include patterns and file size limits.

Moreover, a toggle option in the connector settings lets users enable or disable automatic fetching of LFS files as needed.

### Bearer Authentication

Teamscale now supports **Bearer authentication** for [Bitbucket Data Center](../../howto/connecting-version-control-system/bitbucket/#bitbucket-data-center-on-premise-integration)
and [SCM-Manager](../../howto/connecting-version-control-system/scm-manager/) connectors, accommodating environments that have
moved away from basic authentication. Users can configure Teamscale to use Bearer tokens for API requests, ensuring seamless
access to the git repositories.

## Web Interface

This new release includes several improvements to make Teamscale's Web UI more accessible and user-friendly.

### Merge Request Detail View

* Merge request detail view now displays the same test gap badge that is posted to the merge request,
  providing a consistent visual cue to direct attention to the relevant test gap section.
* Merge request detail view now includes a *Test Suggestions* section, providing users with insights into
  which tests are affected by changes in a merge request.
  ![Test Suggestions section in the merge request details view](test_suggestions_section.png)

### Additional Improvements

* **Finding detail view**: A new *Additional Information* table showing **jQAssistant** finding **properties** is now displayed directly
  below the finding description, providing developers with essential information alongside the code for better understanding.
* **Issues page**: Ability to filter and/or sort the issues based on the issues' number of **affected files**.
* **Code view**: A *Coverage Mode* toggle is now available to display test gaps or test coverage, highlighting methods with test gap colors for clarity.
  ![Code view with test gap mode on](code_view_coverage_mode.png)

## Guideline Support

* Teamscale now supports **customer-defined guidelines** by allowing guidelines to be imported from TSV files located in the config directory.
  For more information on creating and configuring guidelines, please refer to our [documentation](../../howto/creating-a-guideline/).
* The new **Guideline Explorer** page in Teamscale offers detailed **meta-information** for each guideline, including the author,
  responsible organization, external resources, and a description covering the guideline's scope and applicability.
  This enhancement aids in comprehending guideline mappings and is accessible from various locations where guidelines are mentioned.
  ![Guideline Explorer](guideline_explorer.png)

## Retrospectives Support

### Trend Chart Integration

This release introduces a trend chart in the *Analysis Insights* tab, allowing quality engineers to quickly assess key quality metrics.
Users can view trends for **source lines of code (SLOC)** alongside either **number of findings** or **findings density**,
providing a clear visualization of quality changes over time.

![Trend chart in Analysis Insights tab](retro_support_trend_chart.png)

This enhancement supports a more streamlined quality control process, making it easier to prepare for retrospectives with
an appealing visual tool.

## Static Analysis

### C# 13 Support

Teamscale now supports new features introduced with [C# 13](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13), aligning with recent language updates to ensure comprehensive analysis and functionality.

### Header File Analysis with cppcheck

**C code analysis** in Teamscale has been enhanced by supporting the analysis of header files with cppcheck, allowing for more detailed and accurate findings.
This update efficiently tracks findings across different files, ensuring all relevant data is captured and preventing redundancies.

## Test Intelligence

* **Test Selection View**: Risks can now be defined based on issue queries.

## New Checks & Check Options

### Java

* New "Do not use the `assert` keyword" check.
* New "Parameters of abstract methods must not be final" check.
* "Empty blocks" check now supports [Jakarta JPA](https://jakarta.ee/specifications/persistence/),
  preventing unnecessary findings for empty constructors.

### Matlab

* New "Used but undeclared variable in program" check.

## Administration & Operation

* Instance Comparison is now aware of many built-in configuration changes and filters out expected differences caused
  by analysis profile migrations.
* A new global permission, `VIEW_USER_STATISTICS`, has been introduced allowing access to user statistics, such as active user
  and contributor counts, without requiring admin rights.
