- Make the iterator range illustrations legible in dark mode (prefers-color-scheme rules inside the SVGs). - Add a "Byte layout" section with a color-coded byte table to each binary format page (BJData, BON8, BSON, CBOR, MessagePack, UBJSON), and highlight the smallest size per file in the comparison table. - Add "See also" sections to the overview pages that lacked one. - Split the release notes into one page per release, grouped by minor version on the overview page, with an "API changes" section per release generated from the API pages' version histories (hooks/api_changes.py). - Fact-check the release notes and version histories against the release tags and correct wrong or misleading entries (e.g., json_serializer 2.1.0, merge_patch 3.1.0, items, count, operator[], to_bjdata, std::string_view key support). Signed-off-by: Niels Lohmann <mail@nlohmann.me>
934 B
934 B
v3.11.3
Released on 2023-11-28.
Adds features and fixes bugs found in 3.11.2. All changes are backward-compatible.
- Adds a custom base class as a node customization point.
- Adds serialization-only conversion macros
(
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ONLY_SERIALIZEandNLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE) and a clearer parse error for empty input. - Adds Bazel and Swift Package Manager build support.
- Fixes custom allocators, a memory leak in
adl_serializer'sto_json, initializer-list construction whensize_typeis notint, and many compiler warnings.