2017-08-15 14:08:48 +02:00
---
title: PMD Release Notes
permalink: pmd_release_notes.html
keywords: changelog, release notes
---
2014-01-03 11:55:46 +01:00
2024-06-20 11:52:48 +02:00
## {{ site.pmd.date | date: "%d-%B-%Y" }} - {{ site.pmd.version }}
2016-04-23 18:30:13 +02:00
2024-03-22 09:35:44 +01:00
The PMD team is pleased to announce PMD {{ site.pmd.version }}.
2023-04-29 23:46:45 +02:00
2024-03-22 09:35:44 +01:00
This is a {{ site.pmd.release_type }} release.
2016-07-07 20:48:01 +02:00
2018-09-30 10:47:07 +02:00
{% tocmaker is_release_notes_processor %}
2017-04-29 20:22:28 +02:00
2024-08-30 10:52:17 +02:00
### 🚀 New and noteworthy
2024-08-29 12:48:14 +02:00
2024-04-04 08:56:22 +02:00
### 🌟 Rule Changes
2024-10-03 20:03:13 +02:00
#### Renamed Rules
Several rules for unit testing have been renamed to better reflect their actual scope. Lots of them were called
after JUnit / JUnit 4, even when they applied to JUnit 5 and / or TestNG.
2024-04-17 17:00:05 -03:00
2024-10-04 09:32:55 +02:00
* {% rule java/bestpractices/UnitTestAssertionsShouldIncludeMessage %} (Java Best Practices) has been renamed from `JUnitAssertionsShouldIncludeMessage` .
* {% rule java/bestpractices/UnitTestContainsTooManyAsserts %} (Java Best Practices) has been renamed from `JUnitTestContainsTooManyAsserts` .
* {% rule java/bestpractices/UnitTestShouldIncludeAssert %} (Java Best Practices) has been renamed from `JUnitTestsShouldIncludeAssert` .
2024-10-03 20:03:13 +02:00
* {% rule java/bestpractices/UnitTestShouldUseAfterAnnotation %} (Java Best Practices) has been renamed from `JUnit4TestShouldUseAfterAnnotation` .
* {% rule java/bestpractices/UnitTestShouldUseBeforeAnnotation %} (Java Best Practices) has been renamed from `JUnit4TestShouldUseBeforeAnnotation` .
* {% rule java/bestpractices/UnitTestShouldUseTestAnnotation %} (Java Best Practices) has been renamed from `JUnit4TestShouldUseTestAnnotation` .
2024-04-17 17:00:05 -03:00
2024-10-03 20:03:13 +02:00
The old rule names still work but are deprecated.
2024-04-17 17:00:05 -03:00
2023-03-03 11:44:21 +01:00
### 🐛 Fixed Issues
2024-10-03 20:03:13 +02:00
* java
* [#4532 ](https://github.com/pmd/pmd/issues/4532 ): \[java] Rule misnomer for JUnit* rules
2024-10-04 10:05:48 +02:00
* java-errorprone
* [#5067 ](https://github.com/pmd/pmd/issues/5067 ): \[java] CloseResource: False positive for FileSystems.getDefault()
2024-06-28 10:42:31 +02:00
2024-03-22 09:35:44 +01:00
### 🚨 API Changes
2024-08-01 11:12:06 +02:00
2024-10-03 20:03:13 +02:00
### ✨ Merged pull requests
* [#4965 ](https://github.com/pmd/pmd/pull/4965 ): \[java] Rename JUnit rules with overly restrictive names - [Juan Martín Sotuyo Dodero ](https://github.com/jsotuyod ) (@jsotuyod )
2024-10-04 10:05:48 +02:00
* [#5225 ](https://github.com/pmd/pmd/pull/5225 ): \[java] Fix #5067: CloseResource: False positive for FileSystems.getDefault() - [Lukas Gräf ](https://github.com/lukasgraef ) (@lukasgraef )
2024-10-04 10:00:53 +02:00
* [#5241 ](https://github.com/pmd/pmd/pull/5241 ): Ignore javacc code in coverage report - [Juan Martín Sotuyo Dodero ](https://github.com/jsotuyod ) (@jsotuyod )
2024-09-27 10:49:57 +02:00
{% endtocmaker %}
2024-09-27 11:43:22 +02:00