Java/Scala/Kotlin Agent

2025 Release Notes

Version
Date
Changes

4.0.2688

December 3, 2025

New Features and Updates:

  • Switched the logging framework from Logback to Tinylog.

  • Upgraded the OpenTelemetry version used by the agent.

Resolved Issues:

  • Fixed source file resolution when using a Git repository without SeaLights plugins.

4.0.2682

November 11, 2025

Resolved Issues:

  • Fixed an integration issue in the SBT plugin.

4.0.2681

October 29, 2025

New Features and Updates:

  • Added diagnostic information reporting to the Cockpit.

  • Removed the use of certain external libraries.

  • Added support for multiple argLine entries in Maven Surfire and Failsafe configurations.

  • Added support for Java 25.

  • Upgraded the embedded OpenTelemetry Agent from version 1.26.0 to 1.33.6.

Resolved Issues:

  • Fixed an issue with TestNG 7 where tests recommended for skipping were reported as skipped but still executed.

4.0.2656

September 2, 2025

New Features and Updates:

  • Added support for locating buildSessionId.txt in the current working directory.

  • Introduced support for Karate 1.5.x, including reporting the detected Karate version to the Cockpit.

  • Removed unusued dependencies from the source code.

Resolved Issues:

  • Fixed test execution handling for Unit Tests and corrected footprint submission to the Collector.

4.0.2646

August 19, 2025

New Features and Updates:

  • Improved clock synchronization with updated default intervals and optimized logging.

  • Extended default timeouts for HTTP requests.

  • Enhanced parsing options for the Build Scanner CLI; parameters are now case sensitive.

  • Enhanced Agent behavior by reducing error logs when request sending is disabled; the Agent now automatically attempts recovery after 60 minutes.

  • Upgraded dependent libraries and removed vulnerabilities.

Resolved Issues:

  • Fixed TIA support for Cucumber 7.27.0.

  • Fixed AWS Lambda support by correcting retrieval of active executions.

4.0.2635

July 7, 2025

New Features and Updates:

  • Added support for parameterized TestNG tests.

  • Added ability to customize the parameter identified method for TestNG tests. Use the sl.parameterIdentifierMethod parameter instead of the default toString() behavior.

  • Enhanced pull request handling by extending the buildSessionId option with the parameters buildname and branchname.

Resolved Issues:

  • Fixed compatibility with TestNG 7.x.

4.0.2630

June 25, 2025

New Features and Updates:

  • Support for the testProjectId parameter, enabling more flexible test project configurations.

  • Detection and resolution of Git repository paths.

  • Added retry mechanism to ensure successful dispatch of the build completion event.

4.0.2623

June 18, 2025

New Features and Updates:

  • Added support for multi-component applications (multiple BuildSessionIDs managed in a single JVM process) for shared libraries support.

4.0.2622

May 29, 2025

New Features and Updates:

  • Added support for using encoded JWT tokens with the Java Agent.

  • Introduced a token encryption command in the build scanner utility for enhanced security.

  • Added support for executing the test listener with custom JVM parameters in the Gradle plugin.

4.0.2619

April 30, 2025

New Features and Updates:

  • Added support for TestNG and the Quantum framework.

  • Enhanced the Java CD Agent to allow passing the token via the SL_TOKEN environment variable.

4.0.2617

April 17, 2025

New Features and Updates:

  • Improved Agent stability by automatically disabling it when an overly broad packagesIncluded configuration is detected. This safeguard applies to the build scanner, test listener, and CD Agent.

4.0.2614

April 9, 2025

New Features and Updates:

  • Added feature-level support for Cucumber.

  • Enhanced resolution of executions in parallel test stages for more accurate reporting.

4.0.2610

March 24, 2025

New Features and Updates:

  • Enhanced SBT integration by allowing developers to define the taskAndTestStages property.

  • Introduced the diagnostic header x-sl-agentTechnology for improved traceability.

  • Added support for marking test runs as calibration runs using the parameter sl.calibrationLearning=true or the environment variable SL_CALIBRATION_LEARNING=true.

  • Optimized memory usage during partial build scans.

