Java/Scala/Kotlin Agent
4.0.2623
June 18, 2025
New feature: Added support for multi-component applications.
The coverage listener now collects code coverage for individual components running within the same JVM during functional tests.
4.0.2622
May 29, 2025
New feature: Added support for using encoded JWT tokens with the Java Agent.
New feature: Introduced a token encryption command in the build scanner utility for enhanced security.
New feature: The Gradle plugin now supports test listener execution with custom JVM parameters.
You can configure this using the
javaAgentExtraJvmParams
property in the Sealights configuration file.
Example:
"javaAgentExtraJvmParams": ["-Xmx2g", "-XX:+HeapDumpOnOutOfMemoryError"]
4.0.2619
April 30, 2025
New feature: Added support for TestNG and the Quantum framework.
When the JVM property
sl.tia.testNgTestLevel=quantumFeature
is set, tests are aggregated at the Quantum feature level.
Improvement: The
SL_TOKEN
environment variable can now be used to pass the token to the Java CD Agent.
4.0.2617
April 17, 2025
Improvement: To prevent performance issues, the agent will now disable itself if configured with an overly broad
packagesIncluded
parameter.
This safeguard applies to the build scanner, test listener, and CD agent.
4.0.2614
April 9, 2025
New feature: Added feature-level support for Cucumber.
When the JVM property
sl.cucumberFeatureLevel=true
is set, feature files are reported as individual tests. By default, each scenario is reported separately.
Improvement: Enhanced resolution of executions in parallel test stages for more accurate reporting.
4.0.2610
March 24, 2025
New feature: Enhanced SBT integration—developers can now define the
tasksAndTestStages
property.
New feature: Introduced the diagnostic header
x-sl-agentTechnology
for improved traceability.
New feature: Added support for marking a test run as a calibration run using the property
sl.calibrationLearning=true
or the environment variableSL_CALIBRATION_LEARNING=true
.
Improvement: Optimized memory usage during partial build scans.
4.0.2606
March 1, 2025
New feature: Extended support for
pl.pragmatists.JUnitParams
from versions 1.0.3 to 1.1.1.
Security: Updated Logback libraries to address vulnerabilities (CVE-2024-12798, CWE-138).
Improvement: Enhanced Maven POM integration with better handling of comments in
pom.xml
files.
New feature: Introduced the
sl.pomIndentEnabled
system property forsl-build-scanner.jar
.
Fix: Improved handling of long response times from TIA. The agent now interrupts requests that exceed 120 seconds.
4.0.2602
February 10, 2025
Security: Removed the vulnerable library
com.jcraft:jsch
.
Fix: Skipped Cucumber tests are no longer reported twice during JUnit 5 test discovery.
4.0.2599
February 3, 2025
Improvement: Automated correction of sl.includes and sl.excludes system properties for the CD Agent.
Fix: Support for custom class loaders returning null instead of ClassDefNotFoundException when a class is not found.
4.0.2596
January 16, 2025
Improvement: Enhanced integration with the Git CLI to streamline operations.
Fix: Resolved an issue that could cause the Java agent to hang.
Fix: Fixed a problem where unit tests failed when loading
apache.commons.configuration
.
4.0.2593
January 12, 2025
New feature: Added the ability to disable recursive scanning for the CD Agent.
By setting the system property
-Dsl.recursive=false
, the agent will only scan files located directly in theworkspace
directory, improving performance and control.
4.0.2581
January 2, 2025
New feature: Added support for launching the Java Agent using
JBoss MODULE_OPTS
.
New feature: Enabled compatibility with Bouncy Castle in JBoss environments.
Improvement: Optimized memory usage for method-line coverage to reduce runtime footprint.
4.0.2577
December 3, 2024
New feature: Added feature flag `scanInnerJars` to control scanning of embedded Java archives.
4.0.2574
November 21, 2024
New feature: Support for parametrized JUnit4 tests with JUnitParamsRunner.
Issue Fix: Improved the context propagation support for Selenium Java
4.0.2570
November 12, 2024
Other Improvements: Upgraded dependent libraries to fix security vulnerability.
4.0.2565
October 26, 2024
Issue Fix:Fix for startup parameters in sap_java_buildpack
Other Improvements: Upgraded dependent libraries to fix security vulnerability.
4.0.2556
October 2, 2024
Issue Fix: Improved, graceful agent shutdown on network connection issue
Issue Fix: Fixed logEnabled setting parameter during the Maven integration
4.0.2550
September 24, 2024
New feature: Support for inherited JUnit4 and JUnit5 tests that include final test methods
4.0.2549
September 16, 2024
New feature: Improved filtering auto generated code from Kotlin when needed
New feature: Added scannerTask option to Gradle task
4.0.2539
July 22, 2024
New feature: Improved Kotlin support
Issue fix: Fixed issue when test listener reading info from JSON file
4.0.2531
June 25, 2024
New feature: Support for per line method coverage
New feature: Added configuration of test listener from json file, specially token, build session id and collectorUrl. This is equired mainly for lambda support
New feature: Improved code instrumentation while working with JMockit
New feature: Support for working with build Gradle cache
4.0.2505
May 27, 2024
New feature: Add support for mutation tests on the PiTest framework
4.0.2499
April 30, 2024
New feature: Support CD Agent with single components
New feature: Improved detection of the synthetic, inherited Scala methods to be ignored in the build scan
New feature: Added collector support for the Java agent
Issue fix: Fixed scanning of the classes located in the embedded Java archives
Last updated
Was this helpful?