All Versions
11
Latest Version
Avg Release Cycle
98 days
Latest Release
96 days ago

Changelog History
Page 1

  • v0.12.0

    September 06, 2019
    • ⚡️ Updated to edition 2018.
    • Simplified reading escaped unicode in strings a bit.
    • Provided From<&[T]> implementation for JsonValue where T: Into<JsonValue> (closes #160).
    • object! and array! macros will no longer re-allocate (closes #159).
    • object! and array! macros can be now used without being imported into local scope (by using json::object! or json::array!, thanks @matthias-t).
    • 💥 BREAKING HashMap and BTreeMap conversions are now more generic, working for any pair of K key and V value where K: AsRef<str> and V: Into<JsonValue>. This means that type inference won't always work in your favor, but should be much more flexible.
    • You can now .collect() an interator of (K, V) (with bounds same as point above) into an Object.
  • v0.11.13

    January 17, 2018
    • 🛠 Fixes an overflow that lead to a panic in extremely large integers (see issue #139).
  • v0.11.12

    November 10, 2017
    • 🐎 Optimized away unnecessary copying in the parser stack machine, should result in parsing performance increased by up to 20%.
  • v0.11.11

    November 10, 2017
    • 🛠 Fixes an issue when parsing objects with non-unique names (#136).
    • 🛠 Fixed a warning on #[must_use] (#119).
    • 🗄 Deprecated Object::override_last, it was only public out of necessity before pub(crate) was introduced.
  • v0.11.10

    October 07, 2017

    Thanks to @Yoric for contributions:

    • 👀 Implemented dump and pretty for Object, see #131
    • 👀 Two string JsonValues are now equal even if one is a Short while the other is a String variant, see #126
    • 👀 The object! macro now handles trailing commas, see #125
  • v0.11.9

    July 28, 2017
    • 🖨 Numbers created from parts are now automatically normalized, and print out expected values (Issue #114, thanks again @lpbak).
  • v0.11.8

    July 03, 2017
    • 🛠 Fixed an issue that lead to a panic when trying to print Number types with negative exponent but with large base, where putting the period after first digit would force the scientific e notation to flip sign to positive (issue #108, thank you @lpbak)
  • v0.11.7

    June 26, 2017
    • 🛠 Fixed an issue with overflow math when turning min value i16 to absolute value u16 (issue #107, thank you @lpbak)
  • v0.11.6

    March 15, 2017
    • 🛠 Fixes reading out of bounds issue #106.
  • v0.11.5

    January 21, 2017
    • Object struct now implements Index and IndexMut on it's own. Thanks to @hobofan for #105.
    • 🛠 Fixed a rare SIGSEGV that could occur during serialization or iteration over objects due to invalid lifetimes being applied on unsafe code. Reduced the amount of unsafe code around to increase maintainability of the project, more to come.