4.0.2606

March 1, 2025

New Features and Updates:

  • Extended support for pl.pragmatists.JUnitParams to versions 1.0.3 through 1.1.1.

  • Updated Logback libraries to address vulnerabilities (CVE-2024-12798, CWE-138).

  • Enhanced Maven integration with improved comments handling in pom.xml files.

  • Introduced the sl.pomIndentEnabled system property for sl-build-scanner.jar.

  • Improved handling of long TIA response times by interrupting requests exceeding 120 seconds.

4.0.2602

February 10, 2025

New Features and Updates:

  • Removed vulnerable library com.jcraft:jsch.

Resolved Issues:

  • Fixed duplicate reporting of skipped Cucumber tests JUnit 5 test discovery.

4.0.2599

February 3, 2025

New Features and Updates:

  • Improvement the CD Agent by automating the correction of the sl.includes and sl.excludes system properties.

Resolved Issues:

  • Improved support for custom class loaders returning null instead of ClassDefNotFoundException when a class is not found.

4.0.2596

January 16, 2025

New Features and Updates:

  • Enhanced integration with the Git CLI to streamline operations.

Resolved Issues:

  • Resolved an issue that could cause the Java agent to hang.

  • Fixed a problem where unit tests failed when loading apache.commons.configuration.

4.0.2593

January 12, 2025

New Features and Updates:

  • Added the ability to disable recursive scanning for the CD Agent.

4.0.2581

January 2, 2025

New Features and Updates:

  • Added support for launching the Java Agent using JBoss MODULE_OPTS.

  • Enabled compatibility with Bouncy Castle in JBoss environments.

  • Optimized memory usage for method-line coverage to reduce runtime footprint.

2024 Release Notes

Version
Date
Changes

4.0.2577

December 3, 2024

New Features and Updates:

  • Added the scanInnerJars feature flag to control scanning of embedded Java archives.

4.0.2574

November 21, 2024

New Features and Updates:

  • Added support for parametrized JUnit4 tests with JUnitParamsRunner.

Resolved Issues:

  • Improved context propagation support for Selenium Java.

4.0.2570

November 12, 2024

New Features and Updates:

  • Upgraded dependent libraries to address security vulnerabilities.

4.0.2565

October 26, 2024

New Features and Updates:

  • Upgraded dependent libraries to address security vulnerabilities.

Resolved Issues:

  • Improved handling of startup parameters in sap_java_buildpack.

4.0.2556

October 2, 2024

Resolved Issues:

  • Improved graceful Agent shutdown when network connection issues occur.

  • Fixed handling of the logEnabled parameter during Maven integration.

4.0.2550

September 24, 2024

New Features and Updates:

  • Added support for inherited JUnit4 and JUnit5 including final test methods.

4.0.2549

September 16, 2024

New Features and Updates:

  • Improved filtering of auto-generated Kotlin code when needed.

  • Added scannerTask option to Gradle tasks.

4.0.2539

July 22, 2024

New Features and Updates:

  • Improved Kotlin support.

Resolved Issues:

  • Fixed an issue where the test listener encountered errors when reading information from a JSON file.

4.0.2531

June 25, 2024

New Features and Updates:

  • Added support for per-line method coverage.

  • Added support for configuring the test listener from a JSON file, including token, buildSessionId and collectorUrl (primary for Lambda support).

  • Improved code instrumentation compatibility with JMockit.

  • Added support for working with the Gradle build cache.

4.0.2505

May 27, 2024

New Features and Updates:

  • Added support for mutation testing on the PiTest framework.

4.0.2499

April 30, 2024

New Features and Updates:

  • Introduced support for CD Agent with single components.

  • Improved detection of synthetic and inherited Scala methods to be ignored in build scans.

  • Added collector support for the Java Agent.

Resolved Issues:

  • Fixed scanning of classes located inside embedded Java archives.

Last updated

Was this helpful?