@@ -10,15 +10,16 @@ CHANGELOG
1010 2GB ByteBuffer limit. Files under 2GB continue to use a single ByteBuffer
1111 for optimal performance. Requested by nonetallt. GitHub #154 . Fixed by
1212 Silvano Cerza. GitHub #289 .
13+ * ` Metadata.getBuildDate() ` has been replaced with ` buildTime() ` , which returns
14+ ` java.time.Instant ` instead of ` java.util.Date ` . The instant represents the
15+ database build time in UTC.
1316* ` DatabaseRecord ` , ` Metadata ` , ` Network ` , and internal ` DecodedValue ` classes
1417 have been converted to records. The following API changes were made:
1518 * ` DatabaseRecord.getData() ` and ` DatabaseRecord.getNetwork() ` have been
1619 replaced with record accessor methods ` data() ` and ` network() ` .
17- * ` Metadata.getBuildDate() ` has been renamed to ` buildDate() ` to follow record
18- naming conventions. All other simple getter methods on ` Metadata ` (e.g.,
19- ` getBinaryFormatMajorVersion() ` , ` getDatabaseType() ` , etc.) have been
20- replaced with their corresponding record accessor methods (e.g.,
21- ` binaryFormatMajorVersion() ` , ` databaseType() ` , etc.).
20+ * Simple getter methods on ` Metadata ` (e.g., ` getBinaryFormatMajorVersion() ` ,
21+ ` getDatabaseType() ` , etc.) have been replaced with their corresponding record
22+ accessor methods (e.g., ` binaryFormatMajorVersion() ` , ` databaseType() ` , etc.).
2223 * ` Network.getNetworkAddress() ` and ` Network.getPrefixLength() ` have been
2324 replaced with record accessor methods ` networkAddress() ` and ` prefixLength() ` .
2425
0 commit comments