Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bugs
NEW
CMake policies up to CMake 3.14. This fixes a nasty deprecation warning that "Compatibility with CMake < 3.5 will be removed from a future version of CMake". Upgrade CMake minimum version #4076 Accept NEW CMake policies up to CMake 3.14 #4112CMAKE_INSTALL_INCLUDEDIR
. fix cmake header path in install with custom CMAKE_INSTALL_INCLUDEDIR #4194<numeric>
header include. Compilation error with JSON_DIAGNOSTICS enabled #3717 #3717: fix compilation error: "execeptions.hpp:119 accumulate is not … #3718 Add missing <numeric> include #3719INT_MIN
/INT_MAX
, etc. withstd::numeric_limits
and consistently usestd
-namespaced integer types to make library work with never GCC versions. INT64_MIN/MAX not defined for newer g++ #3722 Replace limit macros with std::numeric_limits #3723json_fwd.hpp
and Bazel build files) to release artifactinclude.zip
. Amalgated json_fwd.hpp not included in include.zip #3727 Add missing files to release artifacts #3728rebind
type. custom allocators: define missing 'rebind' type #3895 GCC 13 build failures #3927adl_serializer::to_json
Memory leak when exception is thrown in adl_serializer::to_json #3881 Prevent memory leak when exception is thrown in adl_serializer::to_json #3901size_type
is notint
. Fixed init-list construction when size_type is not int #4140_json
preceded by whitespace in a literal operator declaration". LLVM 16.0.6 issues warning for literal operators when Wdeprecated-literal-operator #4129 Fix deprecation warning #4161_HAS_STATIC_RTTI=0
. Fix compile error with _HAS_STATIC_RTTI=0 #4046char_traits<unsigned char>
is deprecated:char_traits<T>
forT
not equal tochar
,wchar_t
,char8_t
,char16_t
orchar32_t
is non-standard". Deprecation warning about std::char_traits<unsigned char> #4163 Fix char_traits deprecation warning #4179Feature
nlohmann::json
. This class serves as an extension point and allows to add functionality to json node. Examples for such functionality might be metadata or additional member functions (e.g., visitors) or other application specific code. By default the parameter is set tovoid
and an empty base class is used. In this case the library behaves as it already did. Allow custom base class as node customization point #3110NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ONLY_SERIALIZE
andNLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE
). Add serialization-only user defined type macros #3816http_archive
orgit_repository
and depend on@nlohmann_json//:json
. Add Bazel build support #3709CI
Documentation
cmake/test.cmake
#3902 Change 2022 to 2023 #3932 Fix typo in test.cmake #3951 Fix typo in afl_driver.cpp #4109 Update CODEOWNERS #4126 Correct a typo in serve_header/README.md #4143 Update index.md #4149 Update index.md #4159 Fix spellcheck issue #4173CONTRIBUTING.md
thatmake pretty
is required for test updates. Add to CONTRIBUTING.md thatmake pretty
is required for test updates. #4045template get
#4038 Use template get instead of get in examples #4039const&
in docs. Capture exceptions by const& in docs. #4099Tests
std::ranges::equals
for range comparisons in test case. GCC 13 build failures #3927 tests/unit-iterators2: use std::ranges::equals for range comparisons #3950unit-algorithm.cpp
. Added to tests the file unit-algorithm.cpp (c++ 11) functions from algorithm library #4044