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
2018-09-02 14:30:21 +02:00
## {{ site.pmd.date }} - {{ 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-03-22 09:35:44 +01:00
### 🚀 New and noteworthy
2023-03-03 11:44:21 +01:00
2024-04-04 08:56:22 +02:00
### 🌟 Rule Changes
2024-04-17 17:00:05 -03:00
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.
* `java/bestpractices/JUnit4TestShouldUseAfterAnnotation` has been renamed to {% rule java/bestpractices/JUnitTestShouldUseAfterAnnotation %}
2024-10-03 19:48:54 +02:00
* `java/bestpractices/JUnit4TestShouldUseBeforeAnnotation` has been renamed to {% rule java/bestpractices/UnitTestShouldUseBeforeAnnotation %}
2024-04-17 17:00:05 -03:00
* `java/bestpractices/JUnit4TestShouldUseTestAnnotation` has been renamed to {% rule java/bestpractices/UnitTestShouldUseTestAnnotation %}
* `java/bestpractices/JUnitAssertionsShouldIncludeMessage` has been renamed to {% rule java/bestpractices/UnitTestAssertionsShouldIncludeMessage %}
* `java/bestpractices/JUnitTestContainsTooManyAsserts` has been renamed to {% rule java/bestpractices/UnitTestContainsTooManyAsserts %}
* `java/bestpractices/JUnitTestsShouldIncludeAssert` has been renamed to {% rule java/bestpractices/UnitTestsShouldIncludeAssert %}
2023-03-03 11:44:21 +01:00
### 🐛 Fixed Issues
2023-04-29 23:46:45 +02:00
* java-bestpractices
2024-04-26 16:25:21 -03:00
* [#4278 ](https://github.com/pmd/pmd/issues/4278 ): \[java] UnusedPrivateMethod FP with Junit 5 @MethodSource and default factory method name
2024-04-26 16:01:12 -03:00
* [#4975 ](https://github.com/pmd/pmd/issues/4975 ): \[java] UnusedPrivateMethod false positive when using @MethodSource on a @Nested test
2023-04-29 23:46:45 +02:00
2024-03-22 09:35:44 +01:00
### 🚨 API Changes
2023-04-29 23:46:45 +02:00
2023-05-30 20:16:28 +02:00
### ✨ External Contributions
2023-04-29 23:46:45 +02:00
{% endtocmaker %}
2024-03-21 10:47:14 +01:00