Skip to content

Commit 4f8fba1

Browse files
committed
Merge branch 'release/3.10.5'
2 parents fec56a1 + b5364fa commit 4f8fba1

File tree

495 files changed

+6702
-13472
lines changed

Some content is hidden

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

495 files changed

+6702
-13472
lines changed

Diff for: .clang-tidy

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Checks: '*,
2+
-altera-id-dependent-backward-branch,
23
-altera-struct-pack-align,
4+
-altera-unroll-loops,
35
-android-cloexec-fopen,
6+
-bugprone-easily-swappable-parameters,
47
-concurrency-mt-unsafe,
58
-cppcoreguidelines-avoid-goto,
69
-cppcoreguidelines-avoid-magic-numbers,
@@ -11,6 +14,7 @@ Checks: '*,
1114
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
1215
-cppcoreguidelines-pro-type-reinterpret-cast,
1316
-cppcoreguidelines-pro-type-union-access,
17+
-cppcoreguidelines-virtual-class-destructor,
1418
-fuchsia-default-arguments-calls,
1519
-fuchsia-default-arguments-declarations,
1620
-fuchsia-overloaded-operator,
@@ -30,9 +34,12 @@ Checks: '*,
3034
-llvmlibc-*,
3135
-misc-no-recursion,
3236
-misc-non-private-member-variables-in-classes,
37+
-modernize-concat-nested-namespaces,
38+
-modernize-use-nodiscard,
3339
-modernize-use-trailing-return-type,
34-
-readability-function-size,
3540
-readability-function-cognitive-complexity,
41+
-readability-function-size,
42+
-readability-identifier-length,
3643
-readability-magic-numbers,
3744
-readability-redundant-access-specifiers,
3845
-readability-uppercase-literal-suffix'

Diff for: .github/ISSUE_TEMPLATE/Bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ assignees: ''
4747

4848
<!-- Please add an `x` to the respective line. -->
4949

50-
- [ ] latest release version 3.10.4
50+
- [ ] latest release version 3.10.5
5151
- [ ] other release - please state the version: ___
5252
- [ ] the `develop` branch
5353

Diff for: .github/workflows/ubuntu.yml

+18-8
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
ci_test_clang:
1313
runs-on: ubuntu-latest
14-
container: ghcr.io/nlohmann/json-ci:v1.0.0
14+
container: ghcr.io/nlohmann/json-ci:v2.2.0
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: cmake
@@ -21,7 +21,7 @@ jobs:
2121

2222
ci_test_gcc:
2323
runs-on: ubuntu-latest
24-
container: ghcr.io/nlohmann/json-ci:v1.0.0
24+
container: ghcr.io/nlohmann/json-ci:v2.2.0
2525
steps:
2626
- uses: actions/checkout@v2
2727
- name: cmake
@@ -31,7 +31,7 @@ jobs:
3131

3232
ci_static_analysis:
3333
runs-on: ubuntu-latest
34-
container: ghcr.io/nlohmann/json-ci:v1.0.0
34+
container: ghcr.io/nlohmann/json-ci:v2.2.0
3535
strategy:
3636
matrix:
3737
target: [ci_clang_tidy, ci_cppcheck, ci_test_valgrind, ci_test_clang_sanitizer, ci_test_amalgamation, ci_clang_analyze, ci_cpplint, ci_cmake_flags, ci_single_binaries, ci_reproducible_tests, ci_non_git_tests, ci_offline_testdata, ci_infer]
@@ -44,7 +44,7 @@ jobs:
4444

4545
ci_cmake_options:
4646
runs-on: ubuntu-latest
47-
container: ghcr.io/nlohmann/json-ci:v1.0.0
47+
container: ghcr.io/nlohmann/json-ci:v2.2.0
4848
strategy:
4949
matrix:
5050
target: [ci_test_diagnostics, ci_test_noexceptions, ci_test_noimplicitconversions]
@@ -57,7 +57,7 @@ jobs:
5757

5858
ci_test_coverage:
5959
runs-on: ubuntu-latest
60-
container: ghcr.io/nlohmann/json-ci:v1.0.0
60+
container: ghcr.io/nlohmann/json-ci:v2.2.0
6161
steps:
6262
- uses: actions/checkout@v2
6363
- name: cmake
@@ -77,10 +77,10 @@ jobs:
7777

7878
ci_test_compilers:
7979
runs-on: ubuntu-latest
80-
container: ghcr.io/nlohmann/json-ci:v1.0.0
80+
container: ghcr.io/nlohmann/json-ci:v2.2.0
8181
strategy:
8282
matrix:
83-
compiler: [g++-4.8, g++-4.9, g++-5, g++-7, g++-8, g++-9, g++-10, clang++-3.5, clang++-3.6, clang++-3.7, clang++-3.8, clang++-3.9, clang++-4.0, clang++-5.0, clang++-6.0, clang++-7, clang++-8, clang++-9, clang++-10, clang++-11, clang++-12]
83+
compiler: [g++-4.8, g++-4.9, g++-5, g++-6, g++-7, g++-8, g++-9, g++-10, clang++-3.5, clang++-3.6, clang++-3.7, clang++-3.8, clang++-3.9, clang++-4.0, clang++-5.0, clang++-6.0, clang++-7, clang++-8, clang++-9, clang++-10, clang++-11, clang++-12, clang++-13]
8484
steps:
8585
- uses: actions/checkout@v2
8686
- name: cmake
@@ -90,7 +90,7 @@ jobs:
9090

9191
ci_test_standards:
9292
runs-on: ubuntu-latest
93-
container: ghcr.io/nlohmann/json-ci:v1.0.0
93+
container: ghcr.io/nlohmann/json-ci:v2.2.0
9494
strategy:
9595
matrix:
9696
standard: [11, 14, 17, 20]
@@ -101,3 +101,13 @@ jobs:
101101
run: cmake -S . -B build -DJSON_CI=On
102102
- name: build
103103
run: cmake --build build --target ci_test_${{ matrix.compiler }}_cxx${{ matrix.standard }}
104+
105+
ci_cuda_example:
106+
runs-on: ubuntu-latest
107+
container: ghcr.io/nlohmann/json-ci:v2.2.0
108+
steps:
109+
- uses: actions/checkout@v2
110+
- name: cmake
111+
run: cmake -S . -B build -DJSON_CI=On
112+
- name: build
113+
run: cmake --build build --target ci_cuda_example

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ test/test-*
2525

2626
doc/html
2727
doc/mkdocs/venv/
28-
doc/mkdocs/docs/images
2928
doc/mkdocs/docs/examples
3029
doc/mkdocs/site
3130
doc/mkdocs/docs/__pycache__/

Diff for: .travis.yml

-94
This file was deleted.

Diff for: CITATION.cff

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ authors:
77
88
website: https://nlohmann.me
99
title: "JSON for Modern C++"
10-
version: 3.10.4
11-
date-released: 2021
10+
version: 3.10.5
11+
date-released: 2022
1212
license: MIT
1313
repository-code: "https://github.com/nlohmann"
1414
url: https://json.nlohmann.me

Diff for: CMakeLists.txt

+1-1
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.10.4 LANGUAGES CXX)
7+
project(nlohmann_json VERSION 3.10.5 LANGUAGES CXX)
88

99
##
1010
## MAIN_PROJECT CHECK

0 commit comments

Comments
 (0)