Skip to content

GeographicCoordinate 5.0.0

Compare
Choose a tag to compare
@kloverde kloverde released this 10 Apr 04:49
· 3 commits to master since this release

Release 5.0.0 (April 10, 2024)

  • Removed dependencies on my external BuildScripts and NumberUtil projects
  • Retargeted at Java 17 + Gradle 8.0
  • Upgraded to JUnit 5
  • Upgraded Mockito
  • The internals are updated to use modern Java features
  • Removed reflection from the compass direction internals
  • Added Spotbugs to the build script

Breaking changes:

  • Latitude, Longitude and Point are now records rather than classes (getter names changed, can no longer be extended)
  • AbstractGeographicCoordinate has been removed, as well as the exception constants in its nested Messages class
  • IllegalArgumentException has replaced GeographicCoordinateException. GeographicCoordinateException has been removed.
  • Exception messages have changed
  • toString(Locale) has been removed in favor of toString(). Apparently the international standard is to use U.S. formatting for coordinates.
  • The EnumHelper API has changed (you weren't using an API that was labeled internal, were you? 👀)
  • Latitude.MAX_VALUE and Longitude.MAX_VALUE have been changed to doubles