Skip to content

Releases: bblanchon/ArduinoJson

ArduinoJson 6.19.4

05 Apr 08:57
Compare
Choose a tag to compare

Changes

  • Add ElementProxy::memoryUsage()
  • Add MemberProxy::memoryUsage() (issue #1730)
  • Add implicit conversion from JsonDocument to JsonVariant
  • Fix comparison operators with const JsonDocument&

View version history

ArduinoJson 6.19.3

08 Mar 16:25
Compare
Choose a tag to compare

Changes

  • Fix call of overloaded 'String(const char*, int)' is ambiguous
  • Fix JsonString operator == and != for non-zero-terminated string
  • Fix -Wsign-conversion on GCC 8 (issue #1715)
  • MessagePack: serialize round floats as integers (issue #1718)

View version history

ArduinoJson 6.19.2

14 Feb 08:10
Compare
Choose a tag to compare

Changes

  • Fix cannot convert 'pgm_p' to 'const void*' (issue #1707)

View version history

ArduinoJson 6.19.1

14 Jan 08:09
Compare
Choose a tag to compare

Changes

  • Fix crash when adding an object member in a too small JsonDocument
  • Fix filter not working in zero-copy mode (issue #1697)

View version history

ArduinoJson 6.19.0

08 Jan 15:48
Compare
Choose a tag to compare

ℹ️ Read the blog post

Changes

  • 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)

View version history

Try online

ArduinoJson 6.18.5

28 Sep 15:22
Compare
Choose a tag to compare

Changes

  • Set ARDUINOJSON_EMBEDDED_MODE to 1 on Nios II (issue #1657)

View version history

Try online

ArduinoJson 6.18.4

06 Sep 07:16
Compare
Choose a tag to compare

Changes

  • Fixed error 'dummy' may be used uninitialized on GCC 11
  • Fixed error expected unqualified-id before 'const' on GCC 11 (issue #1622)
  • Filter: exact match takes precedence over wildcard (issue #1628)
  • Fixed deserialization of \u0000 (issue #1646)

Try online

View version history

ArduinoJson 6.18.3

27 Jul 13:48
Compare
Choose a tag to compare

Changes

  • Changed return type of convertToJson() and Converter<T>::toJson() to void
  • Added as<std::string_view>() and is<std::string_view>()

Try online

View version history

ArduinoJson 6.18.2

19 Jul 08:15
Compare
Choose a tag to compare

Changes

  • Removed a symlink because the Arduino Library Specification forbids it

View version history

Try online

ArduinoJson 6.18.1

03 Jul 14:17
Compare
Choose a tag to compare

Changes

  • Fixed support for volatile float and volatile double (issue #1557)
  • Fixed error [Pe070]: incomplete type is not allowed on IAR (issue #1560)
  • Fixed serializeJson(doc, String) when allocation fails (issue #1572)
  • Fixed clang-tidy warnings (issue #1574, PR #1577 by @armandas)
  • Added fake class InvalidConversion<T1,T2> to easily identify invalid conversions (issue #1585)
  • Added support for std::string_view (issue #1578, PR #1554 by @0xFEEDC0DE64)
  • Fixed warning definition of implicit copy constructor for 'MsgPackDeserializer' is deprecated because it has a user-declared copy assignment operator
  • Added JsonArray::clear() (issue #1597)
  • Fixed JsonVariant::as<unsigned>() (issue #1601)
  • Added support for ESP-IDF component build (PR #1562 by @qt1, PR #1599 by @andreaskuster)

View version history

Try online