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.h
with__STDC_LIMIT_MACROS
defined. However, if the application source, then includedstdint.h
beforexchange.h
, then the fixed-width integer limits were left undefined. As a result, we no longer rely onstdint.h
providing these limits.
Added
xParseFloat()
to parse floats without rounding errors that might result if parsing asdouble
and 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_RAW
types always as scalars, ignoring the dimensions provided.
[1.0.0] - 2025-03-31
Initial public release.