# 2024-07-04

This release includes improvements to the quality of assertions in unit tests written by Cover and resolves issues within Cover Reports.

## Important Notices

### Removals

* **JUnit 4.7-4.10**: Support for JUnit 4.7 through 4.10 has been removed. Please upgrade to JUnit 4.11 or higher.

## Enhancements

* CLI & Reports: Cover now provides a breakdown of manually written and Diffblue Cover written test coverage during `dcover upload`. \[Ref: TG-21683]
* Cover now writes tests which assert on the bytes inside `InputStreams`, `InputStreamReaders` and `BufferedReaders`. \[Ref: TG-20804]

## Resolved Issues

* Resolved an issue which, in some circumstances, caused Cover to report `F009` (Internal error) while writing tests for methods which contain `Map`s which have classes as values. \[Ref: TG-21672]
* Reports: Resolved an issue which, in some circumstances, caused Cover Reports to show `Unexpected Application Error` when loading the home page. \[Ref: TG-21667]
* Resolved an issue which caused Cover to report `F009` (Internal Error) when writing tests for methods with names which are Java keywords. Cover now reports `R088` (Method name is a reserved keyword). \[Ref: TG-21642]

## Known Issues

* Plugin: Cover incorrectly provides a menu option to write tests for a test file. \[Ref: TG-17163]
* CLI & Plugin: Cover may write tests for JUnit 4.10 and lower that do not compile due to the use of `assertNotEquals`. \[Ref: TG-17605]
* 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 may encounter an `F009: Internal error` while writing tests using Mockito 5. To avoid this issue use an earlier version of Mockito. \[Ref: TG-19610]


---

# 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/2024-07-04.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.
