Skip to content

Commit 411158d

Browse files
committed
Merge branch 'release/3.7.2' into develop
2 parents 7b0c50b + 56109ea commit 411158d

Some content is hidden

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

59 files changed

+80
-66
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.1)
44
## PROJECT
55
## name and version
66
##
7-
project(nlohmann_json VERSION 3.7.1 LANGUAGES CXX)
7+
project(nlohmann_json VERSION 3.7.2 LANGUAGES CXX)
88

99
##
1010
## INCLUDE

ChangeLog.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
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.7.2](https://github.com/nlohmann/json/releases/tag/v3.7.2) (2019-11-10)
5+
[Full Changelog](https://github.com/nlohmann/json/compare/v3.7.1...v3.7.2)
6+
7+
- Segmentation fault in destructor in case of large inputs [\#1835](https://github.com/nlohmann/json/issues/1835)
8+
- type\_name\(\) is not consistent with type\(\) [\#1833](https://github.com/nlohmann/json/issues/1833)
9+
- json::parse is not a member [\#1832](https://github.com/nlohmann/json/issues/1832)
10+
- How do you deal with json\* ? [\#1829](https://github.com/nlohmann/json/issues/1829)
11+
- Combined find\_package/add\_subdirectory not linking libraries [\#1771](https://github.com/nlohmann/json/issues/1771)
12+
- example code for ifstream reading a json file results in no operator error [\#1766](https://github.com/nlohmann/json/issues/1766)
13+
- Warning: unsequenced modification and access to 'range' [\#1674](https://github.com/nlohmann/json/issues/1674)
14+
- Segmentation fault \(stack overflow\) due to unbounded recursion [\#1419](https://github.com/nlohmann/json/issues/1419)
15+
- Stack-overflow \(OSS-Fuzz 4234\) [\#832](https://github.com/nlohmann/json/issues/832)
16+
17+
- Configure WhiteSource Bolt for GitHub [\#1830](https://github.com/nlohmann/json/pull/1830) ([whitesource-bolt-for-github[bot]](https://github.com/apps/whitesource-bolt-for-github))
18+
- Prevent stackoverflow caused by recursive deconstruction [\#1436](https://github.com/nlohmann/json/pull/1436) ([nickaein](https://github.com/nickaein))
19+
420
## [v3.7.1](https://github.com/nlohmann/json/releases/tag/v3.7.1) (2019-11-06)
521
[Full Changelog](https://github.com/nlohmann/json/compare/v3.7.0...v3.7.1)
622

@@ -350,7 +366,6 @@ All notable changes to this project will be documented in this file. This projec
350366
- Which version can be used with GCC 4.8.2 ? [\#1424](https://github.com/nlohmann/json/issues/1424)
351367
- Ignore nullptr values on constructing json object from a container [\#1422](https://github.com/nlohmann/json/issues/1422)
352368
- Support for custom float precision via unquoted strings [\#1421](https://github.com/nlohmann/json/issues/1421)
353-
- Segmentation fault \(stack overflow\) due to unbounded recursion [\#1419](https://github.com/nlohmann/json/issues/1419)
354369
- It is possible to call `json::find` with a json\_pointer as argument. This causes runtime UB/crash. [\#1418](https://github.com/nlohmann/json/issues/1418)
355370
- Dump throwing exception [\#1416](https://github.com/nlohmann/json/issues/1416)
356371
- Build error [\#1415](https://github.com/nlohmann/json/issues/1415)
@@ -752,7 +767,6 @@ All notable changes to this project will be documented in this file. This projec
752767
- How to solve large json file? [\#927](https://github.com/nlohmann/json/issues/927)
753768
- json\_pointer public push\_back, pop\_back [\#837](https://github.com/nlohmann/json/issues/837)
754769
- Using input\_adapter in a slightly unexpected way [\#834](https://github.com/nlohmann/json/issues/834)
755-
- Stack-overflow \(OSS-Fuzz 4234\) [\#832](https://github.com/nlohmann/json/issues/832)
756770

757771
- Fix -Wno-sometimes-uninitialized by initializing "result" in parse\_sax [\#1200](https://github.com/nlohmann/json/pull/1200) ([thyu](https://github.com/thyu))
758772
- \[RFC\] Introduce a new macro function: JSON\_INTERNAL\_CATCH [\#1187](https://github.com/nlohmann/json/pull/1187) ([simnalamburt](https://github.com/simnalamburt))

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.7.1
8+
PROJECT_NUMBER = 3.7.2
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/aMsX89i37S5EFFt2"><b>online</b></a>
1+
<a target="_blank" href="https://wandbox.org/permlink/CW3GU0YMAkovKtCO"><b>online</b></a>

doc/examples/meta.output

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"version": {
1212
"major": 3,
1313
"minor": 7,
14-
"patch": 1,
15-
"string": "3.7.1"
14+
"patch": 2,
15+
"string": "3.7.2"
1616
}
1717
}

doc/index.md

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

332-
@version 3.7.1
332+
@version 3.7.2

doc/json.gif

458 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.7.1
4+
| | |__ | | | | | | version 3.7.2
55
|_____|_____|_____|_|___| https://github.com/nlohmann/json
66
77
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
@@ -32,7 +32,7 @@ SOFTWARE.
3232

3333
#define NLOHMANN_JSON_VERSION_MAJOR 3
3434
#define NLOHMANN_JSON_VERSION_MINOR 7
35-
#define NLOHMANN_JSON_VERSION_PATCH 1
35+
#define NLOHMANN_JSON_VERSION_PATCH 2
3636

3737
#include <algorithm> // all_of, find, for_each
3838
#include <cassert> // assert
@@ -953,7 +953,7 @@ class basic_json
953953
object = nullptr; // silence warning, see #821
954954
if (JSON_HEDLEY_UNLIKELY(t == value_t::null))
955955
{
956-
JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.7.1")); // LCOV_EXCL_LINE
956+
JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.7.2")); // LCOV_EXCL_LINE
957957
}
958958
break;
959959
}

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.7.1',
3+
version : '3.7.2',
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.7.1
4+
| | |__ | | | | | | version 3.7.2
55
|_____|_____|_____|_|___| https://github.com/nlohmann/json
66

77
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
@@ -32,7 +32,7 @@ SOFTWARE.
3232

3333
#define NLOHMANN_JSON_VERSION_MAJOR 3
3434
#define NLOHMANN_JSON_VERSION_MINOR 7
35-
#define NLOHMANN_JSON_VERSION_PATCH 1
35+
#define NLOHMANN_JSON_VERSION_PATCH 2
3636

3737
#include <algorithm> // all_of, find, for_each
3838
#include <cassert> // assert
@@ -15496,7 +15496,7 @@ class basic_json
1549615496
object = nullptr; // silence warning, see #821
1549715497
if (JSON_HEDLEY_UNLIKELY(t == value_t::null))
1549815498
{
15499-
JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.7.1")); // LCOV_EXCL_LINE
15499+
JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.7.2")); // LCOV_EXCL_LINE
1550015500
}
1550115501
break;
1550215502
}

0 commit comments

Comments
 (0)