The first V3 release of Pi4J is now available! It bumps the project to Java 21 to prepare us for more improvements with the Foreign Function and Memory API later this year with the next LTS release, Java 25.
Check the release notes for more info: https://www.pi4j.com/about/release-notes/