Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Aug 1, 2022

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
nlohmann_json http_archive minor v3.10.5 -> v3.12.0

Release Notes

nlohmann/json (nlohmann_json)

v3.12.0: JSON for Modern C++ version 3.12.0

Compare Source

Release date: 2025-04-11
SHA-256: aaf127c04cb31c406e5b04a63f1ae89369fccde6d8fa7cdda1ed4f32dfc5de63 (json.hpp), b8cb0ef2dd7f57f18933997c9934bb1fa962594f701cd5a8d3c2c80541559372 (include.zip), 42f6e95cad6ec532fd372391373363b62a14af6d771056dbfc86160e6dfff7aa (json.tar.xz)

Summary

This release fixes some bugs found in the 3.11.3 release and adds some new features.

All changes are backward-compatible.

💰 Note you can support this project via GitHub sponsors or PayPal.

Key updates and enhancements
Changes and fixes
Warnings

The quality assurance page gives an overview of the warning flags used during the tests.

Compiler warnings
Clang-Tidy
  • Suppress warnings modernize-use-std-numbers,
    readability-redundant-member-init, and bugprone-unused-local-non-trivial-variable. #​4276
  • Suppress warnings modernize-type-traits and modernize-avoid-c-arrays in NLOHMANN_JSON_SERIALIZE_ENUM. #​4497 #​3924
  • Suppress warning boost-use-ranges as we do not want to rely on Boost. #​4489
  • Suppress warning modernize-use-designated-initializers as designated initializers are a C++20 feature. #​4489
  • Suppress warning modernize-use-ranges as ranges are a C++20 feature. #​4489
  • Suppress warning clang-analyzer-webkit.NoUncountedMemberChecker as we are using pointers internally. #​4701
  • Fix warning modernize-use-integer-sign-comparison . #​4558
Build
CMake
  • Adjust CMake minimal version to 3.5. #​4709
  • Allow overriding the CMake target name via variable NLOHMANN_JSON_TARGET_NAME. #​4483
  • Add CPack support. #​4459
  • Adjust CMake to generate a pkg-config file that follows the pkg-config conventions. #​4456
Package Managers
  • Remove alwayslink=True Bazel flag. #​4396
  • Improve Bazel support by switching to Bzlmod. #​4584
  • Add VisionOS support to Swift Package Manager Package.swift definition file. #​4611
  • Remove wsjcpp package manager support. #​4623
CI
Tests
Infrastructure
Indentation and amalgamation
Documentation

The documentation website contains all project documentation.

Fixed documentation
Added documentation
Improved documentation
Package Manager documentation
Documentation implementation
  • Replace PlantUML by Mermaid. #​4026
  • Serve assets (fonts, CSS) locally. #​4560
  • Update Python requirements. #​4516

v3.11.3

Compare Source

Full Changelog

v3.11.2

Compare Source

Full Changelog

  • Parser and constructor resolve integer types differently #​4207

  • README.md overuses template keyword before get function #​4205

  • Exception SIGSEGV - Segmentation violation signal on file parsing (v3.11.2, linux, doctest) #​4193

  • In highly nested functions, passing json into a function leads to a segmentation fault/bus error #​4186

  • why a single-object json file appears in an array #​4183

  • Initializing json by direct initialization and copy initialization invokes different constructors #​4174

  • Deprecation warning about std::char_traits<unsigned char> #​4163

  • LLVM 16.0.6 issues warning for literal operators when Wdeprecated-literal-operator #​4129

  • GCC compiler warning about violating the C++ One Definition Rule [-Wodr] #​4116

  • error: building nlohmann-json:arm64-osx failed with: BUILD_FAILED #​4091

  • dump(): Non-conforming with JSON-spec escape of strings? #​4088

  • Compiling in visual studio 2022 gives a warning #​4081

  • Upgrade CMake minimum version #​4076

  • \ character in the content of a string cause error in parser.? #​4067

  • JSON Parsing Freeze Issue on Nintendo Switch #​4066

  • Clang++ compilation fails on extremely small example #​4061

  • how about open a new repository for header only version? #​4060

  • json::count returns only 0 or 1 #​4052

  • std::function error #​4050

  • Json package not compiling properly #​4042

  • Explicit conversion example in docs should use template get #​4038

  • Improve wording of parse_error exception #​4037

  • Parse error on valid JSON file #​4028

  • Empty JSON object returns size of 1 #​4027

  • Help needed to fix CI #​4025

  • Security vulnerabilities detected: CVE-2022-24439, WS-2022-0438, WS-2022-0437 #​4020

  • multithreading use from_msgpack leading very slow #​4016

  • Error with sol for Lua: items() is not a recognized container #​4012

  • Parser does not read non ascii characters : ŞÜİĞ #​4007

  • malloc(): unaligned fastbin chunk detected #​3999

  • try/catch block doesn't work while accessing const json& array. #​3998

  • a bug about list #​3995

  • heap corruption when i use nlohmann::json::accept function to check a valid json #​3994

  • Exception on gcc but not apple clang #​3986

  • Can't support convert the type? std::string json_str = R"({"value": "3.1415"})"; float value = j["value"].get<float>(); #​3984

  • #pragma once not supported with C++20 modules in clang #​3974

  • const array_t::operator[] results in buffer overflow / segv on nullp


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from e256d82 to 744fc45 Compare August 2, 2022 02:15
@renovate renovate bot changed the title Update dependency nlohmann_json to v3.11.0 Update dependency nlohmann_json to v3.11.1 Aug 2, 2022
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from 744fc45 to 4c0edcb Compare August 12, 2022 14:09
@renovate renovate bot changed the title Update dependency nlohmann_json to v3.11.1 Update dependency nlohmann_json to v3.11.2 Aug 12, 2022
@renovate renovate bot changed the title Update dependency nlohmann_json to v3.11.2 Update dependency nlohmann_json to v3.11.3 Nov 30, 2023
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from 4c0edcb to 34823aa Compare November 30, 2023 05:49
@renovate renovate bot force-pushed the renovate/nlohmann_json-3.x branch from 34823aa to 963da8b Compare April 12, 2025 15:31
@renovate renovate bot changed the title Update dependency nlohmann_json to v3.11.3 Update dependency nlohmann_json to v3.12.0 Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant