1
0
mirror of https://github.com/nlohmann/json synced 2024-11-10 06:20:06 +00:00
nlohmannjson/ChangeLog.md
Niels Lohmann 27c65b860b
🔖 version 2.1.1
2017-02-25 16:34:38 +01:00

44 KiB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

v2.1.1 (2017-02-25)

Full Changelog

  • warning in the library #472

  • How to create an array of Objects? #470

  • Bug?
  • Illegal indirection #467

  • in vs can't find linkageId #466

  • Roundtrip error while parsing "1000000000000000010E5" #465

  • C4996 error and warning with Visual Studio #463

  • Support startIndex for from_cbor/from_msgpack #462

  • question: monospace font used in feature slideshow? #460

  • Object.keys() #459

  • Use “, “ as delimiter for json-objects. #457

  • Enum -> string during serialization and vice versa #455

  • doubles are printed as integers #454

  • Warnings with Visual Studio c++ VS2015 Update 3 #453

  • Heap-buffer-overflow OSS-Fuzz issue 585 #452

  • use of undeclared identifier 'UINT8_MAX' #451

  • Question on the lifetime managment of objects at the lower levels #449

  • Json should not be constructible with 'json*' #448

  • Move value_t to namespace scope #447

  • Typo in README.md #446

  • make check compilation is unneccesarily slow #445

  • Problem in dump() in json.h caused by ss.imbue #444

  • I want to create Windows Application in Visual Studio 2015 c++, and i have a problem #443

  • Implicit conversion issues #442

  • Parsing of floats locale dependent #302

  • Speedup CI builds using cotire #461 (tusharpm)

  • TurpentineDistillery feature/locale independent str to num #450 (nlohmann)

  • README: adjust boost::optional example #439 (jaredgrubb)

  • fix #414 - comparing to 0 literal #415 (stanmihai4)

v2.1.0 (2017-01-28)

Full Changelog

  • Parsing multiple JSON objects from a string or stream #438

  • Use-of-uninitialized-value OSS-Fuzz issue 477 #437

  • add reserve function for array to reserve memory before adding json values into it #436

  • Typo in examples page #434

  • avoid malformed json #433

  • How to add json objects to a map? #432

  • create json instance from raw json unsigned char\* #431

  • Getting std::invalid_argument: stream error when following example #429

  • Forward declare-only header? #427

  • Implicit conversion from array to object #425

  • Automatic ordered JSON #424

  • error C4996: 'strerror' when reading file #422

  • Get an error - JSON pointer must be empty or begin with '/' #421

  • size parameter for parse() #419

  • json.hpp forcibly defines GCC_VERSION #417

  • Use-of-uninitialized-value OSS-Fuzz issue 377 #416

  • comparing to 0 literal #414

  • Single char converted to ASCII code instead of string #413

  • How to know if a string was parsed as utf-8? #406

  • Overloaded += to add objects to an array makes no sense? #404

  • Finding a value in an array #399

  • add release information in static function #397

  • Optimize memory usage of json objects in combination with binary serialization #373

  • Conversion operators not considered #369

  • Append ".0" to serialized floating_point values that are digits-only. #362

  • Add a customization point for user-defined types #328

  • Conformance report for reference #307

  • Document the best way to serialize/deserialize user defined types to json #298

  • Add StringView template typename to basic_json #297

  • Improvement
  • Performance in miloyip/nativejson-benchmark #202

  • conversion from/to user-defined types #435 (nlohmann)

  • Fix documentation error #430 (vjon)

  • locale-independent num-to-str #378 (TurpentineDistillery)

v2.0.10 (2017-01-02)

Full Changelog

  • Heap-buffer-overflow OSS-Fuzz issue 367 #412

  • Heap-buffer-overflow OSS-Fuzz issue 366 #411

  • Use-of-uninitialized-value OSS-Fuzz issue 347 #409

  • Heap-buffer-overflow OSS-Fuzz issue 344 #408

  • Heap-buffer-overflow OSS-Fuzz issue 343 #407

  • Heap-buffer-overflow OSS-Fuzz issue 342 #405

  • strerror throwing error in compiler VS2015 #403

  • json::parse of std::string being underlined by Visual Studio #402

  • Explicitly getting string without .dump() #401

  • Possible to speed up json::parse? #398

  • the alphabetic order in the code influence console_output. #396

  • Execute tests with clang sanitizers #394

  • Check if library can be used with ETL #361

  • Feature/clang sanitize #410 (Daniel599)

  • Add Doozer build badge #400 (andoma)

