Skip to content

Commit f1768a5

Browse files
committed
Merge branch 'release/3.3.0' into develop
2 parents cd518fb + cdfe6ce commit f1768a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+130
-63
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.8)
44
## PROJECT
55
## name and version
66
##
7-
project(nlohmann_json VERSION 3.2.0 LANGUAGES CXX)
7+
project(nlohmann_json VERSION 3.3.0 LANGUAGES CXX)
88

99
##
1010
## INCLUDE

ChangeLog.md

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,75 @@
11
# Change Log
22
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
33

4-
## [v3.2.0](https://github.com/nlohmann/json/releases/tag/v3.2.0) (2018-08-18)
4+
## [v3.3.0](https://github.com/nlohmann/json/releases/tag/v3.3.0) (2018-10-05)
5+
[Full Changelog](https://github.com/nlohmann/json/compare/v3.2.0...v3.3.0)
6+
7+
- When key is not found print the key name into error too [\#1273](https://github.com/nlohmann/json/issues/1273)
8+
- Visual Studio 2017 15.8.5 "conditional expression is constant" warning on Line 1851 in json.hpp [\#1268](https://github.com/nlohmann/json/issues/1268)
9+
- how can we get this working on WSL? [\#1264](https://github.com/nlohmann/json/issues/1264)
10+
- Help needed [\#1259](https://github.com/nlohmann/json/issues/1259)
11+
- A way to get to a JSON values "key" [\#1258](https://github.com/nlohmann/json/issues/1258)
12+
- Two blackslashes on json output file [\#1253](https://github.com/nlohmann/json/issues/1253)
13+
- Including nlohmann the badwrong way. [\#1250](https://github.com/nlohmann/json/issues/1250)
14+
- how to build with clang? [\#1247](https://github.com/nlohmann/json/issues/1247)
15+
- Cmake target\_link\_libraries unable to find nlohmann\_json since version 3.2.0 [\#1243](https://github.com/nlohmann/json/issues/1243)
16+
- \[Question\] Access to end\(\) iterator reference [\#1242](https://github.com/nlohmann/json/issues/1242)
17+
- Parsing different json format [\#1241](https://github.com/nlohmann/json/issues/1241)
18+
- Parsing Multiple JSON Files [\#1240](https://github.com/nlohmann/json/issues/1240)
19+
- Doesn't compile under C++17 [\#1239](https://github.com/nlohmann/json/issues/1239)
20+
- Conversion operator for nlohmann::json is not SFINAE friendly [\#1237](https://github.com/nlohmann/json/issues/1237)
21+
- Custom deserialization of number\_float\_t [\#1236](https://github.com/nlohmann/json/issues/1236)
22+
- Move tests to a separate repo [\#1235](https://github.com/nlohmann/json/issues/1235)
23+
- deprecated-declarations warnings when compiling tests with GCC 8.2.1. [\#1233](https://github.com/nlohmann/json/issues/1233)
24+
- Incomplete type with json\_fwd.hpp [\#1232](https://github.com/nlohmann/json/issues/1232)
25+
- Parse Error [\#1229](https://github.com/nlohmann/json/issues/1229)
26+
- json::get function with argument [\#1227](https://github.com/nlohmann/json/issues/1227)
27+
- questions regarding from\_json [\#1226](https://github.com/nlohmann/json/issues/1226)
28+
- Lambda in unevaluated context [\#1225](https://github.com/nlohmann/json/issues/1225)
29+
- NLohmann doesn't compile when enabling strict warning policies [\#1224](https://github.com/nlohmann/json/issues/1224)
30+
- Creating array of objects [\#1223](https://github.com/nlohmann/json/issues/1223)
31+
- Somewhat unhelpful error message "cannot use operator\[\] with object" [\#1220](https://github.com/nlohmann/json/issues/1220)
32+
- single\_include json.hpp [\#1218](https://github.com/nlohmann/json/issues/1218)
33+
- Maps with enum class keys which are convertible to JSON strings should be converted to JSON dictionaries [\#1217](https://github.com/nlohmann/json/issues/1217)
34+
- Adding JSON Array to the Array [\#1216](https://github.com/nlohmann/json/issues/1216)
35+
- Best way to output a vector of a given type to json [\#1215](https://github.com/nlohmann/json/issues/1215)
36+
- compiler warning: double definition of macro JSON\_INTERNAL\_CATCH [\#1213](https://github.com/nlohmann/json/issues/1213)
37+
- Compilation error when using MOCK\_METHOD1 from GMock and nlohmann::json [\#1212](https://github.com/nlohmann/json/issues/1212)
38+
- Issues parsing a previously encoded binary \(non-UTF8\) string. [\#1211](https://github.com/nlohmann/json/issues/1211)
39+
- Yet another ordering question: char \* and parse\(\) [\#1209](https://github.com/nlohmann/json/issues/1209)
40+
- Error using gcc 8.1.0 on Ubuntu 14.04 [\#1207](https://github.com/nlohmann/json/issues/1207)
41+
- "type must be string, but is " std::string\(j.type\_name\(\) [\#1206](https://github.com/nlohmann/json/issues/1206)
42+
- Returning empty json object from a function of type const json& ? [\#1205](https://github.com/nlohmann/json/issues/1205)
43+
- VS2017 compiler suggests using constexpr if [\#1204](https://github.com/nlohmann/json/issues/1204)
44+
- Template instatiation error on compiling [\#1203](https://github.com/nlohmann/json/issues/1203)
45+
- Soften the landing when dumping non-UTF8 strings \(type\_error.316 exception\) [\#1198](https://github.com/nlohmann/json/issues/1198)
46+
- BUG - json dump field with unicode -\> array of ints \(instead of string\) [\#1197](https://github.com/nlohmann/json/issues/1197)
47+
- Compile error using Code::Blocks // mingw-w64 GCC 8.1.0 - "Incomplete Type" [\#1193](https://github.com/nlohmann/json/issues/1193)
48+
- SEGFAULT on arm target [\#1190](https://github.com/nlohmann/json/issues/1190)
49+
- Compiler crash with old Clang [\#1179](https://github.com/nlohmann/json/issues/1179)
50+
- Custom Precision on floating point numbers [\#1170](https://github.com/nlohmann/json/issues/1170)
51+
- Can we have a json\_view class like std::string\_view? [\#1158](https://github.com/nlohmann/json/issues/1158)
52+
- improve error handling [\#1152](https://github.com/nlohmann/json/issues/1152)
53+
- We should remove static\_asserts [\#960](https://github.com/nlohmann/json/issues/960)
54+
55+
- Fix warning C4127: conditional expression is constant [\#1272](https://github.com/nlohmann/json/pull/1272) ([antonioborondo](https://github.com/antonioborondo))
56+
- Turn off additional deprecation warnings for GCC. [\#1271](https://github.com/nlohmann/json/pull/1271) ([chuckatkins](https://github.com/chuckatkins))
57+
- docs: Add additional CMake documentation [\#1270](https://github.com/nlohmann/json/pull/1270) ([chuckatkins](https://github.com/chuckatkins))
58+
- unit-testsuites.cpp: fix hangup if file not found [\#1262](https://github.com/nlohmann/json/pull/1262) ([knilch0r](https://github.com/knilch0r))
59+
- Fix broken cmake imported target alias [\#1260](https://github.com/nlohmann/json/pull/1260) ([chuckatkins](https://github.com/chuckatkins))
60+
- GCC 48 [\#1257](https://github.com/nlohmann/json/pull/1257) ([henryiii](https://github.com/henryiii))
61+
- Add version and license to meson.build [\#1252](https://github.com/nlohmann/json/pull/1252) ([koponomarenko](https://github.com/koponomarenko))
62+
- \#1179 Reordered the code. It seems to stop clang 3.4.2 in RHEL 7 from crash… [\#1249](https://github.com/nlohmann/json/pull/1249) ([LEgregius](https://github.com/LEgregius))
63+
- Use a version check to provide backwards comatible CMake imported target names [\#1245](https://github.com/nlohmann/json/pull/1245) ([chuckatkins](https://github.com/chuckatkins))
64+
- Fix issue \#1237 [\#1238](https://github.com/nlohmann/json/pull/1238) ([theodelrieu](https://github.com/theodelrieu))
65+
- Add a get overload taking a parameter. [\#1231](https://github.com/nlohmann/json/pull/1231) ([theodelrieu](https://github.com/theodelrieu))
66+
- Move lambda out of unevaluated context [\#1230](https://github.com/nlohmann/json/pull/1230) ([mandreyel](https://github.com/mandreyel))
67+
- Remove static asserts [\#1228](https://github.com/nlohmann/json/pull/1228) ([theodelrieu](https://github.com/theodelrieu))
68+
- Better error 305 [\#1221](https://github.com/nlohmann/json/pull/1221) ([rivertam](https://github.com/rivertam))
69+
- Fix \#1213 [\#1214](https://github.com/nlohmann/json/pull/1214) ([simnalamburt](https://github.com/simnalamburt))
70+
- Export package to allow builds without installing [\#1202](https://github.com/nlohmann/json/pull/1202) ([dennisfischer](https://github.com/dennisfischer))
71+
72+
## [v3.2.0](https://github.com/nlohmann/json/releases/tag/v3.2.0) (2018-08-20)
573
[Full Changelog](https://github.com/nlohmann/json/compare/v3.1.2...v3.2.0)
674

775
- Am I doing this wrong? Getting an empty string [\#1199](https://github.com/nlohmann/json/issues/1199)
@@ -964,7 +1032,6 @@ All notable changes to this project will be documented in this file. This projec
9641032
- json::diff generates incorrect patch when removing multiple array elements. [\#269](https://github.com/nlohmann/json/issues/269)
9651033
- Docs - What does Json\[key\] return? [\#267](https://github.com/nlohmann/json/issues/267)
9661034
- Compiler Errors With JSON.hpp [\#265](https://github.com/nlohmann/json/issues/265)
967-
- Throw exception instead of crashing my app [\#264](https://github.com/nlohmann/json/issues/264)
9681035
- Ambiguous push\_back and operator+= overloads [\#263](https://github.com/nlohmann/json/issues/263)
9691036
- Preseving order of items in json [\#262](https://github.com/nlohmann/json/issues/262)
9701037
- '\' char problem in strings [\#261](https://github.com/nlohmann/json/issues/261)

doc/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#---------------------------------------------------------------------------
66
DOXYFILE_ENCODING = UTF-8
77
PROJECT_NAME = "JSON for Modern C++"
8-
PROJECT_NUMBER = 3.2.0
8+
PROJECT_NUMBER = 3.3.0
99
PROJECT_BRIEF =
1010
PROJECT_LOGO =
1111
OUTPUT_DIRECTORY = .

doc/examples/README.link

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a target="_blank" href="https://wandbox.org/permlink/VexEaSCbbvOOXsPt"><b>online</b></a>
1+
<a target="_blank" href="https://wandbox.org/permlink/RWX63GizBsDZ5EnQ"><b>online</b></a>

doc/examples/meta.output

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"url": "https://github.com/nlohmann/json",
1111
"version": {
1212
"major": 3,
13-
"minor": 2,
13+
"minor": 3,
1414
"patch": 0,
15-
"string": "3.2.0"
15+
"string": "3.3.0"
1616
}
1717
}

doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,4 +306,4 @@ Note that this table only lists those exceptions thrown due to the type. For ins
306306
@author [Niels Lohmann](http://nlohmann.me)
307307
@see https://github.com/nlohmann/json to download the source code
308308

309-
@version 3.2.0
309+
@version 3.3.0

doc/json.gif

319 Bytes
Loading

include/nlohmann/json.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
__ _____ _____ _____
33
__| | __| | | | JSON for Modern C++
4-
| | |__ | | | | | | version 3.2.0
4+
| | |__ | | | | | | version 3.3.0
55
|_____|_____|_____|_|___| https://github.com/nlohmann/json
66
77
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
@@ -31,7 +31,7 @@ SOFTWARE.
3131
#define NLOHMANN_JSON_HPP
3232

3333
#define NLOHMANN_JSON_VERSION_MAJOR 3
34-
#define NLOHMANN_JSON_VERSION_MINOR 2
34+
#define NLOHMANN_JSON_VERSION_MINOR 3
3535
#define NLOHMANN_JSON_VERSION_PATCH 0
3636

3737
#include <algorithm> // all_of, find, for_each
@@ -947,7 +947,7 @@ class basic_json
947947
object = nullptr; // silence warning, see #821
948948
if (JSON_UNLIKELY(t == value_t::null))
949949
{
950-
JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.2.0")); // LCOV_EXCL_LINE
950+
JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.3.0")); // LCOV_EXCL_LINE
951951
}
952952
break;
953953
}

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project('nlohmann_json',
22
'cpp',
3-
version : '3.2.0',
3+
version : '3.3.0',
44
license : 'MIT',
55
)
66

single_include/nlohmann/json.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
__ _____ _____ _____
33
__| | __| | | | JSON for Modern C++
4-
| | |__ | | | | | | version 3.2.0
4+
| | |__ | | | | | | version 3.3.0
55
|_____|_____|_____|_|___| https://github.com/nlohmann/json
66

77
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
@@ -31,7 +31,7 @@ SOFTWARE.
3131
#define NLOHMANN_JSON_HPP
3232

3333
#define NLOHMANN_JSON_VERSION_MAJOR 3
34-
#define NLOHMANN_JSON_VERSION_MINOR 2
34+
#define NLOHMANN_JSON_VERSION_MINOR 3
3535
#define NLOHMANN_JSON_VERSION_PATCH 0
3636

3737
#include <algorithm> // all_of, find, for_each
@@ -12042,7 +12042,7 @@ class basic_json
1204212042
object = nullptr; // silence warning, see #821
1204312043
if (JSON_UNLIKELY(t == value_t::null))
1204412044
{
12045-
JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.2.0")); // LCOV_EXCL_LINE
12045+
JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.3.0")); // LCOV_EXCL_LINE
1204612046
}
1204712047
break;
1204812048
}

0 commit comments

Comments
 (0)