All notable changes to the Smithsonian/xchange library will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.1.0-rc1] - 2025-09-19
Minor feature release with bug fixes.
Fixed
-
#15:
xPrintFloat()printed an extra digit, which would appear as a ‘rounding error’ in decimal representations. -
Width detection of platform-specific built-in integer types (i.e.,
short,int,long, andlong long). The previous implementation includedstdint.hwith__STDC_LIMIT_MACROSdefined. However, if the application source, then includedstdint.hbeforexchange.h, then the fixed-width integer limits were left undefined. As a result, we no longer rely onstdint.hproviding these limits.
Added
xParseFloat()to parse floats without rounding errors that might result if parsing asdoubleand then casting asfloat.
[1.0.1] - 2025-07-01
Bug fix release.
Fixed
-
Handling of serialized strings in
xClearField()andxCopyOfField(). -
Handling of heterogeneous arrays (type
X_FIELD) inxCopyOfField().
Added
xDestroyLookupAndData()to destroy a lookup table including all the data that was referenced inside it.
Changed
xCreateField()to treatX_RAWtypes always as scalars, ignoring the dimensions provided.
[1.0.0] - 2025-03-31
Initial public release.