From 8277fd206401d0994948fb4d07506ece2b9c6952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Fri, 15 Apr 2022 15:01:22 +0200 Subject: [PATCH] Update release notes, refs #3910 --- docs/pages/release_notes.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index 728b65281c..531f07a3f1 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -14,6 +14,13 @@ This is a {{ site.pmd.release_type }} release. ### New and noteworthy +#### Modified rules + +* The Java rule {% rule java/bestpractices/UnusedPrivateField %} has a new property `ignoredFieldNames`. + The default ignores serialization-specific fields (eg `serialVersionUID`). + The property can be used to ignore more fields based on their name. + Note that the rule used to ignore fields named `IDENT`, but doesn't anymore (add this value to the property to restore the old behaviour). + ### Fixed Issues * core * [#3881](https://github.com/pmd/pmd/issues/3881): \[core] SARIF renderer depends on platform default encoding @@ -30,6 +37,7 @@ This is a {{ site.pmd.release_type }} release. ### External Contributions * [#3883](https://github.com/pmd/pmd/pull/3883): \[doc] Improve side bar by Adding Release Date - [@jasonqiu98](https://github.com/jasonqiu98) +* [#3910](https://github.com/pmd/pmd/pull/3910): \[java] Allow the ignored fieldnames in the Unused Private Field check to be configurable - [Seth Wilcox](https://github.com/laoseth) {% endtocmaker %}