v2.0.9 (2016-12-16)

Full Changelog

  • #pragma GCC diagnostic ignored "-Wdocumentation" #393

  • How to parse this json file and write separate sub object as json files? #392

  • Integer-overflow OSS-Fuzz issue 267 #389

  • Implement indefinite-length types from RFC 7049 #387

  • template parameter "T" is not used in declaring the parameter types of function template #386

  • Serializing json instances containing already serialized string values without escaping #385

  • Add test cases from RFC 7049 #384

  • Add a table of contents to the README file #383

  • Update FAQ section in the guidelines for contributing #382

  • Allow for forward declaring nlohmann::json #381

  • Bug in overflow detection when parsing integers #380

  • A unique name to mention the library? #377

  • Support for comments. #376

  • Non-unique keys in objects. #375

  • Request: binary serialization/deserialization #358

  • Replace class iterator and const_iterator by using a single template class to reduce code. #395 (Bosswestfalen)

  • Clang: quiet a warning #391 (jaredgrubb)

  • Fix issue #380: Signed integer overflow check #390 (qwename)

v2.0.8 (2016-12-02)

Full Changelog

  • Reading from file #374
  • Compiler warnings? #372
  • docs: how to release a json object in memory? #371
  • crash in dump #370
  • Coverity issue FORWARD\_NULL in lexer(std::istream& s) #368
  • json::parse on failed stream gets stuck #366
  • Performance improvements #365
  • 'to_string' is not a member of 'std' #364
  • Optional comment support. #363
  • Loss of precision when serializing <double> #360
  • Crash in dump() from a static object #359
  • json::parse(...) vs json j; j.parse(...) #357
  • Hi, is there any method to dump json to string with the insert order rather than alphabets #356
  • Provide an example of reading from an json with only a key that has an array of strings. #354
  • Request: access with default value. #353
  • {} and [] causes parser error. #352
  • Reading a JSON file into a JSON object #351
  • Request: 'emplace_back' #349
  • Is it possible to stream data through the json parser without storing everything in memory? #347
  • pure virtual conversion operator #346
  • Floating point precision lost #345
  • unit-conversions SIGSEGV on armv7hl #303
  • Coverity scan fails #299
  • Using QString as string type #274

v2.0.7 (2016-11-02)

Full Changelog

  • JSON5 #348

  • Check "Parsing JSON is a Minefield" #344

  • Allow hex numbers #342

  • Convert strings to numbers #341

  • ""-operators ignore the length parameter #340

  • JSON into std::tuple #339

  • JSON into vector #335

  • Installing with Homebrew on Mac Errors El Capitan #331

  • g++ make check results in error #312

  • Cannot convert from 'json' to 'char' #276

  • Please add a Pretty-Print option for arrays to stay always in one line #229

  • Conversion to STL map<string, vector<int>> gives error #220

  • std::unorderd_map cannot be used as ObjectType #164

  • fix minor grammar/style issue in README.md #336 (seeekr)

v2.0.6 (2016-10-15)

Full Changelog

  • How to handle json files? #333

  • This file requires compiler and library support .... #332

  • Segmentation fault on saving json to file #326

  • parse error - unexpected <uninitialized> with 2.0.5 #325

  • Add nested object capability to pointers #323

  • Fix usage examples' comments for std::multiset #322

  • json_unit runs forever when executed in build directory #319

  • Visual studio 2015 update3 true != TRUE #317

  • releasing single header file in compressed format #316

  • json object from std::ifstream #315

  • make has_mapped_type struct friendly #324 (vpetrigo)

  • Fix usage examples' comments for std::multiset #321 (vasild)

  • Include dir relocation #318 (ChristophJud)

  • trivial documentation fix #313 (5tefan)

v2.0.5 (2016-09-14)

Full Changelog

  • feature request
  • make json_benchmarks no longer working in 2.0.4 #310
  • Segmentation fault core dumped #309
  • No matching member function for call to 'get_impl' #308

v2.0.4 (2016-09-11)

Full Changelog

  • Parsing fails without space at end of file #306
  • json schema validator #305
  • Unused variable warning #304

v2.0.3 (2016-08-31)

