ArduinoJson v6.19.1 Release Notes

Release Date: 2022-01-14 // 15 days ago
    • ๐Ÿ›  Fix crash when adding an object member in a too small JsonDocument
    • ๐Ÿ›  Fix filter not working in zero-copy mode (issue #1697)

Previous changes from v6.19.0

    • Remove ARDUINOJSON_EMBEDDED_MODE and assume we run on an embedded platform.
      Dependent settings (like ARDUINOJSON_DEFAULT_NESTING_LIMIT) must be set individually.
    • ๐Ÿ‘‰ Change the default of ARDUINOJSON_USE_DOUBLE to 1
    • ๐Ÿ‘‰ Change the default of ARDUINOJSON_USE_LONG_LONG to 1 on 32-bit platforms
    • โž• Add as<JsonString>() and is<JsonString>()
    • โž• Add safe bool idiom in JsonString
    • โž• Add support for NUL in string values (issue #1646)
    • โž• Add support for arbitrary array rank in copyArray()
    • โž• Add support for char[][] in copyArray()
    • โœ‚ Remove DeserializationError == bool and DeserializationError != bool
    • ๐Ÿ“‡ Renamed undocumented function isUndefined() to isUnbound()
    • ๐Ÿ›  Fix JsonVariant::memoryUsage() for raw strings
    • ๐Ÿ›  Fix call of overloaded 'swap(BasicJsonDocument&, BasicJsonDocument&)' is ambiguous (issue #1678)
    • ๐Ÿ›  Fix inconsistent pool capacity between BasicJsonDocument's copy and move constructors
    • ๐Ÿ›  Fix inconsistent pool capacity between BasicJsonDocument's copy and move assignments
    • ๐Ÿ›  Fix return type of StaticJsonDocument::operator=
    • Avoid pool reallocation in BasicJsonDocument's copy assignment if capacity is the same
    • Avoid including Arduino.h when all its features are disabled (issue #1692, PR #1693 by @paulocsanz)
    • Assume PROGMEM is available as soon as ARDUINO is defined (consequence of #1693)