Changelog

Structured data exchange and JSON support for C/C++


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.

[Unreleased]

Fixed

  • #15: xPrintFloat() printed an extra digit, which would appear as a ‘rounding error’ in decimal representations.

Added

  • xParseFloat() to parse floats without rounding errors that might result if parsing as double and then casting as float.

[1.0.1] - 2025-07-01

Bug fix release.

Fixed

  • Handling of serialized strings in xClearField() and xCopyOfField().

  • Handling of heterogeneous arrays (type X_FIELD) in xCopyOfField().

Added

  • xDestroyLookupAndData() to destroy a lookup table including all the data that was referenced inside it.

Changed

  • xCreateField() to treat X_RAW types always as scalars, ignoring the dimensions provided.

[1.0.0] - 2025-03-31

Initial public release.