Full Changelog

  • warning C4706: assignment within conditional expression #295

  • Strip comments / Minify #294

  • Q: Is it possible to build json tree from already UTF8 encoded values? #293

  • Equality operator results in array when assigned object #292

  • Support for integers not from the range [-(2**53)+1, (2**53)-1] in parser #291

  • Support for iterator-range parsing #290

  • Horribly inconsistent behavior between const/non-const reference in operator [] #289

  • Silently get numbers into smaller types #288

  • Incorrect parsing of large int64_t numbers #287

  • question
  • unit-constructor1.cpp: Fix floating point truncation warning #300 (t-b)

v2.0.2 (2016-07-31)

Full Changelog

  • can function dump() return string in the order I push in the json object ? #286

  • Error on the Mac: Undefined symbols for architecture x86_64 #285

  • value() does not work with _json_pointer types #283

  • Build error for std::int64 #282

  • strings can't be accessed after dump()->parse() - type is lost #281

  • Easy serialization of classes #280

  • recursive data structures #277

  • hexify() function emits conversion warning #270

  • let the makefile choose the correct sed #279 (murinicanor)

  • Update hexify to use array lookup instead of ternary \#270 #275 (dtoma)

v2.0.1 (2016-06-28)

Full Changelog

  • Compilation error. #273

  • dump() performance degradation in v2 #272

  • fixed a tiny typo #271 (thelostt)

v2.0.0 (2016-06-23)

Full Changelog

  • json::diff generates incorrect patch when removing multiple array elements. #269

  • Docs - What does Json[key] return? #267

  • Compiler Errors With JSON.hpp #265

  • Throw exception instead of crashing my app #264

  • Ambiguous push_back and operator+= overloads #263

  • Preseving order of items in json #262

  • '' char problem in strings #261

  • VS2015 compile fail #260

  • -Wconversion warning #259

  • Maybe a bug #258

  • Few tests failed on Visual C++ 2015 #257

  • Access keys when iteration with new for loop C++11 #256

  • multiline text values #255

  • Error when using json in g++ #254

  • is the release 2.0? #253

  • concatenate objects #252

  • Encoding #251

  • Unable to build example for constructing json object with stringstreams #250

  • Hexadecimal support #249

  • Update long-term goals #246

  • Contribution To This Json Project #245

  • Trouble using parser with initial dictionary #243

  • Unit test fails when doing a CMake out-of-tree build #241

  • -Wconversion warnings #239

  • Additional integration options #237

  • .get<std::string> works for non spaced string but returns as array for spaced/longer strings #236

  • ambiguous overload for 'push_back' and 'operator+=' #235

  • Can't use basic_json::iterator as a base iterator for std::move_iterator #233

  • json object's creation can freezes execution #231

  • Incorrect dumping of parsed numbers with exponents, but without decimal places #230

  • double values are serialized with commas as decimal points #228

  • Move semantics with std::initializer_list #225

  • replace emplace #224

  • abort during getline in yyfill #223

  • free(): invalid pointer error in GCC 5.2.1 #221

  • Error compile Android NDK error: 'strtof' is not a member of 'std' #219

  • Wrong link in the README.md #217

  • Wide character strings not supported #216

  • Memory allocations using range-based for loops #214

  • would you like to support gcc 4.8.1? #211

  • Reading concatenated json's from an istream #210

  • Conflicting typedef of ssize_t on Windows 32 bit when using Boost.Python #204

  • Inconsistency between operator[] and push_back #203

  • Small bugs in json.hpp get\_number and unit.cpp non-standard integer type test #199

  • GCC/clang floating point parsing bug in strtod() #195

  • What is within scope? #192

  • Bugs in miloyip/nativejson-benchmark: roundtrips #187

  • Floating point exceptions #181

  • Integer conversion to unsigned #178

  • map string string fails to compile #176

  • In basic_json::basic_json(const CompatibleArrayType& val), the requirement of CompatibleArrayType is not strict enough. #174

  • Provide a FAQ #163

  • Implicit assignment to std::string fails #144

  • Fix Issue #265 #266 (06needhamt)

  • Define CMake/CTest tests #247 (robertmrk)

  • Out of tree builds and a few other miscellaneous CMake cleanups. #242 (ChrisKitching)

  • Implement additional integration options #238 (robertmrk)

  • make serialization locale-independent #232 (nlohmann)

  • fixes #223 by updating README.md #227 (kevin--)

  • Use namespace std for int64_t and uint64_t #226 (lv-zheng)

  • Added missing cerrno header to fix ERANGE compile error on android #222 (Teemperor)

  • Corrected readme #218 (Annihil)

  • Create PULL_REQUEST_TEMPLATE.md #213 (whackashoe)

  • fixed noexcept; added constexpr #208 (nlohmann)

  • Add support for afl-fuzz testing #207 (mykter)

  • replaced ssize_t occurrences with auto addresses \#204 #205 (nlohmann)

  • Fixed issue #199 - Small bugs in json.hpp get\_number and unit.cpp non-standard integer type test #200 (twelsby)

  • Fix broken link #197 (vog)

  • Issue #195 - update Travis to Trusty due to gcc/clang strtod() bug #196 (twelsby)

  • Issue #178 - Extending support to full uint64_t/int64_t range and unsigned type updated #193 (twelsby)

