All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.10.2 - 2026-04-21
- Fix check of overridden formatters in RepresentableAs*
1.10.1 - 2026-04-15
- Fix SystemDependent annotation target
- Fix missing Documented annotation #428
1.10.0 - 2026-04-14
This release adds a new annotation to document system-dependent methods, improves Representable* annotations for external processing, and fixes inherited method lookup in the Representable* processor.
- Add SystemDependent annotation #426
- Modify Representable* annotations retention to CLASS to enable external processing #427
- Fix search for format method in Representable* processor #421
1.9.0 - 2026-03-02
- Add support for short format method in RepresentableAsString annotation #412
1.8.0 - 2025-07-25
- Add NonNegative annotation
1.7.0 - 2025-07-11
- Add trait annotation #351
- Migrate OSSRH to Central Portal
1.6.0 - 2025-05-08
- Fix package pattern in MightBePromoted #337
1.5.1 - 2024-03-27
- Fix check on multiple representations #221
- Change
@VisibleForTestingannotation retention toSOURCE
1.5.0 - 2023-10-11
- Add annotation to check constants that represent their enclosing class
1.4.0 - 2022-12-08
- Add annotations to document threading in Swing components
1.3.1 - 2022-08-19
- Fix dependency inheritance in BOM
1.3.0 - 2022-04-07
- Add
MightBeGeneratedannotation - Add Maven BOM
1.2.2 - 2022-02-14
- Fix BuilderPattern processor on JDK-ea
1.2.1 - 2022-01-20
- Fix release deployment on JDK17
1.2.0 - 2022-01-20
This release replaces the StringValue annotation with a more general approach that is not limited to String.
- Add
RepresentableAsannotation - Add
RepresentableAsIntannotation - Add
RepresentableAsStringannotation
- Deprecate
StringValueannotation
1.1.3 - 2021-03-19
- Migration to Maven-Central
- Breaking change: Maven groupId is now
com.github.nbbrd.java-design-util
1.1.2 - 2021-01-07
- Fix error when enclosing type has generics
1.1.1 - 2020-12-16
- Add
StaticFactoryMethodannotation - Add
StringValueannotation
- Fix warning on supported source version
1.0.0 - 2020-10-22
- Initial release