@@ -4,6 +4,18 @@ CHANGELOG
445.0.0
55------------------
66
7+ * ** BREAKING:** All model and record classes have been converted to Java records.
8+ This provides a more modern, immutable data model with automatic implementations
9+ of ` equals() ` , ` hashCode() ` , and ` toString() ` . The abstract classes
10+ ` AbstractRecord ` , ` AbstractNamedRecord ` , ` AbstractResponse ` ,
11+ ` AbstractCountryResponse ` , ` AbstractCityResponse ` , and ` IpBaseResponse ` have
12+ been removed. Record components can be accessed using the new accessor methods
13+ (e.g., ` city() ` , ` country() ` , ` location() ` ). The traditional getter methods
14+ (e.g., ` getCity() ` , ` getCountry() ` , ` getLocation() ` ) are still available but
15+ have been deprecated and will be removed in version 6.0.0.
16+ * ** BREAKING:** ` RepresentedCountry ` is now a separate record type instead of
17+ extending ` Country ` . It shares the same fields as ` Country ` but adds a ` type `
18+ field.
719* The deprecation notices for IP Risk database support have been removed.
820 IP Risk database support will continue to be maintained.
921* ** BREAKING:** The deprecated ` WebServiceClient.Builder ` methods
@@ -25,6 +37,11 @@ CHANGELOG
2537* ** BREAKING:** Removed no longer necessary ` JacksonInject ` annotations for
2638 ` ip_address ` , ` network ` , and ` traits ` from several classes. The
2739 ` JsonInjector ` class was removed.
40+ * Public getter methods in non-record classes (e.g., ` DatabaseReader ` ,
41+ exception classes) have been renamed to follow the same naming convention as
42+ records (e.g., ` metadata() ` instead of ` getMetadata() ` ). The old getter
43+ methods are still available but have been deprecated and will be removed in
44+ version 6.0.0.
2845
29464.4.0 (2025-08-28)
3047------------------
0 commit comments