v1.1.0 (2016-01-24)

Full Changelog

  • Small error in pull #185 #194

  • Bugs in miloyip/nativejson-benchmark: floating-point parsing #186

  • Floating point equality #185

  • Unused variables in catch #180

  • Typo in documentation #179

  • JSON performance benchmark comparision #177

  • Since re2c is often ignored in pull requests, it may make sense to make a contributing.md file #175

  • Question about exceptions #173

  • Android? #172

  • Cannot index by key of type static constexpr const char* #171

  • Add assertions #168

  • MSVC 2015 build fails when attempting to compare object_t #167

  • Member detector is not portable #166

  • Unnecessary const_cast #162

  • Question about get_ref() #128

  • range based for loop for objects #83

  • Consider submitting this to the Boost Library Incubator #66

  • Fixed Issue #186 - add strto(f|d|ld) overload wrappers, "-0.0" special case and FP trailing zero #191 (twelsby)

  • Issue #185 - remove approx() and use #pragma to kill warnings #190 (twelsby)

  • Fixed Issue #171 - added two extra template overloads of operator[] for T* arguments #189 (twelsby)

  • Fixed issue #167 - removed operator ValueType() condition for VS2015 #188 (twelsby)

  • Implementation of get_ref() #184 (dariomt)

  • Fixed some typos in CONTRIBUTING.md #182 (nibroc)

v1.0.0 (2015-12-27)

Full Changelog

  • add key name to exception #160

  • Getting member discarding qualifyer #159

  • basic_json::iterator::value() output includes quotes while basic_json::iterator::key() doesn't #158

  • Indexing const basic\_json\<\> with const basic\_string\<char\> #157

  • token_type_name(token_type t): not all control paths return a value #156

  • prevent json.hpp from emitting compiler warnings #154

  • json::parse(string) does not check utf8 bom #152

  • unsigned 64bit values output as signed #151

  • Wish feature: json5 #150

  • Unable to compile on MSVC 2015 with SDL checking enabled: This function or variable may be unsafe. #149

  • "Json Object" type does not keep object order #148

  • dump() convert strings encoded by utf-8 to shift-jis on windows 10. #147

  • Unable to get field names in a json object #145

  • Question: Is the use of incomplete type correct? #138

  • json.hpp:5746:32: error: 'to_string' is not a member of 'std' #136

  • Bug in basic_json::operator[] const overload #135

  • wrong enable_if for const pointer instead of pointer-to-const #134

  • overload of at() with default value #133

  • Splitting source #132

  • Question about get_ptr() #127

  • Visual Studio 14 Debug assertion failed #125

  • Memory leak in face of exceptions #118

  • Find and Count for arrays #117

  • dynamically constructing an arbitrarily nested object #114

  • Returning any data type #113

  • Compile error with g++ 4.9.3 cygwin 64-bit #112

  • insert json array issue with gcc4.8.2 #110

  • error: unterminated raw string #109

  • vector<json> copy constructor really weird #108

  • clang-3.6.2
  • maintaining order of keys during iteration #106

  • object field accessors #103

  • v8pp and json #95

  • Wishlist #65

  • Windows/Visual Studio through 2013 is unsupported #62

  • Replace sprintf with hex function, this fixes #149 #153 (whackashoe)

  • Fix character skipping after a surrogate pair #146 (robertmrk)

  • Detect correctly pointer-to-const #137 (dariomt)

  • disabled "CopyAssignable" test for MSVC in Debug mode, see #125 #131 (dariomt)

  • removed stream operator for iterator, resolution for #125 #130 (dariomt)

  • fixed typos in comments for examples #129 (dariomt)

  • Remove superfluous inefficiency #126 (d-frey)

  • remove invalid parameter '-stdlib=libc++' in CMakeLists.txt #124 (emvivre)

  • exception-safe object creation, fixes #118 #122 (d-frey)

  • Fix small oversight. #121 (ColinH)

  • Overload parse() to accept an rvalue reference #120 (silverweed)

  • Use the right variable name in doc string #115 (whoshuu)

