# 2023-09-01

This release adds support for Spring 6 with TestNG and includes a code signing certificate update. See the full Release Notes below for details of all enhancements and resolved issues covered by this release.

## Enhancements

* CLI: Cover CLI now includes an option to exclude very large class files (`--max-class-length`). This can be useful where third party code conversion tools have generated large class files which are not idiomatic of developer written code. \[Ref: TG-19923]
* Cover: Diffblue Cover now writes assertions for arrays mutated by `System.arraycopy`. \[Ref: TG-19844]
* CLI: Multiple telemetry endpoints can now be configured for Cover CLI, including your own Mixpanel instance. \[Ref: TG-19703]
* Cover: Diffblue Cover now supports Spring 6 with TestNG. \[Ref: TG-19587]

## Resolved Issues

* Updated code signing certificate to remove expired parent certificate in chain. As the chain of trust has changed you may need to revalidate the authenticity of Diffblue Cover. \[Ref: TG-19996]
* Cover: Resolved an issue which caused Diffblue Cover to halt with "unexpected error: null" when using the `--patch-only` option with corrupt class files in the classpath. \[Ref: TG-19970]
* Plugin: Resolved an issue which, in some circumstances, caused Cover Plugin for IntelliJ to fail to write tests and log `PatchFailedException: Patch engine could not apply delta` \[Ref: TG-19905]
* Plugin: Resolved an issue which, in some circumstances, caused Cover Plugin for IntelliJ to fail to write tests and log `Syntax error on token "package", import expected` \[Ref: TG-19904]
* Cover: Resolved an issue that previously prevented Diffblue Cover from writing tests for VERY large classes. \[Ref: TG-19845]
* Cover: Resolved an issue which caused Diffblue Cover to exit with an error (E068) rather than generate a warning when classes defined in DiffblueRules.yml could not be found. \[Ref: TG-19685]
* Cover: Resolved an issue which caused Diffblue Cover to not discover all Spring profiles for a project. \[Ref: TG-19662]

## Known Issues

* Cover: Cover may produce tests for JUnit 4.10 and lower that do not compile due to the use of `assertNotEquals`. \[Ref: TG-17605]
* Cover: Diffblue Cover supports Open JDK and Oracle JDK; results with other JDKs may differ due to the variability in their implementations of Java. \[Ref: TG-19345]
* Cover: Cover may encounter an `F009: Internal error` while writing tests using Mockito 5. To avoid this issue use a version of Mockito earlier than 5. \[Ref: TG-19610]
* Cover: Diffblue Cover Plugin cannot write tests for methods which use Java 17 Records. \[Ref: TG-19937]


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cover-docs-preview.diffblue.com/updates-and-upgrades/release-archive/2023-09-01.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