v1.0.0-rc1 (2015-07-26)

  • Finish documenting the public interface in Doxygen #102

  • Binary string causes numbers to be dumped as hex #101

  • failed to iterator json object with reverse_iterator #100

  • 'noexcept' : unknown override specifier #99

  • json float parsing problem #98

  • Adjust wording to JSON RFC #97

  • 17 MB / 90 MB repo size!? #96

  • static analysis warnings #94

  • reverse_iterator operator inheritance problem #93

  • init error #92

  • access by const reference #91

  • is_integer and is_float tests #90

  • Nonstandard integer type #89

  • static library build #84

  • lexer::get_number return NAN #82

  • MinGW have no std::to_string #80

  • Incorrect behaviour of basic_json::count method #78

  • Invoking is_array() function creates "null" value #77

  • dump() / parse() not idempotent #76

  • Handle infinity and NaN cases #70

  • errors in g++-4.8.1 #68

  • Keys when iterating over objects #67

  • Compilation results in tons of warnings #64

  • Complete brief documentation #61

  • Double quotation mark is not parsed correctly #60

  • Get coverage back to 100% #58

  • erase elements using iterators #57

  • Removing item from array #56

  • Serialize/Deserialize like PHP? #55

  • Numbers as keys #54

  • Why are elements alphabetized on key while iterating? #53

  • Document erase, count, and iterators key and value #52

  • Do not use std::to_string #51

  • Supported compilers #50

  • Confused about iterating through json objects #49

  • Use non-member begin/end #48

  • Erase key #47

  • Key iterator #46

  • Add count member function #45

  • Problem getting vector array of strings #44

  • Compilation error due to assuming that private=public #43

  • Use of deprecated implicit copy constructor #42

  • Printing attribute names #39

  • dumping a small number_float just outputs 0.000000 #37

  • find is error #32

  • Avoid using spaces when encoding without pretty print #31

  • Cannot encode long numbers #30

  • segmentation fault when iterating over empty arrays/objects #28

  • Creating an empty array #27

  • Custom allocator support #25

  • make the type of the used string container customizable #20

  • Improper parsing of JSON string "\" #17

  • create a header-only version #16

  • Don't return "const values" #15

  • Add to_string overload for indentation #13

  • string parser does not recognize uncompliant strings #12

  • possible double-free in find function #11

  • UTF-8 encoding/deconding/testing #10

  • move code into namespace #9

  • free functions for explicit objects and arrays in initializer lists #8

  • unique_ptr for ownership #7

  • Add unit tests #4

  • Drop C++98 support #3

  • Test case coverage #2

  • Runtime error in Travis job #1

  • Keyword 'inline' is useless when member functions are defined in headers #87 (ahamez)

  • Remove useless typename #86 (ahamez)

  • Avoid warning with Xcode's clang #85 (ahamez)

  • Fix typos #73 (aqnouch)

  • Replace default\_callback function with nullptr and check for null… #72 (aburgh)

  • support enum #71 (likebeta)

  • Fix performance regression introduced with the parsing callback feature. #69 (aburgh)

  • Improve the implementations of the comparission-operators #63 (Florianjw)

  • Fix compilation of json_unit with GCC 5 #59 (dkopecek)

  • Parse streams incrementally. #40 (aburgh)

  • Feature/small float serialization #38 (jrandall)

  • template version with re2c scanner #36 (nlohmann)

  • more descriptive documentation in example #33 (luxe)

  • Fix string conversion under Clang #26 (wancw)

  • Fixed dumping of strings #24 (Teemperor)

  • Added a remark to the readme that coverage is GCC only for now #23 (Teemperor)

  • Unicode escaping #22 (Teemperor)

  • Implemented the JSON spec for string parsing for everything but the \uXXXX escaping #21 (Teemperor)

  • add the std iterator typedefs to iterator and const_iterator #19 (kirkshoop)

  • Fixed escaped quotes #18 (Teemperor)

  • Fix double delete on std::bad_alloc exception #14 (elliotgoodrich)

  • Added CMake and lcov #6 (Teemperor)

  • Version 2.0 #5 (nlohmann)

* This Change Log was automatically generated by github_changelog_generator